/* Rafaella Cazelli · Advocacia Criminal
   Conceito: o caminho de um processo criminal. Topo bordô escuro com a foto em arco,
   o prazo de 24 horas da custódia como peça central e seções claras e calmas em volta.
   Títulos em DM Serif Display, texto em Lato. */

:root {
  --wine: #5a1e2b;
  --wine-d: #461722;
  --wine-dd: #2a0d15;
  --wine-l: #7a3343;
  --cream: #f3ede4;
  --paper: #fbf8f3;
  --white: #ffffff;
  --stone: #6b625a;
  --ink: #1a1a1a;
  --body: #3b3532;
  --rule: #ddd2c3;
  --blush: #ecd9d0;
  --rose: #d6ada2;
  --live: #2f8a57;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --max: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--wine); color: var(--cream); }

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
.hero a:focus-visible, .contact a:focus-visible, .contact button:focus-visible, .nav:not(.is-solid) a:focus-visible { outline-color: var(--cream); }

.wrap {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  background: var(--wine); color: var(--cream); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

[id] { scroll-margin-top: calc(var(--nav-h) - 2px); }

/* ---------- Animações ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translateY(0.55em) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Revelação ao rolar: só some o que ainda está fora da tela quando a página abre */
.pre { opacity: 0; transform: translateY(26px); }
.pre.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.pre-clip { clip-path: inset(0 0 100% 0); }
.pre-clip.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }

.split .w { display: inline-block; white-space: pre; animation: word .8s var(--ease) both; }

/* ---------- Logotipo ---------- */
.lockup { display: inline-flex; align-items: center; gap: 0.75em; font-size: 16px; flex: none; }
.lockup strong { font-family: var(--serif); font-weight: 400; font-size: 2.3em; line-height: 1; letter-spacing: 0.01em; color: var(--wine); transition: color .3s ease; }
.lockup i { width: 1px; align-self: stretch; background: currentColor; opacity: 0.4; color: var(--wine); }
.lockup span { display: grid; font-size: 0.78em; line-height: 1.35; letter-spacing: 0.04em; color: var(--stone); transition: color .3s ease; }
.lockup span b { font-family: var(--serif); font-weight: 400; font-size: 1.45em; line-height: 1.15; letter-spacing: 0; color: var(--ink); transition: color .3s ease; }
.lockup.on-dark strong, .lockup.on-dark i { color: var(--cream); }
.lockup.on-dark span { color: var(--blush); }
.lockup.on-dark span b { color: var(--cream); }
.lockup.small { font-size: 13px; }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--wine); color: var(--cream);
  font-size: 15.5px; font-weight: 700; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .25s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { background: var(--wine-d); box-shadow: 0 10px 24px rgba(58, 17, 26, 0.25); }
