/* ===== Ede Marcos Deniz — Direito de Família, Sucessões e Planejamento Patrimonial ===== */

:root {
  --bg: #0c0b0c;
  --bg-alt: #171516;
  --bg-panel: #1e1b1c;
  --cream: #f6efe4;
  --cream-dim: #ebe1d1;
  --wine: #6e1423;
  --wine-light: #8c1f30;
  --wine-dark: #4a0d17;
  --gold: #c9a24d;
  --gold-light: #ddc07f;
  --text-light: #f2ede6;
  --text-muted: #b9b0a6;
  /* Corpo de card: mais claro que --text-muted, que deixava os serviços apagados. */
  --text-body: #d3cabf;
  --text-dark: #241f1c;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
  /* Lora: serifada de transição, mais sóbria e institucional que uma didone.
     Escolhida para dar seriedade aos títulos sem perder o contraste de duas cores. */
  --font-serif: 'Lora', 'Georgia', serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* Acessibilidade: foco visível em toda navegação por teclado */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--text-light);
}

.section-title .accent { color: var(--gold); }

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 14px;
}

.section-head {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 720px;
}

.section-head .section-lead { margin-left: auto; margin-right: auto; }

section { padding: 90px 0; position: relative; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241a08;
  box-shadow: 0 12px 30px rgba(201, 162, 77, 0.25);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(201, 162, 77, 0.35); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(246, 239, 228, 0.35);
  color: var(--text-light);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm { padding: 12px 22px; font-size: 0.88rem; }

/* ===== Header ===== */

/* Preto sólido, não translúcido: a 75% de opacidade o hero claro atravessava
   e a barra lia como cinza. */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: #0c0b0c;
  border-bottom: 1px solid rgba(201, 162, 77, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Ao rolar, a barra ganha sombra em vez de mudar de cor — assim ela se
   destaca do conteúdo sem nunca clarear. */
.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(201, 162, 77, 0.22);
}

.header .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }

/* emblema-ede.png tem fundo recortado de verdade — sem moldura, assenta
   direto no header escuro. (O selo com borda existia só para disfarçar a
   caixa creme cravada no arquivo antigo.) */
/* A metade inferior direita do emblema é marrom escuro e, sobre o header
   quase preto, ficava apagada. Um leve ganho de brilho recupera a leitura
   sem falsear a cor da marca. */
.brand img { height: 44px; width: auto; filter: brightness(1.18); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

/* Lockup da marca: nome em serifada caixa-alta espaçada e "Direito de
   Família" abaixo — mesma hierarquia da logo fornecida pelo cliente. */
.brand-name {
  font-family: var(--font-serif);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.header-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle { display: none; background: none; border: none; color: var(--text-light); font-size: 1.6rem; cursor: pointer; }

/* ===== Hero ===== */

.hero {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(ellipse at 75% 20%, rgba(110, 20, 35, 0.35), transparent 55%), var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(12,11,12,0.2), var(--bg)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><rect width="200" height="200" fill="none"/></svg>');
  pointer-events: none;
}

/* Foto menor libera coluna para o texto: 1.05/0.95 → 1.25/0.75. */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-copy h1 .accent { color: var(--gold); font-style: italic; }

.hero-copy p {
  color: var(--text-muted);
  font-size: 1.22rem;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-note { display: flex; align-items: center; gap: 9px; font-size: 0.96rem; color: var(--text-muted); }

.hero-note svg { color: var(--gold); flex-shrink: 0; }

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Foto reduzida a pedido do cliente (420→360 de largura, 560→480 de altura),
   para dar mais peso ao texto na primeira dobra. */
.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 162, 77, 0.25);
}

.hero-photo-frame img { width: 100%; height: 480px; object-fit: cover; }

.hero-photo-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--bg-panel);
  border: 1px solid rgba(201, 162, 77, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  box-shadow: var(--shadow);
  max-width: 230px;
}

.hero-photo-badge .num { font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold); line-height: 1; }

