/* ==========================================================================
   Erica Miranda Advocacia e Consultoria — Landing page
   Mobile-first · breakpoints: 768px (tablet) e 1200px (desktop)

   01. Tokens (:root)
   02. Reset & base
   03. Utilitários
   04. Botões
   05. Cursor customizado
   06. Header & navegação
   07. Hero
   08. Faixa (ticker)
   09. Sobre
   10. Áreas de atuação
   11. Formas de atendimento
   12. Como funciona & diferenciais
   13. FAQ
   14. CTA final
   15. Depoimentos
   16. Localização
   17. Footer
   18. WhatsApp flutuante
   19. Conexões entre seções (fio dourado, veios, marca d'água)
   20. Animações de entrada
   21. Movimento reduzido
   ========================================================================== */

/* 01. Tokens
   ========================================================================== */
:root {
  /* Marinho */
  --navy-950: #04101d;
  --navy-900: #061423;
  --navy-800: #0a1f35;
  --navy-700: #0d2a48;

  /* Dourado */
  --gold-600: #b08a45;
  --gold-500: #c9a45c;
  --gold-400: #d8b26a;
  --gold-300: #e7cd96;
  --gold-ink: #7d5f27;        /* dourado para texto sobre fundo claro (AA) */

  /* Creme / mármore claro */
  --cream-50: #fbf8f2;
  --cream-100: #f5efe4;
  --cream-200: #e9e0cf;

  /* Texto */
  --ink-900: #0c1d30;
  --ink-700: #344456;
  --ink-500: #56616f;
  --on-dark: #f3eee4;
  --on-dark-muted: rgba(243, 238, 228, .76);

  /* WhatsApp (tons escurecidos para contraste AA com texto branco) */
  --wa: #15803d;
  --wa-hover: #116a33;
  --wa-float: #1da851;

  /* Tipografia */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --fs-h2: clamp(2rem, 1.35rem + 2.8vw, 3.5rem);             /* 32px → 56px */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-eyebrow: .75rem;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --section-y: clamp(84px, 10vw, 144px);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-pill: 999px;

  /* Sombras suaves */
  --shadow-sm: 0 1px 2px rgba(6, 20, 35, .04), 0 4px 14px rgba(6, 20, 35, .05);
  --shadow-md: 0 18px 44px -18px rgba(6, 20, 35, .22);
  --shadow-lg: 0 34px 80px -30px rgba(6, 20, 35, .38);
  --shadow-gold: 0 18px 40px -16px rgba(201, 164, 92, .55);
  --shadow-wa: 0 16px 34px -14px rgba(21, 128, 61, .65);

  /* Movimento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Foco (ajustado por seção) */
  --focus: var(--gold-ink);
}

