/* PasseiMED! · Extensivo Medicina 2027
   Direção: "escrito na caneta" — a identidade roxo + laranja da Passei, o traço de marca-texto
   laranja (como o "MED" escrito na testa dos aprovados) e a estrutura de página do Poliedro. */

:root {
  --paper: #fbf7f1;
  --paper-2: #f3eefb;
  --white: #ffffff;
  --ink: #160a3a;
  --ink-2: #4a4363;
  --muted: #6e6787;
  --line: #e8e1f1;

  --roxo: #3f1e99;
  --roxo-2: #5c2de0;
  --noite: #120043;
  --laranja: #f98700;
  --amarelo: #ffa301;
  --verde: #38d46a;
  --verde-hover: #2fc25d;
  --verde-ink: #06301a;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Poppins", sans-serif;

  --r-xl: 36px;
  --r-lg: 24px;
  --r: 16px;
  --shadow: 0 22px 44px -22px rgba(22, 10, 58, 0.38);
  --shadow-sm: 0 10px 24px -14px rgba(22, 10, 58, 0.3);
  --topo-h: 68px;
  --marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C 70 6, 160 4, 296 11 M10 20 C 90 13, 190 12, 290 17' fill='none' stroke='%23F98700' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 58px; padding: 8px 8px 8px 26px;
  border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: left;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.btn .ico svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--verde); color: var(--verde-ink); box-shadow: 0 12px 26px -14px rgba(31, 168, 74, .9); }
