/* ============================================================
   Emergência em Foco · drayumimorimoto.com.br · v2
   Sistema unificado (síntese das análises Codex + Kimi):
   - Tokens de tipo, espaçamento, raio e sombra
   - Azul de ação #0070E0/#0066CC onde há texto branco (contraste AA)
   - #0381FF/#3399FF viram acento, não superfície
   ============================================================ */

:root {
  --dark: #29303D;
  --blue: #3399FF;
  --blue-vivid: #0381FF;
  --blue-soft: #E1F1FF;
  --blue-action: #0070E0;
  --blue-action-2: #0066CC;
  --text: #4A5261;
  --white: #FFFFFF;
  --surface-alt: #F7FAFE;

  --grad-action: linear-gradient(135deg, #0066CC 0%, #0070E0 100%);
  --grad-hero: radial-gradient(circle at 82% 14%, rgba(51, 153, 255, 0.22), transparent 36%),
               linear-gradient(180deg, #F4F9FF 0%, #FFFFFF 100%);

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-h3: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h2: clamp(1.75rem, 1.45rem + 1.5vw, 2.75rem);
  --fs-display: clamp(2.5rem, 1.75rem + 3vw, 4.5rem);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(41, 48, 61, 0.04), 0 8px 24px rgba(41, 48, 61, 0.07);
  --shadow-2: 0 20px 50px rgba(25, 96, 166, 0.14);
  --border: 1px solid rgba(3, 129, 255, 0.14);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden; /* trava overflow lateral — bug nº 1 do site antigo no mobile */
  padding-top: 68px; /* altura do menu fixo */
}

/* Âncoras não podem parar embaixo do menu fixo */
[id] { scroll-margin-top: 84px; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }

p { margin: 0 0 1em; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.container--narrow { max-width: 760px; }

.section { padding-block: clamp(56px, 8vw, 96px); }

.section--blue { background: var(--grad-action); }
.section--soft { background: var(--surface-alt); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); }
.section__head--light h2, .section__head--light p { color: var(--white); }
.section__cta { text-align: center; margin-top: clamp(32px, 4vw, 48px); }

.text-blue { color: var(--blue-vivid); }

/* ---------- Badge (eyebrow) ---------- */
.badge {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-action-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.badge--light { background: rgba(255, 255, 255, 0.94); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  max-width: 100%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn--primary { background: var(--grad-action); color: var(--white); }

.btn--ghost { background: var(--white); color: var(--blue-action-2); }

.btn--big { font-size: 1rem; padding-inline: 34px; }

.btn:active { transform: scale(0.98); }

.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex: none;
  transition: transform 0.18s ease;
}

.btn__arrow svg { width: 18px; height: 18px; }

.btn__arrow--blue { background: var(--blue-soft); color: var(--blue-action-2); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 102, 204, 0.28); }
  .btn:hover .btn__arrow { transform: translateX(2px); }
}

/* Foco visível consistente (teclado) */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 3px;
}

.section--blue a:focus-visible,
.section--blue button:focus-visible,
.oferta a:focus-visible,
.garantia a:focus-visible,
.footer a:focus-visible { outline-color: var(--white); }

/* ---------- Menu fixo ---------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.nav__logo img { height: 44px; width: auto; display: block; }

.nav__menu { display: flex; align-items: center; gap: 24px; }

.nav__menu a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav__menu a:not(.btn):hover { color: var(--blue-action-2); }

.nav__cta { min-height: 44px; padding-inline: 20px; font-size: 0.85rem; }

.nav__burger { display: none; }

@media (max-width: 991px) {
  .nav__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
  }

  .nav__burger span {
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* Dropdown absoluto: abre por cima do conteúdo, não empurra a página */
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: var(--border);
    box-shadow: 0 16px 30px rgba(41, 48, 61, 0.12);
    padding: 8px 20px 16px;
  }

  .nav__menu.is-open { display: flex; }

  .nav__menu a:not(.btn) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(3, 129, 255, 0.08);
  }

  /* CTA fica só na barra desktop: no mobile a sticky bar já cumpre o papel */
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-hero);
  padding-block: 48px 56px;
  overflow: hidden;
}

.hero__grid { display: grid; gap: 32px; }

.hero__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--dark);
  margin-bottom: 12px;
}

.hero__location .icon { color: var(--blue-vivid); }

