/* ==========================================================
   INSTITUTO CASULO — Estilos globais
   Base do design: 1920px (1rem = 16px em 1920)
   ========================================================== */
:root {
  --navy: #0b3163;
  --navy-2: #0a3163;
  --blue-soft: #58759c;
  --placeholder: #819ab9;
  --purple: #563d7e;
  --yellow: #f6b617;
  --teal: #1d9eab;
  --red: #d8484a;
  --cream: #fff0e3;
  --cream-2: #fff4e1;
  --tan: #b4957a;
  --f-title: "Comic Neue", "Comic Sans MS", cursive;
  --f-body: "Poppins", system-ui, sans-serif;
  --container: 79rem;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: clamp(13px, 0.8333vw, 17px);
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }

.t-title { font-family: var(--f-title); font-weight: 700; color: var(--navy); line-height: 1; }
.t-h1 { font-size: 2.396rem; }   /* 38.3px */
.t-h2 { font-size: 2.375rem; }   /* 38px */
.t-lead { font-family: var(--f-title); font-weight: 300; font-size: 1.52rem; line-height: 1.1; }

/* ---------- MENU ---------- */
.menu {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 7.75rem;
  background: rgba(255, 255, 255, .3);
  backdrop-filter: blur(9.8px); -webkit-backdrop-filter: blur(9.8px);
  border-bottom: 1px solid var(--navy);
  transition: background .3s, height .3s;
}
.menu.is-scrolled { background: rgba(255, 255, 255, .88); height: 5.8rem; }
.menu__inner {
  width: min(100% - 3rem, 83rem); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.menu__logo img { width: 9.94rem; height: auto; transition: width .3s; }
.menu.is-scrolled .menu__logo img { width: 8rem; }
.menu__nav { display: flex; gap: 3.2rem; font-size: 1.23rem; }
.menu__nav a { text-decoration: none; position: relative; padding: .3rem 0; transition: color .25s; }
.menu__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.menu__nav a:hover { color: var(--teal); }
.menu__nav a:hover::after { transform: scaleX(1); }
.menu__nav a.is-active { color: var(--teal); font-weight: 600; }
.menu__burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu__burger span { display: block; height: 2px; width: 26px; margin: 6px auto; background: var(--navy); transition: transform .3s, opacity .3s; }

main { padding-top: 7.75rem; }

/* ---------- BOTÕES ---------- */
.cloud-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 12rem; height: 6.12rem;
  background: url("../assets/cloud-btn.svg") center / 100% 100% no-repeat;
  font-family: var(--f-title); font-weight: 700; font-size: 1.592rem; color: var(--navy);
  text-decoration: none; transition: transform .3s;
}
.cloud-btn:hover { transform: translateY(-4px) scale(1.04); }
.cloud-btn--wide { width: 15.6rem; height: 6rem; background-image: url("../assets/e-cloud-btn.svg"); }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  border: .05rem solid var(--navy-2); border-radius: 3rem;
  font-family: var(--f-title); font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.pill:hover { transform: translateY(-3px); box-shadow: 0 .5rem 1rem rgba(10, 49, 99, .2); }
