/* =========================================================
   AMANDA RODRIGUES ADVOCACIA — Folha de estilos principal
   Identidade: vinho profundo + dourado metálico (detalhe)
   Estrutura:
   01. Tokens e base          07. Deusa da Justiça
   02. Utilitários / botões   08. Diferenciais
   03. Cabeçalho e menu       09. Frase institucional
   04. Abertura (hero)        10. Contato e formulário
   05. Institucional          11. Rodapé e WhatsApp
   06. Áreas de atuação       12. Animações / acessibilidade
   ========================================================= */

/* ---------- 01. Tokens e base ---------- */
:root {
  --burgundy: #4A1425;
  --wine: #641D32;
  --wine-deep: #35101B;
  --gold: #C6A15B;
  --gold-dark: #9C7A3C;
  --gold-light: #D9BC7E;
  --champagne: #E8D8B5;
  --ivory: #F7F3EC;
  --paper: #FBF8F3;
  --dark: #211A1C;
  --muted: #6E5E61;
  --line: rgba(198, 161, 91, .35);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-caps: "Cinzel", "Cormorant Garamond", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --gold-grad: linear-gradient(120deg, #E8D8B5 0%, #C6A15B 35%, #9C7A3C 62%, #D9BC7E 86%, #B08A45 100%);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dark);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--wine); }
::selection { background: var(--wine); color: var(--champagne); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 2000;
  background: var(--gold); color: var(--burgundy); padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- 02. Utilitários e botões ---------- */
.section-pad { padding: clamp(5rem, 11vw, 9rem) 0; }

.eyebrow {
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex; align-items: center; gap: .9rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--burgundy);
  margin-bottom: 1.8rem;
}
.section-title em { font-style: italic; color: var(--wine); font-weight: 400; }

.btn-gold, .btn-ghost, .btn-wine {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.9rem;
  font-family: var(--f-body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  cursor: pointer;
}
.btn-gold { background: var(--gold-grad); color: var(--burgundy); }
.btn-gold::after, .btn-wine::after, .btn-ghost::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out);
}
.btn-gold::after { background: var(--ivory); }
.btn-gold:hover { color: var(--burgundy); }
.btn-gold:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-sm-gold { padding: .72rem 1.25rem; font-size: .68rem; }

.btn-ghost { color: var(--champagne); border-color: rgba(232, 216, 181, .45); background: transparent; }
.btn-ghost::after { background: var(--champagne); }
.btn-ghost:hover { color: var(--burgundy); border-color: var(--champagne); }
.btn-ghost:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-wine { background: var(--burgundy); color: var(--champagne); border: 0; }
.btn-wine::after { background: var(--wine); }
.btn-wine:hover { color: var(--ivory); }
.btn-wine:hover::after { transform: scaleX(1); transform-origin: left; }

/* Espaços reservados para informações a inserir */
[data-placeholder] { color: var(--gold-dark); font-style: italic; }

/* ---------- 03. Cabeçalho e menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), backdrop-filter .5s;
}
.site-header.is-solid {
  background: rgba(74, 20, 37, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(33, 26, 28, .25);
  --header-h: 66px;
}
.site-header nav { width: 100%; }

.brand { display: flex; align-items: center; gap: .85rem; color: var(--champagne); }
.brand:hover { color: var(--ivory); }
.brand-mark { width: 54px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; border-left: 1px solid var(--line); padding-left: .85rem; }
.brand-name { font-family: var(--f-caps); font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; }
.brand-sub { font-size: .6rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }

.nav-links { list-style: none; margin: 0; padding: 0; gap: 2.2rem; }
.nav-links a {
  position: relative; color: rgba(247, 243, 236, .82);
  font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: .4rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold);
  transition: left .4s var(--ease-out), right .4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--champagne); }
.nav-links a:hover::after, .nav-links a.active::after { left: 0; right: 0; }

.menu-toggle {
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--line);
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; padding: 0 11px;
}
.menu-toggle span { display: block; height: 1px; background: var(--champagne); width: 100%; transition: width .35s var(--ease); }
.menu-toggle span:nth-child(2) { width: 70%; }
.menu-toggle span:nth-child(3) { width: 45%; }
.menu-toggle:hover span { width: 100%; }

/* Menu lateral mobile */
.menu-mobile.offcanvas {
  --bs-offcanvas-width: min(88vw, 400px);
  background: radial-gradient(120% 80% at 100% 0%, var(--wine) 0%, var(--burgundy) 45%, var(--wine-deep) 100%);
  color: var(--champagne);
  border-left: 1px solid var(--line) !important;
  transition: transform .6s var(--ease-out);
}
.menu-mobile .offcanvas-header { padding: 1.4rem 1.6rem; border-bottom: 1px solid rgba(198, 161, 91, .18); }
.menu-mobile .brand-mark { width: 60px; height: 40px; }
.menu-close { background: none; border: 1px solid var(--line); color: var(--champagne); width: 44px; height: 44px; }
.menu-mobile .offcanvas-body { padding: 2rem 1.6rem 2rem; }
.menu-mobile-links { list-style: none; padding: 0; margin: 0 0 2rem; }
.menu-mobile-links li {
  border-bottom: 1px solid rgba(198, 161, 91, .14);
  opacity: 0; transform: translateX(24px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.menu-mobile.show .menu-mobile-links li { opacity: 1; transform: none; }
.menu-mobile.show .menu-mobile-links li:nth-child(1) { transition-delay: .12s; }
.menu-mobile.show .menu-mobile-links li:nth-child(2) { transition-delay: .18s; }
.menu-mobile.show .menu-mobile-links li:nth-child(3) { transition-delay: .24s; }
.menu-mobile.show .menu-mobile-links li:nth-child(4) { transition-delay: .30s; }
.menu-mobile.show .menu-mobile-links li:nth-child(5) { transition-delay: .36s; }
.menu-mobile-links a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0;
  font-family: var(--f-display); font-size: 1.85rem; line-height: 1.1; color: var(--ivory);
}
.menu-mobile-links a span { font-family: var(--f-body); font-size: .66rem; letter-spacing: .2em; color: var(--gold); }
.menu-mobile-links a:hover { color: var(--gold-light); }
.menu-mobile-contato { margin-top: 1.4rem; font-size: .84rem; line-height: 1.9; color: rgba(232, 216, 181, .8); }
.menu-mobile-contato a:hover { color: var(--gold-light); }
.offcanvas-backdrop.show { opacity: .65; background: var(--dark); }

/* ---------- 04. Abertura cinematográfica ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  background: var(--burgundy);
  color: var(--ivory);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-arch {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .14;
  transform: translateY(calc(var(--parallax, 0) * 1px));
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(100, 29, 50, .95) 0%, rgba(74, 20, 37, 0) 70%),
    radial-gradient(90% 70% at 50% 110%, rgba(33, 26, 28, .85) 0%, rgba(33, 26, 28, 0) 60%),
    linear-gradient(180deg, rgba(33, 26, 28, .35) 0%, rgba(33, 26, 28, 0) 25%);
}
/* textura de papel/grão (SVG inline, sem requisição extra) */
.hero-grain {
  position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero-mark {
  position: relative; width: clamp(130px, 18vw, 190px); margin: 0 auto 1.6rem;
  opacity: 0; transform: translateY(14px) scale(.96);
  animation: markIn 1.6s var(--ease-out) .2s forwards;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35));
}
.hero-mark svg { display: block; width: 100%; height: auto; aspect-ratio: 210 / 140; }
.hero-name {
  font-family: var(--f-caps); font-weight: 500;
  font-size: clamp(1.15rem, 2.8vw, 1.75rem);
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--champagne); margin: 0 0 .35rem; padding-left: .32em;
  overflow: hidden;
}
.hero-name span { display: inline-block; opacity: 0; transform: translateY(100%); animation: riseIn 1.2s var(--ease-out) 1.2s forwards; }
.hero-sub {
  font-size: .7rem; font-weight: 500; letter-spacing: .62em; padding-left: .62em; text-transform: uppercase; color: var(--gold);
  margin: 0; opacity: 0; animation: fadeIn 1.2s var(--ease) 1.6s forwards;
}
.hero-line {
  display: block; width: 160px; height: 1px; margin: 1.8rem auto 2.2rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); animation: drawLine 1.8s var(--ease-out) 1.9s forwards;
}
.hero-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em;
  color: var(--ivory); margin-bottom: 1.4rem;
  opacity: 0; animation: fadeUp 1.3s var(--ease-out) 2.2s forwards;
}
.hero-title em { color: var(--champagne); }
.hero-lead {
  max-width: 560px; margin: 0 auto 2.4rem;
  font-size: clamp(.95rem, 1.6vw, 1.06rem); font-weight: 300; color: rgba(247, 243, 236, .8);
  opacity: 0; animation: fadeUp 1.3s var(--ease-out) 2.45s forwards;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  opacity: 0; animation: fadeUp 1.3s var(--ease-out) 2.7s forwards;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
  width: 1px; height: 56px; background: rgba(198, 161, 91, .25); overflow: hidden;
  opacity: 0; animation: fadeIn 1s var(--ease) 3.2s forwards;
}
.hero-scroll span { position: absolute; inset: 0; background: var(--gold); animation: scrollCue 2.2s var(--ease) infinite; }