/* 02. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--ink-900); text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; text-align: justify; hyphens: auto; }
.eyebrow, .about__signature, .about__role, [class^="preloader"] { text-align: start; hyphens: manual; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }

section[id] { scroll-margin-top: calc(var(--header-h) - 8px); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.header, .hero, .formats, .cta, .footer, .service-card, .faq__item, .location__card { --focus: var(--gold-300); }

::selection { background: var(--gold-300); color: var(--navy-900); }

/* 03. Utilitários
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 10001;
  padding: .75rem 1.1rem;
  background: var(--gold-400);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.icon--lg { width: 1.6em; height: 1.6em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 1.4rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--gold-400); }

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.012em;
}
.section-title em { color: var(--gold-ink); }
.section-title--light { color: var(--on-dark); }
.section-title--light em { color: var(--gold-300); }

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .section-title { max-width: 17ch; }
.section-head__text {
  max-width: 44ch;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(125, 95, 39, .35);
  color: var(--ink-500);
}

@media (min-width: 768px) {
  .section-head {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    gap: 56px;
  }
}

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-900); font-weight: 500; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-weight: 700;
  color: var(--gold-ink);
  border-bottom: 1px solid currentColor;
  transition: gap .35s var(--ease-out);
}
.text-link:hover { gap: 16px; }

/* 04. Botões
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  padding: .9rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
              background-color .3s ease, border-color .3s ease, color .3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn svg:last-child:not(:first-child) { transition: transform .4s var(--ease-out); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }

.btn--gold {
  color: var(--navy-900);
  background: linear-gradient(135deg, #eed9a8 0%, var(--gold-400) 50%, var(--gold-500) 100%);
  box-shadow: 0 10px 24px -14px rgba(201, 164, 92, .6);
}
.btn--gold:hover { box-shadow: var(--shadow-gold); }

.btn--whatsapp {
  color: #fff;
  background-color: var(--wa);
  box-shadow: var(--shadow-wa);
}
.btn--whatsapp:hover { background-color: var(--wa-hover); }

.btn--ghost {
  color: var(--on-dark);
  border: 1px solid rgba(243, 238, 228, .32);
  background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover { border-color: var(--gold-400); background: rgba(216, 178, 106, .08); }

.btn--sm { min-height: 42px; padding: .65rem 1.15rem; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 1.05rem 2rem; font-size: 1.0625rem; }
.btn--lg .icon { width: 1.45em; height: 1.45em; }
.btn--block { width: 100%; }
.btn--icon { width: 48px; padding: 0; }
.btn--icon .icon { width: 20px; height: 20px; }

.btn--xl {
  gap: 1rem;
  min-height: 84px;
  padding: 1.25rem 2.2rem;
  font-size: 1.25rem;
  text-align: left;
}
.btn--xl .icon { width: 34px; height: 34px; }
.btn--xl span { display: flex; flex-direction: column; gap: 2px; }
.btn--xl small { font-size: .875rem; font-weight: 600; opacity: .9; letter-spacing: .02em; }
.btn--xl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(29, 168, 81, .55);
  animation: ring 2.6s var(--ease-out) infinite;
  pointer-events: none;
}

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(29, 168, 81, .5); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(29, 168, 81, 0); }
}

/* 05. Cursor customizado (apenas mouse/trackpad)
   ========================================================================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 10000;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease, width .35s var(--ease-out), height .35s var(--ease-out),
              background-color .35s ease, border-color .35s ease;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-400); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(201, 164, 92, .75);
}
.cursor-ring.is-hover {
  width: 66px; height: 66px;
  background: rgba(216, 178, 106, .12);
  border-color: var(--gold-400);
}
.cursor-ring.is-down { width: 30px; height: 30px; }
html.has-cursor .cursor-dot.is-visible,
html.has-cursor .cursor-ring.is-visible { opacity: 1; }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* 06. Header & navegação
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: height .45s var(--ease-out);
}
/* O blur fica num pseudo-elemento: backdrop-filter no próprio header
   prenderia o menu mobile (position: fixed) dentro da altura do header. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(6, 20, 35, .86);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 rgba(216, 178, 106, .14), 0 18px 40px -28px rgba(0, 0, 0, .7);
  opacity: 0;
  transition: opacity .45s ease;
}
.header.is-scrolled { --header-h: 68px; }
.header.is-scrolled::before { opacity: 1; }

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.header__logo { position: relative; z-index: 2; margin-right: auto; }
.header__logo img { width: clamp(150px, 42vw, 196px); }

.header__cta { display: none; position: relative; z-index: 2; }

/* Botão hambúrguer */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 7px;
  width: 48px; height: 48px;
  margin-right: -10px;
  border-radius: 50%;
}
.nav-toggle__line {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--on-dark);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out);
  transform-origin: center;
}
.nav-toggle__line:last-child { width: 18px; justify-self: end; }
.nav-toggle:hover .nav-toggle__line:last-child { width: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:last-child { width: 26px; transform: translateY(-4.25px) rotate(-45deg); }

/* Menu mobile: revelação circular a partir do botão */
.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  background:
    linear-gradient(160deg, rgba(6, 20, 35, .9), rgba(4, 16, 29, .97)),
    url("../Assets/img/marble-dark-sm.webp") center / cover;
  clip-path: circle(0 at calc(100% - var(--gutter) - 14px) calc(var(--header-h) / 2));
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
}
.nav.is-open {
  clip-path: circle(150% at calc(100% - var(--gutter) - 14px) calc(var(--header-h) / 2));
  visibility: visible;
  transition: clip-path .8s var(--ease-in-out), visibility 0s;
}

.nav__list { display: flex; flex-direction: column; gap: 4px; }
.nav__link {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 7.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--on-dark);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .7s var(--ease-out), color .3s ease;
}
.nav__link[aria-current="true"], .nav__link:hover { color: var(--gold-300); }

.nav__mobile-extra {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(216, 178, 106, .2);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .7s var(--ease-out);
}
.nav__social { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-300); font-weight: 600; }

