/* ==========================================================================
   Rabbí Company — Opção 3: Branca, Azul e Preta (Clean High-Contrast)
   Conceito: Estética Editorial Light de Alta Conversão
             Fundo Branco Puro + Tipografia Preta Monumental + Azul Cobalto Primário
   Em conformidade estrita com a Carta Constitucional dos 10 Subagentes (/lp)
   ========================================================================== */

/* --- 1. DECLARAÇÃO DE FONTES FÍSICAS LOCAIS (ZERO GOOGLE FONTS 404) --- */
@font-face {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('./assets/fonts/Paperlogy-4Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Paperlogy';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('./assets/fonts/Paperlogy-7Bold.woff2') format('woff2'),
       url('./assets/fonts/Paperlogy-7Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Paperlogy';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('./assets/fonts/Paperlogy-8ExtraBold.woff2') format('woff2');
}

/* --- 2. VARIÁVEIS DE SISTEMA (TRÍADE BRANCA, AZUL E PRETA) --- */
:root {
  /* Fundo Branco Editorial Puro */
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;

  /* Preto Profundo & Tipografia */
  --font-main: 'Paperlogy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --text-black: #090D16;
  --text-dark: #1E293B;
  --text-body: #475569;
  --text-muted: #64748B;
  --border-clean: rgba(9, 13, 22, 0.08);
  --border-card: rgba(9, 13, 22, 0.06);

  /* Azul Cobalto & Elétrico (10% Acento de Ação) */
  --blue-primary: #0066FF;
  --blue-hover: #0052CC;
  --blue-pressed: #003D99;
  --blue-sky: #00A4FF;
  --blue-soft: rgba(0, 102, 255, 0.08);

  /* Escala Tipográfica Apple HIG */
  --fs-h1: clamp(2.35rem, 4.2vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);

  /* Raios e Transições */
  --radius-squircle: 12px;
  --radius-card: 18px;
  --radius-pill: 9999px;
  --tr-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);

  /* Sombras Físicas Suaves (Tobias Ahlin Light Scale) */
  --shadow-light-card:
    0 24px 32px -8px rgba(9, 13, 22, 0.06),
    0 12px 16px -4px rgba(9, 13, 22, 0.03),
    0 4px 6px -2px rgba(9, 13, 22, 0.02);

  --shadow-cta:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 24px -6px rgba(0, 102, 255, 0.35),
    0 8px 12px -3px rgba(0, 102, 255, 0.2);
}

/* --- 3. BLINDAGEM ANTI-SAMBA & RESET GERAL --- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  font-family: var(--font-main);
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-white);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  line-height: 1.5;
  letter-spacing: -0.012em;
}

/* Banimento Absoluto de Text-Shadow (Artigo III - Lei 3.5) */
h1, h2, h3, h4, p, span, a, button, label, input, select {
  text-shadow: none !important;
}

/* Blindagem Anti-Viúvas (Artigo III - Lei 3.4) */
h1, h2, h3, h4 {
  text-wrap: balance !important;
}

p, .lead {
  text-wrap: pretty !important;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.text-center {
  text-align: center;
}

/* --- 4. SUBTÍTULO / EYEBROW (APPLE HIG CAPTION: MINÚSCULO, 10PX, NEUTRO) --- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.625rem; /* 10px Apple Caption 2 */
  font-weight: 700;
  text-transform: uppercase !important;
  letter-spacing: 0.2em;
  color: #64748B;
  margin-bottom: 0.85rem;
}

.section-h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.038em;
  color: var(--text-black);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-p-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

/* --- 5. BOTÕES, MICROINTERAÇÕES & CONVERSÃO (ARTIGO IV) --- */
.btn, .btn-premium {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-squircle);
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all !important;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
}

/* Shimmer Sweep Animado */
.btn::after, .btn-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btn-shimmer-sweep 4.8s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@keyframes btn-shimmer-sweep {
  0%, 65% {
    left: -70%;
  }
  100% {
    left: 170%;
  }
}

.btn:hover, .btn-premium:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0073FF 0%, #005CE6 100%);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 20px 28px -6px rgba(0, 102, 255, 0.42),
    0 10px 14px -3px rgba(0, 102, 255, 0.28);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

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

.btn-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.action-center {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

/* --- 6. NAVBAR & MENU SUPERIOR (ARTIGO V) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(9, 13, 22, 0.05);
}

.header-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  padding: 0.65rem 1rem;
  background-color: transparent;
  border-bottom: none;
}

.site-header.is-scrolled .header-container {
  max-width: 760px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(9, 13, 22, 0.1);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.15rem;
  box-shadow: 0 12px 32px rgba(9, 13, 22, 0.08);
}

.site-logo-img {
  height: 30px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .site-logo-img {
  height: 24px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  transition: gap 0.3s ease;
}

.site-header.is-scrolled .nav-menu {
  gap: 1.15rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap !important;
  word-break: keep-all !important;
  transition: color var(--tr-smooth);
}

.nav-link:hover {
  color: var(--blue-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-header.is-scrolled .btn-header-cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* Hambúrguer Mobile */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(9, 13, 22, 0.04);
  border: 1px solid rgba(9, 13, 22, 0.1);
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-black);
  transition: all 0.25s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.85rem;
}

