/* ==========================================================
   Amorim English Classes — estilos
   ========================================================== */
:root {
  --navy-900: #050D24;
  --navy-800: #0A1A3F;
  --navy-700: #13295C;
  --navy-500: #1D3A78;
  --red-600: #C8102E;
  --red-500: #E63946;
  --gold: #F2C14E;
  --cream: #F7F3EA;
  --paper: #FFFDF8;
  --ink: #0E1630;
  --muted: #5A6480;
  --wa: #25D366;
  --wa-dark: #128C4A;

  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-script: "Caveat", "Segoe Script", cursive;

  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(10, 26, 63, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 em, h1 em { font-style: italic; font-weight: 700; color: var(--red-500); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--sm { padding: .7em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1.1em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--wa { --bg: var(--wa); --fg: #062b15; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .7); }
.btn--wa:hover { box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .9); }
.btn--wa::after { /* brilho que passa */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn--ghost { --bg: rgba(255,255,255,.08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255,255,255,.16); }
.btn--red { --bg: var(--red-500); box-shadow: 0 12px 30px -12px rgba(230, 57, 70, .8); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 18px 0;
}
.nav.is-scrolled { background: rgba(10, 26, 63, .86); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); padding: 10px 0; }
.nav__inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font: 800 1.45rem/1 var(--f-display); letter-spacing: -.02em; }
.brand__text small { font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #E63946; margin-top: 4px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 1000px); color: #fff;
  background: var(--navy-900); overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}
/* cenário (paisagem dos EUA) */
.hero__scene { position: absolute; inset: 0; overflow: hidden; }
.hero__scene::before { /* o cenário levemente desfocado, para dar profundidade */
  content: ""; position: absolute; inset: -20px;
  background: url("../img/cenario.webp") center 80% / cover no-repeat;
  filter: blur(2.5px) saturate(1.08);
  transform: scale(1.03);
}
.hero__scene::after { /* vinheta: sombra forte nas laterais, topo (menu) e base */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 36, .85) 0%, rgba(5, 13, 36, .45) 14%, rgba(5, 13, 36, 0) 32%, rgba(5, 13, 36, 0) 72%, rgba(5, 13, 36, .45) 88%, rgba(5, 13, 36, .85) 100%),
    linear-gradient(180deg, rgba(5, 13, 36, .8) 0, rgba(5, 13, 36, .35) 90px, rgba(5, 13, 36, 0) 180px),
    linear-gradient(0deg, rgba(5, 13, 36, .55) 0, rgba(5, 13, 36, 0) 26%),
    radial-gradient(ellipse 80% 70% at 60% 55%, rgba(5, 13, 36, 0) 55%, rgba(5, 13, 36, .35) 100%);
}
/* mastro inclinado: nasce atrás do professor e a bandeira voa por cima do bloco de texto */
.hero__flagpole {
  position: absolute; z-index: 6; right: 35%; bottom: 0; width: 20%; height: calc(100% - 100px);
  transform-origin: 100% 100%;
  transform: rotate(-10deg);
  pointer-events: none;
}
/* mastro: metal escuro com reflexo quente do pôr do sol, integrado ao cenário */
.hero__pole {
  position: absolute; right: 0; top: 0; bottom: 0; width: 7px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #2a2526 0%, #6b5b55 30%, #f2c9a0 46%, #9a7f70 60%, #3a3233 100%);
  filter: blur(.6px);
  opacity: .95;
}
.hero__pole::before { /* ponteira discreta, em latão envelhecido */
  content: ""; position: absolute; left: 50%; top: -11px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 60% 35%, #f6d9b0 0%, #b98f5e 40%, #5a4330 100%);
}
.hero__pole::after { /* colar sob a ponteira */
  content: ""; position: absolute; left: -1.5px; right: -1.5px; top: -1px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #3a2e26, #c9a27a, #3a2e26);
}
.hero__flag[data-mode="pole"] { /* espelhada: voa para a esquerda, com o azul junto ao mastro */
  position: absolute; right: 6px; top: 6px; width: 100%; height: auto; aspect-ratio: 1.9 / 1.3;
  filter: drop-shadow(0 22px 26px rgba(5, 13, 36, .35)) saturate(.98) blur(.3px);
}

/* cartão de vidro com o texto */
.hero__copy {
  background: rgba(5, 13, 36, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 20px; padding: clamp(28px, 3.2vw, 44px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6);
}
.hero__sig { display: flex; align-items: flex-start; gap: 14px; }
.hero__sig img { flex: none; width: 50px; height: 50px; margin-top: 2px; border-radius: 50%; object-fit: cover; background: linear-gradient(160deg, #F6D27A, var(--gold)); box-shadow: 0 0 0 2px var(--navy-900), 0 0 0 4px rgba(242, 193, 78, .85); }
.hero__sig-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.hero__sig-bubble { position: relative; margin: 0; padding: 9px 14px; border-radius: 14px; background: #fff; color: var(--navy-800); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.hero__sig-bubble::before { /* ponta: entra um pouco no balão para não deixar emenda */
  content: ""; position: absolute; left: -11px; top: 12px; width: 17px; height: 22px; background: #fff;
  clip-path: polygon(100% 0, 100% 100%, 0 38%); border-radius: 2px; }
.hero__sig-photo { position: relative; flex: none; }
.hero__sig-photo::after { content: ""; position: absolute; right: -1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: var(--wa); border: 2.5px solid var(--navy-900); }
.hero__sig-bubble b { color: var(--red-600); }
.hero__sig-bubble span { display: block; margin-top: 2px; font-size: .78rem; font-weight: 500; color: #5b6478; }
.hero__sig-icons { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0 0 0 2px; }
.hero__sig-icons li { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.7); white-space: nowrap; }
.hero__sig-icons svg { width: 16px; height: 16px; fill: none; stroke: var(--wa); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__badge { border-radius: 50%; background: rgba(10, 26, 63, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }

.hero__stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 35% 80%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 65%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 48% 48%, #fff 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: .15; } }
.hero__inner {
  position: relative; z-index: 2;
  width: min(1240px, 100% - 40px); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.hero__title { font-size: clamp(2.9rem, 7.2vw, 6.1rem); font-weight: 800; margin: 22px 0 22px; letter-spacing: -.035em; line-height: 1.02; }
.hero__title em { color: var(--gold); white-space: nowrap; }
/* palavra que alterna */
.rotator { display: block; font-size: .62em; font-style: italic; font-weight: 600; color: rgba(255,255,255,.78); letter-spacing: -.01em; min-height: 1.1em; margin-top: .1em; }
.rotator__word { display: inline-block; animation: wordIn .6s var(--ease) both; }
.rotator__word.out { animation: wordOut .45s var(--ease) both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.4em); filter: blur(4px); } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-.4em); filter: blur(4px); } }

.hero__lead { font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,.75); max-width: 32em; margin: 0; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 30px 0 24px; }
.hero__link { color: #fff; font-weight: 600; text-decoration: none; opacity: .85; transition: opacity .2s; }
.hero__link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.hero__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; white-space: nowrap; color: rgba(255,255,255,.62); }
.hero__badges svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero__badges b { color: #fff; font-weight: 700; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.hero__halo {
  position: absolute; inset: 8% 6% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.45), rgba(255,255,255,.12) 55%, transparent 70%);
  filter: blur(10px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.06); } }
