/* ===================================================================
   ESCRITÓRIO DOMICEL CHRISTIAN SANTOS — Design System
   Heráldico contemporâneo · glass pontual · navy/dourado
   =================================================================== */

/* ---------- Fontes locais ----------
   Fraunces (títulos) + Onest (textos): licença livre (OFL), hospedadas aqui mesmo.
   Um arquivo variável por família cobre todos os pesos (só o alfabeto latino). */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #011827;
  --navy-2: #082436;
  --navy-3: #0f3145;
  --brown: #3E2E28;
  --brown-2: #4d3a32;
  --gold: #AF9876;
  --gold-light: #cbb99b;
  --gold-dim: rgba(175, 152, 118, 0.35);
  --off-white: #F2F2F2;
  --white: #FEFEFE;
  --ink: #1a1410;

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-soft: 0 8px 32px rgba(1, 24, 39, 0.28);
  --shadow-deep: 0 24px 64px rgba(1, 24, 39, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-scale: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--font-scale));
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  color: var(--off-white);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Focus visível — acessibilidade */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Carrosséis "sangram" até a borda da tela, evitando cortar cards feio na margem do container */
.carousel-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  padding: 0 max(24px, calc((100vw - 1320px) / 2 + 24px));
}
.carousel-wrap::before, .carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 18px;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.carousel-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.carousel-wrap::after { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }

section { position: relative; }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-2);
}
.eyebrow::after {
  content: '';
  width: 120px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: var(--space-2); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Padrão do site: todo cabeçalho de seção é centralizado (exceto hero e CTA final,
   que usam layout de duas colunas e por isso ficam alinhados à esquerda de propósito) */
.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-head p { color: rgba(242,242,242,0.72); font-size: 1.05rem; }
.section-head .eyebrow { align-items: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .eyebrow { align-items: flex-start; }
.hero-copy .eyebrow, .cta-copy .eyebrow { align-items: flex-start; }
.hero-copy .eyebrow::after, .cta-copy .eyebrow::after { margin-left: 0; }

/* ---------- Glass utility — usado com moderação, só onde definido no plano ---------- */
.glass {
  background: linear-gradient(155deg, rgba(242,242,242,0.09), rgba(242,242,242,0.03));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(175, 152, 118, 0.28);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(180deg, #34a352, #278041);
  color: #fff;
  box-shadow: 0 10px 28px rgba(39, 128, 65, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(39, 128, 65, 0.5); }
.btn-secondary {
  background: rgba(242,242,242,0.06);
  color: var(--off-white);
  border: 1px solid rgba(175,152,118,0.5);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(175,152,118,0.16); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(175,152,118,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(175,152,118,0.4); }
.btn-block { width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 14px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: linear-gradient(155deg, rgba(1,24,39,0.65), rgba(8,36,54,0.55));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(175,152,118,0.22);
  border-radius: var(--radius-l);
  padding: 10px 18px;
  box-shadow: 0 8px 30px rgba(1,24,39,0.35);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-crest { width: 54px; height: 54px; transition: filter 0.4s var(--ease); }
/* reflexo no brasão: faixa de luz recortada pelo próprio desenho (mask). Uma vez ao abrir e no hover */
.crest-shine { position: relative; display: inline-flex; flex-shrink: 0; }
.crest-shine::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,247,228,0.85) 50%, transparent 62%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-mask: url('../images/brasao-dourado.svg') center / contain no-repeat;
          mask: url('../images/brasao-dourado.svg') center / contain no-repeat;
  animation: shine-crest 1.6s var(--ease) 2.2s both;
}
.brand:hover .crest-shine::after { animation: shine-crest-hover 1.2s var(--ease) both; }
@keyframes shine-text { to { background-position: 0 0, 0 0; } }
@keyframes shine-crest { to { background-position: 0 0; } }
@keyframes shine-crest-hover { from { background-position: 100% 0; } to { background-position: 0 0; } }
.site-header.scrolled .brand-crest { filter: drop-shadow(0 0 10px rgba(175,152,118,0.55)); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--white);
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: var(--space-4); }
.main-nav ul { display: flex; gap: var(--space-3); }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(242,242,242,0.85);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-tools { display: flex; align-items: center; gap: 10px; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--off-white);
  border: 1px solid rgba(175,152,118,0.4);
  padding: 8px 12px;
  border-radius: 999px;
}
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  z-index: 20;
  background: var(--navy-2);
  border: 1px solid rgba(175,152,118,0.3);
  border-radius: var(--radius-s);
  overflow: hidden;
  min-width: 150px;
  box-shadow: var(--shadow-deep);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s var(--ease);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 10px 14px; font-size: 0.85rem;
  color: var(--off-white);
}
.lang-menu button .flag, .lang-btn .flag { font-size: 1rem; line-height: 1; }
.lang-menu button:hover { background: rgba(175,152,118,0.15); }
.lang-menu button[aria-current="true"] { color: var(--gold-light); font-weight: 700; }

.text-size-toggle {
  display: flex; align-items: center;
  border: 1px solid rgba(175,152,118,0.4);
  border-radius: 999px;
  overflow: hidden;
}
.text-size-toggle button {
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--off-white);
}
.text-size-toggle button:hover { background: rgba(175,152,118,0.18); }
.text-size-toggle button + button { border-left: 1px solid rgba(175,152,118,0.3); }

