/* ============================================================
   Mello & Zanellato Advocacia — Landing Page
   Design system: vinho + dourado champanhe
   Tipografia: Fraunces (serif, títulos) + Inter Tight (corpo)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Cores — fundos vinho */
  --wine: #5C1A2B;
  --wine-deep: #3D0F1C;
  --wine-mid: #4A1422;
  --wine-soft: #6E2235;

  /* Dourado champanhe */
  --gold: #C9A961;
  --gold-light: #DBC089;
  --gold-deep: #A8884A;

  /* Claros / neutros quentes */
  --cream: #F7F2EA;
  --cream-2: #F2ECE2;
  --beige: #EFE7DB;
  --rose: #F7ECE8;
  --surface: #FFFDF8;

  /* Texto */
  --ink: #2C2226;
  --ink-soft: #6B5A5E;
  --ink-mute: #9A8A8E;
  --on-dark: #F4ECEC;
  --on-dark-soft: #C9B5BA;

  /* Bordas */
  --border-light: #E4DACB;
  --border-dark: rgba(201, 169, 97, 0.28);

  /* Tipografia */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 8px;
  --radius-sm: 6px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(44, 12, 22, 0.04), 0 2px 8px rgba(44, 12, 22, 0.06);
  --shadow-md: 0 6px 24px rgba(44, 12, 22, 0.10);
  --shadow-lg: 0 18px 48px rgba(44, 12, 22, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

/* ---------- Ícones ---------- */
.icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon-sm { width: 18px; height: 18px; }
.icon-solid { fill: currentColor; stroke: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.section-light { background: var(--cream); }
.section-beige { background: var(--beige); }
.section-rose  { background: var(--rose); }
.section-dark  { background: linear-gradient(155deg, var(--wine) 0%, var(--wine-deep) 100%); color: var(--on-dark); }

/* Textura pontilhada dourada sobre fundos escuros */
.dot-texture {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201, 169, 97, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
  mask-image: radial-gradient(120% 100% at 70% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 20%, #000 30%, transparent 100%);
}

/* ---------- Tipografia auxiliar ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow-gold { color: var(--gold-deep); }
.wordmark {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.section-title {
  font-size: clamp(1.95rem, 3.4vw, 2.85rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance; /* equilibra as linhas, evita órfãs */
}
.section-title.light { color: var(--on-dark); }
.section-title em { font-style: italic; color: var(--gold); }
.align-left { text-align: left; }
.hero-title { text-wrap: balance; }
.section-sub, .hero-lead, .contact-sub, .office-text, .rights-intro { text-wrap: pretty; }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: 56px; }
.section-sub {
  margin-top: 18px;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.section-sub.align-left { margin-inline: 0; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary { background: var(--gold); color: var(--wine-deep); }
.btn-primary:hover { filter: brightness(0.95); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--border-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-wine { background: var(--wine-deep); color: var(--cream); }
.btn-wine:hover { background: var(--wine); transform: translateY(-1px); }
.btn-wine-solid { background: var(--wine-deep); color: var(--cream); }
.btn-wine-solid:hover { background: var(--wine); }
.btn .icon { width: 20px; height: 20px; position: relative; z-index: 2; }
.full { width: 100%; }

/* CTA — pulse + brilho periódico (guia 9b) */
.cta-pulse { animation: ctaPulse 2.6s ease-in-out infinite; will-change: transform; }
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
.cta-pulse::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: ctaShine 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes ctaShine {
  0%, 58%   { left: -130%; }
  78%, 100% { left: 160%; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding-block: 18px;
}
.site-header.scrolled {
  background: rgba(61, 15, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(201,169,97,0.16);
  padding-block: 12px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 46px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .brand-logo { height: 38px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--on-dark);
  transition: color 0.18s ease;
}
.nav a:hover { color: var(--gold-light); }
.nav .nav-cta {
  border: 1px solid var(--border-dark);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  color: var(--gold-light);
}
.nav .nav-cta:hover { background: var(--gold); color: var(--wine-deep); border-color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(61,15,28,0.98);
  backdrop-filter: blur(10px);
  padding: 12px 24px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 4px; color: var(--on-dark); border-bottom: 1px solid rgba(201,169,97,0.12); font-weight: 500; }
.mobile-nav .nav-cta { color: var(--gold-light); border-bottom: 0; margin-top: 8px; }

/* ============================================================
   D1 — HERO
   ============================================================ */
.hero { padding-top: clamp(130px, 16vh, 180px); padding-bottom: clamp(70px, 9vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* TESTE: foto à esquerda (original: 1.15fr 0.85fr) */
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
/* TESTE: foto à esquerda, frase à direita — remover este bloco para voltar ao original */
.hero-media { order: -1; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-lead {
  font-size: 1.0625rem;
  color: var(--on-dark-soft);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }

/* Stats em box sobre a foto */
.hero-stats {
  position: absolute;
  left: 14px; right: 14px; bottom: 16px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 10px 5px;
  background: linear-gradient(160deg, rgba(61,15,28,0.82), rgba(40,8,18,0.9));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-stat { text-align: center; padding-inline: 4px; }
.hero-stat + .hero-stat { border-left: 1px solid var(--border-dark); }
.hero-stat dt { font-family: var(--serif); font-size: 0.88rem; font-weight: 600; color: var(--gold-light); line-height: 1.12; }
.hero-stat dd { margin: 2px 0 0; font-size: 0.64rem; color: var(--on-dark-soft); line-height: 1.18; }

/* Moldura de foto (placeholder) */
.hero-media { display: flex; justify-content: center; position: relative; width: 100%; max-width: 490px; margin-inline: auto; }
.hero-media .photo-frame { max-width: 100%; } /* remove o teto de 360px da moldura base — deixa a foto preencher a coluna */
/* zoom só na imagem do Dr. dentro da moldura (não mexe na moldura nem no box de stats) */
.photo-clip { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 4px; }
.hero-media .photo-img { transform: scale(1.8); transform-origin: 50% 22%; }
/* degradê suave de baixo pra cima sobre a foto do Dr. */
.hero-media .photo-clip::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(40,8,18,0.82) 0%, rgba(40,8,18,0.38) 26%, rgba(40,8,18,0) 55%);
  pointer-events: none;
}
.photo-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  padding: 10px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.photo-frame::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(160deg, rgba(201,169,97,0.5), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.photo-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(110,34,53,0.55), rgba(61,15,28,0.7));
  color: var(--gold-light);
  border: 1px dashed rgba(201,169,97,0.35);
}
.photo-placeholder span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.photo-placeholder small { font-size: 0.78rem; color: var(--on-dark-soft); }

/* Foto real dentro da moldura */
.photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 4px;
}

/* ============================================================
   D2 — ÁREAS DE ATUAÇÃO
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
.featured-card {
  background: linear-gradient(155deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--on-dark);
  padding: 38px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.fc-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(201, 169, 97, 0.14);
  color: var(--gold-light);
  border: 1px solid var(--border-dark);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.fc-icon .icon { width: 26px; height: 26px; }
.featured-card:hover .fc-icon { background: var(--gold); color: var(--wine-deep); }
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine-deep);
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 4px;
}
.featured-card h3 { font-size: 1.75rem; margin-bottom: 14px; }
.featured-card p { color: var(--on-dark-soft); margin-bottom: 22px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; color: var(--gold-light);
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { gap: 13px; color: var(--gold); }

.divider-label {
  display: flex; align-items: center; gap: 20px;
  text-align: center; margin-bottom: 40px;
}
.divider-label::before, .divider-label::after {
  content: ""; flex: 1; height: 1px; background: var(--border-light);
}
.divider-label span {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.area-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
/* faixa dourada que entra no hover */
.area-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.area-card:hover::before { transform: scaleY(1); }
.area-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.area-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(92, 26, 43, 0.06);
  color: var(--wine);
  border: 1px solid var(--border-light);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.area-icon .icon { width: 24px; height: 24px; }
.area-card:hover .area-icon { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.area-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); opacity: 0.45; }
.area-card h4 { font-size: 1.2rem; margin: 0 0 10px; }
.area-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ============================================================
   D3 — EXEMPLOS
   ============================================================ */
.examples-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.example-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--wine);
  border-radius: var(--radius);
  padding: 36px 38px;
  box-shadow: var(--shadow-sm);
}
.ex-head {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 24px; padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}
.ex-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(92, 26, 43, 0.07);
  color: var(--wine);
  border: 1px solid rgba(92, 26, 43, 0.12);
}
.ex-icon .icon { width: 27px; height: 27px; }
.example-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--wine); margin-bottom: 6px;
}
.ex-head h3 { font-size: 1.3rem; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding-block: 11px;
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--border-light);
}
.check-list li:first-child { border-top: 0; }
.check-ic {
  width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(201, 169, 97, 0.2);
  color: var(--gold-deep);
}
.check-ic .icon { width: 14px; height: 14px; stroke-width: 2.6; }