@keyframes markIn { to { opacity: 1; transform: none; } }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drawLine { to { transform: scaleX(1); } }
@keyframes scrollCue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- 05. Institucional ---------- */
.about { background: var(--ivory); position: relative; overflow: hidden; }
.about::before { /* grande monograma em marca-d’água */
  content: ""; position: absolute; right: -6vw; top: 8%;
  width: 46vw; max-width: 640px; aspect-ratio: 210 / 140;
  background: url("../img/branding/monograma-ar.svg") center / contain no-repeat;
  opacity: .05; pointer-events: none;
}
.about-photo { position: relative; margin: 0 1.4rem 1.4rem 0; }
.about-photo picture, .about-photo img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.about-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; filter: saturate(.92) contrast(1.02); }
.about-frame {
  position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold); z-index: 0;
}
.about-photo::after { /* véu vinho sutil sobre a foto */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(74, 20, 37, 0) 60%, rgba(74, 20, 37, .45) 100%);
}
.about-tag {
  position: absolute; z-index: 2; left: -1rem; bottom: 2.2rem;
  display: flex; align-items: center; gap: .8rem;
  background: var(--burgundy); color: var(--champagne);
  padding: .85rem 1.2rem; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(33, 26, 28, .25);
}
.about-tag svg { width: 38px; height: 26px; }