.header-cta {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #34a352, #278041);
  color: #fff; font-weight: 600; font-size: 0.88rem;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(39,128,65,0.4);
}
.header-cta svg { width: 16px; height: 16px; }
.header-cta:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(175,152,118,0.4);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 18px; height: 2px; background: var(--off-white);
  position: relative; transition: all 0.25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ===================== HERO ===================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: var(--space-6);
  position: relative;
  background:
    radial-gradient(ellipse 900px 600px at 85% 8%, rgba(175,152,118,0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 5% 95%, rgba(62,46,40,0.5), transparent 60%),
    linear-gradient(175deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy) 100%);
  overflow: hidden;
}
.hero-crest-watermark {
  position: absolute;
  right: -140px; top: 50%; transform: translateY(-50%);
  width: 780px; height: 780px;
  opacity: 0.05;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); color: var(--white); margin-bottom: var(--space-3); }
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold-light);
  /* 1ª camada = faixa de luz que atravessa a palavra uma vez ao carregar */
  background: linear-gradient(105deg, transparent 42%, rgba(255,247,228,0.75) 50%, transparent 58%) no-repeat,
              linear-gradient(180deg, var(--gold-light), var(--gold));
  background-size: 300% 100%, 100% 100%;
  background-position: 100% 0, 0 0;
  animation: shine-text 1.8s var(--ease) 0.9s both;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy p.lead { font-size: 1.12rem; color: rgba(242,242,242,0.82); max-width: 520px; margin-bottom: var(--space-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: var(--space-4); }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(242,242,242,0.65); }
.hero-note svg { width: 16px; height: 16px; color: var(--gold-light); flex-shrink: 0; }

.hero-media { position: relative; }
.hero-photo-card {
  border-radius: var(--radius-l);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-deep);
  aspect-ratio: 4/5;
}
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; }
/* slides empilhados; troca por crossfade + leve zoom-out (transições, não animações —
   o JS usa o animationend só da barrinha do ponto ativo) */
.hero-slide {
  position: absolute; inset: 0;
  object-position: 50% 30%; /* mantém os rostos no quadro */
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-photo-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,24,39,0) 45%, rgba(1,24,39,0.75) 100%);
  pointer-events: none;
}
.hero-photo-caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  padding: 16px 18px;
  border-radius: var(--radius-m);
}
.hero-photo-caption { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.hero-photo-caption strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--white); }
/* legendas no mesmo lugar da grade: a caixa fica com a altura da maior, sem pular */
.hero-caption {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.hero-caption.is-active { opacity: 1; transform: none; transition-delay: 0.2s; }
.hero-dots { grid-area: 1 / 2; display: flex; gap: 2px; }
/* área de toque de 44px; o traço visível é o <i> */
.hero-dot { width: 32px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.hero-dot i {
  display: block; width: 22px; height: 3px; border-radius: 3px;
  background: rgba(242,242,242,0.28);
  background-image: linear-gradient(var(--gold-light), var(--gold-light));
  background-repeat: no-repeat; background-size: 0% 100%;
}
.hero-dot:hover i { background-color: rgba(242,242,242,0.45); }
.hero-dot:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -6px; border-radius: 6px; }
/* barrinha dourada enche em 6s = tempo do slide */
.hero-dot.is-active i { animation: dot-fill 6s linear forwards; }
.js-hero-slider.is-paused .hero-dot.is-active i { animation-play-state: paused; }
@keyframes dot-fill { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-dot.is-active i { animation: none; background-size: 100% 100%; }
}
.hero-photo-caption span { font-size: 0.8rem; color: var(--gold-light); }

/* ===================== TRUST BAR ===================== */
.trust-bar {
  border-top: 1px solid rgba(175,152,118,0.18);
  border-bottom: 1px solid rgba(175,152,118,0.18);
  background: var(--navy-2);
  padding: var(--space-4) 0;
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--gold-light);
}
.trust-item span { font-size: 0.82rem; color: rgba(242,242,242,0.68); }