.hero-photo-badge .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ===== Credenciais (dentro do hero, sob a foto) =====
   Sem faixa própria nem borda: como banda separada, a linha vinho no topo
   lia como divisória entre o início do site e o resto. Agora é o fecho do
   hero, separada só por espaço. */

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  /* Folga reduzida (64→46) porque a tipografia do hero cresceu: puxa as
     credenciais para mais perto da dobra em laptops de 768px de altura. */
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(201, 162, 77, 0.14);
  /* O overlay .hero::before termina em var(--bg) OPACO. Sem sair do
     empilhamento (como .hero-grid já faz), as credenciais ficam encobertas
     por ele e aparecem apagadas. */
  position: relative;
  z-index: 1;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cred-item svg { color: var(--gold); flex-shrink: 0; }

.cred-item span { font-size: 1.02rem; color: var(--text-light); font-weight: 500; }

/* ===== Bridge / intro card ===== */

.bridge { padding: 90px 0 40px; }

.bridge-card {
  /* Creme claro e limpo (#fbf7f0), não o bege acinzentado de antes: é o que
     tirava a evidência do bloco. Filete dourado no topo + sombra quente dão
     definição de painel sobre o fundo quase preto. */
  position: relative;
  overflow: hidden;
  background: #fbf7f0;
  color: var(--text-dark);
  border-radius: var(--radius);
  /* Card enxugado a pedido do cliente: era 60px/64px de padding em toda a
     largura do container. Mantém o contraste conquistado antes. */
  padding: 44px 48px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(110, 20, 35, 0.12);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 34px;
  align-items: center;
}

.bridge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--wine), var(--gold));
}

.bridge-copy { display: flex; flex-direction: column; gap: 13px; }

.bridge-card h2 {
  color: var(--wine);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  text-wrap: balance;
}

/* Corpo mais encorpado: peso 500 e 1.12rem. Em 400/1.06rem o texto ainda
   lia como apagado sobre o creme, mesmo com a cor escura. */
.bridge-card p {
  color: #231a14;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
}

.bridge-card p strong { color: var(--wine); font-weight: 700; }

.bridge-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bridge-visual svg { width: 100%; max-width: 190px; color: var(--wine); opacity: 0.85; }

/* ===== Audience blocks ===== */

.audience-block { padding: 30px 0; }

/* Leve brilho vinho atrás de cada bloco: tira o preto chapado sem
   comprometer a leitura do texto por cima. */
.audience-block.family {
  background:
    radial-gradient(ellipse 70% 55% at 85% 12%, rgba(110, 20, 35, 0.3), transparent 70%),
    var(--bg);
}

.audience-block.patrimonial {
  background:
    radial-gradient(ellipse 70% 55% at 15% 12%, rgba(110, 20, 35, 0.26), transparent 70%),
    var(--bg-alt);
}

.audience-header {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-end;
  margin-bottom: 46px;
}

.audience-header p { color: var(--text-muted); font-size: 1.02rem; }

/* Pill preenchida de vinho: marca a abertura de cada bloco com a cor da casa. */
.tag-pill {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--wine);
  border: 1px solid var(--wine-light);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(110, 20, 35, 0.35);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Bloco patrimonial tem 6 cards: 3 colunas fecham em 2 linhas cheias. */
.service-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  position: relative;
  overflow: hidden;
  background: #221d1e;
  border: 1px solid rgba(110, 20, 35, 0.45);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* Filete vinho no topo de cada card: é o que dá presença ao bloco de
   serviços sem escurecer o texto. Sobre fundo quase preto o vinho só rende
   como superfície preenchida — como cor de texto ficaria em ~2,4:1. */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--wine);
  transition: background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--wine-light);
  background: #2a2224;
  box-shadow: 0 18px 40px rgba(110, 20, 35, 0.3);
}

.service-card:hover::before { background: linear-gradient(90deg, var(--wine-light), var(--gold)); }

.service-card .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--wine-light), var(--wine));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(110, 20, 35, 0.4);
}

.service-card h3 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 600; color: var(--text-light); margin-bottom: 10px; }

