/* IEFE · LP Pedagogia para quem tem Magistério */
:root {
  --green: #00c578;
  --green-600: #00a463;
  --green-50: #e9f9f1;
  --teal: #0b6b5a;
  --teal-900: #063f35;
  --pink: #d6246e;
  --ink: #12261f;
  --muted: #4f6560;
  --line: #d9e8e1;
  --bg: #ffffff;
  --bg-soft: #f4faf7;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(6, 63, 53, .35);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: "Nunito", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 1.02rem/1.2 "Nunito", sans-serif;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #1ebe5a; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 10px 24px -10px rgba(214, 36, 110, .7); }
.btn-primary:hover { background: #bd1c5f; }
.btn-ghost { background: transparent; color: var(--teal-900); border: 2px solid currentColor; }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-block { width: 100%; }
.btn-lg { padding: 19px 30px; font-size: 1.1rem; }

/* Barra superior */
.topbar { background: var(--teal-900); color: #dff5ec; font-size: .88rem; }
.topbar .container { display: flex; justify-content: center; gap: 18px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center; }
.topbar strong { color: #fff; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 0 4px rgba(0, 197, 120, .25); }

/* Cabeçalho */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.header .logo img { width: 122px; height: auto; }
.nav { display: none; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--green-600); }
.header .btn { padding: 11px 18px; font-size: .92rem; }
@media (min-width: 980px) { .nav { display: flex; } }
@media (max-width: 420px) { .header .btn span.long { display: none; } .header .logo img { width: 104px; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(0, 197, 120, .22), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  padding: 44px 0 56px;
}
.hero-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; padding-top: 16px; align-items: center; } }
@media (max-width: 600px) {
  .hero { padding: 26px 0 40px; }
  .hero .lead { font-size: 1.04rem; }
  .checks { margin: 18px 0 22px; gap: 8px; }
  .hero-ctas .btn-primary { width: 100%; }
  .hero-ctas .btn-ghost { display: none; }
  .hero-proof { margin-top: 20px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--teal);
  font-weight: 800; font-size: .85rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 .hl { color: var(--green-600); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.micro { font-size: .86rem; color: var(--muted); margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.micro svg { width: 16px; height: 16px; color: var(--green-600); flex: none; }

/* Prova no hero (foto + selo) */
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.hero-proof small { display: block; color: var(--muted); font-size: .85rem; }

/* Formulário */
.form-card {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 26px 22px; position: relative;
}
@media (min-width: 720px) { .form-card { padding: 32px; } }
.form-card .tag {
  position: absolute; top: -14px; left: 22px; background: var(--pink); color: #fff;
  font: 800 .78rem/1 "Nunito", sans-serif; padding: 8px 14px; border-radius: 999px; letter-spacing: .02em;
}
.form-card h2 { font-size: 1.45rem; margin-top: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
.field label .opt { font-weight: 600; color: var(--muted); }
.field input, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fbfdfc; color: var(--ink); appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b5a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 197, 120, .18); background: #fff; }
.field.invalid input, .field.invalid select { border-color: #d93025; }
.field .err { display: none; color: #b3261e; font-size: .82rem; margin-top: 4px; font-weight: 700; }
.field.invalid .err { display: block; }
.row-2 { display: grid; gap: 14px; }
@media (min-width: 480px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field label.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; font-weight: 600; color: var(--muted); margin: 6px 0 0; line-height: 1.45; cursor: pointer; }
.field .consent input[type="checkbox"] {
  appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; padding: 0; margin: 1px 0 0;
  border-radius: 4px; accent-color: var(--green-600); flex: none; box-shadow: none; background: none;
}
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; display: flex; justify-content: center; gap: 6px; align-items: center; }
.form-note svg { width: 14px; height: 14px; }
.hp { position: absolute; left: -5000px; }

/* Faixa de confiança */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (min-width: 900px) { .trust .container { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 20px 10px; }
.trust-item svg { width: 34px; height: 34px; color: var(--green-600); flex: none; }
.trust-item strong { display: block; font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.05rem; line-height: 1.2; }
.trust-item strong + span { font-size: .84rem; color: var(--muted); line-height: 1.3; display: block; }

/* Seções */
section { scroll-margin-top: 84px; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--teal-900); color: #e6f6ef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9dccf; }
.kicker { display: inline-block; font: 900 .8rem/1 "Nunito", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin-bottom: 12px; }
.section-dark .kicker { color: #7ff0c0; }

/* Dores */
.pains { display: grid; gap: 16px; }
@media (min-width: 720px) { .pains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pains { grid-template-columns: repeat(3, 1fr); } }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; }
.pain .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fde8f0; color: var(--pink); display: grid; place-items: center; }
.pain .ico svg { width: 24px; height: 24px; }
.pain h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pain p { margin: 0; color: var(--muted); font-size: .95rem; }
.center-cta { text-align: center; margin-top: 36px; }

/* Solução / comparativo */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.compare { display: grid; gap: 14px; }
.compare-row { border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; }
.compare-row.old { background: #fff; border: 1px dashed #b8cbc3; color: var(--muted); }
.compare-row.new { background: var(--teal-900); color: #fff; box-shadow: var(--shadow); }
.compare-row .label { font-weight: 800; }
.compare-row .big { font: 900 1.9rem/1 "Nunito", sans-serif; }
.compare-row.new .big { color: #7ff0c0; }
.bar { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: #e3ece8; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: #b8cbc3; }
.compare-row.new .bar { background: rgba(255, 255, 255, .15); }
.compare-row.new .bar i { background: var(--green); }
.legal-note { font-size: .88rem; color: var(--muted); border-left: 4px solid var(--green); padding: 8px 0 8px 14px; margin-top: 18px; }

/* Como funciona */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(0, 197, 120, .18); color: #7ff0c0; display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature p { margin: 0; color: #c4e3d7; font-size: .97rem; }
.feature h3 { margin-bottom: 6px; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.photo-strip img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Para quem é */
/* Lista vertical: 5 linhas com o mesmo formato (número · título · descrição) */
.who { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.who-item {
  display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 16px;
  padding: 16px 20px; border: 1px solid var(--line);
}
.who-item .n {
  flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--green-50); color: var(--green-600);
  font: 900 1.05rem/40px "Nunito", sans-serif; text-align: center;
}
.who-item p { margin: 0; min-width: 0; }
.who-item p strong { display: block; font-family: "Nunito", sans-serif; font-weight: 800; font-size: 1.04rem; line-height: 1.3; }
.who-item p span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.45; margin-top: 2px; }
@media (min-width: 940px) {
  #para-quem-e .split { align-items: start; }
  #para-quem-e .photo-card { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
}
.req { margin-top: 28px; background: #fff; border: 2px solid var(--green); border-radius: var(--radius); padding: 22px; }
.req h3 { display: flex; gap: 10px; align-items: center; }
.req ul { margin: 0; padding-left: 20px; }
.req li { margin-bottom: 6px; }
.photo-card { position: relative; }
.photo-card img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-card .badge {
  position: absolute; left: -8px; bottom: 26px; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; gap: 10px; align-items: center; max-width: 260px;
}
@media (min-width: 720px) { .photo-card .badge { left: -24px; } }
.photo-card .badge svg { width: 30px; height: 30px; color: var(--green-600); flex: none; }
.photo-card .badge strong { display: block; font-family: "Nunito", sans-serif; font-weight: 900; line-height: 1.2; }
.photo-card .badge span { font-size: .82rem; color: var(--muted); }

/* Benefícios */
.benefits { display: grid; gap: 16px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { text-align: left; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.benefit .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin-bottom: 14px; }
.benefit .ico svg { width: 26px; height: 26px; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Passos */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px 22px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; font: 900 1.2rem/1 "Nunito", sans-serif; margin-bottom: 14px;
}
.step { display: flex; flex-direction: column; align-items: flex-start; }
.step p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.step .pill { margin-top: auto; }
.step .pill { display: inline-block; background: var(--green-50); color: var(--teal); font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 99px; }

/* Depoimentos */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-bottom: 32px; }
.google-score { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; }
.google-score svg { width: 30px; height: 30px; }
.google-score strong { font-family: "Nunito", sans-serif; font-weight: 900; }
.google-score small { display: block; color: var(--muted); }
.reviews { display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; margin: 0; }
.review blockquote { margin: 10px 0 18px; font-size: 1rem; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.review .initial { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 900; }
.review figcaption small { display: block; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; } }
.gallery figure { margin: 0; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; aspect-ratio: 3 / 4; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(6, 63, 53, .85); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 10px; border-radius: 10px; }

/* Investimento */
.price-wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 940px) { .price-wrap { grid-template-columns: 1fr 1fr; gap: 56px; } }
.price-card { background: #fff; color: var(--ink); border-radius: 26px; padding: 30px 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); position: relative; }
.price-card .tag { position: absolute; top: -14px; right: 22px; background: var(--pink); color: #fff; font: 800 .78rem/1 "Nunito", sans-serif; padding: 8px 14px; border-radius: 99px; }
.price-card .from { color: var(--muted); font-weight: 700; }
.price { font: 900 3.4rem/1 "Nunito", sans-serif; color: var(--teal-900); margin: 6px 0 4px; }
.price small { font-size: 1.1rem; font-weight: 800; }
.price-card hr { border: 0; border-top: 1px dashed var(--line); margin: 20px 0; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--green-600); font-weight: 900; }
.price-card .fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Sobre */
.about-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 940px) { .about-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.about-grid .photo img { border-radius: 24px; width: 100%; box-shadow: var(--shadow); max-height: 340px; object-fit: cover; }
@media (min-width: 940px) { .about-grid .photo img { max-height: none; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.fact { background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; }
.fact strong { display: block; font: 900 1.3rem/1.1 "Nunito", sans-serif; color: var(--teal); }
.fact strong + span { font-size: .85rem; color: var(--muted); }
.seals { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 10px; }
.seals a, .seals > img { display: block; }
.seals img { height: 86px; width: auto; border-radius: 10px; }
.mec-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin-top: 16px; font-size: .9rem; }
.mec-links strong { flex-basis: 100%; font-weight: 800; color: var(--ink); }
.mec-links a { font-weight: 700; color: var(--teal); text-underline-offset: 3px; }
.mec-links a:hover { color: var(--green-600); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font: 800 1.02rem/1.35 "Nunito", sans-serif; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--green-50); color: var(--teal);
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA final */
.final-cta { background: var(--green); color: #fff; overflow: hidden; position: relative; }
.final-cta .container { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .final-cta .container { grid-template-columns: 1.1fr .9fr; } }
.final-cta .text { padding: 64px 0 8px; }
@media (min-width: 900px) { .final-cta .text { padding: 72px 0; } }
.final-cta h2 { color: #fff; }
.final-cta p { color: #eafff5; font-size: 1.1rem; }
.final-cta img {
  align-self: end; max-height: 420px; width: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 85%, transparent);
}
.final-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.final-cta .btn-wa { background: var(--teal-900); box-shadow: 0 10px 24px -10px rgba(6, 63, 53, .7); }
.final-cta .btn-wa:hover { background: #04261f; }

/* Rodapé */
.footer { background: #04261f; color: #a9c9bd; font-size: .9rem; padding: 48px 0 110px; }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }
.footer a { color: #d9f3e8; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer h3 { color: #fff; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer .logo-foot { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.footer .logo-foot img { width: 116px; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 20px; font-size: .8rem; line-height: 1.5; }

/* WhatsApp flutuante + barra mobile */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4);
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (min-width: 900px) { .wa-float { display: grid; } }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr; gap: 8px;
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .25); transform: translateY(110%); transition: transform .25s ease;
}
.mobile-bar.show { transform: none; }
.mobile-bar .btn { padding: 14px 16px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Aviso de cookies */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 86px; z-index: 70; max-width: 520px; margin: 0 auto;
  background: var(--teal-900); color: #dff5ec; border-radius: 16px; padding: 14px 16px; font-size: .85rem;
  display: none; gap: 12px; align-items: center; box-shadow: var(--shadow);
}
.cookie.show { display: flex; }
.cookie a { color: #7ff0c0; }
.cookie button { flex: none; background: var(--green); color: #04261f; border: 0; border-radius: 99px; padding: 9px 16px; font-weight: 800; cursor: pointer; }
@media (min-width: 900px) { .cookie { bottom: 18px; left: 18px; right: auto; } }

/* ================================================================
   MOVIMENTO E LUZ
   Tudo usa só transform/opacity (GPU) e respeita prefers-reduced-motion.
   O conteúdo fica visível sem JS: só o que está abaixo da dobra no
   carregamento recebe .pending (escondido) e é revelado ao rolar.
   ================================================================ */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Barra de progresso de leitura */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none;
  background: linear-gradient(90deg, var(--green), var(--pink));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* Cabeçalho ganha sombra ao rolar; link da seção atual destacado */
.header { transition: box-shadow .3s ease; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(6, 63, 53, .45); }
.nav a { position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transition: transform .35s var(--ease-out);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--green-600); }

/* Botões: brilho que atravessa no hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before, .btn-wa::before, .btn-light::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg) translateX(0); opacity: 0;
}
.btn-light::before { background: linear-gradient(105deg, transparent, rgba(0, 197, 120, .25), transparent); }

/* Revelação ao rolar */
.reveal {
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.pending { opacity: 0; transform: translate3d(0, 28px, 0); }
.section-head.reveal.pending { transform: translate3d(0, 18px, 0); filter: blur(6px); }
.zoom.reveal.pending { transform: scale(.94); }
.photo-card.reveal.pending { transform: translate3d(30px, 0, 0); }

/* Barras do comparativo enchem ao aparecer */
.compare .bar i { transform-origin: 0 50%; transition: transform 1.4s var(--ease-out) .25s; }
.compare.pending .bar i, .compare-row.pending .bar i { transform: scaleX(0); }

/* Destaque do H1: gradiente que percorre as palavras */
.hero h1 .hl, .hero h1 .hl .w {
  background: linear-gradient(100deg, var(--green-600) 0%, #00c98a 35%, var(--teal) 65%, var(--green-600) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .w { display: inline-block; }

/* Hero: luz que acompanha o mouse */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--hx, 70%) var(--hy, 20%), rgba(0, 197, 120, .16), transparent 60%);
  transition: opacity .4s ease;
}
.hero > .container { position: relative; z-index: 1; }

/* Cartões: holofote que segue o cursor */
.glow { position: relative; isolation: isolate; }
.glow::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 197, 120, .13), transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
.section-dark .glow::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(127, 240, 192, .14), transparent 55%); }
.pain, .feature, .benefit, .step, .review, .who-item, .fact { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease; }

@media (hover: hover) and (pointer: fine) {
  .glow:hover::after { opacity: 1; }
  .who-item:hover { transform: translateX(4px); border-color: #bfe6d3; box-shadow: 0 14px 30px -22px rgba(6, 63, 53, .35); }
  .who-item:hover .n { background: var(--green); color: #fff; }
  .who-item .n { transition: background .3s ease, color .3s ease; }
  .pain:hover, .benefit:hover, .step:hover, .review:hover {
    transform: translateY(-4px); border-color: #bfe6d3; box-shadow: 0 18px 40px -24px rgba(6, 63, 53, .35);
  }
  .feature:hover { transform: translateY(-4px); border-color: rgba(127, 240, 192, .35); }
  .photo-strip img, .gallery img { transition: transform .6s var(--ease-out); }
  .photo-strip img:hover, .gallery figure:hover img { transform: scale(1.03); }
  .photo-card img { transition: transform .5s var(--ease-out); will-change: transform; }
  .btn-primary:hover::before, .btn-wa:hover::before, .btn-light:hover::before { animation: shine .8s ease; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrada do hero ao carregar (curta, para não atrasar a leitura) */
  .hero .eyebrow, .hero .lead, .hero .checks li, .hero-ctas, .hero-proof, .form-card {
    animation: rise .7s var(--ease-out) both;
  }
  .hero .eyebrow { animation-delay: 0s; }
  .hero .lead { animation-delay: .15s; }
  .hero .checks li:nth-child(1) { animation-delay: .2s; }
  .hero .checks li:nth-child(2) { animation-delay: .25s; }
  .hero .checks li:nth-child(3) { animation-delay: .3s; }
  .hero-ctas { animation-delay: .35s; }
  .hero-proof { animation-delay: .42s; }
  .form-card { animation: rise-card .8s var(--ease-out) .1s both; }

  /* Palavras do H1 sobem em sequência */
  .hero h1 .w { animation: word .7s var(--ease-out) both; animation-delay: calc(var(--i) * 35ms); }
  .hero h1 .hl, .hero h1 .hl .w { animation-name: word, sweep; animation-duration: .7s, 7s; animation-timing-function: var(--ease-out), linear; animation-iteration-count: 1, infinite; }
  .hero h1 .hl { animation: sweep 7s linear infinite; }

  /* Selo do formulário e ponto "matrículas abertas" pulsam de leve */
  .form-card .tag { animation: tag-pop .5s var(--ease-out) .5s both; }
  .topbar .dot { animation: blink 2s ease-in-out infinite; }

  /* Brilho automático no CTA principal do hero, a cada 5s */
  .hero-ctas .btn-primary::before { animation: shine 1s ease 1.6s, shine-loop 5s ease 3s infinite; }
}

@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes rise-card { from { opacity: 0; transform: translate3d(0, 34px, 0) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translate3d(0, .45em, 0) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-position: 0% 50%; } to { background-position: 250% 50%; } }
@keyframes shine { 0% { opacity: 1; transform: skewX(-20deg) translateX(0); } 100% { opacity: 1; transform: skewX(-20deg) translateX(420%); } }
@keyframes shine-loop { 0%, 80% { opacity: 0; transform: skewX(-20deg) translateX(0); } 81% { opacity: 1; } 100% { opacity: 1; transform: skewX(-20deg) translateX(420%); } }
@keyframes tag-pop { from { opacity: 0; transform: translateY(6px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(0, 197, 120, 0); } }

@media (max-width: 720px) {
  .reveal.pending { transform: translate3d(0, 18px, 0); }
  .photo-card.reveal.pending { transform: translate3d(0, 18px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.pending { opacity: 1; transform: none; filter: none; transition: none; }
  .compare .bar i { transition: none; transform: none; }
  .wa-float::after, .btn::before { animation: none !important; }
  .btn:hover { transform: none; }
  .progress { display: none; }
}