.nav.is-open .nav__link,
.nav.is-open .nav__mobile-extra { opacity: 1; transform: none; }
.nav.is-open li:nth-child(1) .nav__link { transition-delay: .22s; }
.nav.is-open li:nth-child(2) .nav__link { transition-delay: .28s; }
.nav.is-open li:nth-child(3) .nav__link { transition-delay: .34s; }
.nav.is-open li:nth-child(4) .nav__link { transition-delay: .40s; }
.nav.is-open li:nth-child(5) .nav__link { transition-delay: .46s; }
.nav.is-open li:nth-child(6) .nav__link { transition-delay: .52s; }
.nav.is-open .nav__mobile-extra { transition-delay: .6s; }

html.menu-open { overflow: hidden; }

@media (min-width: 768px) {
  .header__cta { display: inline-flex; }
  .nav { justify-content: flex-end; padding-bottom: 72px; }
}

@media (min-width: 1200px) {
  .header__logo { margin-right: 0; }
  .nav-toggle { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    margin-left: auto;
    padding: 0;
    background: none;
    clip-path: none;
    visibility: visible;
    transition: none;
  }
  .nav__list { flex-direction: row; gap: 34px; }
  .nav__link {
    position: relative;
    padding: 8px 0;
    font-family: var(--font-sans);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--on-dark-muted);
    opacity: 1;
    transform: none;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--gold-400);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease-out);
  }
  .nav__link:hover, .nav__link[aria-current="true"] { color: var(--on-dark); }
  .nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
  .nav__mobile-extra { display: none; }
  .header__cta { margin-left: 36px; }
}

/* 07. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 16px) 0 96px;
  color: var(--on-dark);
  background: var(--navy-900);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 16, 29, .55) 0%, rgba(4, 16, 29, .7) 55%, rgba(4, 16, 29, .92) 100%),
    url("../Assets/img/marble-dark-sm.webp") 30% center / cover;
  transform: scale(1.1);
  transition: transform 2.8s var(--ease-out);
}
html.is-ready .hero__bg { transform: scale(1); }

/* Painel que agrupa texto, foto e sinais de alerta */
.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 178, 106, .24);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(13, 42, 72, .78) 0%, rgba(6, 20, 35, .88) 55%, rgba(4, 16, 29, .94) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(243, 238, 228, .06);
}
.hero-panel::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(24px, 4.5vw, 56px);
  z-index: 3;
  width: 88px; height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
}

.hero-panel__body { display: grid; }

.hero__content { padding: 28px clamp(24px, 4.5vw, 56px) 34px; }

/* Foto da advogada — no celular, card retrato que ocupa a primeira tela
   deixando à vista a frase de especialidade logo abaixo */