/* Ênfase no nome do treinamento: a marca é o H1 */
.hero__brand {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.hero__tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.25;
  color: var(--dark);
  margin: 0 0 10px;
}

.hero__stats {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--text);
  margin: 0 0 10px;
}

.hero__stats strong { color: var(--blue-action-2); font-weight: 700; }

.hero__sub { font-size: var(--fs-lead); max-width: 52ch; margin-bottom: 28px; }

.hero__vagas {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--dark);
  margin: 10px 0 0;
}

.hero__chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 32px 0 8px;
  max-width: 500px;
}

.hero__chips li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.hero__chips li > div { min-width: 0; }

.hero__chips .icon { color: var(--blue-vivid); margin-top: 3px; }

.hero__chips strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  color: var(--dark);
}

.hero__chips span { display: block; font-size: 0.82rem; }

.hero__photo img {
  width: 100%;
  max-width: 490px;
  margin-inline: auto;
  border: var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-2);
  object-fit: cover;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  border-block: var(--border);
  padding-block: 20px;
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 48px;
}

.trust__inner span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.trust__inner .icon { color: var(--blue-action-2); width: 1.3em; height: 1.3em; }

@media (max-width: 639px) {
  .trust__inner { flex-direction: column; gap: 12px; }
}

/* ---------- Cards (família única) ---------- */
.card {
  background: rgba(255, 255, 255, 0.98);
  border: var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-1);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-sm);
  color: var(--blue-action-2);
  margin-bottom: 14px;
}

.card__icon svg { width: 24px; height: 24px; }

.card p { margin: 0; font-size: var(--fs-sm); }

/* ---------- Para quem é ---------- */
.publico__grid { display: grid; gap: 16px; }

/* ---------- Programa ---------- */
.programa__dias { display: grid; gap: 40px; }

.programa__dia-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-action-2);
  background: var(--blue-soft);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
}

.programa__grid { display: grid; gap: 16px; }

.modulo {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 16px 16px 48px;
  position: relative;
  box-shadow: var(--shadow-1);
}

.modulo::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%230066CC" d="M9.6 15.6 5.9 12l-1.4 1.4 5.1 5.1 10-10-1.4-1.4z"/></svg>') center / 12px no-repeat;
}

.modulo h3 { font-size: 0.95rem; margin-bottom: 4px; }

.modulo p { margin: 0; font-size: var(--fs-sm); line-height: 1.45; }

/* ---------- Instrutora ---------- */
.instrutora__grid { display: grid; gap: 36px; align-items: center; }

.instrutora__photo img {
  width: 100%;
  max-width: 474px;
  margin-inline: auto;
  border: var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-2);
}

.instrutora__content p { text-align: left; max-width: 65ch; }

.instrutora__content .btn { margin-top: 12px; }

.creds {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.creds li {
  position: relative;
  padding-left: 30px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--dark);
  text-align: left;
}

.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%230066CC" d="M9.6 15.6 5.9 12l-1.4 1.4 5.1 5.1 10-10-1.4-1.4z"/></svg>') center / 12px no-repeat;
}

/* ---------- Depoimentos ---------- */
.depoimentos { background: var(--surface-alt); }

.depoimentos__grid { display: grid; gap: 16px; }

.depoimento {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  padding: 24px;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.depoimento__quote {
  color: var(--blue-vivid);
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.stars { color: #FFB400; font-size: var(--fs-sm); letter-spacing: 3px; margin-bottom: 14px; }

.depoimento blockquote {
  margin: 0 0 16px;
  color: #565E6C;
  font-style: italic;
  font-size: 0.94rem;
  line-height: 1.6;
}

.depoimento figcaption {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--blue-action-2);
}

/* ---------- Benefícios ---------- */
/* Início da zona de conversão: benefícios → oferta → garantia num azul
   chapado único (gradiente por seção cria emenda visível entre elas) */
.beneficios {
  background: var(--blue-action);
  border-radius: 28px 28px 0 0;
  padding-bottom: 48px;
}

.beneficios__grid { display: grid; gap: 36px; align-items: center; }

.beneficios__content h2 { color: var(--white); }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; }

.checklist li {
  position: relative;
  padding: 6px 0 6px 36px;
  color: var(--white);
  font-size: 1.02rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M8.6 16.6 13.2 12 8.6 7.4 10 6l6 6-6 6z"/></svg>') center / 15px no-repeat;
}

.beneficios__photo img {
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  border: var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-2);
}

