/* ==========================================================
   Jornada Americana — Folha de estilos
   ----------------------------------------------------------
   Estrutura:
   1. Variáveis de tema (cores, sombras, raio)
   2. Reset e tipografia
   3. Utilitários (container, botões, eyebrow, etc.)
   4. Componentes específicos por seção
   5. Player de vídeo
   6. Animações (reveal on scroll, pulse)
   7. Responsividade

   Edite as variáveis de :root para mudar a paleta inteira.
   ========================================================== */

/* ============ 1. VARIÁVEIS DE TEMA ============ */
:root {
  --cream: #F5F2E9;
  --cream-dark: #E5E0D4;
  --navy: #0A2540;
  --navy-light: #1A3A5C;
  --gold: #C9A960;
  --red: #B31942;
  --red-light: #d13a5c;
  --red-dark: #8c1a29;
  --blue: #3C3B6E;
  --white: #ffffff;
  --max-w: 1200px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06);
  --shadow-md: 0 6px 16px rgba(10,37,64,.10);
  --shadow-lg: 0 20px 40px rgba(10,37,64,.18);
}

/* ============ 2. RESET E TIPOGRAFIA ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============ 3. UTILITÁRIOS ============ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.accent { color: var(--red-light); }
section { padding: 80px 0; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; transition: all .2s ease;
}
.btn-primary { background: var(--red); color: var(--cream); box-shadow: 0 8px 20px rgba(179,25,66,.3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { border-color: rgba(10,37,64,.2); color: var(--navy); }
.btn-outline:hover { background: rgba(10,37,64,.05); }
.btn-ghost-light { border-color: rgba(245,242,233,.3); color: var(--cream); }
.btn-ghost-light:hover { background: rgba(245,242,233,.1); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #16a34a; color: #fff; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
}
.btn-whatsapp:hover { background: #15803d; }

/* Eyebrow + títulos */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red-light); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin: 0 0 16px; }
.section-subtitle { color: rgba(10,37,64,.6); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* Faixa decorativa bandeira EUA */
.flag-stripe { display: flex; height: 3px; }
.flag-stripe > div { flex: 1; }
.fs-red { background: var(--red); }
.fs-blue { background: var(--blue); }
.fs-cream { background: var(--cream); }

/* ============ 4. NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(245,242,233,.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(10,37,64,.8);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--red-dark);
}

.nav-triagem {
  color: var(--red) !important;
  font-weight: 700 !important;
}

.nav-triagem:hover {
  color: var(--red-dark) !important;
}


.nav-toggle {
  background: none;
  border: none;
  padding: 8px;
  color: var(--navy);
  display: block;
}

.mobile-menu {
  display: none;
  padding: 16px 20px;
  border-top: 1px solid rgba(10,37,64,.1);
  background: rgba(245,242,233,.98);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(10,37,64,.8);
}

.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ============ HERO ============ */
.hero {
  padding: 130px 0 70px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(179,25,66,.1);
  border: 1px solid rgba(179,25,66,.4);
  color: var(--red);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--navy);
}

.hero h1 .word-highlight {
  color: var(--red);
}

.hero h1 .underline {
  position: relative;
  display: inline-block;
}