.hero-panel__media {
  position: relative;
  order: -1;
  margin: 0;
  aspect-ratio: 4 / 5;
  min-height: 340px;
  max-height: calc(100svh - var(--header-h) - 150px);
  width: 100%;
  overflow: hidden;
  background: var(--navy-800);
}
.hero-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.06);
  transition: transform 2.8s var(--ease-out);
}
html.is-ready .hero-panel__media img { transform: scale(1); }
/* moldura dourada interna */
.hero-panel__media::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(231, 205, 150, .42);
  border-radius: 2px;
  pointer-events: none;
}
.hero-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 16, 29, 0) 45%, rgba(4, 16, 29, .88) 100%);
  pointer-events: none;
}
.hero-panel__plate {
  position: absolute;
  left: 32px; right: 32px; bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 4px;
}
.hero-panel__plate strong {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--on-dark);
}
.hero-panel__plate span {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* H1 = eyebrow + título (os dois são <span> para manter um único H1).
   font-size herdado: o 2em padrão do h1 aumentaria a linha do eyebrow. */
.hero__heading { font-size: inherit; }
.hero__title {
  display: block;
  max-width: 12.5ch;
  margin: 0 0 .45em;
  font-family: var(--font-serif);
  font-size: clamp(2.375rem, 1.25rem + 4vw, 4.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.018em;
  color: var(--on-dark);
}
.hero__title em {
  color: var(--gold-300);
  background: linear-gradient(100deg, #f5e3b5 0%, var(--gold-400) 60%, #c79a4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}

.hero__lead {
  max-width: 50ch;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 238, 228, .1);
  font-size: .8125rem;
  color: var(--on-dark-muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--gold-400); }

/* Faixa "sinais de alerta" (rodapé do painel) */
.hero-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px clamp(24px, 4.5vw, 56px) 30px;
  border-top: 1px solid rgba(216, 178, 106, .18);
  background: rgba(4, 16, 29, .55);
}
.hero-card__kicker {
  margin: 0 0 10px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.hero-card__title {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  line-height: 1.2;
  color: var(--on-dark);
}
.hero-card__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hero-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(243, 238, 228, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  font-size: .8125rem;
  line-height: 1.35;
  color: var(--on-dark);
}
.hero-card__list .icon {
  width: 20px; height: 20px;
  padding: 4px;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--gold-400);
}
.hero-card__link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--gold-300);
  transition: gap .35s var(--ease-out), color .3s ease;
}
.hero-card__link:hover { gap: 16px; color: #fff; }

.hero__scroll { display: none; }

@media (min-width: 768px) {
  .hero__bg {
    background:
      linear-gradient(90deg, rgba(4, 16, 29, .9) 0%, rgba(4, 16, 29, .72) 42%, rgba(4, 16, 29, .2) 78%, rgba(4, 16, 29, .05) 100%),
      url("../Assets/img/marble-dark.webp") center / cover;
  }

  .hero { align-items: center; padding-top: calc(var(--header-h) + 48px); }
  .hero-panel__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
  .hero__content { align-self: center; padding-block: 52px 44px; }
  .hero__actions { justify-content: flex-start; }
  .hero-panel__media {
    order: 0;
    aspect-ratio: auto;
    max-height: none;
    min-height: 420px;
    border-left: 1px solid rgba(216, 178, 106, .2);
  }
  .hero-panel__media img { position: absolute; inset: 0; }
  .hero-panel__media::before { inset: 18px; }

  .hero-card__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card__list li { border-radius: var(--radius-pill); }
}

@media (min-width: 1200px) {
  .hero { padding: calc(var(--header-h) + 36px) 0 104px; }
  .hero-panel__body { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .hero__content { padding: 60px 56px 48px; }

  .hero-card {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 14px 48px;
    align-items: start;
  }
  .hero-card__head { grid-column: 1; grid-row: 1; }
  .hero-card__link { grid-column: 1; grid-row: 2; }
  .hero-card__list { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

  .hero__scroll {
    position: absolute;
    left: var(--gutter);
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
  }
  .hero__scroll::after {
    content: "";
    width: 64px; height: 1px;
    background: linear-gradient(90deg, var(--gold-400) 0 30%, rgba(216, 178, 106, .25) 30%);
    background-size: 200% 100%;
    animation: scrollLine 2.4s var(--ease-in-out) infinite;
  }
}

@keyframes scrollLine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* 08. Faixa (ticker)
   ========================================================================== */
.ticker {
  overflow: hidden;
  padding: 18px 0;
  background: var(--navy-950);
  border-block: 2px solid rgba(216, 178, 106, .16);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  white-space: nowrap;
  color: var(--on-dark);
}
.ticker span::after {
  content: "✦";
  margin-inline: 30px;
  font-size: .7rem;
  font-style: normal;
  color: var(--gold-400);
}

/* Pausa ao passar o mouse (conteúdo em movimento contínuo precisa poder ser pausado) */
.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes ticker { to { transform: translateX(-50%); } }

/* 09. Sobre
   ========================================================================== */
.about { overflow: hidden; background: var(--cream-50); }

.about__marble {
  position: absolute;
  top: 0; left: -30%;
  width: 110%;
  aspect-ratio: 1;
  background: var(--bg, none) center / cover;
  transform: scaleX(-1);
  opacity: .85;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  pointer-events: none;
}

.about__grid { position: relative; display: grid; gap: 72px; align-items: center; }

.about__media {
  position: relative;
  isolation: isolate;
  max-width: 520px;
  margin: 0;
  padding: 28px 0 0 28px;
}
.about__media::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  z-index: -1;
  width: 80%; height: 88%;
  background: var(--navy-800);
}
.about__media::after {
  content: "";
  position: absolute;
  right: -16px; bottom: -16px;
  z-index: -1;
  width: 62%; height: 62%;
  background: var(--cream-200);
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about__badge {
  position: absolute;
  left: 0; bottom: 36px;
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  background: var(--cream-50);
  border-left: 3px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}
.about__badge-label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.about__badge strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-900);
}

.about__content { max-width: 600px; }
.about__content .section-title { margin-bottom: 1.5rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 36px 0;
  border-block: 1px solid var(--cream-200);
}
.facts__item { min-width: 0; padding: 20px 14px 20px 0; }
.facts__item + .facts__item { padding-left: 16px; border-left: 1px solid var(--cream-200); }
/* Item ímpar que sobra no celular ocupa a linha inteira */
.facts__item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  padding-inline: 0;
  border-left: 0;
  text-align: center;
  border-top: 1px solid var(--cream-200);
}
.facts dt {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-ink);
}
.facts dd { margin: 8px 0 0; font-size: .8125rem; line-height: 1.45; color: var(--ink-500); overflow-wrap: break-word; hyphens: auto; }

