/* ===========================================================
   RBS Advocacia e Consultoria — Divórcio Consensual
   Paleta: navy institucional (um hue) + dourado só como hairline.
   Ver DESIGN.md para a direção completa.
   =========================================================== */

:root {
  /* superfícies */
  --canvas:          hsl(210 20% 97%);
  --superficie:      hsl(210 16% 93%);
  --canvas-tom:      hsl(212 18% 89%);
  --canvas-escuro:   hsl(215 42% 11%);
  --canvas-escuro-2: hsl(215 34% 16%);

  /* tinta */
  --tinta:           hsl(215 28% 16%);
  --texto-suave:     hsl(215 12% 40%);
  --texto-inverso:   hsl(210 20% 97%);
  --texto-inverso-suave: hsl(210 16% 74%);

  /* acento */
  --acento:          hsl(215 45% 28%);
  --acento-hover:    hsl(215 50% 20%);
  --acento-secundario: hsl(42 32% 52%);   /* dourado: só hairline/detalhe */

  /* linhas e sombras */
  --hairline:        hsl(215 28% 16% / .12);
  --hairline-forte:  hsl(215 28% 16% / .26);
  --hairline-inversa: hsl(210 20% 97% / .16);
  --sombra:          0 18px 50px hsl(215 42% 11% / .10);
  --sombra-hover:    0 26px 66px hsl(215 42% 11% / .16);

  /* tipografia */
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --text-h1: clamp(2.35rem, 5.4vw, 4.15rem);
  --text-h2: clamp(1.9rem, 3.6vw, 3rem);
  --text-h3: clamp(1.18rem, 1.7vw, 1.4rem);
  --text-body: clamp(1rem, calc(.35vw + .94rem), 1.125rem);
  --text-number: clamp(2.6rem, 6vw, 4.6rem);
  --text-kicker: .75rem;

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --content-gap: clamp(1.5rem, 3vw, 3rem);
  --header-h: 68px;

  /* raios e easing */
  --r-sm: 12px; --r-md: 18px; --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- reset enxuto ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--tinta);
  background: var(--canvas);
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.16; }
em { font-style: italic; }

.envolto { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.pular-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--acento); color: var(--texto-inverso);
  padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s var(--ease);
}
.pular-link:focus { top: 12px; }

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

/* ---------- seções e ritmo ---------- */
.sec { padding-block: var(--section-space); position: relative; }
.sec--claro { background: var(--canvas); }
.sec--tom { background: var(--canvas-tom); }
.sec--escuro { background: var(--canvas-escuro); color: var(--texto-inverso); }

.kicker {
  font-size: var(--text-kicker); text-transform: uppercase; letter-spacing: .14em;
  font-weight: 600; color: var(--acento); margin-bottom: .9rem;
}
.kicker-claro { color: var(--acento-secundario); }

.lead { color: var(--texto-suave); max-width: 56ch; font-size: 1.06rem; }
.sec--escuro .lead { color: var(--texto-inverso-suave); }
.centrado { margin-inline: auto; text-align: center; }

