/* ═══════════════════════════════════════════════════════════════
   BELEZA PRO ACADEMY — Design System v2.0
   Redesign Premium | Junho/2026
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ────────────────────────────────────────────── */
/* As fontes são carregadas no HTML via <link> com preconnect.    */
/* NÃO adicionar @import aqui — causaria bloqueio de renderização.*/

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* New premium palette — light base */
  --color-bg: #FFFAF9;
  --color-surface: #FFFFFF;
  --color-dark: #1B0B12;
  --color-accent: #C27070;
  --color-accent-soft: #D4918F;
  --color-border: rgba(194, 112, 112, 0.18);
  --color-muted: #7A6565;
  --color-section-alt: #FFF5F3;

  /* Extended palette */
  --color-accent-light: rgba(194, 112, 112, 0.08);
  --color-accent-medium: rgba(194, 112, 112, 0.18);
  --color-dark-soft: #2A1520;
  --color-success: #4A8B6A;
  --color-warning: #B8860B;
  --color-error: #8B3A3A;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.75rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 4px rgba(27, 11, 18, 0.03);
  --shadow-md: 0 2px 16px rgba(27, 11, 18, 0.05);
  --shadow-lg: 0 6px 30px rgba(27, 11, 18, 0.07);
  --shadow-xl: 0 12px 48px rgba(27, 11, 18, 0.10);

  /* Layout */
  --max-width: 1140px;
  --max-width-narrow: 800px;
  --header-height: 72px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-dark);
}

ul, ol {
  list-style: none;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-dark);
}

h4, h5, h6 {
  font-family: var(--font-body);
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-dark);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.text-muted {
  color: var(--color-muted);
}

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

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

.text-italic {
  font-style: italic;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-surface);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--color-surface);
}

.section--alt {
  background-color: var(--color-section-alt);
}

.section--accent {
  background-color: var(--color-accent-light);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-dark);
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(194, 112, 112, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header__brand-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-bg);
  line-height: 1;
}

.header__brand-name span {
  color: var(--color-accent-soft);
}

.header__brand-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-top: 2px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav a {
  color: rgba(255, 250, 249, 0.7);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color 0.2s ease;
}

.header__nav a:hover {
  color: var(--color-bg);
}

/* Mobile menu toggle */
.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-bg);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border: 1.5px solid var(--color-accent);
}

.btn--primary:hover {
  background-color: #a85c5c;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border: 1.5px solid var(--color-accent);
}

.btn--accent:hover {
  background-color: #a85c5c;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline-light {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn--outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #FFFFFF;
}

.btn--lg {
  padding: 18px 36px;
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--font-size-xs);
}

.btn--full {
  width: 100%;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card--flat {
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.card--flat:hover {
  transform: none;
  box-shadow: none;
}

.card--dark {
  background-color: var(--color-dark);
  color: var(--color-bg);
  border-color: rgba(194, 112, 112, 0.2);
}

.card--dark h3,
.card--dark h4 {
  color: #FFFFFF;
}

.card--dark p {
  color: rgba(255, 250, 249, 0.7);
}

.card--dark .badge--accent {
  background-color: rgba(194, 112, 112, 0.25);
  color: #FFFFFF;
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background-color: var(--color-dark);
  color: var(--color-accent-soft);
}

.badge--accent {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.badge--outline {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-section-alt) 100%);
}

.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  padding-right: var(--space-xl);
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--color-dark);
}

.hero__headline em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__subheadline {
  font-size: var(--font-size-lg);
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.hero__cta {
  margin-bottom: var(--space-2xl);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.hero__metric {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__metric-value {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

.hero__metric-label {
  font-size: var(--font-size-xs);
  color: var(--color-muted);
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

/* ── Video Player Placeholder ─────────────────────────────── */
.video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Variante vertical (9:16) — formato Shorts/Reels, pensado mobile-first.
   A maioria das mentoradas assiste pelo celular; este formato reflete isso
   em vez de forçar vídeo vertical dentro de uma moldura horizontal.
   Usa aspect-ratio (não o hack de padding-bottom%) porque padding-bottom
   percentual é relativo à largura do BLOCO DO PAI, não à largura final do
   próprio elemento quando ela vem de max-width/flex-basis — com max-width
   fixo isso gerava uma caixa 2x mais alta que o necessário. */
.video-placeholder--vertical {
  aspect-ratio: 9 / 16;
  padding-bottom: 0;
  max-width: 380px;
  margin: 0 auto;
}

/* Wrapper que posiciona um vídeo vertical ao lado de texto/CTA em telas largas,
   e empilha (vídeo acima, texto abaixo) em telas estreitas — o próprio vídeo
   já "é" a versão mobile, então em mobile ele simplesmente fica em primeiro. */
.video-vertical-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .video-vertical-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-3xl);
  }

  .video-vertical-layout .video-placeholder--vertical {
    flex: 0 0 320px;
    margin: 0;
  }

  .video-vertical-layout__text {
    flex: 1 1 380px;
    max-width: 420px;
  }
}

/* Bullets de destaque ao lado do vídeo vertical — usados na seção
   "A história por trás do método" para reforçar números reais e já
   públicos sem repetir o texto da seção da Mariana acima. */
.video-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.video-highlights li {
  position: relative;
  padding-left: 24px;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--color-muted);
}

.video-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
}