.about__sign { margin-bottom: 28px; }
.about__signature {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-style: italic;
  line-height: 1.2;
  color: var(--ink-900);
}
.about__role {
  margin: 6px 0 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-500);
}

@media (min-width: 768px) {
  .about__marble { top: auto; bottom: -25%; left: -22%; width: 70%; }
  .about__media { padding: 36px 0 0 36px; }
  .about__badge { left: -12px; }

  .facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .facts__item:last-child:nth-child(odd) { grid-column: auto; padding-inline: 16px 14px; border-left: 1px solid var(--cream-200); border-top: 0; text-align: start; }
  .facts dt { font-size: 1.5rem; }
}

@media (min-width: 1200px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 112px; }
  .about__marble { bottom: -30%; left: -14%; width: 52%; }
}

/* 10. Áreas de atuação
   ========================================================================== */
.services,
.faq {
  background-color: var(--cream-100);
  /* textura carregada sob demanda (--bg); o véu creme suaviza os veios atrás do texto */
  background-image: linear-gradient(rgba(245, 239, 228, .55), rgba(245, 239, 228, .55)), var(--bg, none);
  background-position: center;
  background-size: cover;
}

.services__grid { display: grid; gap: 18px; }

.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 40px 28px 30px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.service-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  z-index: -1;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216, 178, 106, .18), transparent);
  opacity: 0;
  transition: opacity .7s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-card__num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-style: italic;
  color: rgba(216, 178, 106, .75);
}
.service-card__icon {
  width: 50px; height: 50px;
  margin-bottom: 28px;
  color: var(--gold-400);
  transition: transform .6s var(--ease-out);
}
.service-card:hover .service-card__icon { transform: translateY(-3px) scale(1.06); }
.service-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.22;
  color: var(--on-dark);
}
.service-card p {
  flex: 1;
  margin: 0 0 26px;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding-bottom: 6px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--gold-300);
  border-bottom: 1px solid rgba(231, 205, 150, .35);
  transition: gap .35s var(--ease-out), border-color .3s ease;
}
/* Cartão inteiro clicável */
.service-card__link::after { content: ""; position: absolute; inset: 0; }
.service-card:hover .service-card__link { gap: 14px; border-color: var(--gold-300); }

.services__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
}
.services__note p { margin: 0; max-width: 56ch; color: var(--ink-700); }
.services__note strong { font-family: var(--font-serif); font-size: 1.1875rem; font-weight: 500; color: var(--ink-900); }

@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1200px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}

/* 11. Formas de atendimento
   ========================================================================== */
.formats {
  overflow: clip;             /* clip (e não hidden) para não quebrar o sticky */
  color: var(--on-dark);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(22, 55, 92, .55), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.formats__grid { position: relative; display: grid; gap: 56px; }
.formats__mark {
  position: absolute;
  left: -6%;
  bottom: -12%;
  width: clamp(240px, 36vw, 540px);
  height: auto;
  aspect-ratio: 70.3 / 63.2;
  color: var(--gold-400);
  opacity: .05;
  pointer-events: none;
}
.formats__text { max-width: 44ch; margin: 24px 0 32px; color: var(--on-dark-muted); }

.formats__list { border-top: 1px solid rgba(216, 178, 106, .22); }
.format {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(216, 178, 106, .22);
  transition: padding-left .6s var(--ease-out);
}
.format:hover { padding-left: 10px; }
.format__num {
  padding-top: 6px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-400);
}
.format__icon { display: none; width: 48px; height: 48px; color: var(--gold-400); }
.format h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  line-height: 1.2;
  color: var(--on-dark);
}
.format p { max-width: 50ch; margin: 0; color: var(--on-dark-muted); }

@media (min-width: 768px) {
  .format { grid-template-columns: 64px 64px minmax(0, 1fr); gap: 28px; padding: 44px 0; }
  .format__icon { display: block; }
}
@media (min-width: 1200px) {
  .formats__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 112px; align-items: start; }
  .formats__intro { position: sticky; top: 120px; }
}