.mobile-drawer-link {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-black);
}

.btn-drawer-cta {
  margin-top: 1rem;
}

/* --- 7. DOBRA 1: HERO SECTION CLARO & MODERNO --- */
.hero-light-v3 {
  padding-top: 8.5rem;
  padding-bottom: 5.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.04) 0%, transparent 60%);
}

.hero-grid-v3 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-title-v3 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-black);
  line-height: 1.12;
  margin-bottom: 1.75rem;
}

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

/* Diagnóstico de Dores em Canvas Aberto Puro */
.pains-flow-v3 {
  margin-bottom: 2.25rem;
}

.pains-lead-v3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

.pains-list-v3 {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.45;
}

.bullet-cross {
  color: #DC2626;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.45;
  flex-shrink: 0;
}

.hero-emotion-v3 {
  font-size: 0.95rem;
  color: var(--text-black);
  font-weight: 600;
  margin-top: 1.15rem;
}

.hero-cta-v3 {
  margin-top: 2rem;
}

/* Foto Real dos Fundadores no Hero */
.founders-clean-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.founders-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.founders-img-v3 {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.founder-card-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(9, 13, 22, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  box-shadow: 0 8px 20px rgba(9, 13, 22, 0.08);
  z-index: 3;
}

.badge-gabriel {
  bottom: 8%;
  left: -2%;
}

.badge-paulo {
  top: 8%;
  right: -2%;
}

.verify-badge-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.badge-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-black);
  white-space: nowrap;
}

/* --- 8. VELOCITY MARQUEE TICKER --- */
.marquee-light-v3 {
  width: 100%;
  overflow: hidden;
  padding: 1.15rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid rgba(9, 13, 22, 0.06);
  border-bottom: 1px solid rgba(9, 13, 22, 0.06);
}

.velocity-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}

.velocity-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 9. BENTO GRID DE DIFERENCIAIS CLEAN --- */
.section-differentials-v3 {
  background-color: var(--bg-subtle);
}

.bento-grid-v3 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.bento-item-v3 {
  background: #FFFFFF;
  border: 1px solid var(--border-clean);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-light-card);
  transition: all var(--tr-smooth);
}

.bento-item-v3:hover {
  border-color: rgba(0, 102, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 20px 32px -8px rgba(0, 102, 255, 0.08);
}

.bento-span-4 {
  grid-column: span 4;
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon-clean {
  width: 44px;
  height: 44px;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.bento-icon-clean svg {
  width: 20px;
  height: 20px;
}

.bento-title-v3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* --- 10. RESULTADOS EM CANVAS ABERTO --- */
.stats-flow-v3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 2.5rem;
}

.stat-cell-v3 {
  text-align: center;
}

.metric-number {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-black);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap !important;
}

.stat-caption-v3 {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-line-separator {
  width: 1px;
  height: 60px;
  background: rgba(9, 13, 22, 0.1);
}

/* --- 11. CLIENTES E PROVA SOCIAL --- */
.section-clients-v3 {
  background-color: var(--bg-subtle);
}

.client-logos-showcase {
  margin: 2.5rem auto 3rem;
  padding: 1.5rem 0;
}

.client-logos-grid-v3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.75rem 3.5rem;
}

.client-logo-v3 {
  max-height: 32px;
  width: auto;
  filter: grayscale(100%) opacity(0.6);
  transition: all var(--tr-smooth);
}

.client-logo-v3:hover {
  filter: grayscale(0%) opacity(1);
}

/* --- 12. ESCASSEZ EM MANIFESTO ABERTO --- */
.scarcity-open-v3 {
  max-width: 680px;
  margin: 0 auto;
}

.scarcity-title-v3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 0.85rem;
}

