/* =========================================================
   99 Design — Landing page
   Design system herdado da página original do 99 Design:
   azul-marinho profundo, verde-água do logo, ciano nos
   números, botão verde, Roboto fino + Hind.
   ========================================================= */

:root {
  /* cores */
  --navy:        #011425;   /* fundo principal */
  --navy-deep:   #010D19;   /* seções alternadas */
  --navy-card:   #0A2136;   /* superfícies */
  --graphite:    #252830;   /* fundo do topo original */
  --teal:        #13B38F;   /* "99" do logo e destaques dos títulos */
  --cyan:        #00C0FF;   /* números e detalhes */
  --green:       #5CB85C;   /* botão de inscrição */
  --green-dark:  #4CAE4C;
  --white:       #FFFFFF;
  --text:        #C9D3DD;   /* texto corrido */
  --muted:       #7F93A6;
  --line:        rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --red:         #F2726F;

  /* tipografia */
  --font-head: 'Roboto', system-ui, sans-serif;
  --font-body: 'Hind', system-ui, sans-serif;

  /* medidas */
  --wrap: 1140px;
  --radius: 14px;
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }

/* ---------- Títulos: Roboto fino com destaque em negrito verde-água ---------- */
.heading {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.heading b { font-weight: 700; color: var(--teal); }
.heading--center { text-align: center; margin-bottom: 56px; }

/* ---------- Botão de inscrição ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  padding: 22px 36px;
  box-shadow: 0 12px 30px -12px rgba(92, 184, 92, .7);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.cta:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(92, 184, 92, .85); }
.cta:active { transform: translateY(0); }
.cta--small { font-size: .95rem; padding: 12px 20px; box-shadow: none; }
.cta--block { width: 100%; }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 30;
  height: var(--bar-h);
  transition: background .3s, box-shadow .3s;
}
.topbar.is-solid {
  background: rgba(1, 20, 37, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__row { height: 100%; display: flex; align-items: center; gap: 36px; }
.topbar__logo img { width: 150px; }
.topbar__nav { display: flex; gap: 28px; margin-left: auto; }
.topbar__nav a {
  font-family: var(--font-head);
  font-size: .95rem;
  text-decoration: none;
  color: var(--text);
  transition: color .2s;
}
.topbar__nav a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--bar-h) + 56px) 0 100px;
  background:
    linear-gradient(180deg, rgba(37, 40, 48, .55) 0%, rgba(1, 20, 37, .92) 75%, var(--navy) 100%),
    url('https://blob.contato.io/machine-user-images/fundo2-img-1248263-20190918081614.jpg') center top / cover no-repeat,
    var(--graphite);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.hero__phone { position: relative; display: flex; justify-content: center; }
.hero__phone img { position: relative; width: min(330px, 100%); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.hero__glow {
  position: absolute; width: 120%; aspect-ratio: 1; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(19, 179, 143, .32), rgba(0, 192, 255, .12) 55%, transparent);
  pointer-events: none;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 100;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero__title b { font-weight: 700; }
.hero__lead { font-size: 1.15rem; max-width: 34em; margin-bottom: 36px; }
.hero__lead em { color: var(--white); }
.hero__lead strong { color: var(--white); font-weight: 600; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; }
.hero__facts li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; color: var(--muted);
}
.hero__facts li::before {
  content: ''; width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--teal);
}

/* ---------- Blocos ---------- */
.block { padding: clamp(72px, 10vw, 120px) 0; }
.block--deep { background: var(--navy-deep); border-block: 1px solid var(--line); }

/* Por que / Para quem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.split__item p + p { margin-top: 14px; }
.split__item p { font-size: 1.1rem; }

.skills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
.skills li {
  font-family: var(--font-head);
  font-size: .92rem;
  color: var(--white);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 192, 255, .3);
  background: rgba(0, 192, 255, .06);
}

/* ---------- Módulos ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: none;
  margin-bottom: 56px;
}
.module {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: var(--navy-card);
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.module:hover { border-color: rgba(0, 192, 255, .35); transform: translateY(-3px); }
.module__num {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-head); font-weight: 300; font-size: 1.15rem;
  margin-bottom: 20px;
}
.module h3 {
  font-family: var(--font-head); font-weight: 400;
  font-size: 1.3rem; line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
}
.module p { font-size: 1rem; color: var(--text); }

.module__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.module__brands li {
  font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  color: var(--white);
  padding: 5px 12px; border-radius: 6px;
  background: rgba(255, 255, 255, .07);
}

.module--bonus {
  background: linear-gradient(160deg, rgba(19, 179, 143, .22), rgba(19, 179, 143, .04) 70%), var(--navy-card);
  border-color: rgba(19, 179, 143, .45);
}
.module--bonus .module__num { border-color: var(--teal); color: var(--teal); }

/* ---------- Professor ---------- */
.teacher { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.teacher__photo {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 35%, rgba(19, 179, 143, .4), var(--navy-card) 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 14px rgba(19, 179, 143, .06);
}
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher__label { font-family: var(--font-head); font-size: .95rem; color: var(--cyan); margin-bottom: 8px; }
.teacher__cv { width: 100%; max-width: 480px; margin: 8px 0 32px; }

.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: inline-block;
  font-family: var(--font-head); font-size: .92rem;
  text-decoration: none; color: var(--white);
  padding: 9px 18px; border-radius: 8px;
  border: 1px solid var(--line-strong);
  transition: border-color .2s, color .2s;
}
.social a:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Investimento ---------- */
.urgency {
  text-align: center;
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--white);
  margin-bottom: 44px;
}
.urgency b { color: var(--teal); font-weight: 700; text-transform: uppercase; }