/* 12. Como funciona & diferenciais
   ========================================================================== */
.steps { background: var(--cream-50); }

.steps__list { display: grid; }
.step {
  position: relative;
  padding: 32px 0 36px;
  border-top: 1px solid rgba(12, 29, 48, .14);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 2px;
  background: var(--gold-500);
  transition: width .8s var(--ease-out);
}
.step:hover::before { width: 100%; }
.step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 2.5rem + 2vw, 4.25rem);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-500);
}
.step h3 {
  margin: 18px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.25;
}
.step p { max-width: 34ch; margin: 0; font-size: .9375rem; color: var(--ink-500); }

@media (min-width: 768px) {
  .steps__list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1200px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .step { padding-right: 16px; }
}

.values {
  display: grid;
  gap: 40px;
  margin-top: clamp(80px, 10vw, 128px);
  padding: clamp(40px, 5vw, 64px);
  background: var(--cream-100);
  border-radius: var(--radius-sm);
}
.values__title {
  max-width: 16ch;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  line-height: 1.15;
}
.values__title em { color: var(--gold-ink); }
.values__list { display: grid; gap: 32px; }
.value__icon { width: 40px; height: 40px; color: var(--gold-ink); }
.value h4 { margin: 16px 0 6px; font-size: 1rem; font-weight: 700; }
.value p { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--ink-500); }

@media (min-width: 768px) {
  .values__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .values { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: center; }
  .values__list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .value { padding: 0 24px; border-left: 1px solid var(--cream-200); }
}

/* 13. FAQ
   ========================================================================== */

.faq__grid { display: grid; gap: 48px; }
.faq__intro p { max-width: 36ch; margin-top: 1.5rem; color: var(--ink-500); }

.faq__list { display: grid; gap: 12px; }
/* cards no azul-escuro do mármore, como os de "Áreas de atuação" */
.faq__item {
  border: 1px solid rgba(216, 178, 106, .14);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
  box-shadow: var(--shadow-sm);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.faq__item:hover, .faq__item[open] { border-color: rgba(216, 178, 106, .4); box-shadow: var(--shadow-md); }
.faq__item summary {
  position: relative;
  padding: 24px 64px 24px 28px;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--on-dark);
  list-style: none;
  cursor: pointer;
  transition: color .3s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover, .faq__item[open] summary { color: var(--gold-300); }
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%; right: 28px;
  width: 16px; height: 1.5px;
  background: var(--gold-400);
  transition: transform .45s var(--ease-out);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__answer p { max-width: 64ch; margin: 0; padding: 0 28px 26px; color: var(--on-dark-muted); }
.faq__answer strong { color: var(--on-dark); }
.faq__item[open] .faq__answer { animation: faqIn .55s var(--ease-out); }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1200px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 112px; align-items: start; }
  .faq__intro { position: sticky; top: 120px; }
}

/* 14. CTA final
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(100px, 12vw, 168px);
  color: var(--on-dark);
  background: var(--navy-900);
}
.cta__bg {
  position: absolute;
  inset: -6% 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(4, 16, 29, .82), rgba(4, 16, 29, .9)),
    var(--bg, linear-gradient(transparent, transparent));
  background-position: center;
  background-size: cover;
  will-change: transform;
}
.cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.cta__grid { display: grid; gap: 44px; align-items: end; }
.cta__title {
  max-width: 14ch;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.3rem + 4.2vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--on-dark);
}
.cta__title em { color: var(--gold-300); }
.cta__text { max-width: 46ch; margin: 28px 0 0; font-size: var(--fs-lead); color: var(--on-dark-muted); }

.cta__action { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta__secondary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: .9375rem;
  color: var(--on-dark-muted);
  transition: color .3s ease;
}
.cta__secondary span { font-weight: 700; color: var(--gold-300); }
.cta__secondary:hover { color: var(--on-dark); }

@media (min-width: 768px) {
  .cta__bg {
    background-image:
      linear-gradient(100deg, rgba(4, 16, 29, .92) 0%, rgba(4, 16, 29, .74) 55%, rgba(4, 16, 29, .45) 100%),
      var(--bg, linear-gradient(transparent, transparent));
  }
}
@media (min-width: 1200px) {
  .cta__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; }
  .cta__action { align-items: stretch; padding-bottom: 8px; }
}

/* 15. Depoimentos
   ========================================================================== */
.reviews { background: var(--cream-50); }