.service-card p { font-size: 0.9rem; color: var(--text-body); }

.audience-cta { margin-top: 40px; text-align: center; }

/* ===== About ===== */

.about { padding: 100px 0; background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,162,77,0.2);
}

.about-photo img { width: 100%; height: 620px; object-fit: cover; }

.about-copy p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.02rem; }

.about-copy strong { color: var(--gold-light); font-weight: 600; }

.about-creds {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-creds li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  align-items: flex-start;
}

.about-creds svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ===== Why choose ===== */

.why { padding: 90px 0; background: var(--wine-dark); position: relative; overflow: hidden; }

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(201,162,77,0.15), transparent 60%);
}

.why .container { position: relative; z-index: 1; }

.why .section-head h2, .why .section-head p { color: var(--cream); }

.why .section-lead { color: rgba(246,239,228,0.75); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(246,239,228,0.06);
  border: 1px solid rgba(246,239,228,0.14);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: left;
}

.why-card .icon { color: var(--gold); margin-bottom: 16px; }

.why-card h3 { font-family: var(--font-sans); font-size: 1rem; color: var(--cream); margin-bottom: 8px; font-weight: 600; }

.why-card p { font-size: 0.86rem; color: rgba(246,239,228,0.7); }

/* ===== Process ===== */

.process { padding: 100px 0; background: var(--bg); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 34px 22px 26px;
  background: var(--bg-panel);
  border-radius: var(--radius);
  border: 1px solid rgba(110, 20, 35, 0.4);
}

/* Número da etapa em chip de vinho — a sequência fica legível de relance. */
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--wine);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  opacity: 1;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(110, 20, 35, 0.4);
}

.process-step h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text-light); }

.process-step p { font-size: 0.86rem; color: var(--text-body); }

/* ===== Depoimentos ===== */

.reviews { padding: 100px 0; background: var(--bg-alt); }

.reviews-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

/* Itens de grid têm min-width:auto por padrão e não encolhem abaixo do
   conteúdo do carrossel — isso empurrava a página para overflow horizontal. */
.reviews-layout > * { min-width: 0; }

.reviews-intro .section-title { margin-bottom: 6px; }

.reviews-viewport { position: relative; padding: 0 42px; min-width: 0; }

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  /* Sem "scroll-behavior: smooth" aqui: com ele o scroll programático das
     setas era engolido e o track não saía do lugar. A animação suave fica
     por conta do scrollBy({behavior:'smooth'}) em script.js. */
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 calc(50% - 10px);
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid rgba(201, 162, 77, 0.16);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
  border-color: rgba(201, 162, 77, 0.4);
  background: #242021;
  transform: translateY(-3px);
}

/* Setas com resposta imediata ao toque, para o controle acompanhar
   a fluidez do deslize. */
.reviews-nav {
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, opacity 0.25s ease;
}

.reviews-nav:active { transform: translateY(-50%) scale(0.92); }

.reviews-nav:disabled { cursor: default; }
.reviews-nav:disabled:active { transform: translateY(-50%); }

/* Card ainda sem conteúdo real: borda tracejada deixa claro que é reservado. */
.review-card.is-placeholder {
  border-style: dashed;
  border-color: rgba(201, 162, 77, 0.3);
  background: rgba(30, 27, 28, 0.5);
}

.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.review-meta { display: flex; flex-direction: column; line-height: 1.3; }

.review-meta strong { font-size: 0.95rem; color: var(--text-light); font-weight: 600; }

.review-date { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.review-stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 12px; }

.review-card p { font-size: 0.9rem; color: var(--text-muted); }

.review-card.is-placeholder p { font-style: italic; }

/* Avaliação que só tem nota, sem texto escrito. Fica visivelmente mais
   discreta que um comentário real — nunca preencher com texto inventado. */
.review-nocomment { font-style: italic; opacity: 0.6; }

.reviews-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 162, 77, 0.4);
  padding-bottom: 2px;
}

.reviews-link:hover { color: var(--gold-light); border-color: var(--gold-light); }

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid rgba(201, 162, 77, 0.35);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.reviews-nav:hover { background: rgba(201, 162, 77, 0.15); border-color: var(--gold); }

