/* Curso de Neonatologia Parttus — página de vendas */
:root {
  --teal: #068E8E;
  --teal-escuro: #05706F;
  --teal-fundo: #0B4A4A;
  --teal-noite: #083636;
  --rosa: #E94C76;
  --rosa-escuro: #C93460;
  --rosa-claro: #FDEEF2;
  --creme: #FBF7F4;
  --menta: #EAF6F5;
  --branco: #FFFFFF;
  --tinta: #1D2B2B;
  --cinza: #546363;
  --borda: #DCE9E8;

  --f-title: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--f-title); font-weight: 700; letter-spacing: -.015em; }
h3 { font-family: var(--f-body); font-weight: 800; font-size: 18px; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.ic { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 2px; }
.ic--x { color: #B9C4C4; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  padding: 17px 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--cta {
  background: var(--rosa);
  color: var(--branco);
  box-shadow: 0 10px 24px -10px rgba(233, 76, 118, .7);
}
.btn--cta:hover, .btn--cta:focus-visible { background: var(--rosa-escuro); transform: translateY(-1px); }
.btn--cta:active { transform: translateY(1px); }
.btn--block { display: block; width: 100%; }

/* ---------- Topbar + faixa da live ---------- */
.topbar { background: var(--branco); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; }
.topbar__logo { height: 52px; width: auto; }
.topbar__parc { font-size: 14px; color: var(--cinza); letter-spacing: .04em; }
.topbar__parc strong { color: var(--teal); font-weight: 800; letter-spacing: .12em; }

.live {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--rosa); color: var(--branco);
  font-size: 15px; line-height: 1.35; text-decoration: none; text-align: center;
  padding: 10px var(--gutter);
}
.live:hover span:not(.live__dot) { text-decoration: underline; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--branco); flex: none; animation: pulse 1.6s ease-in-out infinite; }
.live__yt { width: 22px; height: 22px; flex: none; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Hero ---------- */
.hero { background: var(--teal-fundo); color: var(--branco); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
.tag {
  display: inline-block;
  color: #9BE3DD;
  font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(40px, 9vw, 68px);
  line-height: 1.02;
  margin-bottom: 18px;
  max-width: 12ch;
}
.hero h1 em { font-style: italic; color: #FF8FAD; }
.hero__sub { font-size: 18px; color: #D7EDEB; max-width: 34em; margin-bottom: 26px; }
.hero__sub strong { color: var(--branco); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 28px; max-width: 520px; }
.facts li {
  display: flex; flex-direction: column;
  border-top: 2px solid rgba(255,255,255,.22);
  padding-top: 10px;
}
.facts strong { font-family: var(--f-title); font-size: 30px; line-height: 1; }
.facts span { font-size: 13px; color: #B7D8D5; line-height: 1.3; margin-top: 4px; }

.hero__support { font-size: 15px; color: #CFE6E4; margin-top: 14px; }
.hero__support s { opacity: .75; }
.hero__support strong { color: var(--branco); }

.hero__visual { position: relative; margin: 0 auto; width: min(100%, 400px); align-self: end; }
.hero__arc {
  position: absolute; left: 50%; top: 10%;
  width: 112%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: #0E6B6A;
  box-shadow: inset 0 0 0 3px rgba(233, 76, 118, .55);
}
.hero__photo {
  position: relative;
  width: 100%; height: auto;
  border-radius: 200px 200px 0 0;
  aspect-ratio: 640 / 800; object-fit: cover; object-position: top;
}
.hero__badge {
  position: absolute; left: -6px; bottom: 26px;
  background: var(--branco); color: var(--tinta);
  font-size: 13px; line-height: 1.35;
  padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
  border-left: 4px solid var(--rosa);
}
.hero__badge strong { display: block; font-size: 15px; color: var(--teal-fundo); }

/* ---------- Frase de abertura ---------- */
.quote { background: var(--teal-noite); color: var(--branco); padding: 46px 0; }
.quote blockquote { margin: 0 auto; max-width: 820px; text-align: center; }
.quote p { font-family: var(--f-title); font-style: italic; font-weight: 600; font-size: clamp(22px, 4vw, 32px); line-height: 1.3; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #FF8FAD; font-weight: 700; }

/* ---------- Seções ---------- */
.sec { padding: 72px 0; }
.sec--soft { background: var(--menta); }
.sec--teal { background: var(--teal); color: var(--branco); }
.sec--deep { background: var(--teal-fundo); }

.kicker { color: var(--rosa); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.kicker--light { color: #FFD3DF; }
.h2 { font-size: clamp(30px, 5vw, 42px); line-height: 1.1; color: var(--teal-fundo); margin-bottom: 16px; }
.h2--light { color: var(--branco); }
.lead { font-size: 18px; color: var(--cinza); max-width: 34em; }
.lead + .lead { margin-top: 14px; }

.split { display: grid; gap: 32px; }

/* ---------- Comparação 8h × 40h ---------- */
.compare { display: grid; gap: 16px; }
.compare__card { border-radius: var(--radius); padding: 26px 24px; }
.compare__card h3 { margin-bottom: 14px; }
.compare__card ul { display: grid; gap: 10px; }
.compare__card li { display: flex; gap: 10px; font-size: 16px; }
.compare__hours { font-family: var(--f-title); font-weight: 700; font-size: 52px; line-height: 1; margin-bottom: 10px; }
.compare__hours span { font-size: 22px; font-weight: 600; }
.compare__card--weak { background: var(--branco); border: 1px dashed #C7D3D3; color: var(--cinza); }
.compare__card--weak .compare__hours { color: #A9B7B7; }
.compare__card--strong { background: var(--branco); border: 2px solid var(--teal); box-shadow: 0 20px 40px -24px rgba(6,142,142,.55); }
.compare__card--strong .compare__hours { color: var(--teal); }

/* ---------- Neonatologia vale em dobro ---------- */
.double { display: grid; gap: 16px; margin-top: 10px; }
.double__card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 24px; }
.double__num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rosa); font-weight: 800; margin-bottom: 12px;
}
.double__card h3 { margin-bottom: 6px; font-size: 20px; }
.double__card p { color: #E0F3F1; }
.topics { margin-top: 28px; }
.topics__title { font-weight: 800; margin-bottom: 12px; }
.topics ul { display: flex; flex-wrap: wrap; gap: 10px; }
.topics li { background: var(--branco); color: var(--teal-fundo); font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; counter-reset: c; }
.checklist li { display: flex; gap: 14px; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--radius); padding: 20px; }
.checklist .ic { width: 28px; height: 28px; margin-top: 0; }
.checklist p { color: var(--cinza); margin-top: 4px; }

/* ---------- Ementa ---------- */
.modules { display: grid; gap: 10px; margin-top: 10px; }
.modules li { background: var(--branco); border-radius: 10px; padding: 14px 18px; font-weight: 700; }
.modules span { display: block; font-size: 12px; color: var(--rosa); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Professora ---------- */
.teacher { display: grid; gap: 28px; align-items: center; }
.teacher__photo { width: min(100%, 300px); height: auto; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 6px solid var(--branco); box-shadow: 0 0 0 3px var(--rosa); }

/* ---------- Para quem ---------- */
.fit { display: grid; gap: 14px; }
.fit li { display: flex; gap: 12px; font-size: 17px; }

/* ---------- Oferta ---------- */
.offer {
  max-width: 520px; margin: 0 auto;
  background: var(--branco); border-radius: 22px;
  padding: 34px 26px 30px;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  border-top: 6px solid var(--rosa);
}
.offer__tag { display: inline-block; background: var(--rosa-claro); color: var(--rosa-escuro); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.offer__title { font-size: 28px; line-height: 1.15; color: var(--teal-fundo); margin: 14px 0 20px; }
.offer__items { display: grid; gap: 10px; text-align: left; margin: 0 auto 26px; max-width: 330px; }
.offer__items li { display: flex; gap: 10px; }
.offer__price { border-top: 1px solid var(--borda); padding-top: 22px; margin-bottom: 22px; }
.offer__from { color: var(--cinza); }
.offer__main { font-family: var(--f-title); font-weight: 700; font-size: 64px; line-height: 1.05; color: var(--rosa); }
.offer__main span { font-size: 28px; }
.offer__until { font-weight: 800; color: var(--teal-fundo); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq details { background: var(--branco); border: 1px solid var(--borda); border-radius: 12px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 800; padding: 18px 48px 18px 20px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 600; color: var(--rosa); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--cinza); }

/* ---------- CTA final + rodapé ---------- */
.final { background: var(--teal-noite); padding: 72px 0 80px; }
.final__text { color: #CFE6E4; font-size: 18px; max-width: 36em; margin: 0 auto 28px; }

.footer { background: var(--branco); padding: 34px 0 96px; text-align: center; font-size: 13px; color: var(--cinza); }
.footer__logo { height: 64px; width: auto; margin: 0 auto 14px; }
.footer p + p { margin-top: 6px; }

/* ---------- CTA fixo (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  background: var(--rosa); color: var(--branco);
  font-weight: 800; text-align: center; text-decoration: none;
  padding: 15px; border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
  transform: translateY(150%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }

/* ---------- Telas maiores ---------- */
@media (min-width: 760px) {
  .compare, .double { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .teacher { grid-template-columns: 300px 1fr; gap: 56px; }
  .offer { padding: 42px 44px 36px; }
}
@media (min-width: 960px) {
  .sec { padding: 96px 0; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; padding-top: 64px; }
  .hero__copy { padding-bottom: 72px; }
  .split { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .split__head { position: sticky; top: 32px; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 34px; }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .live { font-size: 14px; }
  .topbar__logo { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live__dot { animation: none; }
  * { transition: none !important; }
}

/* ---------- Ajuda (WhatsApp) + links do rodapé ---------- */
.help { text-align: center; color: #CFE6E4; margin-top: 22px; font-size: 16px; }
.help a { display: inline-flex; align-items: center; gap: 6px; color: var(--branco); font-weight: 800; }
.help svg { width: 20px; height: 20px; color: #25D366; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 12px 0 14px; }
.footer__links a { color: var(--teal); font-weight: 700; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }

/* ============================================================
   Movimento (inspirado no site da Eleva)
   Tudo só liga com html.js, para a página nunca ficar em branco sem JS.
   ============================================================ */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

@keyframes hero-in { from { opacity: .01; transform: translateY(22px); } }
@keyframes word-up { from { transform: translateY(115%) rotate(5deg); } to { transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
@keyframes curtain-arch {
  from { clip-path: inset(100% 0 0 round 200px 200px 0 0); scale: 1.12; }
  to { clip-path: inset(0 round 200px 200px 0 0); scale: 1; }
}
@keyframes curtain-round {
  from { clip-path: circle(0% at 50% 60%); scale: 1.15; }
  to { clip-path: circle(50% at 50% 50%); scale: 1; }
}
@keyframes grow { from { transform: translateX(-50%) scale(.6); opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } to { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }

/* Hero: entrada em sequência */
.js .hero-in { animation: hero-in .75s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }

/* Títulos palavra por palavra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .08em .14em; margin: -.1em -.08em -.14em; }
.js .wi { display: inline-block; transform: translateY(115%); }
.js .is-play .wi { animation: word-up 1s var(--ease) both; animation-delay: calc(var(--wi, 0) * 45ms + var(--split-delay, 0s)); }
.hero h1 { --split-delay: .15s; }
.hero h1 em { position: relative; white-space: nowrap; }
.scribble { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--rosa); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .scribble path { stroke-dashoffset: 1; animation: draw 1.1s 1s var(--ease) forwards; }

/* Foto do hero: cortina em arco + disco crescendo */
.js .hero__photo { animation: curtain-arch 1.4s var(--ease) .2s both; }
.js .hero__arc { animation: grow 1.2s var(--ease) both; }
.js .hero__badge { animation: pop .7s var(--ease) 1.1s both; }

/* Etiquetas flutuantes com leve parallax do mouse */
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--branco); color: var(--teal-fundo);
  font-size: 13px; font-weight: 800; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.55);
  translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -12px);
  transition: translate .9s var(--ease);
}
.chip .ic { width: 18px; height: 18px; margin: 0; }
.chip--a { top: 22%; right: -4%; animation: pop .7s var(--ease) 1.3s both, float 5s ease-in-out 2s infinite; }
.chip--b { top: 46%; left: -8%; animation: pop .7s var(--ease) 1.5s both, float 6s ease-in-out 2.4s infinite; translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 10px); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rosa); }

/* Faixa de temas rolando */
.marquee { background: var(--rosa); color: var(--branco); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; }
.marquee__group li { display: flex; align-items: center; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; padding-right: 28px; }
.marquee__group li::after { content: "✦"; margin-left: 28px; opacity: .7; font-size: 12px; }

/* Revelar ao rolar */
.js [data-reveal] { opacity: 0; }
.js [data-reveal][data-in] { opacity: 1; animation: reveal .9s var(--ease) backwards; animation-delay: calc(var(--d, 0) * .11s); }
.js .teacher__photo[data-reveal][data-in] { animation: curtain-round 1.3s var(--ease) backwards; }

/* Botões: sobe um pouco e passa um brilho */
.btn--cta, .sticky-cta { position: relative; overflow: hidden; isolation: isolate; }
.btn--cta::after, .sticky-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--cta:hover::after, .btn--cta:focus-visible::after { transform: translateX(120%); }
.btn--cta:hover, .btn--cta:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(233, 76, 118, .8); }
.live__dot { animation: ring 1.6s ease-out infinite; }

/* Cartões: leve elevação no hover */
.compare__card, .double__card, .checklist li { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.compare__card--strong:hover, .checklist li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(6,142,142,.6); }
.double__card:hover { transform: translateY(-4px); }

@media (max-width: 959px) {
  .chip--a { top: 50%; right: 0; }
  .chip--b { top: 64%; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { opacity: 1; }
  .js .wi { transform: none; }
  .js .scribble path { stroke-dashoffset: 0; }
  .chip { translate: none; }
}