.about-text { color: #4c3f42; font-size: 1.02rem; max-width: 62ch; }
.about-text strong { color: var(--burgundy); font-weight: 600; }

.about-facts { margin: 2.2rem 0 2.6rem; border-top: 1px solid var(--line); }
.about-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-top: .25rem; }
.about-facts dd { margin: 0; font-family: var(--f-display); font-size: 1.2rem; }

.signature { display: flex; flex-direction: column; }
.signature-name { font-family: var(--f-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--wine); }
.signature-name::after { content: ""; display: block; width: 140px; height: 1px; margin: .7rem 0 .5rem; background: var(--gold-grad); }
.signature-role { font-size: .68rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-dark); }

/* ---------- 06. Áreas de atuação (capítulos editoriais) ---------- */
.areas { background: var(--paper); border-top: 1px solid rgba(198, 161, 91, .2); }
.areas-head { max-width: 720px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.areas-intro { color: var(--muted); margin: 0; }

.chapters { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.chapter {
  --c-bg: var(--ivory); --c-fg: var(--dark); --c-accent: var(--burgundy);
  position: relative; background: var(--c-bg); color: var(--c-fg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid rgba(198, 161, 91, .28);
  overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s;
}
.chapter::before { /* linha dourada que se desenha ao passar o mouse */
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.chapter:hover, .chapter.is-open { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(74, 20, 37, .35); border-color: rgba(198, 161, 91, .55); }
.chapter:hover::before, .chapter.is-open::before { transform: scaleX(1); }

.chapter-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.6rem; }
.chapter-num {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 9vw, 6.4rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
  transition: color .6s var(--ease), transform .8s var(--ease-out);
}
.chapter:hover .chapter-num, .chapter.is-open .chapter-num { color: rgba(198, 161, 91, .14); transform: translateX(6px); }
.chapter-icon { width: 56px; height: 56px; opacity: .9; transition: transform .8s var(--ease-out); }
.chapter:hover .chapter-icon { transform: rotate(-6deg) scale(1.08); }

.chapter-label { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .45rem; font-weight: 600; }
.chapter-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1.1; color: var(--c-accent); margin-bottom: .8rem; }
.chapter-desc { color: inherit; opacity: .78; max-width: 46ch; margin-bottom: 1.6rem; }

.chapter-toggle {
  display: inline-flex; align-items: center; gap: .9rem;
  background: none; border: 0; padding: .3rem 0; color: var(--c-accent);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}
.chapter-toggle i { transition: transform .5s var(--ease-out); color: var(--gold-dark); }
.chapter-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.chapter-toggle:hover { color: var(--wine); }

.js .chapter-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.js .chapter-panel > * { min-height: 0; overflow: hidden; }
.js .chapter-panel.is-visible { grid-template-rows: 1fr; }
.chapter-panel ul { list-style: none; padding: 1.6rem 0 0; margin: 0; columns: 1; }
.chapter-panel li {
  position: relative; padding: .55rem 0 .55rem 1.6rem; break-inside: avoid;
  border-bottom: 1px solid rgba(198, 161, 91, .2);
}
.js .chapter-panel li {
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.chapter-panel li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: .8rem; height: 1px; background: var(--gold); }
.js .chapter-panel.is-visible li { opacity: 1; transform: none; }
.js .chapter-panel.is-visible li:nth-child(2) { transition-delay: .05s; }
.js .chapter-panel.is-visible li:nth-child(3) { transition-delay: .1s; }
.js .chapter-panel.is-visible li:nth-child(4) { transition-delay: .15s; }
.js .chapter-panel.is-visible li:nth-child(5) { transition-delay: .2s; }
.chapter-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: .8rem; font-weight: 600; color: var(--c-accent); }
.chapter-cta i { transition: transform .4s var(--ease-out); }
.chapter-cta:hover i { transform: translateX(5px); }

/* variante escura (vinho) para criar ritmo editorial */
.chapter--dark {
  --c-bg: var(--burgundy); --c-fg: var(--champagne); --c-accent: var(--ivory);
  background-image: radial-gradient(120% 90% at 100% 0%, var(--wine) 0%, var(--burgundy) 60%);
}
.chapter--dark .chapter-label { color: var(--gold); }
.chapter--dark .chapter-toggle i { color: var(--gold); }
.chapter--dark .chapter-cta:hover, .chapter--dark .chapter-toggle:hover { color: var(--gold-light); }

/* ---------- 07. Deusa da Justiça ---------- */
.justice {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: radial-gradient(80% 90% at 20% 50%, var(--wine) 0%, var(--burgundy) 55%, var(--wine-deep) 100%);
  color: var(--champagne);
}
.justice::before, .justice::after { /* filetes dourados horizontais */
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.justice::before { top: 2rem; } .justice::after { bottom: 2rem; }
.justice-art { max-width: 300px; margin: 0 auto; }
.justice-svg { width: 100%; height: auto; display: block; overflow: visible; }
.justice-svg .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.justice-art.is-drawn .ln { animation: draw 3.2s var(--ease) forwards; }
.justice-art.is-drawn .ln:nth-child(3n) { animation-delay: .25s; }
.justice-art.is-drawn .ln:nth-child(3n+1) { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.justice-quote { margin: 0; }
.justice-quote p {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.12; color: var(--ivory);
}
.justice-quote em { color: var(--gold-light); }
.justice-rule { display: block; width: 90px; height: 1px; background: var(--gold); margin: 2rem 0 1.2rem; }
.justice-sign { font-family: var(--f-caps); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0; }

/* ---------- 08. Diferenciais ---------- */
.diffs { background: var(--ivory); }
.diffs-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.diffs-head .btn-wine { margin-top: 1rem; }
.diff-list { list-style: none; padding: 0; margin: 0; counter-reset: diff; }
.diff {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 1.6rem; align-items: start;
  padding: 2rem 0; border-top: 1px solid var(--line);
  position: relative;
}
.diff:last-child { border-bottom: 1px solid var(--line); }
.diff-num { grid-column: 1; grid-row: 1; font-family: var(--f-display); font-size: 1rem; color: var(--gold-dark); letter-spacing: .1em; padding-top: .3rem; }
.diff-icon {
  grid-column: 1; grid-row: 2; width: 44px; height: 44px;
  fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .7s var(--ease-out);
}
.diff > div { grid-column: 2; grid-row: 1 / span 2; }
.diff h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; color: var(--burgundy); margin-bottom: .4rem; transition: color .4s, transform .6s var(--ease-out); }
.diff p { color: var(--muted); margin: 0; max-width: 52ch; }
.diff::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold); transition: width .9s var(--ease-out); }
.diff:hover::after { width: 100%; }
.diff:hover h3 { color: var(--wine); transform: translateX(6px); }
.diff:hover .diff-icon { transform: rotate(8deg) scale(1.06); }

