/* ==========================================================================
   Contractus — Reforma Residencial de Alto Padrão
   Design system: navy (#0F2A44) + dourado (#D4A24A), Fraunces + system sans
   ========================================================================== */

:root {
  /* Cores — design-system/tokens.md */
  --navy: #0F2A44;
  --navy-deep: #0A1E33;
  --navy-soft: #1B3A5C;
  --amber: #D4A24A;
  --amber-hover: #B8873A;
  --bg: #FFFFFF;
  --bg-alt: #F4F5F7;
  --bg-warm: #F9F6F1;
  --text: #1A1F2B;
  --text-muted: #5A6472;
  --text-on-dark: #EDEFF3;
  --text-on-dark-muted: #B8C1CC;
  --border: #E1E4EA;
  --border-dark: #24405F;

  /* Tipografia */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Ritmo */
  --container-w: 1200px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 14px;
  --header-h: 76px;

  --ease-standard: cubic-bezier(.16,1,.3,1);
}

/* ------------------------------ Reset básico ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

/* ==========================================================================
   Ênfase inline — hierarquia por peso (bold/semibold/regular), não só cor.
   O <strong> herda a cor de texto "cheia" em vez da muted do parágrafo, para
   destacar de verdade os fatos/promessas-chave que se repetem como fio
   condutor pela página (prazo e valor definidos, prazos em dias, etc.).
   ========================================================================== */
strong { font-weight: 700; }
p strong, .faq-answer strong { color: var(--text); }
.bg-dark strong, .hero strong { color: var(--text-on-dark); }

/* Barra de progresso reduzida para quem pede menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Foco visível consistente (acessibilidade) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--amber);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 1200;
  transition: top .2s var(--ease-standard);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------ Tipografia ------------------------------ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* --amber-hover mede ~3.2:1 sobre fundo claro — abaixo do mínimo AA de 4.5:1 para texto
     (WCAG 1.4.3). Usa-se --navy (marca, alto contraste) aqui; o dourado fica reservado
     para fundos escuros (.eyebrow-on-dark) e para elementos não-textuais. */
  color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow-on-dark { color: var(--amber); }

h2.section-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 18px;
  text-wrap: balance;
}
@media (min-width: 700px) {
  h2.section-title { font-size: 38px; }
}
.section-lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}
.section-head {
  margin-bottom: 48px;
}

.section-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.section-cta p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 380px;
}
.section-cta--dark p { color: var(--text-on-dark-muted); }

section { position: relative; padding: 88px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-warm { background: var(--bg-warm); }
.bg-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--text-on-dark);
}
.bg-dark .section-lede { color: var(--text-on-dark-muted); }

/* ------------------------------ Botões ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease-standard), background-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(212,162,74,.55); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-outline {
  background: transparent;
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.phone-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.phone-link:hover { border-color: currentColor; }
.phone-link-on-dark { color: var(--text-on-dark); }
.phone-link svg { width: 16px; height: 16px; opacity: .8; }

/* ==========================================================================
   Header / Navegação
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 30, 51, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -18px rgba(0,0,0,.5);
  height: 68px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 92px;
  width: auto;
  display: block;
  transition: height .25s ease;
}
.site-header.is-scrolled .logo-img { height: 84px; }

.nav ul {
  display: flex;
  gap: 30px;
}
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  position: relative;
  padding: 6px 0;
  transition: color .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width .22s var(--ease-standard);
}
.nav a:hover { color: var(--text-on-dark); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .phone-link { display: none; }
.header-actions .btn { padding: 11px 20px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-on-dark);
  transition: transform .25s var(--ease-standard), opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 28, .55);
  z-index: 980;
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-nav-backdrop.is-visible { opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 84vw);
  background: var(--navy-deep);
  z-index: 990;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s var(--ease-standard);
  box-shadow: -18px 0 40px -20px rgba(0,0,0,.6);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
.mobile-nav-close {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-on-dark);
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav-contact { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav-contact .phone-link { color: var(--text-on-dark); }
.mobile-nav .btn { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 90px;
  background: radial-gradient(120% 140% at 15% 0%, #16385a 0%, var(--navy) 46%, var(--navy-deep) 100%);
  overflow: hidden;
  color: var(--text-on-dark);
}
.hero-bg-img {
  /* Foto real (não mais placeholder): mostrada em cores plenas — a legibilidade do
     texto vem do .hero-overlay (mais escuro à esquerda, onde o texto fica), não de
     desaturar a foto. object-position favorece a área mais clara/aberta do ambiente. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero::before {
  /* textura sutil de curvas — mantém composição mesmo sem foto real */
  content: "";
  position: absolute;
  inset: -10% -10%;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(212,162,74,.16) 0%, rgba(212,162,74,0) 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 120px);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,30,51,.96) 0%, rgba(10,30,51,.86) 38%, rgba(10,30,51,.55) 68%, rgba(10,30,51,.35) 100%);
}
.hero-inner {
  /* Fica só com o .container "puro" (1200px, centralizado) — é o mesmo
     comportamento do .header-inner, por isso a logo e o texto do hero
     começam exatamente no mesmo x. A largura do texto é limitada no h1/
     subtitle individualmente, não no bloco inteiro. */
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.14;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 780px;
}
@media (min-width: 640px) { .hero h1 { font-size: 48px; } }
@media (min-width: 900px) { .hero h1 { font-size: 52px; } }
.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}
.hero-microcopy {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  max-width: 420px;
}