.reviews__google {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .9375rem;
  color: var(--ink-700);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.reviews__google strong { color: var(--ink-900); }
.reviews__google:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.reviews__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reviews__list::-webkit-scrollbar { display: none; }

.review {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 26px;
  border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review__stars { display: flex; gap: 3px; color: #d99a1e; }
.review__stars .icon { width: 18px; height: 18px; }
.review blockquote { flex: 1; margin: 20px 0 28px; }
.review blockquote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-900);
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-200);
  font-size: .8125rem;
  color: var(--ink-500);
}
.review__author strong { display: block; font-size: .9375rem; color: var(--ink-900); }
.review__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gold-300);
  background: var(--navy-700);
}
.review__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review__g { width: 20px; height: 20px; margin-left: auto; }
/* depoimentos curtos ficam melhores alinhados à esquerda do que justificados */
.review blockquote p { text-align: start; }

@media (min-width: 768px) {
  .reviews__google { justify-self: end; }
  .reviews__list { grid-auto-columns: 46%; }
}
@media (min-width: 1200px) {
  .reviews__list {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
}

/* 16. Localização
   ========================================================================== */
.reviews { padding-bottom: clamp(56px, 7vw, 96px); }
.location-section { padding-bottom: var(--section-y); background: var(--cream-50); }

.location {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.location__card {
  padding: clamp(32px, 4vw, 52px);
  color: var(--on-dark);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.location__title {
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1.4rem + .9vw, 2rem);
  line-height: 1.2;
  color: var(--on-dark);
}
.location__list { margin-bottom: 28px; }
.location__list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 238, 228, .1);
  line-height: 1.5;
}
.location__list .icon { margin-top: 3px; color: var(--gold-400); }
.location__list a { transition: color .3s ease; }
.location__list a:hover { color: var(--gold-300); }
.location__list address { font-style: normal; }
.location__list small { color: var(--on-dark-muted); font-size: .8125rem; }

.location__map { position: relative; min-height: 380px; background: var(--navy-800); }
.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.85) sepia(.18) contrast(1.06) brightness(.96);
  transition: filter .8s ease;
}
.location__map:hover iframe { filter: grayscale(0) sepia(0); }
.location__map::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(216, 178, 106, .55);
  pointer-events: none;
}

@media (min-width: 1200px) {
  .location { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .location__map { min-height: 480px; }
}

/* 17. Footer
   ========================================================================== */
.footer {
  position: relative;
  padding-top: clamp(72px, 9vw, 112px);
  color: var(--on-dark-muted);
  background: var(--navy-950);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300) 50%, var(--gold-600));
  opacity: .8;
}

.footer__grid { display: grid; gap: 48px; }
.footer__brand img { width: 210px; }
.footer__brand p { max-width: 36ch; margin: 24px 0 28px; font-size: .9375rem; }

.socials { display: flex; gap: 12px; }
.socials__link {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(216, 178, 106, .38);
  border-radius: 50%;
  color: var(--gold-300);
  transition: transform .45s var(--ease-out), background-color .35s ease, color .35s ease, box-shadow .45s ease;
}
.socials__link .icon { width: 20px; height: 20px; }
.socials__link:hover {
  transform: translateY(-3px);
  color: var(--navy-900);
  background: var(--gold-400);
  box-shadow: var(--shadow-gold);
}

.footer__col h3 {
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer__col li { margin-bottom: 12px; font-size: .9375rem; }
.footer__col a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .3s ease, background-size .45s var(--ease-out);
}
.footer__col a:hover { color: var(--on-dark); background-size: 100% 1px; }

.footer__contact li { display: flex; gap: 12px; line-height: 1.5; }
.footer__contact .icon { margin-top: 3px; color: var(--gold-400); }
.footer__contact a { overflow-wrap: anywhere; }
.footer__contact a[href^="mailto"] { font-size: .875rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 64px;
  padding-block: 28px 104px;
  /* linha alinhada ao conteúdo (não ao padding do container) */
  background: linear-gradient(rgba(243, 238, 228, .1), rgba(243, 238, 228, .1))
              var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: .8125rem;
}
.footer__bottom p { margin: 0; }
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gold-300);
}
.footer__top .icon { transform: rotate(-90deg); transition: transform .4s var(--ease-out); }
.footer__top:hover .icon { transform: rotate(-90deg) translateX(4px); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { padding-bottom: 32px; }
}
@media (min-width: 1200px) {
  .footer__grid { grid-template-columns: 1.4fr .9fr 1.1fr 1.5fr; gap: 48px; }
}