.btn.light { background: var(--cream); color: var(--wine); }
.btn.light:hover { background: var(--white); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(243, 237, 228, 0.45); }
.btn.ghost:hover { background: rgba(243, 237, 228, 0.1); box-shadow: inset 0 0 0 1px var(--cream); }
.btn.line { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.btn.line:hover { background: rgba(90, 30, 43, 0.07); }
.btn.small { padding: 10px 18px; font-size: 14px; }

/* ---------- Topo fixo ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, backdrop-filter .35s ease;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--nav-h); position: relative; }
.nav.is-solid { background: rgba(243, 237, 228, 0.94); backdrop-filter: blur(10px); border-bottom-color: var(--rule); color: var(--ink); }
.nav.is-static { position: sticky; }
.nav:not(.is-solid) .lockup strong, .nav:not(.is-solid) .lockup i, .nav:not(.is-solid) .lockup span b { color: var(--cream); }
.nav:not(.is-solid) .lockup span { color: var(--blush); }

.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { position: relative; padding-block: 6px; opacity: .78; transition: opacity .2s ease, color .2s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav.is-solid .nav-links a { color: var(--stone); opacity: 1; }
.nav.is-solid .nav-links a:hover, .nav.is-solid .nav-links a.is-active { color: var(--wine); }

.nav:not(.is-solid) .nav-wa { background: var(--cream); color: var(--wine); }
.nav:not(.is-solid) .nav-wa:hover { background: var(--white); }

.progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: currentColor; transform-origin: left; transform: scaleX(0); opacity: .8;
}
.nav.is-solid .progress { background: var(--wine); }

.menu-btn {
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(243, 237, 228, 0.4); background: transparent;
}
.menu-btn span { width: 18px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.nav.is-solid .menu-btn { border-color: var(--rule); background: var(--paper); color: var(--wine); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Abertura (bordô escuro) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(90% 70% at 78% 18%, rgba(122, 51, 67, 0.9) 0%, rgba(90, 30, 43, 0) 60%),
    radial-gradient(70% 60% at 10% 100%, rgba(42, 13, 21, 0.9) 0%, rgba(42, 13, 21, 0) 70%),
    var(--wine);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  --mx: 0; --my: 0; --sy: 0;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-size: 180px 180px;
}
.hero-mono {
  position: absolute; z-index: -1; right: -3vw; bottom: -9vw;
  font-family: var(--serif); font-size: clamp(260px, 44vw, 720px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 217, 208, 0.1);
  transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 12px + var(--sy) * -60px), 0);
  pointer-events: none; user-select: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: end;
  padding-top: clamp(28px, 5vw, 64px);
}
.hero-text { display: grid; gap: 22px; padding-bottom: clamp(32px, 5vw, 72px); align-self: center; }
.hero-text > :not(h1) { animation: rise .9s var(--ease) both; }
.hero-text > .lead { animation-delay: .45s; }
.hero-text > .btns { animation-delay: .55s; }
.hero-text > .live-pill { animation-delay: .65s; }
.kicker { font-size: 16px; font-weight: 700; color: var(--blush); }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.012em; color: var(--cream); }
.lead { color: var(--blush); font-size: clamp(16.5px, 1.4vw, 19px); max-width: 44ch; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.live-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 14px; color: var(--cream);
  background: rgba(243, 237, 228, 0.08); box-shadow: inset 0 0 0 1px rgba(243, 237, 228, 0.18);
}
.live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #48b27a; flex: none; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #48b27a; animation: pulse 2s ease-out infinite; }

.hero-figure {
  position: relative; margin: 0; align-self: end;
  transform: translate3d(calc(var(--mx) * -10px), calc(var(--sy) * 50px), 0);
  animation: rise 1.1s .2s var(--ease) both;
}
.arch {
  position: absolute; left: 7%; right: 7%; top: 13%; bottom: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(172deg, #f2e2da 0%, #dcb4a9 58%, #c18c80 100%);
  box-shadow: 0 40px 80px rgba(20, 5, 9, 0.35);
  transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 6px), 0);
}
.hero-figure img { position: relative; width: 100%; filter: drop-shadow(0 18px 30px rgba(20, 5, 9, 0.25)); }
.hero-tag {
  position: absolute; left: -6%; bottom: 14%; z-index: 2;
  display: grid; padding: 12px 18px; border-radius: 10px;
  background: rgba(251, 248, 243, 0.96); color: var(--ink); box-shadow: 0 16px 40px rgba(20, 5, 9, 0.3);
  font-size: 13px; line-height: 1.35;
  transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -10px), 0);
}
.hero-tag b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--wine); }
.hero-tag span { color: var(--stone); }

/* Caminho do processo */
.path { position: relative; border-top: 1px solid rgba(236, 217, 208, 0.22); padding-block: 22px 26px; display: grid; gap: 14px; }
.path-title { font-size: 14px; color: var(--blush); }
.path ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.path ol::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: rgba(236, 217, 208, 0.3); }
.path li a { position: relative; display: grid; gap: 10px; padding-right: 8px; font-size: 15px; color: var(--cream); opacity: .85; transition: opacity .2s ease; }
.path li a:hover { opacity: 1; }
.path-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--wine); box-shadow: inset 0 0 0 1.5px var(--blush); transition: background-color .25s ease, transform .25s var(--ease); }
.path li a:hover .path-dot { background: var(--cream); transform: scale(1.25); }
.path li:nth-child(3) .path-dot { background: var(--blush); }