.btn-wa:hover { background: var(--verde-hover); }
.btn-wa .ico { background: var(--verde-ink); color: var(--verde); }
.btn-laranja { background: var(--laranja); color: var(--ink); }
.btn-laranja .ico { background: var(--ink); color: var(--laranja); }
.btn-outline { background: transparent; color: var(--roxo); box-shadow: inset 0 0 0 2px var(--roxo); }
.btn-outline .ico { background: var(--roxo); color: #fff; }
.btn-sm { min-height: 50px; padding-left: 20px; font-size: .95rem; }
.btn-sm .ico { width: 36px; height: 36px; }
.btn-sm .ico svg { width: 19px; height: 19px; }

.link-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--roxo); text-decoration: none; }
.link-cta svg { width: 20px; height: 20px; transition: transform .2s ease; }
.link-cta:hover svg { transform: translateX(4px); }
.link-cta.claro { color: var(--amarelo); }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topo-in { height: var(--topo-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { width: 132px; height: auto; }
.menu { display: none; }
.topo-cta { min-height: 44px; padding-left: 16px; font-size: .88rem; }
.topo-cta .ico { width: 32px; height: 32px; }

/* ---------- textos de seção ---------- */
.sec { padding-block: 48px; }
.sec-head { max-width: 680px; margin-bottom: 26px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2, .map-txt h2, .faq-head h2, .contato-txt h2, .pais-txt h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; }
.sec-head p { margin-top: 12px; color: var(--ink-2); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--laranja);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.sec-head p.eyebrow { margin-top: 0; font-size: .8rem; color: var(--laranja); }

.marker {
  position: relative; white-space: nowrap; color: var(--roxo);
  background: var(--marker) no-repeat left 100% / 100% .34em;
  padding-bottom: .06em;
}

/* ---------- hero ---------- */
.hero { padding-block: 28px 56px; overflow: hidden; }
.hero-in { display: grid; gap: 36px; }
.tag {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px;
  background: var(--amarelo); color: var(--ink); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
}
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 3.9rem); font-weight: 800; color: var(--ink); }
.lead { margin-top: 18px; font-size: 1.06rem; color: var(--ink-2); max-width: 34em; }
.hero-proof {
  margin-top: 22px; display: flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 14px; border-radius: var(--r);
  background: var(--white); box-shadow: var(--shadow-sm); max-width: 430px;
}
.hero-proof strong { font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--laranja); }
.hero-proof span { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.hero-ctas { margin-top: 24px; display: grid; gap: 12px; justify-items: stretch; }
.hero-ctas .btn, .ap-cta .btn, .estrutura-cta .btn { font-size: .93rem; padding-left: 20px; }
.cta-note { font-size: .88rem; color: var(--muted); }
.caso { margin-top: 16px; max-width: 34em; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.caso b { color: var(--ink); }
.cta-note a { color: var(--roxo); font-weight: 600; }

.hero-art {
  position: relative; border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 85% 10%, var(--amarelo) 0%, rgba(255, 163, 1, 0) 55%),
    var(--laranja);
  aspect-ratio: 1 / 1.02; isolation: isolate; max-width: 560px; width: 100%; margin-inline: auto;
}
.hero-mark { position: absolute; right: 5%; top: 5%; width: 34%; opacity: .14; z-index: -1; transform: rotate(-8deg); }
.hero-scribble {
  position: absolute; left: 7%; top: 4%; z-index: -1;
  font-family: var(--display); font-weight: 900; font-size: clamp(4.5rem, 14vw, 7.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(63, 30, 153, .35); transform: rotate(-7deg);
}
.fan {
  position: absolute; margin: 0; width: 46%;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.fan img { width: 100%; filter: drop-shadow(0 22px 22px rgba(18, 0, 67, .45)); }
.fan { width: 50%; }
.fan-1 { left: 1%; top: 25%; transform: rotate(-9deg); }
.fan-2 { left: 24%; top: 13%; width: 53%; z-index: 2; transform: rotate(1deg); }
.fan-3 { right: 1%; top: 25%; transform: rotate(9deg); }
.hero-art:hover .fan-1 { transform: rotate(-12deg) translate(-8px, 4px); }
.hero-art:hover .fan-3 { transform: rotate(12deg) translate(8px, 4px); }
.chip {
  position: absolute; z-index: 3; max-width: 230px; padding: 10px 14px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-sm); font-size: .8rem; line-height: 1.3; color: var(--ink-2);
}
.chip b { display: block; font-size: .98rem; color: var(--roxo); }
.chip-a { left: -2%; bottom: 7%; }
.chip-b { right: -2%; bottom: 13%; }

/* ---------- faixa ---------- */
.ticker { background: var(--roxo); color: #fff; overflow: hidden; padding-block: 14px; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase;
}
.ticker li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--laranja); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- como entrar ---------- */
.passos { display: grid; gap: 12px; }
.passo {
  position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; align-content: start;
  padding: 18px 18px 18px 16px; border-radius: var(--r-lg); background: var(--white);
  border-left: 6px solid var(--c); box-shadow: var(--shadow-sm);
}
.passo > :not(.passo-ico):not(.passo-n) { grid-column: 2; }
.passo-n { position: absolute; right: 16px; top: 10px; font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--c); opacity: .22; }
.passo-ico { grid-row: 1 / span 3; width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, white); }
.passo h3 { font-size: 1.08rem; font-weight: 700; padding-right: 36px; }
.passo p { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.passo .link-cta { margin-top: 4px; font-size: .95rem; }
.c-laranja { --c: var(--laranja); }
.c-roxo { --c: var(--roxo-2); }
.c-verde { --c: #1fa84a; }

/* ---------- turmas ---------- */
.sec-turmas { background: var(--paper-2); }
.turmas-grid { display: grid; gap: 18px; }
.turnos { display: grid; gap: 14px; }
.turno {
  position: relative; overflow: hidden; display: grid; gap: 4px; justify-items: start;
  padding: 18px 18px 18px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(135deg, var(--roxo) 0%, var(--roxo-2) 100%);
}
.turno-tarde { background: linear-gradient(135deg, #2a1170 0%, var(--roxo) 100%); }
.turno::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 135, 0, .45), rgba(249, 135, 0, 0) 70%);
}
.turno-top { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--amarelo); }
.turno-top svg { width: 24px; height: 24px; }
.turno-hora { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 2rem + 3vw, 3.8rem); line-height: 1; margin-bottom: 10px; }
.turno-hora i { font-style: normal; font-size: .5em; color: rgba(255, 255, 255, .7); }
.turno .btn { position: relative; z-index: 1; }