/* ---------- Oferta ---------- */
.oferta {
  background: var(--blue-action);
  padding-block: 8px 32px;
}

.oferta__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
  box-shadow: var(--shadow-2);
}

.oferta__card .badge--light {
  background: var(--blue-soft);
  text-transform: uppercase;
}

.oferta__card h2 { color: var(--dark); }

.oferta__sub { color: var(--text); max-width: 560px; margin-inline: auto; }

.oferta__card .checklist {
  display: inline-block;
  text-align: left;
  margin-block: 20px 8px;
}

.oferta__card .checklist li {
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}

.oferta__card .checklist li::before {
  border-color: var(--blue);
  background: var(--blue-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%230066CC" d="m9.2 16.2-3.7-3.7-1.4 1.4 5.1 5.1L20 8.2l-1.4-1.4z"/></svg>') center / 13px no-repeat;
}

.oferta__price { margin-block: 8px 24px; color: var(--dark); font-family: var(--font-head); }

.oferta__de { font-size: var(--fs-body); opacity: 0.85; margin-bottom: 4px; }

.oferta__de s { text-decoration-thickness: 2px; }

.oferta__parcela { font-size: clamp(2.2rem, 8vw, 3.4rem); font-weight: 800; line-height: 1.1; margin: 0; }

.oferta__x { font-size: 0.55em; vertical-align: super; }

.oferta__avista { font-size: 1.1rem; margin: 8px 0 0; }

.oferta__card .btn--ghost { background: var(--grad-action); color: var(--white); }

.oferta__card .btn__arrow--blue { background: rgba(255, 255, 255, 0.25); color: var(--white); }

.oferta__garantia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--dark);
}

.oferta__garantia .icon { color: var(--blue-action); }

.oferta__note { font-size: var(--fs-sm); color: var(--text); margin: 14px auto 0; max-width: 480px; }

.oferta__note a { color: var(--blue-action-2); font-weight: 600; }

.oferta__selos {
  width: 100%;
  max-width: 400px;
  margin: 24px auto 0;
  opacity: 0.82;
}

/* ---------- Garantia (mesmo bloco azul da oferta) ---------- */
.garantia {
  background: var(--blue-action);
  padding-block: 32px clamp(56px, 8vw, 72px);
}

.garantia__grid { display: grid; gap: 28px; align-items: center; justify-items: center; }

.garantia__selo img { width: 152px; }

.garantia__content { text-align: center; max-width: 560px; }

.garantia__content h2 { color: var(--white); }

.garantia__content p { color: rgba(255, 255, 255, 0.95); }

.garantia__whats {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  color: var(--white);
  text-decoration: none;
  text-align: left;
  transition: background 0.18s ease;
}

.garantia__whats:hover { background: rgba(255, 255, 255, 0.08); }

.icon--whats { width: 2em; height: 2em; color: #25D366; }

/* ---------- WhatsApp flutuante + Sticky CTA ---------- */
.whats-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}

.whats-float:hover { transform: scale(1.06); }

.whats-float svg { width: 30px; height: 30px; }

.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: var(--white);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(41, 48, 61, 0.14);
}

.sticky-cta .btn { width: 100%; font-size: 0.95rem; }

/* Com a barra visível, o WhatsApp sobe e o fim da página respira */
body.has-sticky .whats-float { bottom: 90px; }
body.has-sticky { padding-bottom: 76px; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }

.faq__item {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: background 0.18s ease;
}

.faq__item:has(.faq__q[aria-expanded="true"]) { background: var(--blue-soft); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  background: none;
  border: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  text-align: left;
  padding: 16px 20px;
  cursor: pointer;
}

@media (hover: hover) {
  .faq__item:not(:has(.faq__q[aria-expanded="true"])):hover { background: var(--surface-alt); }
}

.faq__chevron { width: 22px; height: 22px; color: var(--blue-action-2); transition: transform 0.24s ease; flex: none; }

.faq__q[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__a { padding: 0 20px 18px; }

.faq__a p { margin: 0; font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-action-2); color: rgba(255, 255, 255, 0.92); padding-block: 40px 20px; }

.footer__grid { display: grid; gap: 32px; padding-bottom: 28px; align-items: start; }

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Logo azul da marca em branco: o footer é azul */
.footer__logo { height: 56px; width: auto; filter: brightness(0) invert(1); }