.video-highlights li strong {
  color: var(--color-dark);
}

.video-placeholder__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 11, 18, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.video-placeholder__overlay:hover {
  background: rgba(27, 11, 18, 0.25);
}

.video-placeholder__play {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.video-placeholder__play:hover {
  transform: scale(1.08);
}

.video-placeholder__play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  color: var(--color-accent);
}

.video-placeholder__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder__label {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(27, 11, 18, 0.6);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

/* ── Mentora Section ──────────────────────────────────────── */
.mentora-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.mentora-section__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.mentora-section__gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.mentora-section__gallery img:first-child {
  grid-column: 1 / -1;
  height: 260px;
}

/* Primeira loja — esconder número do imóvel (parte inferior) */
.mentora-section__gallery img:nth-child(2) {
  object-position: center 30%;
}

/* Troféu — enquadramento ajustado para mostrar os dois troféus completos
   (antes cortava na altura das mãos) e dar mais respiro ao redor da Mariana */
.mentora-section__gallery img:nth-child(3) {
  height: 220px;
  object-position: center 25%;
}

/* ── Checklist ─────────────────────────────────────────────── */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  font-size: var(--font-size-lg);
  border-bottom: 1px solid var(--color-border);
}

.checklist__item:last-child {
  border-bottom: none;
}

.checklist__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

/* ── Tables ────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  font-size: var(--font-size-sm);
}

.table th {
  background-color: var(--color-dark);
  color: var(--color-accent-soft);
  font-weight: 600;
  font-size: var(--font-size-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}

.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background-color: var(--color-accent-light);
}

.table .level-below {
  color: var(--color-error);
  font-weight: 600;
}

.table .level-expected {
  color: var(--color-dark);
  font-weight: 600;
}

.table .level-high {
  color: var(--color-success);
  font-weight: 700;
}

/* ── Benchmark Cards (mobile) ──────────────────────────────────
   Em telas estreitas, a tabela de 5 colunas obriga rolagem horizontal
   e esconde a coluna mais importante (Referência de Mercado). Os cards
   mostram as 3 faixas de cada segmento sem nenhuma rolagem. A tabela
   tradicional continua sendo a versão de desktop — nenhuma das duas
   é removida, apenas alternam por breakpoint. */
.benchmark-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benchmark-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}

.benchmark-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-sm);
}

.benchmark-card__name {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-dark);
}

.benchmark-card__unit {
  font-size: var(--font-size-xs);
  color: var(--color-muted);
}

.benchmark-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  margin-bottom: 6px;
}

.benchmark-card__row:last-child {
  margin-bottom: 0;
}

.benchmark-card__row--below {
  background: color-mix(in srgb, var(--color-error) 10%, transparent);
}

.benchmark-card__row--below .benchmark-card__value,
.benchmark-card__row--below .benchmark-card__label {
  color: var(--color-error);
}

.benchmark-card__row--expected {
  background: var(--color-accent-light);
}

.benchmark-card__row--expected .benchmark-card__value,
.benchmark-card__row--expected .benchmark-card__label {
  color: var(--color-dark);
}

.benchmark-card__row--high {
  background: color-mix(in srgb, var(--color-success) 12%, transparent);
}

.benchmark-card__row--high .benchmark-card__value,
.benchmark-card__row--high .benchmark-card__label {
  color: var(--color-success);
}

.benchmark-card__value {
  font-weight: 600;
}

/* Toggle por breakpoint: cards no mobile, tabela no desktop */
.benchmark-cards {
  display: flex;
}

.table-wrapper.table-wrapper--benchmark {
  display: none;
}

@media (min-width: 768px) {
  .benchmark-cards {
    display: none;
  }

  .table-wrapper.table-wrapper--benchmark {
    display: block;
  }
}

/* ── Region Cards (mobile) ──────────────────────────────────────
   Mesma lógica do benchmark-cards, mas para a tabela de 3 colunas
   (Região / Fator / Interpretação). Os IDs das linhas (row-sudeste,
   row-df etc.) são replicados nos cards para que o JS de destaque
   da região da usuária funcione sem duplicar lógica. */
.region-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: background 0.3s ease;
}

.region-card__info {
  flex: 1;
  min-width: 0;
}

.region-card__name {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-dark);
  display: block;
}

.region-card__interpretation {
  font-size: var(--font-size-xs);
  color: var(--color-muted);
  display: block;
  margin-top: 2px;
}

.region-card__factor {
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-dark);
  white-space: nowrap;
}

.region-cards {
  display: flex;
}

.table-wrapper.table-wrapper--region {
  display: none;
}