.hero__photo {
  position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(-18px 24px 30px rgba(5,13,36,.55)) drop-shadow(0 0 2px rgba(255,214,170,.5));
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  animation: rise 1.1s .15s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.hero__badge { position: absolute; width: 38%; right: -2%; top: 6%; z-index: 3; animation: spin 22s linear infinite; }
.hero__badge text { font: 800 17px var(--f-body); fill: #fff; }
.hero__badge-star { fill: var(--red-500); transform-origin: 100px 100px; animation: spin 22s linear infinite reverse; }
.hero__badge::before { content: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* balões bilíngues (EN ⇄ PT) — saem da boca do professor */
.bubble {
  --bg: #fff; --fg: var(--navy-800);
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center;
  padding: 14px 22px; border-radius: 22px;
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 1.15rem; white-space: nowrap; letter-spacing: -.01em;
  filter: drop-shadow(0 14px 22px rgba(5, 13, 36, .45)) drop-shadow(0 2px 4px rgba(5, 13, 36, .2));
  animation: float 5s ease-in-out infinite;
  perspective: 400px;
}
.bubble::after { /* rabinho do balão, apontando para o professor — entra no balão para não deixar emenda */
  content: ""; position: absolute; background: var(--bg);
  width: 28px; height: 30px; bottom: -18px;
}
.bubble--to-right::after { right: 20px; clip-path: polygon(0 0, 100% 0, 100% 100%, 55% 40%); }
.bubble--to-left::after { left: 20px; clip-path: polygon(0 0, 100% 0, 45% 40%, 0 100%); }
.bubble--to-side::after { bottom: auto; top: 50%; right: -18px; width: 34px; height: 26px; margin-top: -13px; clip-path: polygon(0 0, 40% 0, 100% 100%, 0 100%); }
.bubble__text { position: relative; z-index: 1; display: inline-block; transition: transform .28s var(--ease), opacity .28s; transform-origin: 50% 50%; }
.bubble.is-flipping .bubble__text { transform: rotateX(90deg); opacity: 0; }
.bubble--1 { right: 64%; top: 6%; animation-delay: -1s; }
.bubble--2 { --bg: var(--red-600); --fg: #fff; left: 70%; top: 13%; animation-delay: -2.5s; }
.bubble--3 { --bg: var(--navy-700, #13295c); --fg: #fff; right: 64%; top: 29%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.hero__scroll { position: absolute; z-index: 3; bottom: 24px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolly 1.8s infinite; }
@keyframes scrolly { to { transform: translateY(14px); opacity: 0; } }

/* Desktop: professor grande, saindo da faixa vermelha */
@media (min-width: 861px) {
  .hero { padding: 110px 0 0; align-items: stretch; height: min(100svh, 1000px); min-height: 680px; }
  /* sem z-index aqui: assim a bandeira passa na frente do cartão e atrás do professor */
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; z-index: auto; }
  .hero__visual { z-index: 7; }
  .hero__copy { align-self: end; margin-bottom: 56px; position: relative; z-index: 5; justify-self: start; width: fit-content; max-width: 600px; }
  .hero__ctas .btn--lg { padding: 1em 1.4em; font-size: 1rem; }
  .hero__title { font-size: clamp(2.5rem, 4.1vw, 4.4rem); margin: 16px 0 22px; }
  .hero__lead { max-width: 27em; }
  .hero__visual {
    align-self: end; justify-self: end; margin-right: -40px;
    width: min(50vw, calc(min(100svh, 1000px) - 70px), 820px); max-width: none;
    margin-bottom: -26px; /* encosta atrás da faixa vermelha */
  }
  .hero__photo { -webkit-mask-image: none; mask-image: none; }
  .hero__halo { inset: 12% 8% 0; }
  .hero__badge { display: none; } /* deixa a Estátua da Liberdade aparecer */
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--red-600); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: -18px -10px 0; position: relative; z-index: 10; box-shadow: 0 10px 30px -10px rgba(200,16,46,.6); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: italic 700 1.5rem/1 var(--f-display); }
.marquee__track i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--navy { background: var(--navy-800); color: #fff; overflow: hidden; }
.section--navy::before { /* listras sutis */
  content: ""; position: absolute; inset: 0; opacity: .035; pointer-events: none;
  background: repeating-linear-gradient(0deg, #fff 0 40px, transparent 40px 80px);
}
.section--cream { background: var(--cream); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__lead { font-size: 1.15rem; color: var(--muted); margin-top: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 800; color: var(--red-600); margin-bottom: 16px; }
.kicker::before { content: "★"; letter-spacing: 0; }
.kicker--light { color: #ff8a93; }
.hl { background: linear-gradient(transparent 58%, rgba(242,193,78,.7) 58% 92%, transparent 92%); padding: 0 .1em; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  box-shadow: 0 1px 0 rgba(10,26,63,.06), var(--shadow);
  border: 1px solid rgba(10,26,63,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--navy-500), var(--red-500)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.feature:hover { transform: translateY(-6px); }
.feature:hover::after { transform: scaleX(1); }
.feature h3 { margin: 18px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-800); color: #fff; }
.feature__ico svg { width: 28px; height: 28px; }
.feature__ico--red { background: var(--red-500); }

/* Tracks */
.tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.track {
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 30px 26px 34px; position: relative; min-height: 270px;
  transform: rotate(var(--tilt));
  transition: transform .4s var(--ease), background .4s;
}
.track:hover { transform: rotate(0) translateY(-8px); background: linear-gradient(160deg, rgba(230,57,70,.35), rgba(255,255,255,.05)); }
.track__num { font: italic 800 3.2rem/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); display: block; margin-bottom: 26px; }
.track h3 { margin-bottom: 10px; }
.track p { color: rgba(255,255,255,.75); font-size: .96rem; margin: 0; }
.track__tag { position: absolute; top: -12px; right: 18px; background: var(--gold); color: var(--navy-800); font-size: .75rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; }

/* Love / humor */
.love { background: var(--paper); padding: clamp(80px, 10vw, 130px) 0 clamp(64px, 8vw, 100px); text-align: center; position: relative; overflow: hidden; }
.love__inner { position: relative; z-index: 2; }
.love__kicker { margin: 0 0 18px; font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--red-500); }
.love__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; color: var(--navy-800); max-width: 13em; margin: 0 auto; text-wrap: balance; }
.love__no { color: var(--red-500); font-style: italic; }
.love__punch { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.55; max-width: 30em; margin: 26px auto 38px; color: var(--muted); text-wrap: balance; }
.love__punch b { color: var(--navy-800); }
.love__punch em { font-family: var(--f-display); font-style: italic; font-weight: 700; color: var(--navy-800); white-space: nowrap; }
.love__plane { position: absolute; inset: 5% 0 auto; height: 140px; opacity: .55; pointer-events: none; }
.love__plane svg { width: 100%; height: 100%; }
.love__trail { fill: none; stroke: var(--navy-500); stroke-width: 2; stroke-dasharray: 6 9; vector-effect: non-scaling-stroke; }
.love__icon { position: absolute; top: 0; left: 0; font-size: 34px; line-height: 1; color: var(--red-500); will-change: transform; }

/* Professor */
.prof { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.prof__visual { position: relative; }
.prof__card { position: relative; border-radius: 32px; overflow: hidden; background: var(--navy-800); aspect-ratio: 4/5; display: flex; align-items: flex-end; justify-content: center; box-shadow: var(--shadow); }
.prof__flagbg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,26,63,.2), rgba(10,26,63,.85)),
    repeating-linear-gradient(180deg, var(--red-600) 0 7.69%, #fff 7.69% 15.38%);
  opacity: .9;
}
.prof__flagbg::before { content: ""; position: absolute; left: 0; top: 0; width: 46%; height: 53.8%; background: var(--navy-700) radial-gradient(circle, #fff 1.4px, transparent 1.6px) 0 0/22px 20px; }
.prof__card img { position: relative; width: 108%; height: auto; max-width: none; transform: translateY(4%); transition: transform .6s var(--ease); }
.prof__card:hover img { transform: translateY(1%) scale(1.02); }
.prof__sticker {
  position: absolute; right: -18px; bottom: 40px;
  background: var(--gold); color: var(--navy-800);
  font: 700 1.6rem/1 var(--f-script); padding: 18px 22px; border-radius: 50%;
  width: 140px; height: 140px; display: grid; place-items: center; text-align: center;
  transform: rotate(10deg); box-shadow: var(--shadow);
}
.prof__sticker b { color: var(--red-600); }
.prof__copy p { color: var(--muted); font-size: 1.08rem; }
.prof__copy h2 { margin-bottom: 24px; }
.prof__quote { margin: 30px 0 34px; padding: 22px 26px; border-left: 4px solid var(--red-500); background: var(--cream); border-radius: 0 16px 16px 0; font: italic 600 1.45rem/1.3 var(--f-display); color: var(--navy-800); }
.prof__quote span { color: var(--red-500); }

/* Quiz */
.quiz { background: #fff; border-radius: 28px; box-shadow: var(--shadow); max-width: 820px; overflow: hidden; border: 1px solid rgba(10,26,63,.06); }
.quiz__bar { height: 6px; background: #ECE6D8; }
.quiz__fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-500), var(--red-500)); transition: width .5s var(--ease); }
.quiz__stage { padding: clamp(26px, 5vw, 48px); min-height: 360px; }
.quiz__step { font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red-600); }
.quiz__q { font: 600 clamp(1.4rem, 3vw, 1.9rem)/1.25 var(--f-display); margin: 12px 0 26px; }
.quiz__q code { font-family: inherit; background: var(--cream); padding: 0 .3em; border-radius: 6px; color: var(--navy-500); }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt {
  text-align: left; padding: 16px 18px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid #E2DCCB; background: var(--paper); font: 600 1rem var(--f-body); color: var(--ink);
  transition: border-color .2s, background .2s, transform .2s;
}
.quiz__opt:hover { border-color: var(--navy-500); transform: translateY(-2px); }
.quiz__opt.is-right { border-color: var(--wa); background: #E9FBEF; }
.quiz__opt.is-wrong { border-color: var(--red-500); background: #FDECEE; }
.quiz__opt:disabled { cursor: default; transform: none; }
.quiz__fx { animation: wordIn .5s var(--ease) both; }
.quiz__result { text-align: center; }
.quiz__level { font: italic 800 clamp(2.6rem, 7vw, 4.4rem)/1 var(--f-display); color: var(--red-500); margin: 10px 0 8px; }
.quiz__result p { color: var(--muted); max-width: 32em; margin-inline: auto; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.btn--link { --bg: transparent; --fg: var(--navy-500); text-decoration: underline; text-underline-offset: 4px; }
.quiz__start { text-align: center; padding-top: 30px; }
.quiz__start .quiz__q { margin-bottom: 14px; }
.quiz__start p { color: var(--muted); }

/* Pricing ticket */
.price { display: grid; grid-template-columns: 1fr 440px; gap: clamp(40px, 6vw, 90px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: 1.08rem; }
.checks li::before { content: "✓"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-weight: 800; font-size: .9rem; }
.ticket { border-radius: 28px; filter: drop-shadow(0 30px 40px rgba(10,26,63,.3)); transition: transform .5s var(--ease); transform: perspective(900px) rotateY(var(--ry, -5deg)) rotateX(var(--rx, 2deg)); }
.ticket__top { background: var(--gold); border-radius: 28px 28px 0 0; padding: 30px 24px 26px; text-align: center; position: relative; color: var(--navy-800); background-image: radial-gradient(circle at 100% 0, rgba(255,255,255,.4), transparent 50%); }
.ticket__label { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; }
.plans__tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 16px 0 18px; border-radius: 999px; background: rgba(10, 26, 63, .12); }
.plans__tabs button { border: 0; cursor: pointer; padding: 9px 20px; border-radius: 999px; background: transparent; color: var(--navy-800); font: 700 .95rem/1 var(--f-body); transition: background .2s, color .2s; }
.plans__tabs button.is-active { background: var(--navy-800); color: #fff; }
.plans__tabs button:focus-visible { outline: 3px solid var(--navy-800); outline-offset: 2px; }
.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.plan { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .5); cursor: pointer; box-shadow: inset 0 0 0 2px transparent; transition: background .2s, box-shadow .2s; }
.plan:hover { background: rgba(255, 255, 255, .75); }
.plan:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--navy-800); }
.plan input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 2px solid var(--navy-800); display: grid; place-items: center; cursor: pointer; }
.plan input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red-600); }
.plan input:focus-visible { outline: 3px solid var(--navy-800); outline-offset: 3px; }
.plan__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.plan__info b { font-size: 1.05rem; white-space: nowrap; }
.plan__info small { font-size: .78rem; color: rgba(10, 26, 63, .7); font-weight: 600; }
.plan__tag { position: absolute; top: -9px; right: 16px; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red-600); padding: 5px 8px; border-radius: 999px; }
.plan__price { flex: none; font: 800 1.45rem/1 var(--f-body); letter-spacing: -.03em; }
.price__lead { color: var(--muted); font-size: 1.08rem; margin: 18px 0 0; max-width: 30em; }
.price__lead b { color: var(--navy-800); }
.prof__stats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prof__stats li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--cream); }
.prof__stats b { font: 800 1.8rem/1 var(--f-display); color: var(--navy-800); }
.prof__stats span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.ticket__cut { height: 28px; background: radial-gradient(circle at 0 50%, transparent 14px, #fff 14.5px) left/51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 14px, #fff 14.5px) right/51% 100% no-repeat; position: relative; }
.ticket__cut::after { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; border-top: 2px dashed #D9D2C2; }
.ticket__bottom { background: #fff; border-radius: 0 0 28px 28px; padding: 6px 30px 30px; text-align: center; }
.ticket__bottom p { font-weight: 600; color: var(--muted); }
.ticket__route { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 800 2rem/1 var(--f-display); color: var(--navy-800); }
.ticket__route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--navy-500) 0 6px, transparent 6px 12px); position: relative; }
.ticket__route i::after { content: "✈︎"; position: absolute; left: 50%; top: 50%; translate: -50% -55%; font-style: normal; font-size: 1.2rem; color: var(--red-500); background: #fff; padding: 0 6px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid rgba(10,26,63,.08); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 64px 22px 26px; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red-500); }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* Final CTA */
.final { position: relative; color: #fff; text-align: center; padding: clamp(100px, 13vw, 170px) 0; overflow: hidden; background: var(--navy-900); }
.final__flag { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.final__veil { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,13,36,.72), rgba(5,13,36,.94) 75%); }
.final__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.final__mark { margin-bottom: 26px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); animation: float 5s ease-in-out infinite; }
.final h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 22px; }
.final h2 em { color: #ff6b75; }
.final p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 32px; }
.final__script { display: block; font: 700 1.9rem/1.2 var(--f-script); color: var(--gold); margin-top: 6px; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 50px 0 40px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; font-size: .92rem; }
.footer__inner p { margin: 0; }
.footer a { color: #fff; font-weight: 700; }
.footer__copy { text-align: right; }

/* Floating WhatsApp */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.fab__btn { width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37,211,102,.7); position: relative; transition: transform .3s var(--ease); }
.fab__btn::before, .fab__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ripple 2.4s ease-out infinite; }
.fab__btn::after { animation-delay: 1.2s; }
@keyframes ripple { to { transform: scale(1.7); opacity: 0; } }
.fab__btn svg { width: 34px; height: 34px; }
.fab:hover .fab__btn { transform: scale(1.08) rotate(-8deg); }
.fab__tip { background: #fff; color: var(--navy-800); font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.fab.is-hint .fab__tip, .fab:hover .fab__tip { opacity: 1; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.track.reveal.is-visible { transform: rotate(var(--tilt)); }
.track.reveal.is-visible:hover { transform: rotate(0) translateY(-8px); }
.features .reveal:nth-child(3n+2), .tracks .reveal:nth-child(2) { transition-delay: .1s; }
.features .reveal:nth-child(3n), .tracks .reveal:nth-child(3) { transition-delay: .2s; }
.tracks .reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 16px; right: 16px;
    background: var(--navy-800); padding: 14px; border-radius: 20px; box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links a { padding: 14px 16px; font-size: 1.05rem; }
  .tracks { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 100px 0 40px; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .hero__visual { justify-self: center; max-width: 340px; order: -1; margin-top: 10px; }
  .hero__scene::before { background-image: url("../img/cenario-mobile.webp"); background-position: 30% 70%; }
  .hero__flagpole { z-index: 1; right: 30%; width: 56%; top: 110px; bottom: auto; height: 340px; transform: rotate(-16deg); }
  .hero__photo { -webkit-mask-image: none; mask-image: none; }
  .hero__copy { position: relative; z-index: 5; margin-top: -60px; }
  .hero__badge { display: none; }
  .hero__scroll { display: none; }
  .bubble { font-size: .8rem; padding: 8px 12px; }
  .bubble--2 { left: auto; right: 2%; }
  .prof, .price { grid-template-columns: 1fr; }
  .prof__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .prof__sticker { right: -6px; width: 112px; height: 112px; font-size: 1.3rem; }
  .ticket { max-width: 440px; margin-inline: auto; width: 100%; --ry: 0deg; --rx: 0deg; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__copy { text-align: center; }
}
@media (max-width: 560px) {
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .btn--sm span { display: none; }
  .btn--sm { padding: .7em; }
  .features, .tracks, .quiz__opts { grid-template-columns: 1fr; }
  .track { min-height: 0; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero__sig-body { flex: 1; }
  .hero__sig-bubble { align-self: stretch; }
  .hero__sig-icons { align-self: stretch; justify-content: center; padding-left: 0; margin-left: -64px; } /* foto (50px) + espaço (14px): centraliza no cartão inteiro */
  .love__plane { inset: 18px 0 auto; height: 70px; }
  .hero__ctas .btn--lg { font-size: 1rem; padding: 1em 1.1em; white-space: nowrap; }
  .marquee__track { font-size: 1.15rem; }
  .fab { right: 16px; bottom: 16px; }
  .fab__btn { width: 58px; height: 58px; }
  .fab__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .love__icon { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