/* ---------- Faixa de crimes ---------- */
.ticker { background: var(--paper); border-bottom: 1px solid var(--rule); overflow: hidden; padding-block: 18px; }
.ticker-track { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; }
.tick-item {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); white-space: nowrap;
  transition: color .2s ease;
}
.tick-item::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.tick-item:hover { color: var(--wine); }

/* ---------- Seções ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.paper { background: var(--paper); }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2, .urgent h2, .about h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; }
.hint { font-size: 16px; color: var(--stone); max-width: 56ch; }

/* ---------- Urgência: 24 horas ---------- */
.urgent { background: var(--paper); padding-block: clamp(64px, 9vw, 120px); }
.urgent-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.dial { position: relative; width: min(100%, 440px); justify-self: center; aspect-ratio: 1; }
.dial-svg { width: 100%; height: 100%; overflow: visible; }
.dial-track { fill: none; stroke: var(--rule); stroke-width: 10; }
.dial-arc { fill: none; stroke: var(--wine); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.tick { stroke: var(--rose); stroke-width: 2; stroke-linecap: round; }
.tick.major { stroke: var(--wine); stroke-width: 3; }
.dial-num { font-family: var(--sans); font-size: 12px; fill: var(--stone); text-anchor: middle; }
.dial-marker { fill: var(--wine); stroke: var(--paper); stroke-width: 4; }
.dial-hand { transform-origin: 150px 150px; transform: rotate(360deg); }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; pointer-events: none; }
.dial-center strong { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; color: var(--wine); }
.dial-center span { font-size: 13.5px; color: var(--stone); max-width: 16ch; margin-inline: auto; line-height: 1.35; }
/* quando o relógio entra na tela, o arco e o ponteiro percorrem as 24 horas */
.js .dial.pre .dial-arc, .js .dial.is-armed .dial-arc { stroke-dashoffset: 100; }
.js .dial.pre .dial-hand, .js .dial.is-armed .dial-hand { transform: rotate(0deg); }
.js .dial.is-in .dial-arc { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s .25s var(--ease); }
.js .dial.is-in .dial-hand { transform: rotate(360deg); transition: transform 2.2s .25s var(--ease); }
.dial.pre { opacity: 1; transform: none; }

.urgent-text { display: grid; gap: 22px; }
.urgent-text > p { font-size: 17px; color: var(--stone); max-width: 58ch; }
.urgent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: u; border-top: 1px solid var(--rule); }
.urgent-list li {
  counter-increment: u; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--body);
}
.urgent-list li::before { content: counter(u); font-family: var(--serif); font-size: 1.6rem; color: var(--wine); line-height: 1; }
.urgent-text .btn { justify-self: start; }