.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.hero-lead {
  font-size: 18px;
  color: rgba(10,37,64,.7);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: rgba(10,37,64,.6);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Wrapper do vídeo */
.video-wrap { position: relative; }
.video-glow {
  position: absolute; inset: -16px;
  background: rgba(179,25,66,.2); filter: blur(40px); border-radius: 32px;
}
.hero-floating-card {
  position: absolute; bottom: -16px; left: -16px;
  background: #fff; border-radius: 10px; padding: 10px 14px;
  border-left: 4px solid var(--red); border-top: 1px solid rgba(179,25,66,.2);
  border-right: 1px solid rgba(179,25,66,.2); border-bottom: 1px solid rgba(179,25,66,.2);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; z-index: 5;
}
.dot-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ============ 5. PLAYER DE VÍDEO ============ */
.video-player {
  position: relative; width: 100%;
  aspect-ratio: 16/9; background: #000;
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  outline: none;
}
@media (min-width: 1024px) {
  .video-player { aspect-ratio: 4/5; }
}
.video-player video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Estado vazio (sem vídeo) */
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light), var(--navy));
  color: rgba(245,242,233,.85);
}
.video-placeholder.with-poster {
  background-size: cover; background-position: center;
}
.video-placeholder.with-poster::after {
  content: ""; position: absolute; inset: 0; background: rgba(10,37,64,.45);
}
.video-placeholder > * { position: relative; z-index: 1; }
.video-placeholder .play-bubble {
  background: var(--red); padding: 22px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(179,25,66,.55);
}
.video-placeholder p { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .03em; }

/* Botão de play central (overlay) */
.video-center-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.2); border: 0; cursor: pointer; transition: background .2s;
}
.video-center-btn:hover { background: rgba(0,0,0,.3); }
.video-center-btn .play-bubble {
  background: rgba(179,25,66,.95); padding: 22px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .2s;
}
.video-center-btn:hover .play-bubble { transform: scale(1.08); }

/* Título sobreposto no topo */
.video-title-overlay {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 12px 16px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
  transition: opacity .25s; pointer-events: none;
}

/* Barra de controles */
.video-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px 12px 8px;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.4), transparent);
  transition: opacity .25s; color: #fff;
}
.video-player.hide-controls .video-controls,
.video-player.hide-controls .video-title-overlay { opacity: 0; }

.video-progress {
  position: relative; height: 6px; background: rgba(255,255,255,.25);
  border-radius: 999px; margin-bottom: 6px; cursor: pointer;
}
.video-progress .buffered,
.video-progress .played {
  position: absolute; inset: 0 auto 0 0; border-radius: 999px;
}
.video-progress .buffered { background: rgba(255,255,255,.4); width: 0%; }
.video-progress .played { background: var(--red); width: 0%; }
.video-progress input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  appearance: none; -webkit-appearance: none; background: transparent; opacity: 0; cursor: pointer;
}

.video-controls-row {
  display: flex; align-items: center; gap: 8px;
}
.video-controls-row button {
  background: none; border: 0; color: #fff; padding: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: color .15s, background .15s;
}
.video-controls-row button:hover { color: var(--red-light); }
.video-time { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .9; margin-left: 4px; }
.video-spacer { flex: 1; }

.volume-wrap { display: inline-flex; align-items: center; gap: 6px; }
.volume-wrap input[type=range] {
  width: 0; transition: width .2s; accent-color: var(--red);
}
.volume-wrap:hover input[type=range],
.volume-wrap input[type=range]:focus { width: 70px; }

.video-settings-wrap { position: relative; }
.video-settings-menu {
  position: absolute; right: 0; bottom: 100%; margin-bottom: 8px;
  min-width: 150px; background: rgba(0,0,0,.95); border-radius: 8px;
  padding: 6px; font-size: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.video-settings-menu p {
  margin: 0; padding: 4px 8px;
  text-transform: uppercase; font-size: 10px; letter-spacing: .1em; opacity: .55;
}
.video-settings-menu button {
  display: block; width: 100%; text-align: left; padding: 6px 8px;
  background: none; border: 0; color: #fff; border-radius: 4px;
}
.video-settings-menu button:hover { background: rgba(255,255,255,.1); }
.video-settings-menu button.active { color: var(--red-light); }
.video-settings-menu[hidden] { display: none; }

/* ============ TRUST BAR ============ */
.trust-bar { padding: 48px 0; background: rgba(10,37,64,.03); border-top: 1px solid rgba(10,37,64,.05); border-bottom: 1px solid rgba(10,37,64,.05); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
.trust-grid svg { color: var(--red); margin: 0 auto 8px; }
.trust-value { display: block; font-size: 28px; font-weight: 700; color: var(--navy); }
.trust-label { font-size: 14px; color: rgba(10,37,64,.6); }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ CARDS GRID ============ */
.cards-grid { display: grid; gap: 20px; }
.cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 24px; border: 1px solid rgba(10,37,64,.05); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .top-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); }
.card .icon-box {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(179,25,66,.1); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { color: rgba(10,37,64,.6); font-size: 14px; margin: 0; }

/* Service cards */
.service-card { border-left: 4px solid rgba(60,59,110,.5); }
.service-card.popular {
  border-left-color: var(--red);
  border-top: 1px solid rgba(179,25,66,.4); border-right: 1px solid rgba(179,25,66,.4); border-bottom: 1px solid rgba(179,25,66,.4);
  overflow: visible;
}
.service-card .badge-popular {
  position: absolute; top: -12px; left: 24px; background: var(--red); color: var(--cream);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.service-card .icon-box { background: rgba(10,37,64,.05); color: var(--navy); }
.service-card.popular .icon-box { background: rgba(179,25,66,.15); color: var(--red-light); }
.service-card .more-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--red-light);
}
.service-card .more-link:hover { color: var(--red); }