/* ============================================================
   D4 — COMO FUNCIONA
   ============================================================ */
.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
/* linha conectora entre os passos (aparece nos vãos) */
.steps-grid::before {
  content: "";
  position: absolute; top: 67px; left: 9%; right: 9%;
  border-top: 2px dashed var(--border-light);
  z-index: 0;
}
.step-card {
  position: relative; z-index: 1;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 26px 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-icon {
  position: relative;
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--wine), var(--wine-deep));
  color: var(--gold-light);
  box-shadow: 0 6px 18px rgba(61, 15, 28, 0.22);
}
.step-icon .icon { width: 28px; height: 28px; }
.step-num {
  position: absolute; top: -6px; right: -8px;
  min-width: 26px; height: 26px; padding: 0 5px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: var(--gold); color: var(--wine-deep);
  font-family: var(--serif); font-size: 0.82rem; font-weight: 700;
  border: 2px solid var(--surface);
}
.step-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step-card p { font-size: 0.95rem; color: var(--ink-soft); }
.center-cta { display: flex; justify-content: center; }

/* ============================================================
   D5 — DEPOIMENTOS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 34px 32px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote-mark { font-family: var(--serif); font-size: 3rem; line-height: 0.6; color: var(--gold); margin-bottom: 16px; }
.testimonial-card blockquote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.5;
  flex: 1;
}
.testimonial-card figcaption {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: 2px;
}
.t-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 5px; }
.t-name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.t-loc { font-size: 0.85rem; color: var(--ink-mute); }
.disclaimer {
  margin-top: 40px; text-align: center;
  font-size: 0.82rem; color: var(--ink-mute);
  max-width: 760px; margin-inline: auto;
}

/* ============================================================
   D6 — O ESCRITÓRIO
   ============================================================ */