/* ---------- Áreas de atuação (abas) ---------- */
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 2px 4px; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
html:not(.js) .tabs { display: none; }
.tab {
  border: 0; background: none; padding: 14px 16px; cursor: pointer;
  font-size: 16px; color: var(--stone); transition: color .2s ease;
}
.tab:hover { color: var(--wine); }
.tab[aria-selected="true"] { color: var(--wine); font-weight: 700; }
.tab-indicator {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--wine); border-radius: 2px;
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.tab-panel:focus-visible { outline: 2px solid var(--wine); outline-offset: 6px; }
.tab-panel + .tab-panel { margin-top: 32px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.panel-title { font-size: 1.5rem; margin-bottom: 14px; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.n2, .cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.n1 { grid-template-columns: minmax(0, 560px); }
@media (min-width: 1140px) { .cards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; overflow: hidden; display: grid; gap: 10px; align-content: start;
  background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 26px 26px 22px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--wine);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(58, 17, 26, 0.12); border-color: #cdb9a3; }
.card:hover::before { transform: scaleX(1); }
.js .tab-panel:not([hidden]) .card { animation: cardIn .55s var(--ease) both; }
.js .tab-panel:not([hidden]) .card:nth-child(2) { animation-delay: .07s; }
.js .tab-panel:not([hidden]) .card:nth-child(3) { animation-delay: .14s; }
.js .tab-panel:not([hidden]) .card:nth-child(4) { animation-delay: .21s; }
.card h4 { font-size: 1.45rem; line-height: 1.15; color: var(--wine); }
.card p { font-size: 15.5px; color: var(--stone); }
.card-link {
  justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--wine);
}
.card-link span { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.card-link::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width .35s var(--ease); }
.card:hover .card-link::after { width: 30px; }

/* ---------- Como funciona o atendimento ---------- */
.steps-wrap { position: relative; --p: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); position: relative; }
.steps-line { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--rule); }
.steps-fill { position: absolute; inset: 0; background: var(--wine); transform-origin: left; transform: scaleX(var(--p)); }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step-node {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--rule); color: var(--stone);
  font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px;
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease, transform .4s var(--ease);
}
.step.is-on .step-node { background: var(--wine); color: var(--cream); box-shadow: 0 0 0 6px rgba(90, 30, 43, 0.12); transform: scale(1.04); }
.step h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; }
.step p { font-size: 15.5px; color: var(--stone); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #cdb9a3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; transition: transform 1.4s var(--ease); }
.about-photo.is-in img { transform: scale(1.02); }
.about-text { display: grid; gap: 22px; }
.about-text > p { color: var(--stone); font-size: 17.5px; max-width: 54ch; }
.about-text blockquote {
  margin: 0; padding-left: 22px; border-left: 3px solid var(--wine);
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--wine); max-width: 24ch;
}
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.facts div { padding: 16px 16px 0 0; display: grid; gap: 2px; }
.facts dt { font-size: 13.5px; color: var(--stone); }
.facts dd { margin: 0; font-weight: 700; font-size: 15.5px; }