.reviews-nav.prev { left: 0; }
.reviews-nav.next { right: 0; }

/* ===== Final CTA ===== */

.final-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  text-align: center;
}

.final-cta h2 { color: var(--cream); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }

.final-cta p { color: rgba(246,239,228,0.8); max-width: 560px; margin: 0 auto 34px; font-size: 1.05rem; }

/* ===== FAQ ===== */

.faq { padding: 100px 0; background: var(--bg-alt); }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(201,162,77,0.16);
  border-left: 3px solid transparent;
  padding-left: 14px;
  transition: border-left-color 0.25s ease, background 0.25s ease;
}

/* Pergunta aberta recebe a marca vinho na lateral. */
.faq-item.open {
  border-left-color: var(--wine);
  background: rgba(110, 20, 35, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  text-align: left;
  padding: 24px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-question .plus {
  color: var(--gold);
  font-size: 1.4rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question .plus { transform: rotate(45deg); }

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

.faq-answer p { padding: 0 4px 24px; color: var(--text-muted); font-size: 0.94rem; max-width: 700px; }

/* ===== Footer ===== */

.footer { background: #0a090a; padding: 60px 0 26px; border-top: 1px solid rgba(201,162,77,0.14); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }

/* Lockup completo: altura maior para o nome e "Direito de Família" ficarem
   legíveis. Brilho levemente elevado porque a metade inferior do emblema é
   marrom escuro e perderia leitura sobre o fundo quase preto. */
.footer-brand img { height: 92px; width: auto; filter: brightness(1.12); }

.footer-brand .brand-name { color: var(--cream); }

.footer p { color: var(--text-muted); font-size: 0.9rem; max-width: 340px; }

.footer h4 { font-family: var(--font-sans); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 18px; }

.footer ul li { margin-bottom: 12px; font-size: 0.9rem; color: var(--text-muted); }

.footer ul li a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 12px; margin-top: 18px; }

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,77,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: background 0.2s ease;
}

.footer-social a:hover { background: rgba(201,162,77,0.15); }

.footer-bottom {
  border-top: 1px solid rgba(246,239,228,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(246,239,228,0.4);
}

/* ===== Floating WhatsApp ===== */

.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,0.4);
  animation: pulse 2.4s infinite;
}

.wa-float:hover { background: var(--whatsapp-dark); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Mobile menu ===== */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu a { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text-light); }

.mobile-menu-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--text-light); font-size: 2rem; cursor: pointer; }

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* specs/design.md: no mobile a foto vem DEPOIS do texto — headline e CTA primeiro. */
  .hero-photo { margin-top: 44px; justify-content: flex-start; }
  .hero-photo-frame { max-width: 340px; }
  .hero-photo-frame img { height: 420px; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .bridge-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .bridge-visual { display: none; }
  .audience-header { grid-template-columns: 1fr; }
  .service-grid, .service-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo img { height: 420px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-layout { grid-template-columns: 1fr; gap: 34px; }
}

/* Entre ~770px e 1024px os links do menu e a marca quebravam em duas linhas
   e colidiam com o CTA. O menu vira hambúrguer antes de chegar nesse aperto. */
@media (max-width: 992px) {
  .nav-links, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { padding: 130px 0 60px; }

  /* "Ede Marcos Deniz" é curto e cabe no mobile — a regra que escondia o
     nome existia por causa da marca antiga ("Corrêa da Costa & Deniz"),
     que quebrava em duas linhas sob o CTA. Só reduz a escala. */
  .brand img { height: 36px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 0.8rem; letter-spacing: 0.07em; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.1em; }

  /* Botão do header encurta para só "WhatsApp" em telas estreitas. */
  .wa-label-long { display: none; }
  .header-cta { gap: 10px; }
  .header-cta .btn-sm { padding: 11px 16px; }

  /* Badge menor para não cobrir a foto */
  .hero-photo-badge { padding: 12px 16px; max-width: 200px; }
  .hero-photo-badge .num { font-size: 1.45rem; }
  .hero-photo-badge .label { font-size: 0.74rem; }

  /* ---- Centralização das informações no celular ---- */
  .hero-copy { text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-photo { justify-content: center; }
  .hero-photo-badge { left: 50%; transform: translateX(-50%); }

  .cred-item { flex-direction: column; text-align: center; gap: 8px; }

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

  .audience-header { text-align: center; }
  .audience-header p { margin-left: auto; margin-right: auto; }

  .service-card, .why-card, .process-step { text-align: center; }
  .service-card .icon, .why-card .icon { margin-left: auto; margin-right: auto; }

  .about-copy { text-align: center; }
  .about-creds { grid-template-columns: 1fr; justify-items: center; }
  .about-creds li { text-align: left; max-width: 320px; }

  .footer-grid { text-align: center; }
  .footer p { margin-left: auto; margin-right: auto; }
  .footer-brand { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }

  .reviews-intro { text-align: center; }
  .reviews-intro .section-lead { margin-left: auto; margin-right: auto; }
  .reviews-viewport { padding: 0 34px; }
  .review-card { flex: 0 0 100%; }
  .service-grid, .service-grid.cols-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* O posicionamento do badge no mobile fica no bloco de centralização acima
     (left: 50% + translateX). Uma regra "left: 0" aqui vinha depois e, somada
     ao translate, jogava o badge para fora da tela. */
}

/* Telas estreitas: o header não comporta marca + CTA + hambúrguer.
   Abaixo de 560px cai o subtítulo; abaixo de 430px, o nome inteiro —
   o emblema sozinho continua identificando a marca.
   ATENÇÃO: estes dois blocos vêm DEPOIS do bloco de 768px de propósito.
   Já foram inseridos no meio dele uma vez e engoliram todas as regras de
   mobile, que deixaram de valer entre 431px e 768px. */
@media (max-width: 560px) {
  .brand img { height: 33px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 0.72rem; letter-spacing: 0.05em; }
  .brand-sub { display: none; }
}

@media (max-width: 430px) {
  .brand-text { display: none; }
  .brand img { height: 36px; }
}

/* ============================================================
   HERO CLARO — teste (2026-09-18)
   Bloco autocontido: para voltar ao hero escuro, basta apagar
   daqui até o fim do arquivo.

   Regra que orienta as cores aqui: sobre creme o DOURADO cai para
   ~1,9:1 e desaparece. Por isso os acentos do hero claro são VINHO
   (~10:1 sobre creme). O inverso da regra do resto do site, onde o
   fundo é escuro e o dourado é que sustenta contraste.
   ============================================================ */

/* Fundo mais limpo e menos "bege": o degradê antigo terminava em #efe5d6 e
   escurecia justamente a metade de baixo, onde ficam foto e credenciais.
   Agora abre em quase branco e fecha num creme suave. */
.hero {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(110, 20, 35, 0.10), transparent 58%),
    linear-gradient(170deg, #fffdfa 0%, #faf5ec 60%, #f4ece0 100%);
}

/* O overlay original degradava para preto opaco — sobre o fundo claro
   ele criaria uma faixa escura no pé do hero. */
.hero::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(239, 229, 214, 0.55));
}