.pill--yellow { background: var(--yellow); color: var(--navy-2); }
.pill--teal { background: var(--teal); color: #fff; }
.pill--lg { height: 3.81rem; padding: 0 2.3rem; font-size: 2.15rem; border-width: 1px; }
.pill--md { height: 2.94rem; padding: 0 1.6rem; font-size: 1.405rem; }

.highlight-bar { position: relative; display: inline-block; z-index: 0; }
.highlight-bar::before {
  content: ""; position: absolute; z-index: -1; left: 0; bottom: -.1em; height: .6em; width: 62%;
  background: var(--yellow); transform: scaleX(var(--bar, 1)); transform-origin: left;
}

/* ---------- FAIXAS DE PADRÃO GEOMÉTRICO ---------- */
.pattern { position: relative; overflow: hidden; width: 100%; }
.pattern > img.pattern__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pattern--strip { height: 3.4rem; }
.pattern--strip img { object-position: center 28%; }

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wpp {
  position: fixed; z-index: 90; right: 4.6%; top: 22rem; width: 7.9rem; height: 7.9rem; display: block;
  filter: drop-shadow(0 .4rem .8rem rgba(0, 0, 0, .25));
}
.wpp img { width: 100%; height: 100%; }

/* ---------- HOME: HERO ---------- */
.hero { position: relative; padding: 4rem 0 0; overflow: hidden; }
.hero__inner { width: min(100% - 3rem, 76rem); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
.hero__photo { position: relative; align-self: end; justify-self: center; width: 27rem; margin-left: 0; }
.hero__photo .glow { position: absolute; border-radius: 50%; filter: blur(34px); mix-blend-mode: screen; pointer-events: none; }
.hero__photo .glow--1 { width: 17rem; height: 17rem; left: 2rem; top: 5rem; background: rgba(29, 158, 171, .45); }
.hero__photo .glow--2 { width: 12rem; height: 12rem; right: -1rem; top: 12rem; background: rgba(246, 182, 23, .4); }
.hero__photo .deco { position: absolute; z-index: 0; width: 151%; max-width: none; left: -25.5%; top: 5%; }
.hero__photo img.person { display: block; position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: bottom; }
.hero__text { max-width: 28rem; }
.hero__text h1 { font-size: 2.396rem; line-height: 1.05; }
.hero__text p { font-size: 1.08rem; color: var(--blue-soft); margin: 1.6rem 0 1.6rem; max-width: 23rem; line-height: 1.25; }

/* ---------- ESPECIALIDADES (cards) ---------- */
.section-title { text-align: center; }
.especialidades { padding: 4rem 0 3rem; }
.especialidades .section-title { max-width: 27.5rem; margin: 0 auto 3rem; }
.cards { display: flex; justify-content: center; align-items: center; gap: .1rem; width: min(100% - 3rem, 100rem); margin-inline: auto; padding-bottom: 4.5rem; }
.card {
  --c: var(--purple);
  position: relative; flex: 0 0 20.56rem; height: 28.06rem; text-decoration: none; color: #fff; isolation: isolate;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; z-index: -2; transition: transform .6s; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, transparent 50%, var(--c) 100%); -webkit-mask: var(--img) center / 100% 100% no-repeat; mask: var(--img) center / 100% 100% no-repeat; }
.card__label { position: absolute; left: -10%; right: -10%; top: 100%; margin-top: 1rem; text-align: center; font-family: var(--f-title); font-weight: 700; font-size: 1.7rem; line-height: 1.05; color: var(--navy); }
.card--neuro { --c: var(--teal); }
.card--neuro .card__label { font-size: 1.5rem; }
.card--fono { --c: var(--red); }
.card--grupo { --c: var(--purple); }
.card--esdm { --c: var(--yellow); flex-basis: 23.75rem; height: 32.4rem; z-index: 2; }
.card--esdm img { filter: drop-shadow(0 1rem 1.4rem rgba(246, 182, 23, .45)); }
.card--esdm .card__label strong { display: block; font-size: 2rem; }
.card--esdm .card__label span { display: block; font-size: 1.3rem; margin-top: .2rem; }
.card:hover { transform: translateY(-.7rem); }
.card:hover img { filter: drop-shadow(0 1rem 1.2rem rgba(11, 49, 99, .3)); }
.card:hover img { transform: scale(1.03); }
.cards--small .card--esdm { transform: none; }

/* ---------- HOME: ESPAÇO ---------- */
.space { position: relative; padding: 5rem 0 4rem; }
.space__text { position: relative; width: min(100% - 3rem, 46rem); margin: 0 auto; padding-left: 2rem; }
.space__text::before { content: ""; position: absolute; left: -2rem; top: -.3rem; width: .69rem; height: 7rem; background: var(--yellow); border-radius: 1rem; }
.space__text h2 { font-size: 2.375rem; line-height: 1.05; transform: rotate(-.46deg); }
.space__text p { font-family: var(--f-title); font-weight: 300; font-style: italic; font-size: 1.73rem; margin-top: .6rem; }

.showcase { position: relative; width: min(100% - 3rem, 117rem); height: 59rem; margin: 3.5rem auto 0; border-radius: 3.25rem; overflow: hidden; }
.showcase .pattern__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase__photo { position: absolute; left: 50%; top: 50%; width: 61.2rem; max-width: 86%; aspect-ratio: 979.78/535.2; transform: translate(-50%, -50%); border-radius: 2.45rem; overflow: hidden; box-shadow: 11px 12px 74px rgba(0, 0, 0, .47); }
.showcase__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- HOME: CASES ---------- */
.cases { position: relative; padding: 4.5rem 0 0; }
.cases__title { text-align: center; margin-bottom: 4rem; }
.cases__title h2 { font-size: 2.375rem; line-height: 1.05; display: inline-block; max-width: 27.4rem; transform: rotate(-.46deg); }
.cases__title h2 .highlight-bar::before { width: 100%; bottom: auto; top: -.35em; height: .62em; left: -4%; width: 55%; }
.case-row { padding: 2.2rem 0; }
.case-row--cream { background: var(--cream); }
.case-row:nth-child(odd) .case { grid-template-columns: 33rem 1fr; }
.case { width: min(100% - 3rem, 66rem); margin-inline: auto; display: grid; align-items: center; gap: 6.2rem; padding: 1.5rem 0; }
.case--rev { grid-template-columns: 1fr 33rem !important; }
.case--rev .case__media { order: 2; }
.case__media {
  position: relative; height: 20.94rem; border: .06rem solid var(--navy); border-radius: 2.5rem; background: #fff; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
}
.case__media img.ph { width: 7.8rem; }
.case__media span { font-family: var(--f-title); font-weight: 700; font-size: 2.375rem; color: var(--navy); }
.case__media img.real, .case__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__body h3 { font-family: var(--f-title); font-weight: 700; font-size: 2.375rem; line-height: 1; margin-bottom: 1rem; max-width: 24rem; }
.case__body p { font-size: 1.08rem; line-height: 1.12; margin-bottom: 1.1rem; max-width: 31rem; }
.case__body p b { font-weight: 700; }

/* ---------- HOME: CTA CAPACITAÇÃO ---------- */
.cta { position: relative; padding: 5rem 0 3rem; }
.cta__seta { position: absolute; left: 50%; top: -1.6rem; width: 3.25rem; height: 3.25rem; transform: translateX(-50%); z-index: 3; animation: bounce 1.8s infinite; }
@keyframes bounce { 50% { transform: translate(-50%, 8px); } }
.cta__inner { width: min(100% - 3rem, 79rem); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.cta__sub { width: 9.4rem; margin-bottom: 1.2rem; }
.cta__text h2 { font-size: 2.375rem; line-height: 1.05; max-width: 28rem; transform: rotate(-.46deg); }
.cta__text h2 .highlight-bar::before { width: 64%; bottom: auto; top: .5em; height: .55em; left: 0; z-index: -1; }
.cta__text p { font-size: 1.6rem; line-height: 1; max-width: 27.8rem; margin: 2.2rem 0 2.4rem; transform: rotate(-.46deg); }
.cta__text p b { font-weight: 400; }
.cta__visual { position: relative; width: 40rem; justify-self: end; aspect-ratio: 642/489; }
.cta__visual .kid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.cta__visual .glow { position: absolute; width: 13.8rem; height: 13.8rem; right: 13%; top: 27%; border-radius: 50%; background: rgba(246, 182, 23, .5); filter: blur(30px); mix-blend-mode: soft-light; }
.cta__visual .icon3d { position: absolute; width: 25.9rem; left: 12%; top: -4%; opacity: 0; }

/* ---------- RODAPÉ ---------- */
.footer { background: var(--cream); padding: 3.5rem 0 3.2rem; position: relative; }
.footer__inner { width: min(100% - 3rem, 66rem); margin-inline: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
.footer__logo { width: 4.7rem; margin-bottom: .9rem; }
.footer__news h3 { font-family: var(--f-title); font-weight: 400; font-size: 2.375rem; line-height: 1.04; max-width: 14rem; margin-bottom: .8rem; }
.footer__news label { display: block; font-size: 1.31rem; margin-bottom: .55rem; }
.footer__form { display: flex; gap: .8rem; align-items: center; }
.footer__form input { width: 22.25rem; height: 2.81rem; border: 1px solid var(--navy); border-radius: 3rem; background: transparent; padding: 0 1.2rem; font: inherit; font-size: 1rem; color: var(--navy); outline: none; transition: box-shadow .2s; }
.footer__form input:focus { box-shadow: 0 0 0 3px rgba(29, 158, 171, .35); }
.footer__form .pill { height: 2.92rem; padding: 0 1.5rem; font-size: 1.405rem; }
.footer__copy { font-style: italic; color: var(--tan); font-size: 1.11rem; margin-top: 2.6rem; }
.footer__contact { font-size: 1.31rem; line-height: 1.12; padding-top: 1.1rem; }
.footer__contact p { margin-bottom: 1.1rem; }
.footer__contact a { text-decoration: underline; }
.footer__contact .tight { line-height: 1; }

/* ---------- QUEM SOMOS ---------- */
.qs-hero { text-align: center; padding: 2.8rem 0 2.2rem; }
.qs-hero img { width: 16.3rem; margin: 0 auto 1.2rem; }
.qs-hero h1 { font-size: 2.396rem; }
.qs-hero p { font-family: var(--f-title); font-weight: 300; font-size: 1.52rem; max-width: 21.5rem; margin: .6rem auto 0; line-height: 1; }

.marquee { overflow: hidden; width: 100%; padding: .4rem 0; }
.marquee__track { display: flex; gap: 1.63rem; width: max-content; }
.marquee__track img { width: 23.06rem; height: 13rem; border-radius: 1.44rem; object-fit: cover; flex: none; }

.symbols { padding: 5rem 0 4rem; }
.symbols__head { width: min(100% - 3rem, 78rem); margin: 0 auto 2.2rem; display: flex; align-items: center; gap: 1.2rem; }
.symbols__head img { width: 7.8rem; }
.symbols__head h2 { font-size: 2.396rem; max-width: 22rem; line-height: 1.05; }
.symbol-cards { width: min(100% - 3rem, 78rem); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
.symbol-card { --c: var(--purple); background: var(--c); color: #f5e9ff; border-radius: 2.25rem; min-height: 27.4rem; padding: 4rem 1.5rem 2rem 1.9rem; display: flex; flex-direction: column; justify-content: space-between; transition: transform .35s; }
.symbol-card:hover { transform: translateY(-.6rem) rotate(-1deg); }
.symbol-card img { height: 6.7rem; width: auto; max-width: 9rem; object-fit: contain; object-position: left; }
.symbol-card p { font-family: var(--f-title); font-weight: 700; font-size: 1.52rem; line-height: 1.02; }
.symbol-card--yellow { --c: var(--yellow); }
.symbol-card--teal { --c: var(--teal); }
.symbol-card--red { --c: var(--red); }

.timeline { width: min(100% - 3rem, 49rem); margin: 3rem auto 5rem; display: flex; flex-direction: column; gap: 3.8rem; }
.tl { display: grid; grid-template-columns: 17rem 1fr; align-items: center; gap: 1.8rem; }
.tl__year { font-family: var(--f-title); font-weight: 700; font-size: 5.48rem; line-height: 1; text-align: center; color: var(--navy); }
.tl__text { font-family: var(--f-title); font-weight: 300; font-size: 1.52rem; line-height: 1.02; }
.tl__text--italic { font-style: italic; font-weight: 400; border-left: .69rem solid var(--yellow); padding-left: .9rem; border-radius: .3rem; }
.tl__text--italic { border-image: none; position: relative; }
.tl__icon { width: 8rem; margin-inline: auto; }
.tl__year small { display: block; font-size: 1.52rem; font-weight: 400; font-style: italic; text-align: left; margin-left: .6rem; }

/* ---------- ESPECIALIDADE (ESDM) ---------- */
.esdm { padding: 5rem 0 4rem; }
.esdm__inner { width: min(100% - 3rem, 72rem); margin-inline: auto; display: grid; grid-template-columns: 1fr 26.9rem; gap: 3.2rem; align-items: start; }
.esdm__head { display: flex; gap: 1.4rem; align-items: flex-start; margin-bottom: 1.6rem; }
.esdm__head img { width: 7.8rem; flex: none; }
.esdm__head h1 { font-size: 2.396rem; max-width: 25rem; line-height: 1.05; margin-top: 2rem; }
.esdm__text { font-family: var(--f-title); font-weight: 300; font-size: 1.52rem; line-height: 1.02; }
.esdm__text p { margin-bottom: 1.45rem; }
.esdm__photo { height: 38.5rem; border-radius: 1.56rem; overflow: hidden; }
.esdm__photo img { width: 100%; height: 100%; object-fit: cover; }
.esdm .cloud-btn { margin-top: -.6rem; }

.skills { position: relative; height: 70.5rem; display: grid; place-items: center; overflow: hidden; margin-top: 2rem; }
.skills > .pattern__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.skills__card { position: relative; background: #fff; border-radius: 2.5rem; width: min(100% - 3rem, 41.6rem); padding: 3.4rem 3.5rem 6rem; }
.skills__card h2 { font-family: var(--f-title); font-weight: 700; font-size: 2.396rem; line-height: 1.05; text-align: center; max-width: 25rem; margin: 0 auto 2.3rem; }
.skills__list { display: flex; flex-direction: column; gap: 1.02rem; padding-left: 4.5rem; }
.skills__list li { display: flex; align-items: center; gap: 1.05rem; font-family: var(--f-title); font-weight: 300; font-size: 1.52rem; line-height: 1; }
.skills__list img { width: 2.75rem; height: 2.71rem; flex: none; border-radius: .2rem; }
.skills__card .cloud-btn { position: absolute; left: 50%; bottom: -2.4rem; transform: translateX(-50%); width: 15.6rem; height: 6rem; font-size: 1.592rem; }
.skills__card .cloud-btn:hover { transform: translateX(-50%) translateY(-4px) scale(1.04); }

.others { padding: 5rem 0 6rem; }
.others .section-title { max-width: 27.5rem; margin: 0 auto 3.2rem; }

/* ---------- CURSOS & PALESTRAS ---------- */
.courses { padding: 5rem 0 5rem; }
.courses__head { width: min(100% - 3rem, 72rem); margin: 0 auto 2.4rem; display: flex; align-items: flex-start; gap: 1.4rem; }
.courses__head img { width: 7.8rem; }
.courses__head h1 { font-size: 2.396rem; max-width: 19.8rem; line-height: 1.05; margin-top: 2rem; }
.course-list { width: min(100% - 3rem, 72rem); margin-inline: auto; display: flex; flex-direction: column; gap: 5.3rem; }
.course { display: grid; grid-template-columns: 30.4rem 1fr; gap: 2.6rem; align-items: start; }
.course__img { height: 16.1rem; border-radius: 1.19rem; background: #d9d9d9; overflow: hidden; }
.course__img img { width: 100%; height: 100%; object-fit: cover; }
.course h2 { font-family: var(--f-title); font-weight: 700; font-size: 2.396rem; line-height: 1.04; max-width: 35rem; }
.course p { font-family: var(--f-title); font-weight: 300; font-size: 1.52rem; line-height: 1.02; margin: 1.2rem 0 1rem; max-width: 28rem; }
.course__meta { display: flex; align-items: center; gap: 1.1rem; }
.course__meta .pill { height: 2.94rem; padding: 0 1.6rem; font-size: 1.405rem; }
.course__time { display: flex; align-items: center; gap: .55rem; font-family: var(--f-title); font-weight: 300; color: var(--teal); font-size: 1.24rem; }
.course__time img { width: 1.56rem; height: 1.56rem; }

.lectures { position: relative; height: 32rem; overflow: hidden; margin-top: 1rem; }
.lectures .grid { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 2008.79/1506.08; transform: translateY(-34.6%); }
.lectures .grid > * { position: absolute; display: block; }
.lectures .grid .g-bg { inset: 0; width: 100%; height: 100%; }
.lectures .g1 { left: 0; width: 50%; top: 0; height: 33.33%; }
.lectures .g2 { left: 0; width: 50%; top: 33.33%; height: 66.67%; }
.lectures .g3 { left: 50%; width: 50%; top: 33.33%; height: 66.67%; }
.lectures .g4 { left: 49.99%; width: 50.01%; top: 0; height: 33.33%; }
.lectures__card { position: absolute; z-index: 2; left: 0; right: 0; margin: 0 auto; top: 3.2rem; width: min(100% - 3rem, 52rem); background: #fff; border-radius: 2.5rem; padding: 2.8rem 3.2rem; display: flex; align-items: center; gap: 2.2rem; }
.lectures__card h2 { font-family: var(--f-title); font-weight: 700; font-size: 4.59rem; line-height: 1; flex: none; }
.lectures__card .bar { width: .69rem; height: 3.2rem; background: var(--yellow); flex: none; }
.lectures__card p { flex: 1; min-width: 0; font-family: var(--f-title); font-weight: 300; font-size: 1.52rem; line-height: 1.02; }
.lectures__btn { position: absolute; z-index: 3; left: 50%; top: 48.5%; transform: translateX(-50%); }
.lectures__btn:hover { transform: translateX(-50%) translateY(-3px); }
.lectures-wrap { padding-bottom: 5rem; }

/* ---------- CONTATO ---------- */
.contact { position: relative; margin: 3.1rem 0 5.4rem; padding: 3.8rem 0 4rem; min-height: 41.6rem; display: grid; place-items: center; overflow: hidden; }
.contact > .pattern__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__card { position: relative; background: #fff; border-radius: 2.5rem; width: min(100% - 3rem, 68.7rem); padding: 3.4rem 4rem 3rem 4.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__info h1 { font-size: 2.516rem; line-height: 1.05; margin-bottom: 2.9rem; }
.contact__info address { font-style: normal; font-size: 1.07rem; line-height: 1.12; }
.contact__info address p { margin-bottom: .95rem; }
.contact__info address .tight { line-height: 1; }
.contact__info address a { text-decoration: underline; }
.contact__form { position: relative; }
.contact__form .sec-logo { width: 12.75rem; margin-bottom: 1.3rem; }
.contact__form input, .contact__form textarea {
  display: block; width: 100%; border: 1px solid var(--navy); border-radius: .63rem; background: #fff; padding: 0 .7rem; font-family: var(--f-body); font-size: .98rem; color: var(--navy); outline: none; margin-bottom: .8rem; transition: box-shadow .2s;
}
.contact__form input { height: 1.9rem; }
.contact__form textarea { height: 7.3rem; padding-top: .55rem; resize: none; margin-bottom: 0; }
.contact__form input::placeholder, .contact__form textarea::placeholder { color: var(--placeholder); }
.contact__form input:focus, .contact__form textarea:focus { box-shadow: 0 0 0 3px rgba(29, 158, 171, .35); }
.contact__form .pill { position: absolute; left: 50%; bottom: -1.3rem; transform: translateX(-50%); height: 2.92rem; padding: 0 1.9rem; font-size: 1.405rem; }
.contact__form .pill:hover { transform: translateX(-50%) translateY(-3px); }
.form-msg { margin-top: 2.4rem; font-size: .95rem; color: var(--teal); min-height: 1.2em; text-align: center; }

/* ---------- TRANSIÇÃO DE PÁGINA ---------- */
.transition { position: fixed; inset: 0; z-index: 999; pointer-events: none; display: none; }
.transition span { flex: 1; will-change: transform; }
.transition span:nth-child(1) { background: var(--purple); }
.transition span:nth-child(2) { background: var(--yellow); }
.transition span:nth-child(3) { background: var(--teal); }
.transition span:nth-child(4) { background: var(--red); }

/* GSAP: estado inicial (só quando JS ativo) */
.js [data-anim] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta__seta { animation: none; }
  .js [data-anim] { opacity: 1; }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1100px) {
  html { font-size: 14px; }
  .menu { height: 5.2rem; }
  main { padding-top: 5.2rem; }
  .menu__burger { display: block; z-index: 2; }
  .menu__nav {
    position: fixed; inset: 5.2rem 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: .5rem 1.5rem 1.5rem; border-bottom: 1px solid var(--navy);
    transform: translateY(-120%); transition: transform .4s; font-size: 1.15rem;
  }
  .menu__nav a { padding: 1rem 0; border-bottom: 1px solid #e8eef6; }
  .menu.is-open .menu__nav { transform: none; }
  .menu.is-open .menu__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu.is-open .menu__burger span:nth-child(2) { opacity: 0; }
  .menu.is-open .menu__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu__logo img, .menu.is-scrolled .menu__logo img { width: 7rem; }

  .hero__inner, .cta__inner, .esdm__inner, .contact__card, .footer__inner, .course, .case, .case--rev { grid-template-columns: 1fr !important; }
  .hero__photo { width: min(24rem, 90%); }
  .hero__text { text-align: center; margin-inline: auto; }
  .hero__text p { margin-inline: auto; }
  .cards { flex-wrap: wrap; gap: 1.2rem; }
  .card, .card--esdm { flex-basis: 18rem; height: 24rem; }
  .card--esdm { order: -1; flex-basis: 20rem; height: 27rem; }
  .showcase { height: 36rem; }
  .case { gap: 1.5rem; }
  .case--rev .case__media { order: 0; }
  .case__media { height: 18rem; }
  .cta__visual { width: 100%; justify-self: center; }
  .cta__text { text-align: center; }
  .cta__text h2, .cta__text p { margin-inline: auto; }
  .cta__sub { margin-inline: auto; }
  .symbol-cards { grid-template-columns: repeat(2, 1fr); }
  .tl { grid-template-columns: 1fr; text-align: center; }
  .tl__text--italic { text-align: left; }
  .tl__year small { text-align: center; margin: 0; }
  .esdm__photo { height: 30rem; }
  .skills { height: auto; padding: 4rem 0 6rem; }
  .skills__list { padding-left: 0; }
  .lectures { height: auto; padding: 3rem 0 4.6rem; }
  .lectures .grid { transform: none; height: 100%; aspect-ratio: auto; }
  .lectures__card { position: relative; left: auto; top: auto; margin: 0 auto; flex-direction: column; text-align: center; }
  .lectures__btn { position: relative; left: auto; top: auto; transform: none; margin: -1.4rem auto 0; display: flex; width: max-content; }
  .lectures__btn:hover { transform: translateY(-3px); }
  .contact__form .pill { position: static; transform: none; margin: 1rem auto 0; display: flex; width: max-content; }
  .contact__form .pill:hover { transform: translateY(-3px); }
  .wpp { top: auto; bottom: 1.5rem; right: 1rem; width: 5rem; height: 5rem; }
  .footer__form input { width: 100%; max-width: 22rem; }
}
@media (max-width: 600px) {
  .symbol-cards { grid-template-columns: 1fr; }
  .esdm__head, .courses__head { flex-direction: column; align-items: center; text-align: center; }
  .esdm__head h1, .courses__head h1 { margin-top: 0; }
  .symbols__head { flex-direction: column; text-align: center; }
  .footer__form { flex-wrap: wrap; }
  .marquee__track img { width: 16rem; height: 9rem; }
}