.cabecalho-sec { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.cabecalho-sec .kicker { display: block; }

/* assinatura: hairline dourada sob o título, desenha da esquerda p/ direita */
.titulo-linha { position: relative; padding-bottom: .7rem; }
.titulo-linha::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 68px; height: 3px; border-radius: 2px;
  background: var(--acento-secundario);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s var(--ease) .12s;
}
.cabecalho-sec .titulo-linha, .centrado.titulo-linha { padding-bottom: 1rem; }
.cabecalho-sec .titulo-linha::after { left: 50%; transform: translateX(-50%) scaleX(0); transform-origin: center; }
.titulo-linha.is-in::after,
[data-reveal].is-in .titulo-linha::after,
.is-in.titulo-linha::after { transform: scaleX(1); }
.cabecalho-sec .titulo-linha.is-in::after { transform: translateX(-50%) scaleX(1); }
.titulo-linha-claro { color: var(--texto-inverso); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; min-height: 48px; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primario { background: var(--acento); color: var(--texto-inverso); box-shadow: var(--sombra); }
.btn-primario:hover { background: var(--acento-hover); transform: translateY(-2px); box-shadow: var(--sombra-hover); }
.btn-primario:active { transform: translateY(0); }
.btn-secundario { background: transparent; border-color: var(--hairline-forte); color: var(--tinta); }
.btn-secundario:hover { border-color: var(--acento); color: var(--acento); transform: translateY(-2px); }
.btn-claro { color: var(--texto-inverso); border-color: var(--hairline-inversa); }
.btn-claro:hover { border-color: var(--acento-secundario); color: var(--texto-inverso); background: hsl(210 20% 97% / .06); }
.btn-compacto { padding: 10px 18px; min-height: 42px; }
.btn-grande { padding: 17px 34px; font-size: 1.08rem; }
.ico-zap { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- header ---------- */
#topo {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
#topo.is-scrolled {
  background: hsl(210 20% 97% / .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 6px 24px hsl(215 42% 11% / .07);
}
.header-interno {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.25rem;
}
.marca { display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.marca-sigla {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .04em; color: var(--texto-inverso);
}
#topo.is-scrolled .marca-sigla { color: var(--acento); text-shadow: none; }
.marca-nome {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--texto-inverso-suave);
}
#topo.is-scrolled .marca-nome { color: var(--texto-suave); text-shadow: none; }
/* topo transparente sobre foto clara: sombra garante leitura */
#topo:not(.is-scrolled) .marca-sigla,
#topo:not(.is-scrolled) .marca-nome,
#topo:not(.is-scrolled) .nav a { text-shadow: 0 1px 10px hsl(215 45% 6% / .7); }
.nav { display: flex; gap: 1.6rem; margin-right: 1rem; }
.nav a {
  font-weight: 600; font-size: .95rem; color: var(--texto-inverso);
  position: relative; padding: 6px 0; min-height: 40px; display: inline-flex; align-items: center;
}
#topo.is-scrolled .nav a { color: var(--tinta); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px;
  background: var(--acento-secundario); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

/* ---------- HERO ---------- */
.sec-hero {
  min-height: min(92vh, 760px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-midia { position: absolute; inset: 0; z-index: 0; }
.hero-midia img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  animation: hero-foto 1.5s var(--ease-expo) both;
}
@keyframes hero-foto { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, hsl(215 45% 9% / .92) 0%, hsl(215 45% 10% / .84) 38%, hsl(215 42% 12% / .6) 68%, hsl(215 42% 15% / .42) 100%),
    linear-gradient(0deg, hsl(215 45% 9% / .55) 0%, hsl(215 45% 10% / .3) 45%, hsl(215 42% 12% / .4) 100%);
}
.hero-conteudo { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.hero-conteudo > * { max-width: 40ch; }
#hero-titulo {
  color: var(--texto-inverso); font-size: var(--text-h1);
  margin-bottom: 1.1rem; max-width: 18ch; text-wrap: balance;
  text-shadow: 0 2px 22px hsl(215 45% 6% / .6), 0 1px 4px hsl(215 45% 6% / .4);
}
#hero-titulo em { color: hsl(42 58% 82%); }
.kicker-claro.kicker { color: hsl(42 56% 82%); text-shadow: 0 1px 8px hsl(215 45% 6% / .65); }
.hero-sub { color: hsl(210 24% 95%); font-size: 1.14rem; margin-bottom: 1.7rem; max-width: 46ch; text-shadow: 0 1px 10px hsl(215 45% 6% / .55); }
.grupo-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1rem; }
.hero-micro { font-size: .9rem; color: hsl(210 20% 90%); max-width: 44ch; text-shadow: 0 1px 8px hsl(215 45% 6% / .55); }
.hero-conteudo > * { animation: hero-rise .85s var(--ease) both; }
.hero-conteudo > *:nth-child(1) { animation-delay: .05s; }
.hero-conteudo > *:nth-child(2) { animation-delay: .16s; }
.hero-conteudo > *:nth-child(3) { animation-delay: .28s; }
.hero-conteudo > *:nth-child(4) { animation-delay: .4s; }
.hero-conteudo > *:nth-child(5) { animation-delay: .52s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- TRUST STRIP ---------- */
.sec-confianca { padding-block: clamp(2rem, 4vw, 2.8rem); }
.confianca-lista {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 2rem);
}
.confianca-lista li { display: flex; align-items: center; gap: .8rem; }
.confianca-lista svg {
  width: 30px; height: 30px; flex-shrink: 0; fill: none;
  stroke: var(--acento); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.confianca-lista span { display: flex; flex-direction: column; font-size: .92rem; color: var(--texto-suave); line-height: 1.35; }
.confianca-lista strong { color: var(--tinta); font-size: 1rem; font-weight: 600; }

/* ---------- COMO ATUAMOS ---------- */
.grade-editorial {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.atuamos-texto .lead { margin-bottom: 2rem; }
.pilares { display: grid; gap: 1.4rem; }
.pilares li { display: flex; gap: 1.1rem; align-items: flex-start; }
.pilar-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--acento); min-width: 2.4ch; padding-top: .1rem;
  border-right: 2px solid var(--acento-secundario); padding-right: 1rem;
}
.pilares h3 { font-size: var(--text-h3); margin-bottom: .3rem; }
.pilares p { color: var(--texto-suave); font-size: 1rem; }
.figura-duotone {
  border-radius: var(--r-lg); overflow: hidden; background: var(--acento);
  box-shadow: var(--sombra); position: relative; aspect-ratio: 4 / 3;
}
.figura-duotone img {
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity; opacity: .82;
  filter: contrast(1.05) brightness(1.05);
  transition: transform .8s var(--ease), opacity .6s var(--ease);
}
.atuamos-figura:hover .figura-duotone img { transform: scale(1.04); opacity: .9; }
.figura-legenda { margin-top: .85rem; font-size: .88rem; color: var(--texto-suave); font-style: italic; }

/* ---------- ÁREAS DE ATUAÇÃO ---------- */
.grade-areas {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card-area {
  background: var(--canvas); border-radius: var(--r-md);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--hairline); position: relative; overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.card-area::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--acento-secundario); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.card-area:hover { box-shadow: var(--sombra); border-color: var(--hairline-forte); }
.card-area:hover::before { transform: scaleY(1); }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--superficie);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--acento); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-area h3 { font-size: var(--text-h3); margin-bottom: .5rem; }
.card-area p { color: var(--texto-suave); font-size: 1rem; margin-bottom: 1.2rem; flex-grow: 1; }
.link-card {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600;
  color: var(--acento); font-size: .95rem; min-height: 44px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-card span { transition: transform .2s var(--ease); font-size: 1.2rem; line-height: 1; }
.link-card:hover { color: var(--acento-hover); }
.link-card:hover span { transform: translateX(4px); }
.card-area-cta {
  background: var(--acento); color: var(--texto-inverso);
  justify-content: center; text-align: center; align-items: center; gap: .5rem; border: none;
}
.card-area-cta::before { display: none; }
.card-area-cta h3 { color: var(--texto-inverso); }
.card-area-cta p { color: hsl(210 24% 88%); }
.card-area-cta .btn-primario { background: var(--canvas); color: var(--acento); margin-top: .3rem; }
.card-area-cta .btn-primario:hover { background: var(--texto-inverso); }

/* ---------- COMO FUNCIONA ---------- */
.grade-etapas {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.etapa { position: relative; padding-top: 1rem; }
.etapa-num {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-number);
  color: var(--acento); opacity: .18; line-height: .8; display: block; margin-bottom: -.4rem;
}
.etapa h3 { font-size: var(--text-h3); margin-bottom: .4rem; position: relative; }
.etapa p { color: var(--texto-suave); font-size: 1rem; }
.funciona-cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- SOBRE ---------- */
.sec-sobre { background: var(--canvas-escuro); }
.grade-sobre {
  display: grid; grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.sobre-figura {
  justify-self: center; width: 100%; max-width: 280px;
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--hairline-inversa);
  box-shadow: var(--sombra-hover); position: relative;
}
.sobre-figura::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px hsl(42 32% 52% / .3); pointer-events: none;
}
.sobre-figura img { width: 100%; height: 100%; object-fit: cover; }
.sobre-texto p { color: var(--texto-inverso-suave); margin-bottom: 1.1rem; max-width: 58ch; }
.sobre-texto .btn { margin-top: .6rem; }