.office-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
/* texto central alinhado ao meio e centralizado */
.office-content { text-align: center; }
.office-content .align-left { text-align: center; }
.office-text { margin-inline: auto; }
.values-row { justify-content: center; }
.office-media { display: flex; justify-content: center; position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.office-media .photo-frame { border-color: var(--border-light); max-width: 100%; padding: 6px; }
.office-media .photo-img { object-position: 50% 12%; }
.oab-badge {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
  margin: 0;
  padding: 9px 14px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--gold-light);
  background: linear-gradient(160deg, rgba(61,15,28,0.82), rgba(40,8,18,0.88));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md);
}
.office-media .photo-frame::before { background: linear-gradient(160deg, rgba(201,169,97,0.4), transparent 60%); }
/* degradê de baixo pra cima sobre a foto */
.office-media .photo-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background: linear-gradient(to top, rgba(40,8,18,0.92) 0%, rgba(40,8,18,0.5) 24%, rgba(40,8,18,0) 52%);
  pointer-events: none;
  z-index: 1;
}
.office-media .photo-placeholder {
  background: linear-gradient(160deg, #e7ddcc, #d8ccb6);
  color: var(--ink-soft);
  border-color: rgba(168,136,74,0.4);
}
.office-media .photo-placeholder small { color: var(--ink-mute); }
.office-text { margin-top: 22px; color: var(--ink-soft); font-size: 1.0625rem; }
.values-row {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 56px);
  margin: 34px 0 26px;
  padding-block: 24px;
  border-block: 1px solid var(--border-light);
}
.value strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--wine); }
.value span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.oab-line { font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   D7 — DIREITOS + AUTO-AVALIAÇÃO
   ============================================================ */
.rights-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  position: relative; z-index: 1;
}
.reinforce {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-light);
  background: rgba(201,169,97,0.1);
  border-left: 3px solid var(--gold);
  padding: 10px 18px;
  border-radius: 0 6px 6px 0;
  margin: 14px 0 16px;
}
.rights-intro { color: var(--on-dark-soft); margin-bottom: 16px; max-width: 56ch; font-size: 0.95rem; }
.rights-list li {
  position: relative;
  padding-left: 22px;
  padding-block: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--on-dark-soft);
  border-top: 1px solid var(--border-dark);
}
.rights-list li:first-child { border-top: 0; }
.rights-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.rights-list strong { color: var(--on-dark); font-weight: 600; }