/* ==========================================================================
   Relatability — texto (65%) + foto full-bleed (35%)
   ========================================================================== */
.relatability {
  padding: 0;
  overflow: hidden;
}
.relatability > .container {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  padding-bottom: 88px;
}
.relatability-text { max-width: 55%; }
.relatability-text p + p { margin-top: 18px; }
.relatability-text .section-lede { max-width: none; }
.relatability-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 65%;
  z-index: 0;
}
.relatability-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Ícones de contexto — outline premium, reutilizados entre seções relacionadas
   ========================================================================== */
.icon-chip {
  --icon-chip-size: 46px;
  width: var(--icon-chip-size);
  height: var(--icon-chip-size);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(212, 162, 74, 0.12);
  color: var(--navy);
  margin-bottom: 18px;
}
.icon-chip svg { width: 52%; height: 52%; }
.icon-chip--dark {
  background: rgba(212, 162, 74, 0.14);
  color: var(--amber);
}
.icon-chip--sm {
  --icon-chip-size: 36px;
  border-radius: 10px;
  margin-bottom: 0;
}

/* ==========================================================================
   Cards genéricos (acompanhamento, tipos de reforma)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-standard);
}
.feature-card.is-visible::before { transform: scaleX(1); }
.feature-card h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   Comparativa
   ========================================================================== */
.comparativa-table-wrap { overflow-x: auto; }
table.comparativa {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
table.comparativa thead th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 24px 18px;
  border-bottom: 2px solid var(--border);
}
/* --amber-hover falha 4.5:1 como texto sobre fundo claro (WCAG 1.4.3) — usa-se --navy
   para o texto e o dourado fica só no sublinhado decorativo, que não carrega a informação. */
table.comparativa thead th:last-child { color: var(--navy); border-bottom-color: var(--amber); }
table.comparativa td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
  line-height: 1.55;
  vertical-align: top;
  width: 50%;
}
table.comparativa td.cell-market { color: var(--text-muted); }
table.comparativa td.cell-market::before,
table.comparativa td.cell-us::before {
  content: "";
  display: inline-block;
  width: 20px; height: 20px;
  margin-right: 12px;
  vertical-align: -4px;
  background-repeat: no-repeat;
  background-position: center;
}
table.comparativa td.cell-market::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4l12 12M16 4L4 16' stroke='%235A6472' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
table.comparativa td.cell-us {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(212,162,74,.06), transparent 60%);
}
table.comparativa td.cell-us::before {
  /* stroke em --amber-hover (não --amber): --amber puro mede ~2.3:1 sobre fundo claro,
     abaixo do mínimo 3:1 para ícones com significado (WCAG 1.4.11); --amber-hover mede ~3.2:1. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5l4.5 4.5L17 5' fill='none' stroke='%23B8873A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Diferenciais — numerados
   ========================================================================== */
.numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.numbered-card {
  background: var(--navy-deep);
  padding: 40px 30px 32px;
  position: relative;
}
.numbered-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.numbered-card .num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber);
  line-height: 1;
  display: block;
}
.numbered-card p {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text-on-dark);
  max-width: 34ch;
}