.footer__tagline { margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.85); max-width: 34ch; }

.footer__col h3 { color: var(--white); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }

.footer__col a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.footer__col a:hover { color: var(--white); }

.footer__col .icon { width: 1.5em; height: 1.5em; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  text-align: center;
  font-size: var(--fs-sm);
}

.footer__bottom p { margin-bottom: 16px; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 16px;
}

.footer__legal a { color: rgba(255, 255, 255, 0.92); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.footer__legal a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Páginas legais ---------- */
.legal h1 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }

.legal__updated { font-size: var(--fs-sm); opacity: 0.75; margin-bottom: 36px; }

.legal h2 { font-size: 1.15rem; margin: 36px 0 10px; }

.legal p, .legal li { font-size: 0.98rem; }

.legal ul { padding-left: 22px; margin: 0 0 1em; }

.legal li { margin-bottom: 6px; }

.legal a { color: var(--blue-action-2); font-weight: 500; }

.legal code {
  font-size: 0.9em;
  background: var(--blue-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-action-2);
  text-decoration: none;
}

.nav__back:hover { color: var(--blue-action); }

/* ---------- DbSignature (port do DbSignature.astro — não alterar visual) ---------- */
.db-signature {
  --db-accent: #D4600A;
  --db-text: currentColor;
  display: inline-flex;
  align-items: baseline;
  gap: 0.875em;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.db-mono { display: inline-flex; align-items: baseline; }

.db-char, .db-cursor { display: inline-block; }

.db-sig-js .db-char,
.db-sig-js .db-cursor { opacity: 0; transform: translateY(6px); }

.db-signature[data-db-sig="play"] .db-char,
.db-signature[data-db-sig="play"] .db-cursor { animation: dbTypeIn 0.25s ease-out forwards; }

.db-signature[data-db-sig="play"] .db-brace-open  { color: var(--db-accent); animation-delay: 0.15s; }
.db-signature[data-db-sig="play"] .db-letter-d    { color: var(--db-text);   animation-delay: 0.40s; }
.db-signature[data-db-sig="play"] .db-letter-b    { color: var(--db-accent); animation-delay: 0.60s; }
.db-signature[data-db-sig="play"] .db-brace-close { color: var(--db-accent); animation-delay: 0.85s; }

.db-signature[data-db-sig="play"] .db-cursor {
  color: var(--db-accent);
  margin-left: 0.125em;
  animation: dbTypeIn 0.25s ease-out 1.1s forwards,
             dbBlink 1.1s step-end 1.4s infinite;
}

.db-signature[data-db-sig="play"] .db-by { animation: dbFadeIn 0.6s ease-out 1.6s forwards; }

.db-brace-open, .db-brace-close, .db-letter-b, .db-cursor { color: var(--db-accent); }
.db-letter-d { color: var(--db-text); }

.db-sep { width: 1px; height: 1.2em; background: currentColor; opacity: 0.25; }

.db-by { font-family: "DM Sans", system-ui, sans-serif; font-weight: 400; font-size: 0.82em; color: var(--db-text); }

.db-sig-js .db-by { opacity: 0; }

.db-by a { color: inherit; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.db-by a:hover { color: var(--db-accent); }

@keyframes dbTypeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dbBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes dbFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in-view { opacity: 1; transform: none; }
/* Sem JS, nada pode ficar invisível */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn__arrow, .whats-float { transition: none; }
  .db-signature[data-db-sig="play"] .db-char,
  .db-signature[data-db-sig="play"] .db-cursor,
  .db-signature[data-db-sig="play"] .db-by { opacity: 1; transform: none; animation: none; }
  .db-signature[data-db-sig="play"] .db-cursor { animation: dbBlink 1.1s step-end infinite; }
}

/* ============================================================
   Mobile: elementos centralizados (textos longos ficam à esquerda)
   ============================================================ */
@media (max-width: 991px) {
  .hero__content { text-align: center; }
  .hero__location { justify-content: center; }
  .hero__sub { margin-inline: auto; }

  .hero__chips { margin-inline: auto; }
  .hero__chips li { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .hero__chips .icon { margin-top: 0; }

  .card { text-align: center; }

  .instrutora__content,
  .beneficios__content { text-align: center; }
  /* Bio é longa — parágrafo centralizado cansa; título/badge/CTA centralizados bastam */
  .instrutora__content p { text-align: left; }
  .beneficios__content .checklist { display: inline-block; text-align: left; }

  .footer__grid { justify-items: center; text-align: center; }
  .footer__brand { align-items: center; }

  .creds { display: inline-grid; text-align: left; }

  .hero__content .btn,
  .section__cta .btn,
  .instrutora__content .btn,
  .beneficios__content .btn,
  .oferta__card .btn--big { width: min(100%, 340px); }
}

@media (max-width: 359px) {
  .container { padding-inline: 16px; }

  .btn { gap: 8px; font-size: 0.86rem; padding-inline: 18px; }

  .btn--big { font-size: 0.9rem; }

  .hero__chips { gap: 8px; }

  .hero__chips li { gap: 5px; }
  .hero__chips strong { font-size: 0.78rem; }
  .hero__chips span { font-size: 0.73rem; }

  .card,
  .modulo,
  .depoimento,
  .oferta__card { padding-inline: 16px; }

  .modulo { padding-left: 44px; }
  .modulo::before { left: 14px; }
}

/* ============================================================
   Tablet
   ============================================================ */
@media (min-width: 640px) {
  .publico__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .programa__dias { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .depoimentos__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ============================================================
   Desktop
   ============================================================ */
@media (min-width: 992px) {
  .hero { padding-block: 72px; }

  .hero__grid {
    grid-template-columns: minmax(0, 560px) minmax(420px, 1fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
  }

  .hero__photo img { max-width: 520px; }

  .trust { padding-block: 24px; }

  .publico__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
  }

  .publico .card { padding: 28px; }

  .programa__grid { gap: 24px; }

  .programa .modulo { padding: 24px 28px 24px 84px; }

  .programa .modulo::before {
    left: 24px;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-size: 22px;
    transform: translateY(-50%);
  }

  .programa .modulo h3 { font-size: var(--fs-h3); }

  .instrutora__grid {
    grid-template-columns: 474px minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
  }

  .beneficios__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 64px);
  }

  .beneficios__photo img { max-width: 520px; }

  .depoimentos__grid { grid-template-columns: repeat(3, 1fr); }

  .depoimento { padding: 28px; }

  .beneficios { border-radius: 50px 50px 0 0; }

  .garantia__grid {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
    max-width: 900px;
    justify-items: start;
  }

  .garantia__selo { justify-self: center; }

  .garantia__selo img { width: 180px; }

  .garantia__content { text-align: left; }

  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
  body.has-sticky .whats-float { bottom: 16px; }
}

/* ============================================================
   LP de captura (/lista) — formulário de pré-reserva
   ============================================================ */
.hero__form { min-width: 0; }

.lead-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: clamp(24px, 4vw, 36px);
  scroll-margin-top: 96px;
}

.lead-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
  color: var(--dark);
  text-align: center;
}