.offer {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(19, 179, 143, .4);
  background: var(--navy-card);
  box-shadow: 0 40px 90px -40px rgba(19, 179, 143, .45);
  max-width: 960px;
  margin-inline: auto;
}
.offer__price { padding: clamp(32px, 5vw, 52px); }
.price__from { font-size: 1.1rem; color: var(--muted); margin-top: 8px; }
.price__from s { color: var(--red); }
.price__now {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.price__now span {
  display: block;
  font-weight: 300; font-size: 1.05rem; letter-spacing: 0;
  color: var(--text); text-transform: uppercase;
  margin-bottom: 4px;
}
.price__split { font-size: 1.1rem; margin: 6px 0 32px; }
.price__split strong { color: var(--cyan); font-weight: 600; }

.offer__guarantee {
  padding: clamp(32px, 5vw, 52px);
  background: rgba(1, 13, 25, .55);
  border-left: 1px solid var(--line);
}
.offer__guarantee h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--white); margin: 22px 0 10px; }
.offer__guarantee p { font-size: 1rem; }

.seal {
  position: relative;
  width: 112px; height: 112px;
  display: grid; place-content: center; text-align: center;
}
.seal::before {
  content: ''; position: absolute; inset: 10px;
  border: 1.5px solid var(--teal);
  transform: rotate(45deg);
  border-radius: 10px;
  background: rgba(19, 179, 143, .1);
}
.seal__n { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--white); line-height: 1; }
.seal__t { position: relative; font-size: .72rem; line-height: 1.2; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

/* ---------- Perguntas ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-head); font-weight: 400; font-size: 1.15rem;
  color: var(--white);
}
.faq__btn::after {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translateY(-4px);
  transition: transform .25s;
}
.faq__btn[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.faq__btn:hover { color: var(--teal); }
.faq__body p { padding: 0 0 24px; max-width: 42em; }
.faq__more { text-align: center; margin-top: 36px; color: var(--muted); }
.faq__more a { color: var(--teal); font-weight: 500; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-deep); border-top: 1px solid var(--line); padding: 36px 0; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { width: 110px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: .95rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: .9rem; color: var(--muted); }

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, .6);
  transition: transform .2s, bottom .3s;
}
.wa svg { width: 28px; height: 28px; fill: currentColor; }
.wa:hover { transform: scale(1.07); }

/* ---------- Barra fixa (celular) ---------- */
.stickybar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(1, 13, 25, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-strong);
  align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%);
  transition: transform .3s ease;
}
.stickybar.is-on { transform: none; }
.stickybar p { line-height: 1.25; font-size: .85rem; color: var(--muted); }
.stickybar s { color: var(--red); }
.stickybar b { font-family: var(--font-head); font-size: 1.15rem; color: var(--white); margin-left: 4px; }
.stickybar span { display: block; }