/* ---------- LOCALIZAÇÃO E FAQ ---------- */
.grade-local {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.local-dados { display: grid; gap: 1.1rem; margin: 1.6rem 0; }
.local-dados li { display: flex; gap: .85rem; align-items: flex-start; color: var(--texto-suave); }
.local-dados svg { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: var(--acento); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.local-foto { width: 120px; margin-bottom: 1.2rem; }
.local-foto img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--hairline); }
.local-mapa { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--sombra); }
.local-mapa iframe { width: 100%; height: 260px; border: 0; }

.faq-lista { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq-lista details {
  background: var(--superficie); border-radius: var(--r-sm);
  border: 1px solid var(--hairline); overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq-lista details[open] { border-color: var(--acento-secundario); background: var(--canvas); }
.faq-lista summary {
  list-style: none; cursor: pointer; padding: 1rem 1.15rem;
  font-weight: 600; color: var(--tinta); font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px;
}
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; position: relative; transition: transform .3s var(--ease); }
.faq-chevron::before, .faq-chevron::after {
  content: ""; position: absolute; top: 50%; width: 10px; height: 2px; border-radius: 2px; background: var(--acento);
}
.faq-chevron::before { left: 0; transform: translateY(-50%) rotate(45deg); }
.faq-chevron::after { right: 0; transform: translateY(-50%) rotate(-45deg); }
.faq-lista details[open] .faq-chevron { transform: rotate(180deg); }
.faq-corpo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-lista details[open] .faq-corpo { grid-template-rows: 1fr; }
.faq-corpo > p { overflow: hidden; padding: 0 1.15rem; color: var(--texto-suave); font-size: .98rem; }
.faq-lista details[open] .faq-corpo > p { padding-bottom: 1.1rem; }

/* ---------- FECHAMENTO ---------- */
.fechamento-interno { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.fechamento-interno .titulo-linha { max-width: 20ch; }
.fechamento-sub { color: var(--texto-inverso-suave); max-width: 48ch; }

/* ---------- RODAPÉ ---------- */
.rodape { background: var(--canvas-escuro-2); color: var(--texto-inverso-suave); padding-top: clamp(3rem, 6vw, 4.5rem); }
.grade-rodape {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--hairline-inversa);
}
.marca-sigla-claro { color: var(--texto-inverso); font-size: 1.5rem; display: inline-block; margin-bottom: .6rem; }
.rodape-nome { color: var(--texto-inverso); font-weight: 600; margin-bottom: .3rem; }
.rodape-desc { font-size: .92rem; max-width: 34ch; }
.rodape-col h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--texto-inverso); margin-bottom: 1rem; }
.rodape-col li { margin-bottom: .55rem; font-size: .95rem; }
.rodape-col a { transition: color .2s var(--ease); min-height: 40px; display: inline-flex; align-items: center; }
.rodape-col a:hover { color: hsl(42 40% 72%); }
.rodape-base {
  max-width: var(--maxw); margin-inline: auto; padding: 1.5rem var(--gutter) 2rem;
  display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between;
  font-size: .82rem;
}
.rodape-oab { max-width: 62ch; opacity: .82; }