/* ---------- 09. Frase institucional ---------- */
.statement {
  background: var(--wine-deep);
  background-image: linear-gradient(180deg, var(--dark) 0%, var(--wine-deep) 40%, var(--burgundy) 100%);
  padding: clamp(6rem, 14vw, 11rem) 0; text-align: center; position: relative; overflow: hidden;
}
.statement::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(180deg, transparent, var(--gold));
}
.statement-text {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem); line-height: 1.12; letter-spacing: -.01em;
  color: var(--ivory); max-width: 1000px; margin: 0 auto;
}
.statement-text em { color: var(--gold-light); }
.statement-text .w { display: inline-block; opacity: .12; transform: translateY(.25em); filter: blur(4px); transition: opacity .9s var(--ease), transform 1s var(--ease-out), filter .9s var(--ease); }
.statement-text.is-in .w { opacity: 1; transform: none; filter: none; }

/* ---------- 10. Contato ---------- */
.contact { background: var(--paper); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 2.4rem; }
.contact-list li { display: flex; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid rgba(198, 161, 91, .25); }
.contact-list i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-dark); font-size: 1rem; }
.contact-list span { display: block; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.contact-list a { color: var(--burgundy); font-weight: 500; line-height: 1.5; }
.contact-list a:hover { color: var(--gold-dark); }

.contact-form {
  background: var(--ivory); padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(198, 161, 91, .35);
  box-shadow: 0 40px 80px -50px rgba(74, 20, 37, .45);
  position: relative;
}
.contact-form::before { content: ""; position: absolute; inset: -1px auto auto -1px; width: 64px; height: 64px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.form-title { font-family: var(--f-display); font-size: 1.8rem; color: var(--burgundy); margin-bottom: 1.6rem; }
.field { position: relative; margin-bottom: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr; column-gap: 1.6rem; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(110, 94, 97, .35); background: transparent;
  padding: 1.35rem 0 .55rem; font: inherit; color: var(--dark); border-radius: 0;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field label {
  position: absolute; left: 0; top: 1.3rem; color: var(--muted); pointer-events: none;
  font-size: .95rem; transition: all .35s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 0; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600;
}
.field-error { display: none; font-size: .76rem; color: #A3263F; margin-top: .3rem; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #A3263F; }
.field.has-error .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: .4rem 0 1.6rem; font-size: .82rem; color: var(--muted); }
.consent .form-check-input { border-radius: 0; border-color: var(--gold-dark); }
.consent .form-check-input:checked { background-color: var(--burgundy); border-color: var(--burgundy); }
.consent .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(198, 161, 91, .3); }
.consent a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.consent.has-error { color: #A3263F; }
.form-status { margin: 1rem 0 0; font-size: .88rem; min-height: 1.4em; }
.form-status.ok { color: #2f6b3a; } .form-status.err { color: #A3263F; }

/* ---------- 11. Rodapé e WhatsApp ---------- */
.site-footer {
  background: var(--burgundy); color: rgba(232, 216, 181, .78);
  padding: 5rem 0 0; position: relative; font-size: .9rem;
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold-grad); }
.footer-mark { width: 96px; height: 64px; margin-bottom: 1.2rem; }
.footer-name { font-family: var(--f-caps); color: var(--champagne); letter-spacing: .14em; text-transform: uppercase; margin: 0; font-size: 1rem; }
.footer-role { font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin: .2rem 0 .8rem; }
.footer-oab { font-size: .82rem; margin: 0; }
.site-footer [data-placeholder] { color: var(--gold-light); }
.footer-title { font-family: var(--f-body); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; line-height: 1.55; }
.footer-links a:hover { color: var(--ivory); }
.footer-social { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: .8rem; border: 1px solid var(--line); color: var(--champagne); transition: all .4s var(--ease); }
.footer-social:hover { background: var(--gold); color: var(--burgundy); border-color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  margin-top: 4rem; padding: 1.6rem 0 2rem; border-top: 1px solid rgba(198, 161, 91, .2);
  font-size: .78rem; color: rgba(232, 216, 181, .6);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold-light); }

.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1020;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.15rem; border-radius: 28px;
  background: var(--burgundy); color: var(--champagne);
  border: 1px solid var(--gold);
  box-shadow: 0 14px 30px -10px rgba(33, 26, 28, .55);
  transform: translateY(120px); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .5s, background .4s, color .4s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float i { font-size: 1.4rem; color: var(--gold-light); transition: color .4s; }
.wa-float-label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.wa-float:hover { background: var(--gold); color: var(--burgundy); }
.wa-float:hover i { color: var(--burgundy); }
.wa-float::before { /* pulso discreto */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--gold);
  animation: pulse 3.2s var(--ease) infinite; pointer-events: none;
}
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18); } }