.self-check {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-lg);
  position: sticky; top: 96px;
}
.self-check h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--ink); }
.self-check-sub { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 24px; }
.self-check-form { display: flex; flex-direction: column; gap: 4px; }
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  border-top: 1px solid var(--border-light);
}
.check-item:first-of-type { border-top: 0; }
.check-item input {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--gold-deep);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.check-item input:checked { background: var(--wine); border-color: var(--wine); }
.check-item input:checked::after {
  content: ""; position: absolute;
  left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid var(--cream); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.self-check-form .btn { margin-top: 20px; }

/* ============================================================
   D8 — FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
}
.faq-item summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 36px 18px 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--wine); }
.faq-n { font-style: italic; color: var(--gold-deep); flex-shrink: 0; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 4px; top: 16px;
  font-family: var(--sans); font-size: 1.5rem; font-weight: 400;
  color: var(--gold-deep);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 36px 22px 38px;
  color: var(--ink-soft);
  font-size: 1rem;
  animation: faqReveal 0.3s ease;
}
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   D9 — CHAMADA FINAL + CONTATO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* card à esquerda, conteúdo à direita */
  gap: clamp(36px, 5vw, 64px);
  align-items: stretch;
  position: relative; z-index: 1;
}
.location-card { order: -1; } /* card de localização à esquerda */
.contact-content { display: flex; flex-direction: column; justify-content: center; }
.contact-content .wordmark { margin-bottom: 22px; }
.contact-content .section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; line-height: 1.12; }
.contact-sub { color: var(--on-dark-soft); max-width: 46ch; margin-bottom: 36px; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.contact-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--on-dark);
  background: rgba(255,255,255,0.03);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  position: relative; overflow: hidden; isolation: isolate;
}
.contact-btn:hover { background: rgba(201,169,97,0.1); border-color: var(--gold); transform: translateX(3px); }
.contact-btn .icon { width: 22px; height: 22px; }
.contact-btn-primary { background: var(--gold); color: var(--wine-deep); border-color: var(--gold); font-weight: 600; }
.contact-btn-primary:hover { filter: brightness(0.95); background: var(--gold); transform: translateX(0) translateY(-1px); }

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 40px 38px;
  backdrop-filter: blur(4px);
}
.location-card h3 { font-size: 1.4rem; color: var(--on-dark); margin-bottom: 28px; }
.loc-block { margin-bottom: 20px; }
.loc-block strong { display: block; font-family: var(--sans); font-size: 0.95rem; color: var(--gold-light); margin-bottom: 3px; }
.loc-block span { color: var(--on-dark-soft); font-size: 0.95rem; }
.loc-links { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border-dark); }
.loc-links a { display: inline-flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--gold-light); transition: color 0.18s ease; }
.loc-links a .icon { width: 18px; height: 18px; }
.loc-links a:hover { color: var(--gold); }

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer { padding-block: 64px 32px; position: relative; overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  position: relative; z-index: 1;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--on-dark-soft); font-size: 0.92rem; max-width: 38ch; }
.footer-oab { margin-top: 14px !important; color: var(--gold-light) !important; font-size: 0.85rem !important; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--on-dark-soft); transition: color 0.18s ease; }
.footer-col a .icon { color: var(--gold); opacity: 0.85; transition: opacity 0.18s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col a:hover .icon { opacity: 1; }
.footer-bottom { padding-top: 24px; position: relative; z-index: 1; }
.footer-bottom p { font-size: 0.8rem; color: var(--on-dark-soft); opacity: 0.8; }

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  height: 58px;
  display: flex; align-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  text-decoration: none;
  overflow: hidden;
  padding-left: 0;
  transition: padding-left 0.4s ease, box-shadow 0.2s ease;
  animation: floatY 4s ease-in-out infinite;
}
.wf-icon { width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; }
.whatsapp-float .icon { width: 30px; height: 30px; }
.wf-text {
  display: flex; flex-direction: column; justify-content: center;
  max-width: 0; opacity: 0; padding-right: 0;
  overflow: hidden; white-space: nowrap;
  transition: max-width 0.45s ease, opacity 0.3s ease, padding-right 0.45s ease;
}
.wf-text strong { font-size: 0.92rem; font-weight: 600; line-height: 1.15; }
.wf-text small { font-size: 0.72rem; line-height: 1.2; opacity: 0.92; }
/* estado expandido (após rolar 30% — classe via JS) */
.whatsapp-float.expanded {
  padding-left: 22px;
  animation: none; /* pílula estável, sem flutuar */
}
.whatsapp-float.expanded .wf-text { max-width: 240px; opacity: 1; padding-right: 14px; }
.whatsapp-float:hover { box-shadow: 0 10px 30px rgba(37,211,102,0.55); }