.ficha { padding: 22px 20px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.ficha h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.ficha dl { margin: 0; }
.ficha dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; padding-block: 9px; border-bottom: 1px solid var(--line); }
.ficha dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ficha dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--laranja); }
.ficha dd { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink); }

/* ---------- aprovados ---------- */
.sec-aprovados {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(92, 45, 224, .55), rgba(92, 45, 224, 0) 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(249, 135, 0, .25), rgba(249, 135, 0, 0) 70%),
    var(--noite);
}
.ap-head { display: grid; gap: 22px; margin-bottom: 26px; }
.ap-head h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); font-weight: 800; max-width: 15em; }
.ap-head .big { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(4.2rem, 3rem + 5vw, 6.2rem); line-height: .85; color: var(--laranja); letter-spacing: 0; }
.ap-sub { margin-top: 10px; color: rgba(255, 255, 255, .78); }
.ap-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.tabs button { border: 0; background: transparent; color: rgba(255, 255, 255, .8); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.tabs button b { margin-left: 4px; font-weight: 800; color: var(--amarelo); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--noite); }
.tabs button[aria-selected="true"] b { color: var(--laranja); }
.arrows { display: none; gap: 8px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.arrow:hover { background: rgba(255, 255, 255, .24); }
.arrow svg { width: 22px; height: 22px; }

.ap-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
  margin-inline: -20px; padding: 6px 20px 18px; scrollbar-width: none;
}
.ap-track::-webkit-scrollbar { display: none; }
.ap-card { flex: none; width: 66%; max-width: 280px; scroll-snap-align: start; }
.ap-card[hidden] { display: none; }
.ap-card img { width: 100%; aspect-ratio: 9 / 10; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
.ap-cta { margin-top: 18px; }

/* ---------- método ---------- */
.map { display: grid; gap: 22px; align-items: center; }
.map-txt > p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); }
.frentes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: f; }
.frentes li {
  counter-increment: f; position: relative; display: grid; gap: 4px; align-content: start;
  padding: 14px 14px 14px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm);
}
.frentes li::before {
  content: counter(f); width: 28px; height: 28px; border-radius: 50%; margin-bottom: 4px;
  display: grid; place-items: center; background: var(--roxo); color: #fff; font-weight: 800; font-size: .85rem;
}
.frentes b { font-size: .95rem; line-height: 1.3; }
.frentes span { font-size: .84rem; color: var(--ink-2); line-height: 1.42; }

.duas { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.bloco, .map > * { min-width: 0; }
.bloco { padding: 22px 20px; border-radius: var(--r-lg); background: var(--roxo); color: #fff; }
.bloco h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 14px; }
.lista {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none;
}
.lista::-webkit-scrollbar { display: none; }
.lista li {
  flex: none; width: 76%; max-width: 280px; scroll-snap-align: start; display: grid; gap: 4px; align-content: start;
  padding: 14px 14px 14px 36px; position: relative; border-radius: 14px; background: rgba(255, 255, 255, .08);
}
.lista li::before { content: ""; position: absolute; left: 14px; top: 1.3em; width: 10px; height: 10px; border-radius: 3px; background: var(--laranja); transform: rotate(45deg); }
.lista b { font-weight: 700; line-height: 1.3; }
.lista span { font-size: .86rem; color: rgba(255, 255, 255, .8); line-height: 1.45; }
.bloco-claro { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.servicos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.servicos li { display: grid; gap: 4px; align-content: start; }
.servicos svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--roxo); background: var(--paper-2); margin-bottom: 2px; }
.servicos b { font-weight: 700; font-size: .93rem; line-height: 1.3; }
.servicos span { font-size: .84rem; color: var(--ink-2); line-height: 1.42; }