/* =========================================================
   Páginas de obrigado (obrigado-cartao / obrigado-boleto)
   ========================================================= */
.page-thanks {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-thanks main { flex: 1; }

.topbar--static .topbar__row { justify-content: center; }

.thanks {
  padding: calc(var(--bar-h) + 56px) 0 clamp(72px, 10vw, 110px);
  background:
    linear-gradient(180deg, rgba(37, 40, 48, .6) 0%, rgba(1, 20, 37, .95) 60%, var(--navy) 100%),
    url('https://blob.contato.io/machine-user-images/fundo2-img-1248263-20190918081614.jpg') center top / cover no-repeat,
    var(--graphite);
}

.thanks__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }

/* ícone em losango, no mesmo motivo do selo de garantia */
.status {
  position: relative;
  width: 104px; height: 104px;
  margin: 0 auto 28px;
  display: grid; place-items: center;
}
.status::before {
  content: '';
  position: absolute; inset: 14px;
  transform: rotate(45deg);
  border-radius: 12px;
  border: 1.5px solid var(--teal);
  background: rgba(19, 179, 143, .12);
  box-shadow: 0 0 40px rgba(19, 179, 143, .35);
}
.status svg {
  position: relative;
  width: 34px; height: 34px;
  fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.status--wait::before {
  border-color: var(--cyan);
  background: rgba(0, 192, 255, .1);
  box-shadow: 0 0 40px rgba(0, 192, 255, .3);
}
.status--wait svg { stroke: var(--cyan); }

.thanks__tag {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 10px;
}
.status--wait + .thanks__tag { color: var(--cyan); }

.thanks__title {
  font-family: var(--font-head);
  font-weight: 100;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--white);
}
.thanks__title b { font-weight: 700; }
.thanks__lead { font-size: 1.15rem; margin-top: 20px; }

.next {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.next__step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--navy-card);
  border: 1px solid var(--line);
}
.next__step .module__num { margin-bottom: 0; }
.next__step h2 {
  font-family: var(--font-head); font-weight: 400;
  font-size: 1.2rem; line-height: 1.3;
  color: var(--white);
  margin-bottom: 6px;
}
.next__step p { font-size: 1rem; }
.next__step strong { color: var(--white); font-weight: 600; }

.note {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 192, 255, .3);
  background: rgba(0, 192, 255, .06);
  font-size: 1rem;
  text-align: center;
}
.note a { color: var(--teal); font-weight: 500; }

.thanks__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 40px;
}
.cta--wa { background: #25D366; border-color: #1EBE5A; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .7); }
.cta--wa:hover { background: #1EBE5A; }
.cta--ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.cta--ghost:hover { background: rgba(255, 255, 255, .05); border-color: var(--teal); box-shadow: none; }

@media (max-width: 820px) {
  .page-thanks .footer { padding-bottom: 36px; }
}

@media (max-width: 600px) {
  .next__step { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .thanks__actions .cta { width: 100%; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 980px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .teacher { grid-template-columns: 300px 1fr; }
}

@media (max-width: 820px) {
  .topbar__nav { display: none; }
  .topbar__row { justify-content: space-between; }

  .hero { padding-top: calc(var(--bar-h) + 32px); }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__phone { order: 2; }
  .hero__phone img { width: min(260px, 70vw); }
  .hero__lead { margin-inline: auto; }
  .hero__facts { justify-content: center; }

  .split { grid-template-columns: 1fr; }

  .teacher { grid-template-columns: 1fr; text-align: center; }
  .teacher__photo { width: min(300px, 80vw); margin-inline: auto; }
  .teacher__cv { margin-inline: auto; }
  .social { justify-content: center; }

  .offer { grid-template-columns: 1fr; }
  .offer__guarantee { border-left: 0; border-top: 1px solid var(--line); }

  .footer__row { flex-direction: column; text-align: center; }

  .stickybar { display: flex; }
  .wa { bottom: 92px; }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 600px) {
  .modules { grid-template-columns: 1fr; }
  .hero .cta { width: 100%; }
  .topbar__logo img { width: 120px; }
}