/* ==========================================================================
   Tipos de reforma
   ========================================================================== */
.tipos-grid { grid-template-columns: repeat(2, 1fr); }
/* Variante deliberadamente diferente do card de "Acompanhamento semanal": acento lateral
   estático (em vez da barra superior animada) + cantos assimétricos, para não repetir o
   mesmo componente de card em duas seções de conteúdo distintas. */
.tipos-grid .feature-card {
  background: var(--bg-warm);
  border-color: transparent;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding-left: 33px;
}
.tipos-grid .feature-card::before { content: none; }

/* ==========================================================================
   Sobre — lista com divisórias
   ========================================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.sobre-text p { margin-bottom: 16px; color: var(--text-on-dark-muted); font-size: 16px; line-height: 1.75; }
.credentials-list { border-top: 1px solid var(--border-dark); }
.credential-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-dark);
}
.credential-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.credential-item .idx {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--amber);
  font-weight: 600;
}
.credential-item h3 {
  font-family: var(--font-body);
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-on-dark);
}
.credential-item p { font-size: 14.5px; color: var(--text-on-dark-muted); line-height: 1.6; }

/* ==========================================================================
   Portfólio
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.portfolio-card {
  border: none;
  margin: 0;
  cursor: pointer;
  background: none;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.portfolio-figure {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-soft) 0%, var(--navy-deep) 70%);
}
.portfolio-figure::after {
  /* motivo geométrico sutil para não ficar um retângulo vazio */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 85% 8%, rgba(212,162,74,.22), transparent 65%),
    repeating-linear-gradient(60deg, rgba(255,255,255,.03) 0 1px, transparent 1px 26px);
}
.portfolio-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10,30,51,.65);
  border: 1px solid rgba(212,162,74,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 2;
}
.portfolio-zoom svg { width: 18px; height: 18px; stroke: var(--amber); }
/* Indicador "N fotos" — some por padrão, aparece no hover/foco junto com o zoom,
   ancorado no canto oposto para não competir com o ícone de ampliar. */
.portfolio-photo-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10,30,51,.7);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text-on-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 2;
}
.portfolio-card:hover .portfolio-photo-count,
.portfolio-card:focus-visible .portfolio-photo-count { opacity: 1; transform: translateY(0); }
.portfolio-card:hover .portfolio-figure img,
.portfolio-card:focus-visible .portfolio-figure img { transform: scale(1.045); }
.portfolio-figure img { transition: transform .5s var(--ease-standard); }
figcaption.portfolio-caption {
  padding: 14px 2px 0;
}
.portfolio-caption .city {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  /* --navy no lugar de --amber-hover: dourado mede ~3.2:1 sobre fundo claro, abaixo do
     mínimo AA de 4.5:1 para texto (WCAG 1.4.3). */
  color: var(--navy);
  margin-bottom: 6px;
}
.portfolio-caption .project-name {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.portfolio-caption .desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Antes e depois — slider comparativo arrastável
   (components/fouita-slider-comparativo-antes-depois.md)
   ========================================================================== */
.ba-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.ba-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.ba-tab:hover { border-color: var(--navy); color: var(--navy); }
.ba-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--text-on-dark);
}
.ba-panel[hidden] { display: none; }
.ba-slider { max-width: 960px; margin: 0 auto; }
.ba-slider-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  touch-action: none;
  background: var(--navy-deep);
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ba-img-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,.35);
  pointer-events: none;
  z-index: 2;
}
.ba-label {
  position: absolute;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(10,30,51,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 2;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.5);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  z-index: 3;
  touch-action: none;
}
.ba-handle svg { width: 20px; height: 20px; }
.ba-handle:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.ba-caption {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Editorial break — foto cheia com frase curta sobreposta
   (sections/fouita-heading-fitness-foto-cheia-overlay.md)
   ========================================================================== */
.editorial-break {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.editorial-break-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.editorial-break-overlay {
  /* Gradiente leve só na base — a foto (estante com LED e tons quentes) não tem
     contraste natural suficiente no canto inferior esquerdo para texto branco sem
     nenhum reforço; mantido mínimo em vez de uma caixa escura cobrindo a cena. */
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,16,28,.72) 0%, rgba(8,16,28,.4) 38%, rgba(8,16,28,0) 68%);
}
.editorial-break-inner {
  /* .container "puro" (1200px, centralizado) — mesmo raciocínio do .hero-inner,
     para o texto começar no mesmo x da logo do header. A largura do texto fica
     limitada só na linha de destaque (.editorial-break-line), não no bloco todo. */
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 52px;
}
.editorial-break-line {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.32;
  color: #fff;
  max-width: 620px;
}
@media (min-width: 700px) {
  .editorial-break-line { font-size: 32px; }
}