.scarcity-desc-v3 {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- 13. ARGUMENTOS DE ESCOLHA EM CANVAS ABERTO --- */
.section-reasons-v3 {
  background-color: var(--bg-white);
}

.reasons-list-v3 {
  max-width: 760px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.reason-card-clean {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.reason-bullet-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.reason-bullet-icon svg {
  width: 100%;
  height: 100%;
}

.reason-phrase-v3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.featured-light-reason .reason-phrase-v3 {
  color: var(--text-black);
  font-weight: 700;
}

/* --- 14. PRÓXIMOS PASSOS --- */
.section-next-v3 {
  background-color: var(--bg-subtle);
}

.next-box-clean {
  max-width: 640px;
  margin: 0 auto;
}

.next-title-v3 {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 0.75rem;
}

.next-desc-v3 {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* --- 15. FORMULÁRIO DE QUALIFICAÇÃO CLEAN APPLE HIG --- */
.section-form-v3 {
  background-color: var(--bg-white);
}

.form-container-clean {
  max-width: 780px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-clean);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-light-card);
  position: relative;
}

.form-container-clean::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
}

.form-h2-clean {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 0.75rem;
}

.form-lead-group {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 2.25rem;
  line-height: 1.5;
}

.clean-form-v3 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid-clean {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group-clean {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label-clean {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.input-element {
  width: 100%;
  height: 50px;
  background: #F8FAFC;
  border: 1px solid rgba(9, 13, 22, 0.12);
  border-radius: 12px;
  padding: 0 1rem;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  color: var(--text-black);
  min-width: 0 !important;
  flex: 1 1 0%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  transition: all 0.22s ease;
}

.input-element:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.18);
  background: #FFFFFF;
}

.input-element::placeholder {
  color: #94A3B8;
  font-size: 0.875rem;
}

/* Custom Select Light Apple HIG */
.custom-select-light {
  position: relative;
  width: 100%;
}

.custom-select-light .custom-select-trigger {
  width: 100%;
  height: 50px;
  background: #F8FAFC;
  border: 1px solid rgba(9, 13, 22, 0.12);
  border-radius: 12px;
  padding: 0 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--text-black);
  cursor: pointer;
  position: relative;
  transition: all 0.22s ease;
}

.custom-select-light .custom-select-trigger:focus,
.custom-select-light.active .custom-select-trigger {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.18);
  background: #FFFFFF;
  outline: none;
}

.custom-select-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0 !important;
  flex: 1 1 0%;
  display: block;
}

.custom-select-label.placeholder-active {
  color: #94A3B8;
  font-size: 0.875rem;
}

.custom-select-arrow {
  position: absolute;
  right: 1rem;
  width: 16px;
  height: 16px;
  color: #64748B;
  transition: transform 0.22s ease;
}

.custom-select-light.active .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-light .custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(9, 13, 22, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(9, 13, 22, 0.1);
  z-index: 50;
  padding: 0.4rem;
  display: none;
}

.custom-select-light.active .custom-select-dropdown {
  display: block;
}

.custom-select-option {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover {
  background: #F1F5F9;
  color: var(--text-black);
}

.custom-select-option.selected {
  background: var(--blue-soft);
  color: var(--blue-primary);
  font-weight: 600;
}

.option-check {
  width: 15px;
  height: 15px;
  opacity: 0;
}

.custom-select-option.selected .option-check {
  opacity: 1;
}

.form-submit-center {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-submit {
  width: 100%;
  max-width: 440px;
}

/* --- 16. RODAPÉ INSTITUCIONAL PRETO SÓBRIO --- */
.site-footer-dark {
  padding: 4.5rem 0 3.5rem;
  background-color: #090D16;
  color: #CBD5E1;
}

.footer-container-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.85rem;
}

.footer-logo-img {
  height: 28px;
  width: auto;
}

.footer-links-dark {
  display: flex;
  gap: 2rem;
}

.footer-links-dark a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--tr-smooth);
}

.footer-links-dark a:hover {
  color: #FFFFFF;
}

.footer-legal-dark {
  font-size: 0.8125rem;
  color: #64748B;
  text-align: center;
}

/* --- 17. RESPONSIVIDADE APPLE HIG & REGRAS MANDATÓRIAS MOBILE --- */
@media (max-width: 992px) {
  .hero-grid-v3 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .bento-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-span-4, .bento-span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.75rem 0;
  }

  /* Header Mobile */
  .site-header {
    padding: 0;
  }

  .site-header .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* REGRA MANDATÓRIA: Ocultar botão CTA do header no mobile */
  .header-actions .btn,
  .site-header .btn,
  .btn-header-cta {
    display: none !important;
  }

  .hero-light-v3 {
    padding-top: 6.5rem;
  }

  /* Tipografia Apple HIG Mobile */
  .hero-title-v3 {
    font-size: 2rem !important; /* Exatos 32px Apple Large Title */
    line-height: 1.16;
  }

  p {
    font-size: 0.9375rem !important; /* 15px Apple Body */
  }

  /* Botão Longo Mobile com Clamp & Padding Compacto */
  .btn, .btn-premium {
    font-size: clamp(0.70rem, 3.2vw, 0.85rem) !important;
    padding: 12px 14px !important;
  }

  .bento-grid-v3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bento-item-v3 {
    padding: 1.5rem;
  }

  .stats-flow-v3 {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-line-separator {
    display: none;
  }

  .form-grid-clean {
    grid-template-columns: 1fr;
  }

  .form-container-clean {
    padding: 2.5rem 1.5rem;
  }

  .badge-gabriel {
    bottom: 5%;
    left: 0;
  }

  .badge-paulo {
    top: 5%;
    right: 0;
  }

  .footer-links-dark {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