/* ===================== PAIN SECTION ===================== */
.pain-section { padding: var(--space-7) 0; background: var(--navy); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.pain-card {
  display: block;
  padding: var(--space-4);
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, rgba(62,46,40,0.5), rgba(1,24,39,0.4));
  border: 1px solid rgba(175,152,118,0.16);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(175,152,118,0.5); }
.pain-card { position: relative; isolation: isolate; }
.pain-card::after, .area-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; /* acima do fundo do card, abaixo do texto */
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(203,185,155,0.16), transparent 65%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .pain-card:hover::after, .area-card:hover::after { opacity: 1; }
}
.pain-card svg { width: 30px; height: 30px; color: var(--gold-light); margin-bottom: var(--space-2); }
.pain-card h3 { color: var(--white); margin-bottom: 8px; }
.pain-card p { font-size: 0.92rem; color: rgba(242,242,242,0.68); margin-bottom: 12px; }
.pain-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--gold-light);
  opacity: 0; transform: translateX(-4px);
  transition: all 0.25s var(--ease);
}
.pain-card-cta svg { width: 13px; height: 13px; margin: 0; color: var(--gold-light); }
.pain-card:hover .pain-card-cta { opacity: 1; transform: translateX(0); }

/* ===================== SOBRE A DUPLA ===================== */
.about-section { padding: var(--space-7) 0; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.about-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-soft);
  max-height: 600px;
}
.about-photo { position: relative; }
.about-photo img { width: 100%; object-fit: cover; object-position: 50% 45%; height: 100%; display: block; }
.about-photo-tag {
  position: absolute; left: 20px; bottom: 20px;
  padding: 10px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--white);
}
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.duo-card {
  padding: var(--space-4);
  border-radius: var(--radius-m);
  display: flex; gap: var(--space-3);
  border: 1px solid rgba(175,152,118,0.18);
  background: rgba(242,242,242,0.03);
  text-align: left;
}
.duo-card img {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold-dim); flex-shrink: 0;
}
.duo-card .duo-name-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.duo-card h3 { color: var(--white); margin-bottom: 2px; }
.duo-card .oab { font-size: 0.78rem; color: var(--gold-light); font-weight: 600; margin-bottom: 10px; display: block; }
.duo-card p { font-size: 0.9rem; color: rgba(242,242,242,0.7); }
.duo-ig-btn {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(175,152,118,0.4);
  color: var(--gold-light);
  transition: all 0.25s var(--ease);
}
.duo-ig-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px) scale(1.06); }
.duo-ig-btn svg { width: 16px; height: 16px; }

/* ===================== ÁREAS DE ATUAÇÃO ===================== */
.areas-section { padding: var(--space-7) 0; background: var(--navy); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.area-card {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-m);
  overflow: hidden;
  isolation: isolate;
}
.area-card.featured {
  background: linear-gradient(160deg, rgba(175,152,118,0.16), rgba(1,24,39,0.5));
  border: 1px solid rgba(175,152,118,0.45);
  backdrop-filter: blur(14px);
}
.area-card:not(.featured) {
  background: rgba(242,242,242,0.03);
  border: 1px solid rgba(175,152,118,0.14);
}
.area-card:hover { transform: translateY(-4px); transition: transform 0.3s var(--ease); }
.area-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--navy); background: var(--gold-light);
  padding: 4px 10px; border-radius: 999px;
}
.area-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(175,152,118,0.16);
  margin-bottom: var(--space-2);
}
.area-card svg { width: 24px; height: 24px; color: var(--gold-light); }
.area-card h3 { color: var(--white); margin-bottom: 8px; }
.area-card p { font-size: 0.88rem; color: rgba(242,242,242,0.68); margin-bottom: 10px; }
.area-card ul { font-size: 0.82rem; color: rgba(242,242,242,0.6); }
.area-card ul li { padding-left: 14px; position: relative; margin-bottom: 4px; }
.area-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold-dim); }