/* ---------- 12. Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
.js .reveal[data-reveal="left"] { transform: translateX(-36px); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .chapter.reveal.is-in:hover, .js .chapter.reveal.is-in.is-open { transform: translateY(-4px); }

/* ---------- Página interna (política) ---------- */
.page-hero { background: var(--burgundy); color: var(--ivory); padding: calc(var(--header-h) + 4rem) 0 3.5rem; }
.page-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0; }
.legal { padding: 4rem 0 6rem; }
.legal h2 { font-family: var(--f-display); color: var(--burgundy); font-size: 1.7rem; margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: #4c3f42; }
.legal a { color: var(--wine); text-decoration: underline; }

/* ---------- Responsividade (mobile-first → telas maiores) ---------- */
@media (min-width: 576px) {
  .chapter-panel ul { columns: 2; column-gap: 2rem; }
}
@media (min-width: 768px) {
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .chapter--full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 2rem; align-items: start; }
  .chapter--full .chapter-top { flex-direction: column; gap: 1.5rem; margin: 0; }
  .chapter-panel ul { columns: 1; }
  .chapter--full .chapter-panel ul { columns: 2; }
}
@media (min-width: 992px) {
  /* composição assimétrica: 7/5 — 5/7 — largura total */
  .chapters { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
  .chapter--wide { grid-column: 1 / span 7; }
  .chapter--tall { grid-column: 8 / span 5; }
  .chapter--dark, .chapter--notarial { grid-column: 1 / span 5; }
  .chapter:nth-child(4) { grid-column: 6 / span 7; }
  .chapter--wide .chapter-panel ul, .chapter:nth-child(4) .chapter-panel ul { columns: 2; column-gap: 2rem; }
  .chapter--full { grid-template-columns: 1fr 2fr; padding: 3.4rem; }
  .chapter--full .chapter-top { flex-direction: row; align-items: center; gap: 2rem; }
  .chapter--full .chapter-num { font-size: 9rem; }
  .about-photo { margin-right: 0; }
}
@media (min-width: 1400px) {
  .hero-title { font-size: 5rem; }
}
@media (max-width: 991.98px) {
  .diffs-head { position: static; }
}
@media (max-width: 575.98px) {
  .brand-text { display: none; }
  .hero-ctas a { width: 100%; justify-content: center; }
  .about-tag { left: .6rem; }
  .about-facts div { grid-template-columns: 1fr; gap: .1rem; }
  .wa-float-label { display: none; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; animation-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; transform: none; filter: none; }
  .justice-svg .ln { stroke-dashoffset: 0; }
}

/* Margens laterais confortáveis no celular (16px+) e cabeçalho do menu lateral */
@media (max-width: 575.98px) { .container, .container-xl { --bs-gutter-x: 2.25rem; } }
.menu-mobile .offcanvas-header { justify-content: space-between; }


/* ==========================================================================
   Refinamentos de apresentação (orcamento.net)
   ========================================================================== */
/* Formação e trajetória ficam ocultas enquanto o texto não for preenchido (tire data-a-preencher do index.html) */
[data-a-preencher] { display: none !important; }

/* Cartões das áreas: fundo claro com leve sombra, destacando-os do fundo da seção */
.chapter {
  --c-bg: #fff;
  box-shadow: 0 1px 2px rgba(74, 20, 37, .04), 0 22px 44px -30px rgba(74, 20, 37, .32);
}

@media (min-width: 992px) {
  /* Foto da advogada acompanha a leitura do texto, sem deixar um vazio acima dela */
  .about-row > .col-lg-5 { position: sticky; top: calc(var(--header-h) + 2rem); }
  /* Capítulo V: numeral e ícone centralizados na coluna, sem espaço vazio embaixo */
  .chapter--full .chapter-top { align-self: center; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

/* Sem o quadro de registro/formação: espaço entre o texto e a assinatura */
.about .signature { margin-top: 2.4rem; }