/* ==========================================================================
   FAQ — conteúdo centralizado no container (cabeçalho + acordeão alinhados
   no mesmo bloco de 820px, em vez do acordeão "flutuando" à esquerda)
   ========================================================================== */
#faq .section-head { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
/* .eyebrow já centraliza via text-align:center do pai (é inline-block);
   h2/section-lede são blocos com max-width próprio, por isso precisam de auto nas margens. */
#faq .section-head h2.section-title,
#faq .section-head .section-lede { margin-left: auto; margin-right: auto; }
.faq-list { border-top: 1px solid var(--border); max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-size: 16.5px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-num {
  font-family: var(--font-display);
  /* --navy no lugar de --amber-hover: dourado mede ~3.2:1 sobre fundo claro, abaixo do
     mínimo AA de 4.5:1 para texto (WCAG 1.4.3). */
  color: var(--navy);
  font-size: 15px;
}
.faq-item .faq-chevron {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease-standard);
  flex-shrink: 0;
}
.faq-item .faq-chevron svg { width: 11px; height: 11px; }
.faq-item[open] .faq-chevron { transform: rotate(135deg); background: var(--amber); border-color: var(--amber); }
.faq-item[open] .faq-chevron svg path { stroke: var(--navy-deep); }
.faq-answer {
  padding: 0 0 26px 58px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 66ch;
}

/* ==========================================================================
   CTA final — Como funciona (3 passos)
   ========================================================================== */
.cta-final { overflow: hidden; }
.cta-final-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-final .section-head { margin: 0 auto 56px; }
.cta-final .section-lede { margin: 0 auto 0; }

.steps {
  position: relative;
  text-align: left;
  max-width: 620px;
  margin: 56px auto 48px;
  padding-left: 62px;
}
.steps-line {
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border-dark);
}
.steps-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.1s var(--ease-standard);
}
.steps.is-visible .steps-line::before { transform: scaleY(1); }

.step {
  position: relative;
  padding-bottom: 44px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-standard), transform .6s var(--ease-standard);
}
.step:last-child { padding-bottom: 0; }
.steps.is-visible .step:nth-child(1) { transition-delay: .18s; }
.steps.is-visible .step:nth-child(2) { transition-delay: .38s; }
.steps.is-visible .step:nth-child(3) { transition-delay: .58s; }
.steps.is-visible .step { opacity: 1; transform: translateY(0); }

.step .step-dot {
  position: absolute;
  left: -62px;
  top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 2px solid var(--amber);
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-family: var(--font-body); font-size: 18px; margin-bottom: 8px; color: var(--text-on-dark); }
.step p { font-size: 15px; color: var(--text-on-dark-muted); line-height: 1.6; }

.cta-final .hero-cta-row { justify-content: center; margin-top: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-dark-muted);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { max-width: 320px; font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.02);
}
.footer-whatsapp .wa-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-whatsapp .wa-icon svg { width: 16px; height: 16px; fill: #fff; }
.footer-whatsapp-text { display: flex; flex-direction: column; gap: 2px; }
.footer-whatsapp-text small { font-size: 12px; color: var(--text-on-dark-muted); }
.footer-whatsapp-text a { font-weight: 700; color: var(--text-on-dark); font-size: 15px; }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; transition: color .18s ease; }
.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
}