/* Ganho de PESO, não de contraste — os índices já estavam de 9:1 a 15:1.
   Texto escuro sobre claro lê mais fino que o inverso (não há halação),
   então cada nível sobe um degrau de weight e escurece um pouco. */

/* A coluna de texto cresceu (foto menor), então cabe um corpo maior sem a
   linha quebrar e deixar "MULHER" órfã — que foi o que aconteceu a 0.82rem
   com 0.16em, quando a coluna era mais estreita. */
.hero .eyebrow {
  color: var(--wine);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

/* Filete vinho antes do eyebrow: ancora o início do texto e dá peso
   ao bloco sem aumentar tipografia. */
.hero .eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--wine);
  flex-shrink: 0;
}

/* No mobile o texto do hero é centralizado; o filete à esquerda
   desequilibraria a linha. */
@media (max-width: 768px) {
  .hero .eyebrow { justify-content: center; }
  .hero .eyebrow::before { display: none; }
}

/* Profundidade na headline por sombra projetada, não por ornamento.
   Duas camadas curtas e quentes: a 1px dá o relevo, a 8px assenta a
   palavra sobre o creme sem borrar a leitura. */
.hero-copy h1 {
  color: #14100d;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-shadow:
    0 1px 0 rgba(255, 253, 250, 0.6),
    0 3px 10px rgba(74, 30, 38, 0.14);
}