/* ---------- depoimentos ---------- */
.depos {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: -20px; padding: 4px 20px 10px; scrollbar-width: none;
}
.depos::-webkit-scrollbar { display: none; }
.depo { flex: none; width: 72%; max-width: 280px; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.depo-video, .depo video {
  position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
}
.depo-video {
  display: grid; place-items: center; padding: 0; border: 0; color: #fff;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(249, 135, 0, .45), rgba(249, 135, 0, 0) 70%),
    linear-gradient(160deg, var(--roxo-2), var(--noite));
}
.depo-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.depo-play {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--verde); color: var(--verde-ink); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .6); transition: transform .2s ease;
}
.depo-play svg { width: 28px; height: 28px; margin-left: 3px; }
.depo-video:hover .depo-play { transform: scale(1.08); }
.depo-rot { position: absolute; z-index: 1; left: 14px; bottom: 12px; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.depo video { display: block; object-fit: cover; background: #000; }
.depo blockquote { margin: 0; font-size: .95rem; line-height: 1.5; }
.depo-quem { font-size: .84rem; color: var(--muted); }
.depo-quem b { display: block; font-size: .95rem; color: var(--ink); }

/* ---------- pais e responsáveis ---------- */
.sec-pais { background: var(--white); }
.pais-grid { display: grid; gap: 26px; }
.pais-txt > p:not(.eyebrow) { margin-top: 12px; color: var(--ink-2); }
.pais-txt .btn { margin-top: 22px; }
.pais-lista { display: grid; gap: 12px; }
.pais-lista li {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; align-content: start;
  padding: 16px; border-radius: var(--r); background: var(--paper);
}
.pais-lista svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--paper-2); color: var(--roxo); }
.pais-lista b { font-size: .95rem; line-height: 1.3; }
.pais-lista span { font-size: .86rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- estrutura ---------- */
.sec-estrutura { background: var(--paper-2); }
.sec-faq { background: var(--paper-2); }
.so-desk { display: none; }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 138px; gap: 8px; }
.bento li { min-width: 0; }
.b-a { grid-column: span 2; grid-row: span 2; }
.b-b { grid-row: span 2; }
.b-g { grid-column: span 2; }
.foto {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden;
  border-radius: var(--r-lg); background: #ddd; text-align: left;
}
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.foto:hover img { transform: scale(1.05); }
.foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 0, 67, 0) 45%, rgba(18, 0, 67, .78) 100%); }
.cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: .78rem; line-height: 1.35; }
.cap b { display: block; font-size: .98rem; }
.zoom { position: absolute; right: 10px; top: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--roxo); opacity: 0; transition: opacity .2s; }
.zoom svg { width: 17px; height: 17px; }
.foto:hover .zoom, .foto:focus-visible .zoom { opacity: 1; }
.estrutura-cta { margin-top: 26px; display: grid; gap: 12px; justify-items: start; }
.estrutura-cta p { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .92rem; }
.estrutura-cta p svg { color: var(--laranja); width: 20px; height: 20px; }