/* ============ METHODOLOGY ============ */
.method-grid { display: grid; gap: 32px; position: relative; }
.method-step { text-align: center; }
.method-step .circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); box-shadow: 0 8px 20px rgba(179,25,66,.3);
  color: var(--cream); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.method-step .step-num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--red); display: block; margin-bottom: 6px; }
.method-step h3 { font-size: 18px; margin: 0 0 8px; }
.method-step p { color: rgba(10,37,64,.6); font-size: 14px; margin: 0; }
@media (min-width: 1024px) { .method-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

/* ============ ABOUT ============ */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap::before { content: ""; position: absolute; inset: -16px; background: rgba(179,25,66,.15); filter: blur(30px); border-radius: 32px; }
.about-img-wrap img { position: relative; border-radius: 18px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-body p { color: rgba(10,37,64,.7); margin: 0 0 14px; }
.about-badges { display: grid; gap: 12px; margin-top: 24px; }
.about-badge {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border-left: 4px solid var(--red); border-top: 1px solid rgba(10,37,64,.05);
  border-right: 1px solid rgba(10,37,64,.05); border-bottom: 1px solid rgba(10,37,64,.05);
  padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 500;
}
.about-badge svg { color: var(--red); }
@media (min-width: 640px) { .about-badges { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ============ TESTIMONIALS ============ */
.testimonial { position: relative; overflow: hidden; }
.testimonial .top-bar-right { position: absolute; top: 0; right: 0; width: 64px; height: 4px; background: var(--red); }
.testimonial .quote-icon { color: rgba(179,25,66,.5); margin-bottom: 12px; }
.testimonial p.text { color: rgba(10,37,64,.7); font-size: 14px; margin: 0 0 16px; }
.testimonial .stars { display: flex; gap: 2px; margin-bottom: 10px; color: var(--red); }
.testimonial .stars svg { fill: var(--red); }
.testimonial .author { font-weight: 600; font-size: 14px; color: var(--navy); }
.testimonial .role { font-size: 12px; color: rgba(10,37,64,.5); }

/* ============ TRIAGEM GRATUITA ============ */

.triagem-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at top left, rgba(179,25,66,.08), transparent 36%),
    linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}

.triagem-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.triagem-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(179,25,66,.10);
  border: 1px solid rgba(179,25,66,.35);
  color: var(--red);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.triagem-header h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.triagem-header p {
  color: rgba(10,37,64,.72);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.triagem-form {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(10,37,64,.10);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(10,37,64,.12);
  padding: 34px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.triagem-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

.triagem-progress {
  margin-bottom: 30px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(10,37,64,.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  width: 16.66%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  border-radius: 999px;
  transition: width .3s ease;
}

#progressText {
  display: block;
  color: rgba(10,37,64,.65);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.form-step {
  display: none;
  animation: fadeStep .25s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step h3 {
  color: var(--navy);
  font-size: 24px;
  margin: 0 0 26px;
  letter-spacing: -0.02em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label,
.lgpd-check {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(10,37,64,.16);
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px;
  font-size: 14px;
  color: var(--navy);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
  font-family: inherit;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(10,37,64,.40);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179,25,66,.12);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(10,37,64,.04);
  border: 1px solid rgba(10,37,64,.08);
  border-radius: 12px;
  padding: 12px 13px;
  color: rgba(10,37,64,.82);
  font-size: 14px;
  font-weight: 600;
}

.checkbox-group input,
.lgpd-check input {
  accent-color: var(--red);
}

.lgpd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  margin-top: 24px;
  background: rgba(179,25,66,.06);
  border: 1px solid rgba(179,25,66,.20);
  border-radius: 14px;
  padding: 15px;
}

.lgpd-check span {
  color: rgba(10,37,64,.78);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
}

.triagem-btn {
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .22s ease;
  font-family: inherit;
}

.triagem-btn.primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 12px 26px rgba(179,25,66,.24);
}

.triagem-btn.primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.triagem-btn.secondary {
  background: rgba(10,37,64,.07);
  color: var(--navy);
}

.triagem-btn.secondary:hover {
  background: rgba(10,37,64,.12);
}

.triagem-btn.whatsapp {
  background: #25D366;
  color: #fff;
}

.triagem-btn.whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

#submitForm {
  display: none;
}

#prevStep {
  visibility: hidden;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px 20px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 14px 30px rgba(179,25,66,.25);
}

.form-success h3 {
  color: var(--navy);
  font-size: 30px;
  margin: 0 0 12px;
}

.form-success p {
  color: rgba(10,37,64,.70);
  margin: 0 0 26px;
  font-size: 16px;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .triagem-section {
    padding: 72px 0;
  }

  .triagem-form {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .form-actions {
    flex-direction: column;
  }

  .triagem-btn {
    width: 100%;
  }

  #progressText {
    text-align: center;
  }
}


/* ============ TRIAGEM CTA EXTERNA ============ */
.triagem-cta-section {
  padding: 88px 0;
  background:
    radial-gradient(circle at top left, rgba(179,25,66,.08), transparent 34%),
    linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}

.triagem-cta-card {
  display: grid;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(10,37,64,.08);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(10,37,64,.12);
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.triagem-cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

.triagem-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(179,25,66,.10);
  border: 1px solid rgba(179,25,66,.35);
  color: var(--red);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.triagem-cta-content h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.triagem-cta-content p {
  color: rgba(10,37,64,.72);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 26px;
  max-width: 720px;
}

.triagem-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.triagem-cta-aside {
  display: grid;
  gap: 14px;
}

.triagem-mini-card {
  background: rgba(10,37,64,.04);
  border: 1px solid rgba(10,37,64,.08);
  border-radius: 16px;
  padding: 20px;
}

.triagem-mini-card i {
  color: var(--red);
  font-size: 24px;
  margin-bottom: 12px;
}

.triagem-mini-card strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 6px;
}

.triagem-mini-card span {
  display: block;
  color: rgba(10,37,64,.64);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .triagem-cta-card {
    grid-template-columns: 1.5fr .8fr;
  }
}

@media (max-width: 640px) {
  .triagem-cta-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .triagem-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============ CTA BANNER ============ */
.cta-banner { position: relative; padding: 90px 0; overflow: hidden; color: var(--cream); text-align: center; }
.cta-banner .bg { position: absolute; inset: 0; }
.cta-banner .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner .bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,37,64,.85); }
.cta-banner .flag-stripe.top, .cta-banner .flag-stripe.bottom { position: absolute; left: 0; right: 0; z-index: 2; height: 4px; }
.cta-banner .flag-stripe.top { top: 0; }
.cta-banner .flag-stripe.bottom { bottom: 0; }
.cta-banner .container { position: relative; z-index: 3; max-width: 800px; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; margin: 0 0 16px; color: var(--cream); }
.cta-banner h2 .click { color: var(--red); position: relative; display: inline-block; }
.cta-banner h2 .click::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--red); border-radius: 2px; }
.cta-banner p.lead { color: rgba(245,242,233,.75); font-size: 18px; margin: 0 0 28px; }
.cta-banner .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(179,25,66,.15); border: 1px solid rgba(179,25,66,.4);
  color: var(--cream); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 22px;
}