@media (min-width: 768px) {
  .region-cards {
    display: none;
  }

  .table-wrapper.table-wrapper--region {
    display: block;
  }
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-dark);
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-input::placeholder {
  color: var(--color-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A6565' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--color-muted);
  margin-top: var(--space-xs);
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-message {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  margin-top: var(--space-lg);
  display: none;
}

.form-message--error {
  background-color: rgba(139, 58, 58, 0.06);
  border: 1px solid rgba(139, 58, 58, 0.15);
  color: var(--color-error);
}

.form-message--success {
  background-color: rgba(74, 139, 106, 0.06);
  border: 1px solid rgba(74, 139, 106, 0.15);
  color: var(--color-success);
}

.form-message.visible {
  display: block;
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question::after {
  content: '+';
  font-size: var(--font-size-xl);
  font-weight: 300;
  color: var(--color-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-lg);
}

.faq-answer p {
  color: var(--color-muted);
  font-size: var(--font-size-base);
  line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 250, 249, 0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-bg);
  margin-bottom: var(--space-sm);
}

.footer__brand-name span {
  color: var(--color-accent-soft);
}

.footer__tagline {
  font-size: var(--font-size-sm);
  color: rgba(255, 250, 249, 0.5);
  margin-bottom: var(--space-lg);
}

.footer__heading {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 250, 249, 0.6);
  font-size: var(--font-size-sm);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-bg);
}

.footer__bottom {
  border-top: 1px solid rgba(194, 112, 112, 0.15);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: rgba(255, 250, 249, 0.4);
}

/* ── Utility Classes ───────────────────────────────────────── */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__content {
    padding-right: 0;
    text-align: center;
  }

  .hero__metrics {
    justify-content: center;
  }

  .hero__image img {
    max-width: 360px;
    margin: 0 auto;
  }

  .mentora-section {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .mentora-section__gallery {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.875rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  .hero__headline {
    font-size: var(--font-size-4xl);
  }

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

  .hero__metric {
    min-width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Header mobile */
  .header__nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-dark);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(194, 112, 112, 0.15);
  }

  .header__nav.active {
    display: flex;
  }

  .header__menu-toggle {
    display: block;
  }

  .checklist__item {
    font-size: var(--font-size-base);
  }

  .card {
    padding: var(--space-lg);
  }

  .btn--lg {
    padding: 16px 28px;
    font-size: var(--font-size-sm);
  }

  .mentora-section__gallery img:first-child {
    height: 200px;
  }

  .mentora-section__gallery img {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  h1, .hero__headline {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .table {
    font-size: var(--font-size-xs);
  }

  .table th,
  .table td {
    padding: 10px 12px;
  }
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }

/* ── City Autocomplete ────────────────────────────────────────── */
.autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.autocomplete-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(27, 11, 18, 0.12);
  max-height: 240px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.autocomplete-dropdown li {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-accent-light);
  transition: background 0.15s;
}

.autocomplete-dropdown li:last-child {
  border-bottom: none;
}

.autocomplete-dropdown li:hover,
.autocomplete-dropdown li.active {
  background: var(--color-section-alt);
  color: var(--color-accent);
}

/* ── Progressive Disclosure (4 Códigos Tabs) ─────────────────── */
.codigos-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.codigos-tab {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: transparent;
  color: rgba(252, 242, 242, 0.7);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
}

.codigos-tab:hover {
  background: rgba(194, 112, 112, 0.2);
  color: #FFFFFF;
}

.codigos-tab.active {
  background: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.codigos-panels {
  position: relative;
  min-height: 200px;
}

.codigos-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.codigos-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.codigo-detail {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.codigo-detail h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.codigo-detail p {
  color: rgba(252, 242, 242, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.codigo-detail ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 400px;
  margin: 1.5rem auto 0;
}

.codigo-detail ul li {
  color: rgba(252, 242, 242, 0.75);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.codigo-detail ul li::before {
  content: "→ ";
  color: var(--color-accent-soft);
}

/* ── Calculator Lead Gate ─────────────────────────────────────── */
.calc-gate {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--color-section-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
}

.calc-gate p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.calc-gate-fields {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}

.calc-gate-fields input {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 16px; /* Previne zoom automático no iOS */
  width: 200px;
  background: var(--color-surface);
}

.calc-gate-fields input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(194, 112, 112, 0.1);
}

.calc-result-locked {
  padding: 1.5rem;
  background: var(--color-dark);
  border-radius: 8px;
  color: rgba(252, 242, 242, 0.6);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.calc-result-locked::before {
  content: "🔒";
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.calc-result-unlocked {
  padding: 1.5rem;
  background: var(--color-success);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  animation: fadeIn 0.5s ease;
}

/* ── Cookie Consent Banner ────────────────────────────────────── */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#cookieBanner.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
  background: var(--color-dark);
  border-top: 1px solid rgba(208, 148, 148, 0.2);
  box-shadow: 0 -4px 20px rgba(27, 11, 18, 0.3);
}

.cookie-banner__text {
  color: rgba(252, 242, 242, 0.85);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background: var(--color-accent);
  color: var(--color-dark);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: rgba(252, 242, 242, 0.7);
  border: 1px solid rgba(252, 242, 242, 0.3);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg);
    gap: var(--space-md);
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}