/* ---------- dúvidas ---------- */
.faq-grid { display: grid; gap: 24px; }
.faq-head p { margin: 12px 0 18px; color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 15px 2px; font-weight: 600; font-size: .98rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%233F1E99' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 18px; color: var(--ink-2); max-width: 46em; }

/* ---------- contato ---------- */
.sec-contato { background: var(--roxo); color: #fff; }
.contato-grid { display: grid; gap: 28px; }
.contato-txt h2 { color: #fff; }
.contato-txt .marker { color: var(--amarelo); }
.sec-contato .eyebrow { color: var(--amarelo); }
.contato-txt > .btn { margin-top: 22px; }
.contato-txt > p { margin-top: 12px; color: rgba(255, 255, 255, .82); }
.contato-info { margin: 22px 0 18px; display: grid; gap: 12px; }
.contato-info li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.contato-info svg { width: 22px; height: 22px; color: var(--amarelo); margin-top: 2px; }
.contato-info a { color: #fff; }

.form-head h3 { font-size: 1.15rem; font-weight: 800; }
.form-head p { margin-top: 4px; font-size: .88rem; color: var(--muted); }
.form { display: grid; gap: 16px; padding: 24px 20px; border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.campo { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.campo label, .campo legend { font-weight: 600; font-size: .9rem; padding: 0; }
.campo label small { font-weight: 400; color: var(--muted); }
.campo[hidden] { display: none; }
.campo input[type="text"], .campo input[type="tel"] {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); font: inherit; color: var(--ink);
}
.campo input:focus { outline: none; border-color: var(--roxo-2); box-shadow: 0 0 0 4px rgba(92, 45, 224, .15); }
.campo input[aria-invalid="true"] { border-color: #d0342c; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.opcoes label { position: relative; }
.opcoes input { position: absolute; opacity: 0; inset: 0; }
.opcoes span {
  display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .88rem; font-weight: 600; background: var(--paper); cursor: pointer; transition: all .15s;
}
.opcoes input:checked + span { background: var(--roxo); border-color: var(--roxo); color: #fff; }
.opcoes input:focus-visible + span { outline: 3px solid var(--laranja); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { width: 100%; font-size: .95rem; padding-left: 20px; }
.form-nota { font-size: .78rem; color: var(--muted); }
.form-status { font-size: .92rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: #157a37; }
.form-status.erro { color: #b4271f; }
.form-status .btn { margin-top: 10px; width: 100%; }

/* ---------- rodapé ---------- */
.rodape { background: var(--noite); color: rgba(255, 255, 255, .78); padding-block: 36px 40px; font-size: .88rem; }
.rodape-in { display: grid; gap: 14px; }
.rodape .legal { font-size: .78rem; color: rgba(255, 255, 255, .55); }

/* ---------- barra fixa (celular) ---------- */
.barra-wa {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px;
  background: var(--verde); color: var(--verde-ink); font-weight: 800; text-decoration: none;
  box-shadow: 0 16px 30px -12px rgba(6, 48, 26, .55);
  transform: translateY(0); transition: transform .3s ease, opacity .3s ease;
}
.barra-wa svg { width: 24px; height: 24px; }
.barra-txt { display: grid; line-height: 1.15; text-align: left; }
.barra-txt small { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .78; }
.barra-wa.oculta { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------- lightbox ---------- */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; background: var(--noite); color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 0, 40, .82); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 22px 22px 0 0; background: #000; }
.lightbox figcaption { padding: 14px 20px 18px; font-weight: 600; }
.lb-close, .lb-nav { position: absolute; z-index: 2; border: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--noite); box-shadow: var(--shadow-sm); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.lb-close { right: -10px; top: -14px; }
.lb-nav { top: 40%; }
.lb-prev { left: -14px; }
.lb-next { right: -14px; }

/* ---------- animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { animation: sobe .8s cubic-bezier(.2, .8, .2, 1) both; opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { animation-delay: .08s; }
.js .hero .reveal:nth-child(3) { animation-delay: .16s; }
.js .hero .reveal:nth-child(4) { animation-delay: .24s; }
.js .hero .reveal:nth-child(5) { animation-delay: .32s; }
.js .fan { animation: abre .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .fan-1 { animation-delay: .2s; }
.js .fan-3 { animation-delay: .3s; }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes abre { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* celular e tablet: rostos dos aprovados logo abaixo do botão, ainda na primeira tela */
@media (max-width: 959px) {
  .hero-in { display: flex; flex-direction: column; gap: 0; }
  .hero-txt { display: contents; }
  .hero .tag { order: 1; align-self: flex-start; }
  .hero h1 { order: 2; }
  .hero .lead { order: 3; }
  .hero-ctas { order: 4; }
  .hero-art { order: 5; margin-top: 28px; }
  .hero-proof { order: 6; margin-top: 30px; }
  .caso { order: 7; }
}

@media (max-width: 639px) {
  .hero-art { margin-bottom: 30px; }
  .hero-proof { margin-top: 20px; }
  .chip { max-width: 46%; padding: 8px 11px; font-size: .72rem; }
  .chip b { font-size: .86rem; }
  .chip-a { left: 3%; bottom: -24px; }
  .chip-b { right: 3%; bottom: -24px; }
}

/* =================== telas maiores =================== */
@media (min-width: 640px) {
  .passos { grid-template-columns: repeat(3, 1fr); }
  .passo { grid-template-columns: 1fr; padding: 24px 22px 22px; border-left: 0; border-top: 6px solid var(--c); row-gap: 8px; }
  .passo > :not(.passo-ico):not(.passo-n) { grid-column: 1; }
  .passo-ico { grid-row: auto; }
  .passo-n { right: 20px; top: 14px; font-size: 3rem; }
  .turnos { grid-template-columns: 1fr 1fr; }
  .ap-card { width: 260px; }
  .frentes { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .b-a { grid-column: span 2; grid-row: span 2; }
  .b-g { grid-column: span 1; }
  .hero-ctas { justify-items: start; }
  .opcoes span { font-size: .9rem; }
  .pais-lista { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  :root { --topo-h: 76px; }
  body { padding-bottom: 0; }
  .wrap { padding-inline: 32px; }
  .logo img { width: 160px; }
  .menu { display: flex; gap: 26px; }
  .menu a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); position: relative; }
  .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--laranja); transform: scaleX(0); transition: transform .2s; }
  .menu a:hover { color: var(--ink); }
  .menu a:hover::after { transform: scaleX(1); }
  .topo-cta { min-height: 50px; font-size: .92rem; padding-left: 20px; }
  .so-desk { display: inline; }
  .so-mob { display: none; }

  .sec { padding-block: 64px; }
  .sec-head { margin-bottom: 32px; }
  .hero { padding-block: 36px 56px; }
  .hero-in { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 56px; }
  .hero-art { aspect-ratio: 1 / .9; }
  .hero-ctas .btn, .ap-cta .btn, .estrutura-cta .btn { font-size: 1rem; padding-left: 26px; }
  .chip-a { left: -6%; }
  .chip-b { right: -5%; }

  .turmas-grid { grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 22px; }
  .turnos { grid-template-columns: 1fr; gap: 16px; }
  .turno { padding: 26px 28px; grid-template-columns: 1fr auto; align-items: end; align-content: center; column-gap: 18px; }
  .turno-top { grid-column: 1 / -1; }
  .turno-hora { margin-bottom: 0; }
  .ficha { padding: 26px 30px; }
  .ficha dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .ficha dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ficha dl > div:nth-last-child(2) { border-bottom: 0; }

  .ap-head { grid-template-columns: 1fr auto; align-items: end; }
  .arrows { display: flex; }
  .ap-track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .ap-card { width: calc((100% - 4 * 14px) / 5); max-width: none; }

  .map { grid-template-columns: .85fr 1.15fr; gap: 48px; }
  .frentes { grid-template-columns: 1fr 1fr; gap: 14px; }
  .frentes li { padding: 18px; }
  .frentes span { font-size: .9rem; }
  .duas { grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 36px; }
  .bloco { padding: 28px 28px; }
  .lista { display: grid; gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .lista li { width: auto; max-width: none; padding: 0 0 0 22px; background: none; border-radius: 0; }
  .lista li::before { left: 0; top: .55em; }
  .servicos { gap: 20px 24px; }
  .servicos li { grid-template-columns: 40px 1fr; column-gap: 12px; }
  .servicos svg { grid-row: span 2; margin: 0; }

  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 164px; gap: 14px; }
  .b-a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .b-b { grid-column: 3; grid-row: 1 / span 2; }
  .b-c { grid-column: 4; grid-row: 1; }
  .b-d { grid-column: 4; grid-row: 2; }
  .b-e { grid-column: 1; grid-row: 3; }
  .b-f { grid-column: 2 / span 2; grid-row: 3; }
  .b-g { grid-column: 4; grid-row: 3; }
  .estrutura-cta { grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 24px; }

  .depos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .depo { width: auto; max-width: none; }
  .pais-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }

  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--topo-h) + 24px); }

  .contato-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .form { padding: 28px; }
  .rodape-in { grid-template-columns: auto 1fr; align-items: center; column-gap: 40px; }
  .rodape .legal { grid-column: 1 / -1; }

  .barra-wa {
    left: auto; right: 24px; bottom: 24px; width: 64px; height: 64px; min-height: 0; padding: 0; border-radius: 50%;
  }
  .barra-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .barra-wa svg { width: 30px; height: 30px; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 4.1rem; }
}