/* 18. WhatsApp flutuante
   ========================================================================== */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-float__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  color: #fff;
  background: var(--wa-float);
  box-shadow: 0 14px 30px -10px rgba(29, 168, 81, .7), 0 4px 10px rgba(6, 20, 35, .18);
  transition: transform .45s var(--ease-out);
}
.wa-float__btn .icon { width: 32px; height: 32px; }
.wa-float__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa-float);
  animation: pulse 2.6s var(--ease-out) infinite;
}
.wa-float:hover .wa-float__btn { transform: scale(1.07); }
.wa-float__label {
  display: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink-900);
  background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .4s ease, transform .5s var(--ease-out);
  pointer-events: none;
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label,
.wa-float.is-peek .wa-float__label { opacity: 1; transform: none; }

@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}

@media (min-width: 768px) {
  .wa-float { right: 28px; bottom: 28px; }
  .wa-float__label { display: block; }
}

/* 19. Conexões entre seções
   Camada única sobre o <main>: um fio dourado na margem esquerda que se
   preenche com o scroll (com nós em cada seção) e veios de mármore na margem
   direita, desenhados ao rolar, atravessando a fronteira entre seções.
   ========================================================================== */
main { position: relative; }

.deco {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

/* Fio dourado */
.rail {
  --rail-line: rgba(201, 164, 92, .38);
  position: absolute;
  top: var(--rail-top, 0px);
  left: calc(max(0px, (100% - var(--container) - var(--gutter) * 2) / 2) + var(--gutter) * .5);
  width: 1px;
  height: var(--rail-h, 0px);
  background: linear-gradient(to bottom, transparent, var(--rail-line) 96px, var(--rail-line) calc(100% - 96px), transparent);
}
.rail__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--gold-300), var(--gold-500));
  transform: scaleY(var(--rail-p, 0));
  transform-origin: top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 96px, #000 calc(100% - 96px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 96px, #000 calc(100% - 96px), transparent);
}
.rail__head {
  position: absolute;
  top: 0; left: 50%;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(216, 178, 106, .16), 0 0 16px rgba(216, 178, 106, .75);
  transform: translateY(var(--rail-y, 0px));
  opacity: var(--rail-head, 0);
  transition: opacity .4s ease;
}

/* Nós: losango no fio + ramo que se liga ao traço do eyebrow */
.rail__node {
  position: absolute;
  top: var(--y, 0px);
  left: 0;
}
.rail__diamond {
  position: absolute;
  top: -5px; left: -4.5px;
  width: 10px; height: 10px;
  border: 1px solid var(--gold-500);
  background: var(--navy-900);
  transform: rotate(45deg);
  transition: background-color .6s ease, box-shadow .6s ease;
}
.rail__diamond::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(201, 164, 92, .45);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .6s ease, transform .8s var(--ease-out);
}
.rail__node.has-branch::after {
  content: "";
  position: absolute;
  top: -.5px; left: 0;
  width: calc(var(--gutter) * .5);
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-out) .1s;
}
.rail__node.is-active .rail__diamond {
  background: var(--gold-400);
  box-shadow: 0 0 14px rgba(216, 178, 106, .65);
}
.rail__node.is-active .rail__diamond::before { opacity: 1; transform: scale(1); }
.rail__node.is-active::after { transform: scaleX(1); }

/* Veios de mármore */
.vein {
  position: absolute;
  top: var(--top, 0px);
  right: 0;
  width: clamp(96px, 14vw, 210px);
  height: auto;
  aspect-ratio: 200 / 520;
  overflow: visible;
  color: var(--gold-500);
}
.vein path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--draw, 0));
}
.vein .vein__echo { stroke-width: .8; opacity: .45; }
.vein circle {
  fill: var(--gold-400);
  opacity: clamp(0, calc((var(--draw, 0) - .75) * 4), 1);
}

@media (max-width: 767px) {
  .vein { opacity: .55; }
  .services__note .btn { margin-inline: auto; }
  .cta__action .btn { align-self: center; }
}

/* 20. Animações de entrada (Intersection Observer)
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--ease-out) var(--delay, 0s), transform 1.1s var(--ease-out) var(--delay, 0s);
}
html.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
html.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
html.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* 21. Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero__bg, .hero-panel__media img { transform: none; }
  /* A faixa continua rodando, só que mais devagar (sobrescreve a regra universal acima) */
  .ticker__track { animation: ticker 90s linear infinite !important; }
}