/* ============================================================
   BANNER DE COOKIES (LGPD)
   ============================================================ */
.cookie-banner {
  position: fixed; z-index: 95;
  left: 22px; bottom: 22px; max-width: 420px;
  background: rgba(61, 15, 28, 0.97);
  color: var(--on-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-text { font-size: 0.9rem; color: var(--on-dark-soft); line-height: 1.5; margin-bottom: 16px; }
.cookie-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-text a:hover { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-cookie {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  padding: 9px 18px; border-radius: var(--radius-sm);
  cursor: pointer; border: 1px solid transparent;
  transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-cookie-accept { background: var(--gold); color: var(--wine-deep); }
.btn-cookie-accept:hover { filter: brightness(0.95); }
.btn-cookie-ghost { background: transparent; color: var(--on-dark-soft); border-color: var(--border-dark); }
.btn-cookie-ghost:hover { color: var(--on-dark); border-color: var(--gold); }

@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cookie-open .whatsapp-float { bottom: 196px; } /* sobe o botão enquanto o banner está aberto */
}

/* ============================================================
   ANIMAÇÕES — reveal e float
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float { animation: floatY 5.5s ease-in-out infinite; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .rights-grid, .faq-grid, .contact-grid, .office-grid { grid-template-columns: 1fr; }
  .self-check, .faq-intro { position: static; }
  .office-media { order: -1; }
  .office-media--right { order: 1; } /* mobile: foto da Dra. Karina vai depois do texto */
  .location-card { order: 0; } /* mobile: mensagem + botões primeiro, card depois */
  .steps-grid::before { display: none; } /* conector só faz sentido em 4 colunas */
}

@media (max-width: 720px) {
  .section { padding-block: clamp(56px, 12vw, 72px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-bottom: 12px; max-width: 300px; }
  .photo-frame { max-width: 100%; }
  .featured-grid, .examples-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .example-card, .self-check, .location-card, .featured-card { padding-inline: 26px; }
}

/* Mobile: centralizar textos e desligar quebras forçadas de desktop */
@media (max-width: 720px) {
  .br-d { display: none; }

  /* D1 — Hero */
  .hero-content { text-align: center; }
  .hero-content .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  /* D6 — O escritório */
  .office-content,
  .office-content .align-left { text-align: center; }
  .office-text { margin-inline: auto; }
  .values-row { justify-content: center; }

  /* D7 — Direitos (mantém a lista de itens alinhada à esquerda) */
  .rights-info,
  .rights-info .align-left { text-align: center; }
  .rights-intro { margin-inline: auto; }
  .rights-list { text-align: left; }

  /* D8 — FAQ (a sanfona de perguntas segue à esquerda) */
  .faq-intro,
  .faq-intro .align-left,
  .faq-intro .section-sub { text-align: center; }

  /* D9 — Chamada final */
  .contact-content,
  .contact-content .align-left { text-align: center; }
  .contact-sub { margin-inline: auto; }
  .contact-content .contact-btn { justify-content: center; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { padding: 12px 4px; }
  .hero-stat dt { font-size: 0.9rem; }
  .hero-stat dd { font-size: 0.66rem; }
}

/* ============================================================
   ACESSIBILIDADE — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