/* ---------- Dúvidas ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq { display: grid; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding-block: 22px; font-weight: 700; font-size: 17.5px; transition: color .2s ease;
}
.faq summary:hover { color: var(--wine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(var(--wine), var(--wine)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--wine), var(--wine)) center / 1.5px 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: transform .35s var(--ease), background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--cream); }
.faq-body { overflow: hidden; }
.faq-body p { padding-bottom: 22px; font-size: 16px; color: var(--stone); max-width: 62ch; }

/* ---------- Contato ---------- */
.contact {
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(80% 90% at 85% 0%, rgba(122, 51, 67, 0.8) 0%, rgba(90, 30, 43, 0) 60%), var(--wine);
}
.contact .wrap { display: grid; gap: clamp(32px, 5vw, 56px); padding-block: clamp(72px, 10vw, 130px); }
.contact h2 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.0; letter-spacing: -0.012em; max-width: 14ch; }
.contact-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card {
  display: grid; gap: 4px; align-content: start; min-width: 0; overflow-wrap: anywhere;
  padding: 24px; border-radius: 16px; background: rgba(243, 237, 228, 0.06); box-shadow: inset 0 0 0 1px rgba(243, 237, 228, 0.16);
  transition: background-color .3s ease, transform .35s var(--ease);
}
.contact-card:hover { background: rgba(243, 237, 228, 0.1); transform: translateY(-3px); }
.contact-card small { font-size: 13.5px; color: var(--blush); }
.contact-card span { font-size: 17px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.act {
  padding: 0 0 2px; border: 0; border-bottom: 1px solid rgba(243, 237, 228, 0.5); background: none;
  color: var(--cream); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: border-color .2s ease;
}
.act:hover { border-bottom-color: var(--cream); }

/* ---------- Rodapé ---------- */
.footer { background: var(--wine-dd); color: var(--blush); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-block: 24px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-meta a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 20px max(var(--gutter), env(safe-area-inset-left, 0px)) calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(243, 237, 228, 0.12);
}
.copyright { font-size: 13px; color: var(--blush); opacity: .75; }
.dev-credit {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blush);
  transition: opacity .2s ease;
}
.dev-credit img { width: 28px; height: 28px; transition: transform .35s var(--ease); }
.dev-credit b { color: #d7ff4f; }
.dev-credit:hover img { transform: rotate(-12deg) scale(1.06); }
.dev-credit:focus-visible { outline-color: #d7ff4f; }
.footer-alert {
  flex: 1 1 100%; margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(243, 237, 228, 0.16);
  font-size: 14px; line-height: 1.5; color: var(--cream);
}
.footer-alert b { color: var(--white); }

/* ---------- WhatsApp flutuante e aviso ---------- */
.float {
  position: fixed; z-index: 35;
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--paper); color: var(--wine); border: 1.5px solid var(--wine);
  font-size: 15px; font-weight: 700; box-shadow: 0 10px 28px rgba(58, 17, 26, 0.28);
  transition: background-color .2s ease, color .2s ease, opacity .3s ease, transform .35s var(--ease);
}
.float:hover { background: var(--wine); color: var(--cream); }
.float svg { width: 20px; height: 20px; }
.float.is-hidden { opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50;
  background: var(--ink); color: var(--cream); padding: 10px 18px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); animation: rise .3s var(--ease) both;
}

/* ---------- Página de texto (privacidade) ---------- */
.doc { background: var(--paper); }
.doc .wrap { max-width: 820px; padding-block: clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 12px; }
.doc p, .doc li { color: var(--body); max-width: 70ch; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.doc a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px var(--gutter) 14px;
    background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--rule); box-shadow: 0 14px 28px rgba(58, 17, 26, 0.1);
  }
  .nav-links.open { display: flex; animation: reveal .25s ease-out; }
  .nav-links a { padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--ink); opacity: 1; }
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.is-active { color: var(--wine); font-weight: 700; }
  .menu-btn { display: inline-flex; }
  .nav .nav-wa { margin-left: auto; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding-bottom: 0; }
  .hero-figure { width: min(100%, 460px); justify-self: center; }
  .hero-tag { left: 0; }
  .urgent-grid, .about-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; }
  .about-photo { aspect-ratio: 16 / 11; }
  .cards, .cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .steps-line { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .steps-fill { transform-origin: top; transform: scaleY(var(--p)); }
  .step { grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; }
  .step-node { grid-row: span 2; margin-bottom: 0; }
  .step h3 { align-self: center; }
  .path ol { grid-template-columns: repeat(6, minmax(110px, 1fr)); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .path ol::-webkit-scrollbar { display: none; }
  .path ol::before { right: auto; width: calc(6 * 110px - 12px); }
}
@media (max-width: 600px) {
  .nav .nav-wa { display: none; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .btns .btn { flex: 1 1 100%; justify-content: center; }
  .contact-cols, .facts, .cards, .cards.n2, .cards.n4, .cards.n1 { grid-template-columns: minmax(0, 1fr); }
  .facts div { padding-right: 0; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
  .tabs { border-bottom: 0; gap: 8px; }
  .tab { padding: 9px 15px; font-size: 14.5px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); }
  .tab[aria-selected="true"] { background: var(--wine); color: var(--cream); box-shadow: none; }
  .tab-indicator { display: none; }
  .card { padding: 22px 20px 20px; }
  .float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .float { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 16px; row-gap: 8px; }
  .ticker-set[aria-hidden="true"] { display: none; }
  .ticker-set { flex-wrap: wrap; justify-content: center; }
}