.hero-copy h1 .accent {
  color: var(--wine);
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255, 253, 250, 0.5),
    0 3px 12px rgba(110, 20, 35, 0.28);
}

.hero-copy p {
  color: #33291f;
  font-weight: 500;
}

.hero-note { color: #3d322a; font-weight: 500; }
.hero-note svg { color: var(--wine); }

/* Sobre creme o botão vazado precisa de borda escura para existir. */
.hero .btn-outline {
  border-color: rgba(110, 20, 35, 0.45);
  color: var(--wine);
}

.hero .btn-outline:hover {
  border-color: var(--wine);
  background: rgba(110, 20, 35, 0.06);
  color: var(--wine);
}

/* ---- Profundidade no hero claro ----
   Sombras em camadas e de tom quente (vinho dessaturado), nunca pretas:
   sombra preta sobre creme acinzenta o fundo e suja a paleta.
   Cada elemento ganha um par contato + difusa, que é o que o olho lê
   como "apoiado sobre" em vez de "colado em". */

.hero-photo-frame {
  border-color: rgba(110, 20, 35, 0.28);
  box-shadow:
    0 2px 4px rgba(74, 30, 38, 0.10),
    0 12px 24px rgba(74, 30, 38, 0.14),
    0 34px 70px rgba(74, 30, 38, 0.22);
}

/* Selo em vinho cheio: fica âncora visual do bloco e mantém o texto
   creme em ~10:1. */
.hero-photo-badge {
  background: var(--wine);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 2px 6px rgba(74, 30, 38, 0.18),
    0 14px 30px rgba(74, 30, 38, 0.30),
    0 28px 56px rgba(74, 30, 38, 0.20);
}

.hero-photo-badge .num { color: var(--cream); }
.hero-photo-badge .label { color: rgba(246, 239, 228, 0.88); }

.hero .cred-grid { border-top-color: rgba(110, 20, 35, 0.22); }
.hero .cred-item span { color: #241c16; font-weight: 600; }

/* Ícone em pastilha branca elevada: dá relevo à fileira de credenciais,
   que sem isso era só texto solto sobre o creme. */
.hero .cred-item svg {
  color: var(--wine);
  box-sizing: content-box;
  padding: 9px;
  border-radius: 50%;
  background: #fffdfa;
  box-shadow:
    0 1px 2px rgba(74, 30, 38, 0.10),
    0 4px 12px rgba(74, 30, 38, 0.13);
}

/* Botão vazado com traço mais grosso: a 1.5px ele quase sumia no creme. */
.hero .btn-outline {
  border-width: 2px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 2px rgba(74, 30, 38, 0.08),
    0 6px 16px rgba(74, 30, 38, 0.12);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 2px 4px rgba(74, 30, 38, 0.10),
    0 10px 24px rgba(74, 30, 38, 0.18);
}

/* CTA principal com sombra verde em camadas, para não ficar chapado
   sobre o fundo claro. */
.hero .btn-whatsapp {
  box-shadow:
    0 2px 4px rgba(20, 100, 55, 0.20),
    0 10px 24px rgba(37, 211, 102, 0.30),
    0 20px 44px rgba(37, 211, 102, 0.18);
}

.hero .btn-whatsapp:hover {
  box-shadow:
    0 2px 6px rgba(20, 100, 55, 0.26),
    0 14px 32px rgba(37, 211, 102, 0.38),
    0 26px 56px rgba(37, 211, 102, 0.22);
}