/* ==========================================================================
   Cookie banner (LGPD)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 440px;
  margin-left: auto;
  background: var(--navy-deep);
  color: var(--text-on-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  z-index: 1100;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.5);
  transform: translateY(140%);
  transition: transform .4s var(--ease-standard);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: 14px; line-height: 1.6; color: var(--text-on-dark-muted); margin-bottom: 18px; }
.cookie-banner a { color: var(--amber); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { flex: 1; padding: 11px 16px; font-size: 13.5px; }
.cookie-actions .btn-outline { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(6, 14, 24, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: min(880px, 92vw); max-height: 82vh; text-align: center; }
.lightbox-img-wrap {
  aspect-ratio: 4/3;
  max-height: 70vh;
  background: linear-gradient(155deg, var(--navy-soft), var(--navy-deep));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox-img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-caption { color: var(--text-on-dark); margin-top: 16px; font-size: 15px; }
.lightbox-counter { color: var(--text-on-dark-muted); font-size: 13px; margin-top: 6px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .18s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.16); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* ==========================================================================
   Reveal on-scroll (genérico)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-standard), transform .7s var(--ease-standard);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1.is-visible { transition-delay: .08s; }
.reveal-d2.is-visible { transition-delay: .16s; }
.reveal-d3.is-visible { transition-delay: .24s; }
.reveal-d4.is-visible { transition-delay: .32s; }

/* ==========================================================================
   Responsivo — ≤900px (tablet / hamburger)
   ========================================================================== */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .header-actions .phone-link { display: none; }

  section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .relatability > .container { padding-top: 0; padding-bottom: 64px; }
  .relatability-text { max-width: none; }
  .relatability-media {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    height: 260px;
    margin-bottom: 32px;
  }

  .card-grid, .tipos-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .numbered-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Responsivo — ≤560px (mobile estreito)
   ========================================================================== */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  h2.section-title { font-size: 28px; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 34px) 0 64px; }
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }

  .card-grid, .tipos-grid, .numbered-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .numbered-grid { gap: 1px; }

  /* Comparativa vira cartões empilhados com rótulos */
  .comparativa-table-wrap { overflow-x: visible; }
  table.comparativa, table.comparativa thead, table.comparativa tbody,
  table.comparativa th, table.comparativa td, table.comparativa tr {
    display: block;
    width: 100%;
  }
  table.comparativa {
    min-width: 0;
  }
  table.comparativa thead { display: none; }
  table.comparativa tr {
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  table.comparativa td {
    border-bottom: 1px solid var(--border);
    width: auto;
  }
  table.comparativa tr td:last-child { border-bottom: none; }
  table.comparativa td::after {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    order: -1;
  }
  table.comparativa td { display: flex; flex-direction: column; }

  .sobre-grid { gap: 32px; }
  .credential-item { grid-template-columns: 36px 1fr; gap: 14px; padding: 20px 0; }

  .steps { padding-left: 52px; margin: 40px auto 36px; }
  .steps-line { left: 17px; }
  .step .step-dot { left: -52px; width: 36px; height: 36px; font-size: 15px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cookie-banner { left: 12px; right: 12px; max-width: none; }
  .cookie-actions { flex-direction: column; }

  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  /* Antes e depois — controle um pouco menor, rótulos mais discretos */
  .ba-tab { padding: 9px 16px; font-size: 13px; }
  .ba-handle { width: 38px; height: 38px; }
  .ba-handle svg { width: 17px; height: 17px; }
  .ba-label { font-size: 11px; padding: 4px 10px; }

  /* Editorial break — texto reduzido e seção mais baixa em telas estreitas */
  .editorial-break { min-height: 46vh; }
  .editorial-break-line { font-size: 21px; }
  .editorial-break-inner { padding-top: 44px; padding-bottom: 36px; }
}