/* ===================== FAQ / OBJEÇÕES ===================== */
.faq-section { padding: var(--space-7) 0; background: linear-gradient(180deg, var(--navy-2), var(--navy)); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid rgba(175,152,118,0.18);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: rgba(242,242,242,0.03);
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  text-align: left;
}
.faq-question .plus {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(175,152,118,0.5);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.faq-question .plus::before, .faq-question .plus::after {
  content: ''; position: absolute; background: var(--gold-light);
}
.faq-question .plus::before { width: 10px; height: 1.5px; }
.faq-question .plus::after { width: 1.5px; height: 10px; transition: opacity 0.2s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer p { padding: 0 var(--space-4) var(--space-3); font-size: 0.95rem; color: rgba(242,242,242,0.72); }

/* ===================== COMO FUNCIONA (no lugar dos depoimentos ilustrativos) ===================== */
.steps-section { padding: var(--space-7) 0; background: var(--navy); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3);
  counter-reset: passo; list-style: none; padding: 0;
}
.step-card {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, rgba(62,46,40,0.45), rgba(1,24,39,0.4));
  border: 1px solid rgba(175,152,118,0.16);
  counter-increment: passo;
}
.step-card::before {
  content: counter(passo, decimal-leading-zero);
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: var(--space-2);
  border-radius: 50%;
  background: var(--navy-2); border: 1px solid var(--gold-dim);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--gold-light);
  position: relative;
}
.step-card h3 { color: var(--white); margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; color: rgba(242,242,242,0.72); }
.steps-foot { display: flex; justify-content: center; margin-top: var(--space-5); }
.steps-foot .btn svg { width: 18px; height: 18px; }

/* ===================== APRENDA SEUS DIREITOS — CARROSSEL ESTILO INSTAGRAM ===================== */
.learn-section { padding: var(--space-7) 0; background: linear-gradient(180deg, var(--navy), var(--navy-2)); }
/* esteira infinita: o track tem a lista 2x; anda exatamente 1 lista (−50% − meio gap) e recomeça sem emenda.
   ~5s por card (--dur vem do app.js). Pausa com mouse em cima ou foco no teclado. */
.carousel-wrap--full { padding: 0; }
.carousel-wrap--full::before, .carousel-wrap--full::after { display: none; }
.learn-carousel {
  overflow: hidden;
  padding: 6px 0 18px;
  /* laterais esmaecem em vez de cortar o card seco */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.learn-track {
  display: flex; gap: 20px; width: max-content;
  animation: marquee var(--dur, 90s) linear infinite;
}
.learn-carousel:hover .learn-track, .learn-carousel:focus-within .learn-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
/* quem pede menos movimento: sem esteira, rolagem manual */
@media (prefers-reduced-motion: reduce) {
  .learn-carousel { overflow-x: auto; }
  .learn-track { animation: none; }
}
.learn-carousel::-webkit-scrollbar { display: none; }
.learn-post-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid rgba(175,152,118,0.2);
  background: var(--navy-2);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.learn-post-card:hover { transform: translateY(-4px); border-color: rgba(175,152,118,0.5); }
.learn-post-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(175,152,118,0.12);
}
/* avatar = brasão dourado sobre navy, igual à foto de perfil do Instagram */
.learn-post-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  padding: 3px; background: var(--navy);
  border: 1px solid var(--gold-dim);
  flex-shrink: 0;
}
.learn-foot { display: flex; justify-content: center; margin-top: var(--space-4); }
.learn-post-header span { font-size: 0.76rem; font-weight: 600; color: rgba(242,242,242,0.85); }
.learn-post-visual {
  aspect-ratio: 3/4; /* formato do grid atual do Instagram */
  position: relative;
  display: flex; align-items: flex-end;
  padding: var(--space-2);
  background:
    linear-gradient(180deg, rgba(1,24,39,0.15), rgba(1,24,39,0.85)),
    radial-gradient(circle at 30% 20%, rgba(175,152,118,0.35), transparent 55%),
    linear-gradient(150deg, var(--brown), var(--navy-2));
}
.learn-post-visual .learn-crest {
  position: absolute; top: 10px; right: 10px; width: 46px; height: 46px; opacity: 0.5;
}
.learn-post-visual .format-badge {
  position: absolute; top: 10px; left: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(1,24,39,0.55);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.learn-post-visual .format-badge svg { width: 13px; height: 13px; color: #fff; }
.learn-post-visual h3 { color: #fff; font-size: 0.92rem; line-height: 1.3; }
/* capa real por cima de tudo: o título dela já está na arte (o h3 fica embaixo, pro Google e leitores de tela) */
.learn-post-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; }
.learn-post-header .learn-post-tag { margin: 0; color: var(--navy); } /* o @ já está no botão abaixo; no topo, a área do post */
.learn-post-tag {
  display: inline-block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--navy);
  background: var(--gold-light); padding: 3px 8px; border-radius: 999px;
  margin-bottom: 8px;
}
.learn-post-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  font-size: 0.76rem; color: var(--gold-light); font-weight: 600;
}
.learn-post-footer svg { width: 14px; height: 14px; }