.lead-card__sub {
  margin: 0 0 20px;
  text-align: center;
  font-size: var(--fs-sm);
}

.lead-form__field { margin-bottom: 14px; }

.lead-form__field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--dark);
}

.lead-form__opcional { font-weight: 400; color: var(--text); }

.lead-form__field input,
.lead-form__field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(41, 48, 61, 0.18);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--dark);
  background: var(--surface-alt);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234A5261' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}

.lead-form__field select:invalid { color: var(--text); } /* placeholder "Selecione…" */

.lead-form__field input:focus-visible,
.lead-form__field select:focus-visible {
  outline: none;
  border-color: var(--blue-action);
  box-shadow: 0 0 0 3px rgba(0, 112, 224, 0.18);
}

.lead-form__field input.is-invalid,
.lead-form__field select.is-invalid {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.14);
}

.lead-form__erro {
  display: none;
  margin: 6px 0 0;
  font-size: var(--fs-xs);
  color: #D32F2F;
}

.lead-form__field.has-error .lead-form__erro { display: block; }

.lead-form__submit { width: 100%; justify-content: center; margin-top: 6px; }

.lead-form__privacy {
  margin: 14px 0 0;
  font-size: var(--fs-xs);
  text-align: center;
  color: var(--text);
}

.lead-form__privacy a { color: var(--blue-action-2); }

.lead-card--success { text-align: center; }

.lead-success__icon {
  width: 56px;
  height: 56px;
  color: var(--blue-action);
  margin-bottom: 12px;
}