/* ---------- STICKY CTA MOBILE ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: hsl(210 20% 97% / .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline); box-shadow: 0 -6px 24px hsl(215 42% 11% / .1);
  transform: translateY(110%); transition: transform .35s var(--ease); display: none;
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* ---------- ZAP FLOAT DESKTOP ---------- */
.zap-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--acento); color: var(--texto-inverso);
  display: grid; place-items: center; box-shadow: var(--sombra-hover);
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s var(--ease);
}
.zap-float.is-ready { opacity: 1; transform: translateY(0); }
.zap-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.zap-float:hover { background: var(--acento-hover); }
.zap-float svg { width: 30px; height: 30px; }

/* ---------- REVEAL (motion) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ================= RESPONSIVO ================= */
@media (max-width: 980px) {
  .grade-editorial { grid-template-columns: 1fr; }
  .atuamos-figura { order: -1; }
  .grade-sobre { grid-template-columns: 1fr; text-align: center; }
  .sobre-texto .lead, .sobre-texto p { margin-inline: auto; }
  .grade-local { grid-template-columns: 1fr; }
  .grade-rodape { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
  .confianca-lista { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .zap-float { display: none; }
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
  .rodape { padding-bottom: 78px; }
  .sec-hero { align-items: flex-end; min-height: min(88vh, 680px); }
  #hero-titulo { max-width: 15ch; }
  /* no mobile o texto ocupa a largura toda: o scrim precisa ser vertical,
     senao a coluna cai na parte clara do gradiente diagonal */
  .hero-scrim {
    background: linear-gradient(0deg, hsl(215 45% 8% / .9) 0%, hsl(215 45% 10% / .78) 45%, hsl(215 42% 12% / .58) 78%, hsl(215 42% 14% / .5) 100%);
  }
}

@media (max-width: 640px) {
  /* reveals horizontais viram verticais para nunca estourar a viewport */
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(18px); }
  .grade-rodape { grid-template-columns: 1fr; }
  .confianca-lista { grid-template-columns: 1fr; gap: 1.1rem; }
  .btn { width: 100%; }
  .grupo-cta .btn { width: 100%; }
  .header-interno .btn { width: auto; }
  .card-area-cta .btn, .funciona-cta .btn, .sobre-texto .btn, .fechamento-interno .btn { width: 100%; }
  .rodape-base { flex-direction: column; }
}

@media (max-width: 380px) {
  .marca-nome { display: none; }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .titulo-linha::after { transform: scaleX(1); }
  .cabecalho-sec .titulo-linha::after { transform: translateX(-50%) scaleX(1); }
  .hero-midia img, .hero-conteudo > * { animation: none; }
  .zap-float { opacity: 1; transform: none; }
}