/* ===================== CTA FINAL ===================== */
.cta-section { padding: var(--space-7) 0; position: relative; }
.cta-glass {
  border-radius: var(--radius-l);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(175,152,118,0.14), rgba(1,24,39,0.55) 60%);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(175,152,118,0.35);
  box-shadow: var(--shadow-deep);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.cta-crest {
  position: absolute; left: -60px; bottom: -60px;
  width: 320px; height: 320px; opacity: 0.06; pointer-events: none;
}
.cta-copy h2 { color: var(--white); }
.cta-copy p { color: rgba(242,242,242,0.75); margin-bottom: var(--space-3); }
.cta-copy .hero-note { margin-top: var(--space-3); }

.contact-form { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.8rem; color: rgba(242,242,242,0.7); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(242,242,242,0.07);
  border: 1px solid rgba(175,152,118,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
}
.form-field select option { color: #111; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(242,242,242,0.35); }
.form-field textarea { resize: vertical; min-height: 90px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-security { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: rgba(242,242,242,0.55); margin-top: 4px; }
.form-security svg { width: 15px; height: 15px; color: var(--gold-light); }
.form-status { font-size: 0.85rem; min-height: 20px; }
.form-status.success { color: #6fd18a; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-2); padding: var(--space-6) 0 var(--space-3); border-top: 1px solid rgba(175,152,118,0.15); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; margin-bottom: var(--space-2); }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { font-family: var(--font-display); color: var(--white); display: block; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: var(--space-2); }
.footer-col ul li { margin-bottom: 10px; font-size: 0.88rem; color: rgba(242,242,242,0.7); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-map { border-radius: var(--radius-m); overflow: hidden; height: 160px; border: 1px solid rgba(175,152,118,0.2); }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.88); }
.social-icons { display: flex; gap: 10px; margin-top: var(--space-2); }
.social-icons a {
  width: 44px; height: 44px; /* área de toque mínima */ border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(175,152,118,0.35);
}
.social-icons svg { width: 17px; height: 17px; }
.social-icons a:hover, .footer-google:hover { color: var(--gold-light); border-color: var(--gold); }
.footer-google { display: inline-flex; align-items: center; gap: 8px; }
.footer-google svg { width: 14px; height: 14px; color: var(--gold-light); }
.footer-bottom {
  padding-top: var(--space-3);
  border-top: 1px solid rgba(175,152,118,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem; color: rgba(242,242,242,0.5);
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ===================== BOTÃO FLUTUANTE WHATSAPP (definitivo, todas as telas) ===================== */
.fab-whatsapp {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 450;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #34a352, #278041);
  box-shadow: 0 10px 28px rgba(39,128,65,0.45), 0 0 0 0 rgba(52,163,82,0.5);
  animation: fab-pulse 2.6s ease-out infinite;
  transition: transform 0.25s var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.07); }
.fab-whatsapp svg { width: 30px; height: 30px; color: #fff; }
.fab-whatsapp .fab-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--navy-2); color: var(--white);
  padding: 8px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(175,152,118,0.3);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.fab-whatsapp:hover .fab-tooltip { opacity: 1; visibility: visible; }
@keyframes fab-pulse {
  0% { box-shadow: 0 10px 28px rgba(39,128,65,0.45), 0 0 0 0 rgba(52,163,82,0.45); }
  70% { box-shadow: 0 10px 28px rgba(39,128,65,0.45), 0 0 0 16px rgba(52,163,82,0); }
  100% { box-shadow: 0 10px 28px rgba(39,128,65,0.45), 0 0 0 0 rgba(52,163,82,0); }
}
@media (max-width: 720px) {
  .fab-whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .fab-whatsapp .fab-tooltip { display: none; }
}

/* ===================== FUNDO AMBIENTE ANIMADO ===================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient-bg span {
  position: absolute;
  border-radius: 50%;
  /* degradê radial no lugar de filter:blur — mesmo visual, sem repintar a cada frame */
  background: radial-gradient(closest-side, var(--c) 45%, transparent);
  opacity: 0.16;
  will-change: transform;
  animation: drift 26s ease-in-out infinite;
}
.ambient-bg span:nth-child(1) {
  width: 640px; height: 640px;
  --c: var(--gold);
  top: -10%; left: 8%;
  animation-duration: 30s;
}
.ambient-bg span:nth-child(2) {
  width: 540px; height: 540px;
  --c: var(--brown-2);
  top: 55%; right: 4%;
  animation-duration: 34s;
  animation-delay: -8s;
}
.ambient-bg span:nth-child(3) {
  width: 480px; height: 480px;
  --c: var(--gold-light);
  bottom: -8%; left: 38%;
  animation-duration: 24s;
  animation-delay: -14s;
  opacity: 0.1;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-bg span { animation: none; }
}
/* garante que todo o conteúdo real fique acima do fundo animado */
main, .site-footer, .cookie-banner { position: relative; z-index: 1; }

/* ===================== STICKY CTA MOBILE (legado, oculto — substituído pelo fab-whatsapp) ===================== */
.sticky-cta { display: none !important; }

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed; left: var(--space-2); right: var(--space-2); bottom: var(--space-2);
  z-index: 600;
  max-width: 560px; margin: 0 auto;
  padding: var(--space-3);
  border-radius: var(--radius-m);
  background: var(--navy-2);
  border: 1px solid rgba(175,152,118,0.3);
  box-shadow: var(--shadow-deep);
  display: flex; flex-direction: column; gap: 12px;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: rgba(242,242,242,0.78); }
.cookie-banner p a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.85rem; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  /* celular: título e botão primeiro (é o que faz a pessoa chamar); a foto vem logo abaixo */
  .hero { min-height: 0; padding-top: 112px; }
  .hero .container { gap: var(--space-5); }
  .hero-media { width: 100%; max-width: 360px; margin: 0 auto; } /* width: slides são absolutos, sem ela o bloco encolhe a 0 */
  .pain-grid, .areas-grid, .learn-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .duo-grid { grid-template-columns: 1fr; }
  .cta-glass { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}

/* enxuto: breakpoint dedicado do header, calculado pela largura real do conteúdo
   (marca + 6 links + ferramentas ≈ 1165px) — evita o header quebrar linha sem controle
   entre 720–1180px, que é o que causava o dropdown de idioma aparecer fora do lugar */
@media (max-width: 1180px) {
  .header-cta span { display: none; }
  .nav-toggle { display: flex; }
  .site-header .container { padding: 8px 10px; flex-wrap: wrap; }
  .main-nav { order: 5; width: 100%; }
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    transition: max-height 0.35s var(--ease);
  }
  .main-nav.mobile-open ul { max-height: 400px; padding-top: var(--space-2); }
  .main-nav ul li { width: 100%; border-top: 1px solid rgba(175,152,118,0.12); }
  .main-nav ul li a { display: block; padding: 12px 4px; }
}

@media (max-width: 720px) {
  .pain-grid, .areas-grid, .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .learn-post-card { flex-basis: 180px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-bottom: 100px; }
  section, .hero { scroll-margin-top: 90px; }
}

@media (max-width: 720px) {
  /* cabeçalho numa linha só: o WhatsApp fica no botão flutuante, o idioma vira só a bandeira */
  .site-header { padding: 10px 0; }
  .site-header .container { padding: 6px 8px 6px 10px; gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-crest { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; white-space: nowrap; }
  .header-cta { display: none; }
  .lang-btn { padding: 8px 10px; }
  .lang-btn .js-lang-current { display: none; }
  .header-tools { gap: 6px; }
  .hero-crest-watermark { display: none; } /* quase invisível no celular e atrasava o carregamento da 1ª tela */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; gap: 10px; }
  .cookie-banner p { font-size: 0.8rem; }
  .cookie-actions .btn { padding: 8px 16px; }
}

@media (max-width: 480px) {
  .header-tools .text-size-toggle { display: none; }
  .brand-name small { display: none; }
}

/* ===================== ENTRADA SUAVE AO ROLAR ===================== */
/* animação com fill "backwards" (não "both"): ao terminar, o card volta ao estilo normal
   e o hover (translateY) continua funcionando */
.reveal-on .rv:not(.is-in) { opacity: 0; }
.rv.is-in { animation: rv-in 0.8s var(--ease) calc(var(--i, 0) * 90ms) backwards; }
@keyframes rv-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