.lead-card--success p { margin: 0; }

.lead-card--success a { color: var(--blue-action-2); font-weight: 600; }

@media (min-width: 992px) {
  .publico__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Hero da /lista: no desktop idêntico ao layout original (conteúdo | form).
   No mobile, .hero__content vira display:contents e os blocos viram itens
   do grid: intro → form → detalhes. */
@media (max-width: 991px) {
  .hero__grid--lista .hero__content { display: contents; }
  .hero__grid--lista .hero__intro { order: 1; }
  .hero__grid--lista .hero__form { order: 2; }
  .hero__grid--lista .hero__details { order: 3; }
}

/* Primeira dobra da /lista em celulares: proposta curta + formulário inteiro.
   Os quatro campos ficam empilhados, sempre com alvos de toque >= 44px. */
@media (max-width: 639px) {
  body.page-lista { padding-top: 60px; }

  .page-lista .nav__inner { min-height: 60px; }
  .page-lista .nav__logo img { height: 40px; }

  .page-lista .hero { padding-block: 16px 36px; }
  .page-lista .hero__grid--lista { gap: 14px; }

  .page-lista .hero__intro .badge {
    margin-bottom: 8px;
    padding: 5px 10px;
    font-size: 0.68rem;
  }

  .page-lista .hero__intro .hero__location {
    margin-bottom: 4px;
    font-size: 0.75rem;
  }

  .page-lista .hero__intro .hero__brand {
    margin-bottom: 6px;
    font-size: clamp(2rem, 9vw, 2.25rem);
  }

  .page-lista .hero__intro .hero__tagline {
    max-width: 34ch;
    margin: 0 auto;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .page-lista .lead-card {
    padding: 16px;
    border-radius: 20px;
  }

  .page-lista #lead-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .page-lista .lead-card h2 {
    margin: 0;
    font-size: 1.25rem;
  }

  .page-lista .lead-card__sub {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .page-lista .lead-form__field {
    display: flex;
    min-width: 0;
    margin: 0;
    flex-direction: column;
  }

  .page-lista .lead-form__field label {
    margin-bottom: 4px;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .page-lista .lead-form__field input,
  .page-lista .lead-form__field select {
    min-height: 44px;
    margin-top: auto;
    padding: 9px 10px;
    font-size: 1rem;
  }

  .page-lista .lead-form__field select {
    padding-right: 32px;
    background-position: right 8px center;
  }

  .page-lista .lead-form__submit {
    min-height: 50px;
    margin: 0;
    padding-inline: 16px;
    font-size: 0.88rem;
  }

  .page-lista .lead-form__submit .btn__arrow {
    width: 24px;
    height: 24px;
  }

  .page-lista .lead-form__privacy {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  /* O atalho flutuante repete o destino do formulário e cobria o CTA
     em celulares baixos. O contato continua disponível no rodapé. */
  .page-lista .whats-float { display: none; }

}

/* Em celulares baixos, a marca basta para contextualizar e libera espaço
   vertical para os quatro campos empilhados. */
@media (max-width: 639px) and (max-height: 720px) {
  .page-lista .hero__intro .badge,
  .page-lista .hero__intro .hero__location,
  .page-lista .hero__intro .hero__tagline {
    display: none;
  }

  .page-lista .hero__intro .hero__brand { margin: 0; }
}

/* Fallback para celulares antigos/estreitos: mantém a headline e compacta
   apenas os controles para preservar o formulário inteiro na primeira dobra. */
@media (max-width: 359px) and (max-height: 700px) {
  .page-lista .hero__grid--lista { gap: 8px; }
  .page-lista .lead-card__sub { display: none; }

  .page-lista .lead-card {
    padding: 12px;
    border-radius: 18px;
  }

  .page-lista #lead-form { gap: 4px; }

  .page-lista .lead-card h2 { font-size: 1.12rem; }

  .page-lista .lead-form__field label {
    margin-bottom: 2px;
    font-size: 0.68rem;
  }

  .page-lista .lead-form__field input,
  .page-lista .lead-form__field select {
    min-height: 40px;
    padding-block: 6px;
  }

  .page-lista .lead-form__submit {
    min-height: 46px;
    font-size: 0.8rem;
  }

  .page-lista .lead-form__privacy {
    font-size: 0.6rem;
    line-height: 1.2;
  }
}