/* ============ FAQ ============ */
.faq-section { background: rgba(10,37,64,.02); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border-radius: 12px; padding: 0 20px;
  border: 1px solid rgba(10,37,64,.05); border-left: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15px;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 0 18px; font-size: 14px; color: rgba(10,37,64,.65); }

/* ============ CONTACT ============ */
.contact-grid { display: grid; gap: 48px; }
.form-card { background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid rgba(10,37,64,.05); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: rgba(245,242,233,.4); border: 1px solid rgba(10,37,64,.1);
  border-radius: 8px; padding: 10px 12px; font-size: 14px; color: var(--navy);
  font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(179,25,66,.2);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-card .btn-primary { width: 100%; justify-content: center; padding: 16px; }
.form-disclaimer { text-align: center; font-size: 12px; color: rgba(10,37,64,.4); margin-top: 10px; }

.contact-info { display: flex; flex-direction: column; justify-content: center; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.contact-item .icon-circle {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(179,25,66,.1); border: 1px solid rgba(179,25,66,.2);
  color: var(--red); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .label { font-size: 12px; color: rgba(10,37,64,.5); font-weight: 500; }
.contact-item .value { font-weight: 600; color: var(--navy); }
.contact-item:hover .value { color: var(--red); }

.whatsapp-card {
  background: var(--navy); color: var(--cream); padding: 24px; border-radius: var(--radius);
  position: relative; overflow: hidden; border-top: 4px solid var(--red); margin-top: 8px;
}
.whatsapp-card .flag-stripe { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.whatsapp-card h3 { margin: 0 0 8px; font-size: 18px; }
.whatsapp-card p { color: rgba(245,242,233,.7); font-size: 14px; margin: 0 0 16px; }

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ============ FOOTER ============ */

.footer {
  background: var(--navy);
  color: var(--cream);
  position: relative;
}

.footer .flag-strips {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.footer .flag-strips > div {
  height: 4px;
  background: var(--red);
}

.footer .flag-strips > div.thin {
  height: 2px;
  background: var(--cream);
}

.footer-inner {
  padding: 76px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.footer-brand p {
  color: rgba(245,242,233,.75);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 360px;
}

/* ===== REDES SOCIAIS ===== */

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  text-decoration: none;
}

.socials a i {
  color: #ffffff;
  font-size: 22px;
}

.socials a:hover {
  transform: translateY(-2px);
}

/* Instagram */
.socials a[aria-label="Instagram"]:hover {
  background: #E1306C;
}

/* YouTube */
.socials a[aria-label="YouTube"]:hover {
  background: #FF0000;
}

/* WhatsApp */
.socials a[aria-label="WhatsApp"]:hover {
  background: #25D366;
}

/* ===== COLUNAS ===== */

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(245,242,233,.65);
  font-size: 14px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--red);
}

/* ===== RODAPÉ INFERIOR ===== */

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,242,233,.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(245,242,233,.50);
}

.footer-bottom a {
  color: rgba(245,242,233,.75);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}

.footer-bottom a:hover {
  color: #25D366;
}

.footer-bottom svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ============ 6. ANIMAÇÃO REVEAL AO ROLAR ============ */
/* Substitui o framer-motion da versão React. Acionado em script.js */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal[data-reveal="left"]  { transform: translateX(-30px); }
.reveal[data-reveal="right"] { transform: translateX(30px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
