/* ==========================================================================
   AQS Advocacia — VERSÃO WHITE (landing pages de serviço)
   Usada por direito-do-trabalho/index-white.html e direito-previdenciario/index-white.html.
   Substitui o style.css nessas páginas. Cores, tipografia e espaçamentos ficam no :root.
   ========================================================================== */

/* Fontes locais */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/dm-sans-300.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('../fonts/dm-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-display.woff2') format('woff2'); }
/* DM Serif Text: a fonte do h1 do hero no site atual (mesmo tamanho e mesma quebra de linha) */
@font-face { font-family: 'DM Serif Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-text-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-text-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Serif Text'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-text-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Text'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-text-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	/* Paleta (contraste AA conferido para todos os pares de texto × fundo) */
	--tinta: #29241E;          /* texto principal (15:1 no branco) */
	--tinta-suave: #5C5348;    /* texto secundário (6,1:1 na areia) */
	--texto: #25211B;          /* parágrafos */
	--destaque: #7C5A32;       /* 2ª linha dos títulos, links (5,1:1 na areia) */
	--eyebrow: #725331;        /* rótulos em caixa alta (5,7:1 na areia) */
	--caramelo: #B7966F;       /* botão primário (texto escuro: 6,2:1) e detalhes */
	--caramelo-hover: #C5A47E;
	--caramelo-linha: #A78B66; /* sublinhados e linha do eyebrow */
	--escuro: #2C261E;         /* botão secundário */
	--escuro-hover: #44382A;
	--dourado: #8A7153;        /* botões, iguais ao site atual: fundo #8A7153, texto branco (4,6:1), hover #795F40 (6,0:1) */
	--dourado-hover: #795F40;
	--caixa: #F0EFED;
	--areia: #EEE7DD;          /* fundo bege areia */
	--off: #F7F4EF;            /* fundo off-white quente */
	--creme: #FFFDF9;          /* fundo de campos */
	--branco: #FFFFFF;
	--linha: #DED4C6;          /* divisórias */
	--linha-card: #E5DDD2;     /* borda dos cards */
	--linha-foto: #D5C5B0;     /* moldura das fotos */
	--linha-input: #CFC8BC;
	--foco: #89643B;
	--erro: #9A3030;
	--sombra: 0 8px 26px rgba(61, 42, 19, .04);

	/* Tipografia */
	--sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
	--serif-hero: 'DM Serif Text', Georgia, 'Times New Roman', serif;
	--t-xl: clamp(36px, 3.9vw, 56px);  /* h1 e títulos de abertura */
	--t-l: clamp(30px, 3.1vw, 44px);   /* h2 */
	--t-s: clamp(24px, 2.2vw, 32px);   /* h2 dos cards de CTA */

	/* Medidas */
	--container: 1120px;
	--estreito: 860px;         /* seções de texto */
	--gutter: 32px;
	--secao: 112px;
	--raio: 8px;
	--raio-card: 10px;
}

/* Scroll customizado — template scroll-selecao.md (cor: --dourado #8A7153) */
:root {
	--sbw: 8px;
	--sbc: var(--dourado);
}
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; }
#sb {
	position: fixed;
	top: 0;
	right: 2px;
	width: var(--sbw);
	height: 100vh;
	pointer-events: none;
	z-index: 99999;
}
#sb i {
	position: absolute;
	right: 0;
	width: 100%;
	border-radius: 999px;
	background: var(--sbc);
	opacity: 0;
	transition: opacity .35s ease;
}
html.scrolling #sb i { opacity: 1; }
@media (max-width: 1024px) { #sb { display: none; } }

/* Seleção de texto */
::selection      { color: #fff; background-color: var(--dourado); }
::-moz-selection { color: #fff; background-color: var(--dourado); }
@media (max-width: 1024px) { :root { --secao: 88px; } }
@media (max-width: 767px)  { :root { --secao: 64px; --gutter: 20px; } }

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--tinta); background: var(--branco); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
[id] { scroll-margin-top: 100px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eb-curto { display: none; }
@media (max-width: 767px) { /* eyebrow do FAQ: "FAQ" no celular */
	.eb-curto { display: inline; }
	.eb-longo { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.hp { position: absolute; left: -9999px; }

/* Títulos: serifa de alto contraste, trecho final na cor de destaque */
.titulo-xl, .titulo-l, .titulo-s { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; color: var(--tinta); text-wrap: balance; }
.titulo-xl { font-size: var(--t-xl); line-height: 1.08; }
.titulo-l  { font-size: var(--t-l); line-height: 1.12; }
.titulo-s  { font-size: var(--t-s); line-height: 1.18; }
.titulo-xl em, .titulo-l em, .titulo-s em, .titulo-etapas span { font-style: normal; color: var(--destaque); }

/* Eyebrow: rótulo pequeno em caixa alta acima dos títulos */
.eyebrow { margin-bottom: 16px; font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow-linha { display: flex; align-items: center; gap: 14px; }
.eyebrow-linha::before { content: ''; width: 28px; height: 1px; background: var(--caramelo-linha); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 56px; padding: 16px 26px; font-family: var(--sans); font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--branco); background: var(--dourado); border: 0; border-radius: 6px; box-shadow: none; cursor: pointer; text-align: center; transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
/* Setas finas: o caractere →/↗ do HTML fica invisível e um traço em SVG (máscara na cor do texto) toma o lugar */
.btn .seta { display: inline-block; flex-shrink: 0; width: 22px; height: 22px; font-size: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
/* Hover único para todos os botões: a cor do site atual (#795F40, texto branco), sobe 2px, sem sombra */
.btn:hover { color: var(--branco) !important; background: var(--dourado-hover) !important; border-color: var(--dourado-hover) !important; transform: translateY(-2px); box-shadow: none; }
.btn:hover .seta { transform: translateX(3px); }
.btn:active { transform: none; }

/* Botão + nota ("Atendimento online e presencial") */
.acao { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.acao-nota { font-size: 14px; line-height: 1.1; color: var(--texto); }

/* ==========================================================================
   TOPO — branco, fino, fixo
   ========================================================================== */
.topo { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #E7E1D8; transition: border-color var(--mf-tempo) ease;
	/* Menu fixo com blur (snippet menufixo.css): ajustes rápidos */
	--mf-fundo: rgba(255, 255, 255, .72);
	--mf-fundo-fallback: rgba(255, 255, 255, .88);
	--mf-blur: 14px;
	--mf-saturacao: 160%;
	--mf-sombra: 0 8px 28px rgba(0, 0, 0, .08);
	--mf-tempo: .35s;
}
/* O fundo (sólido no topo, translúcido com desfoque ao rolar) fica num ::before, e não no próprio .topo:
   backdrop-filter no .topo prenderia o menu mobile (position: fixed) dentro do header. */
.topo::before { content: ''; position: absolute; inset: 0; z-index: -1; background-color: var(--branco); pointer-events: none;
	transition: background-color var(--mf-tempo) ease, box-shadow var(--mf-tempo) ease, -webkit-backdrop-filter var(--mf-tempo) ease, backdrop-filter var(--mf-tempo) ease; }
.topo.header-reduzido { border-bottom-color: transparent; }
/* Ao rolar, o menu vira uma barra flutuante: 6px do topo, 10px mais estreita que o container, cantos arredondados, mais baixa.
   A margem de baixo compensa a altura que sai (85px no total), para o conteúdo não pular. */
.topo { --mf-largura: calc(min(var(--container), 100% - var(--gutter) * 2) - 10px); --mf-altura: 64px; }
.topo-inner { transition: min-height var(--mf-tempo) ease, width var(--mf-tempo) ease; }
.topo::before { transition: background-color var(--mf-tempo) ease, box-shadow var(--mf-tempo) ease, -webkit-backdrop-filter var(--mf-tempo) ease, backdrop-filter var(--mf-tempo) ease, top var(--mf-tempo) ease, left var(--mf-tempo) ease, right var(--mf-tempo) ease, border-radius var(--mf-tempo) ease; }
.topo.header-reduzido { padding-top: 6px; margin-bottom: 14px; }
.topo.header-reduzido::before { top: 6px; left: calc((100% - var(--mf-largura)) / 2); right: calc((100% - var(--mf-largura)) / 2); border-radius: 14px; }
.topo.header-reduzido .topo-inner { width: calc(var(--mf-largura) - 40px); min-height: var(--mf-altura); }
@media (max-width: 767px) { .topo.header-reduzido { margin-bottom: 4px; } .topo.header-reduzido .topo-inner { width: calc(var(--mf-largura) - 24px); } } /* no celular o topo tem 75px */
.topo.header-reduzido::before { background-color: var(--mf-fundo); -webkit-backdrop-filter: blur(var(--mf-blur)) saturate(var(--mf-saturacao)); backdrop-filter: blur(var(--mf-blur)) saturate(var(--mf-saturacao)); box-shadow: var(--mf-sombra); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.topo.header-reduzido::before { background-color: var(--mf-fundo-fallback); }
}
.topo-inner { width: min(calc(var(--container) + 160px), calc(100% - var(--gutter) * 2)); /* 80px além do container de cada lado (o hero fica na linha do container) */ min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topo-logo { display: block; flex-shrink: 0; }
.topo-logo img { width: 186px; }
.topo-nav { margin-left: auto; }
.topo-nav .menu { display: flex; gap: 6px; }
.topo-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; font-weight: 500; color: var(--tinta); transition: color .2s; }
.topo-nav a:hover { color: var(--destaque); }
/* Linha dourada que se preenche da esquerda para a direita no hover (só no menu do desktop) */
@media (min-width: 1025px) {
	/* Menu centralizado na página; logo à esquerda e Contato à direita continuam onde estão */
	.topo-inner { position: relative; }
	.topo-nav { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
	.topo-nav a { position: relative; }
	.topo-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 9px; height: 1px; background: var(--dourado); transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
	.topo-nav a:hover::after, .topo-nav a:focus-visible::after { transform: scaleX(1); }
}
.topo-nav li:last-child { display: none; } /* "Contato" do menu: só no mobile (no desktop há o botão) */
.btn-claro.topo-contato { min-height: 44px; padding: 10px 18px; gap: 14px; font-size: 14px; font-weight: 500; color: var(--branco); background: var(--dourado); border: 1px solid var(--dourado); border-radius: 5px; box-shadow: none; }
.btn-claro.topo-contato .seta { width: 16px; height: 16px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5L17 7M8.5 7H17v8.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5L17 7M8.5 7H17v8.5'/%3E%3C/svg%3E"); }
.topo-menu { display: none; min-width: 44px; min-height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.topo-menu .ico-fechar { display: none; }
@media (max-width: 1024px) {
	.topo-inner { min-height: 74px; }
	.topo-logo { position: relative; z-index: 2; }
	.topo-logo img { width: 158px; }
	.topo-contato { display: none !important; }
	.topo-menu { display: grid; place-items: center; position: relative; z-index: 2; margin-right: -10px; } /* o ícone encosta na margem, como o logo do outro lado (o botão tem 10px de respiro) */
	.topo-nav { position: fixed; inset: 0; margin: 0; background: var(--branco); padding: 110px var(--gutter) 48px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; }
	.topo-nav .menu { flex-direction: column; gap: 0; max-width: 520px; margin: 0 auto; }
	.topo-nav li { border-bottom: 1px solid var(--linha); }
	.topo-nav a { display: flex; min-height: 60px; padding: 0; font-family: var(--serif); font-size: 26px; font-weight: 400; }
	.topo-nav li:last-child { display: block; }
	.topo.is-aberto .topo-nav { opacity: 1; visibility: visible; }
	.topo.is-aberto .ico-abrir { display: none; }
	.topo.is-aberto .ico-fechar { display: block; }
}

/* ==========================================================================
   HERO — bege areia, texto à esquerda, foto à direita
   ========================================================================== */
.s-hero { background: var(--areia); overflow: hidden; }
/* Foto no mesmo tamanho do site atual (611 × 685 px), alinhada à direita da grade */
.hero-grade { display: grid; grid-template-columns: minmax(0, 1fr) min(611px, 48%); align-items: center; gap: 48px; padding-top: 70px; padding-bottom: 80px; }
.s-hero .titulo-xl { position: relative; z-index: 1; width: 678px; max-width: none; font-family: var(--serif-hero); font-size: 64px; line-height: 1; letter-spacing: .01em; text-wrap: wrap; }
.s-hero .titulo-xl em { font-style: italic; }
@media (min-width: 1025px) { .s-hero .titulo-xl { width: auto; white-space: nowrap; } } /* desktop: as linhas são as das quebras forçadas (.quebra-desk) */
.s-hero-texto { max-width: 520px; margin: 24px 0 34px; font-size: 16px; line-height: 1.4; color: #3b352d; }
.hero-foto img { width: 100%; aspect-ratio: 609 / 684; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 50px rgba(61, 42, 19, .12); }
@media (min-width: 1321px) {
	.hero-grade { grid-template-columns: minmax(0, 1fr) 611px; } /* foto com 611px, sem passar da grade: alinha com o botão Contato */
}
@media (max-width: 1024px) {
	.hero-grade { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
	.s-hero .titulo-xl { width: auto; max-width: 557px; }
	.quebra-desk { display: none; } /* a quebra forçada da headline vale só no desktop */
	.hero-foto { max-width: none; } /* largura toda da grade, alinhada ao menu */
	/* No tablet e no celular a foto fica mais baixa (horizontal), mostrando o logo da parede e as poltronas */
	.hero-foto img { aspect-ratio: 731 / 470; object-position: 50% 24%; }
}
@media (max-width: 767px) {
	.hero-grade { gap: 36px; padding-top: 44px; padding-bottom: 48px; }
	.s-hero .titulo-xl { max-width: 260px; font-size: 40px; }
	.s-hero-texto { margin: 18px 0 26px; font-size: 16px; }
	.acao-hero .btn { width: 100%; }
	.acao-hero .acao-nota br { display: none; }
	.hero-foto img { aspect-ratio: 6 / 5; border-radius: 10px; } /* celular: foto um pouco mais alta */
}

/* Entrada do hero: cada elemento sobe e aparece, um depois do outro (só CSS; desligado com prefers-reduced-motion) */
/* opacity .01 (e não 0) no início: visualmente igual, mas o navegador já conta o elemento como pintado (LCP no PageSpeed) */
@keyframes entra-sobe { from { opacity: .01; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes entra-foto { from { opacity: .01; transform: translateX(32px) scale(.98); } to { opacity: 1; transform: none; } }
.hero-texto > * { animation: entra-sobe .8s cubic-bezier(.22, .61, .36, 1) both; }
.hero-texto > .eyebrow { animation-delay: .1s; }
.hero-texto > .titulo-xl { animation-delay: .25s; }
.hero-texto > .s-hero-texto { animation-delay: .45s; }
.hero-texto > .acao { animation-delay: .6s; }
.hero-foto { animation: entra-foto 1.1s cubic-bezier(.22, .61, .36, 1) .35s both; }
@media (max-width: 1024px) { .hero-foto { animation-name: entra-sobe; animation-delay: .4s; } }
/* Mesma entrada nas demais seções, disparada na rolagem pelo white.js (a classe .js-revela só existe com JS) */
.js-revela .revela { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1); transition-delay: var(--atraso, 0s); }
.js-revela .revela.visivel { opacity: 1; transform: none; }

/* ==========================================================================
   SOLUÇÕES (lista numerada) — off-white
   ========================================================================== */
.s-solucoes { padding: var(--secao) 0 calc(var(--secao) * .7); background: var(--off); }
.s-solucoes .titulo-l { max-width: 780px; }
.solucoes { margin-top: 64px; }
.solucao { position: relative; display: flex; gap: 72px; padding: 40px 0; border-top: 1px solid var(--linha); }
.solucao:last-child { border-bottom: 1px solid var(--linha); }
.solucao::before { content: ''; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--destaque); }
.numero { flex-shrink: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--destaque); }
.solucao .numero { width: 36px; }
.solucao-corpo { flex: 1; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; }
.solucao h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.solucao p { font-size: 16px; line-height: 1.75; color: var(--texto); }
@media (max-width: 1024px) {
	.solucao { gap: 28px; }
	.solucao-corpo { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 767px) {
	.solucoes { margin-top: 40px; }
	.solucao { flex-direction: column; gap: 12px; padding: 28px 0; }
	.solucao h3 { font-size: 18px; }
	.solucao p { font-size: 15px; }
}

/* ==========================================================================
   NICHOS ATENDIDOS (Direito Tributário) — Pessoa Física e Pessoa Jurídica em colunas
   ========================================================================== */
.s-nichos { padding: var(--secao) 0; background: var(--branco); }
.s-nichos .titulo-l { max-width: 760px; }
.nichos-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
.nichos-rotulo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.nichos-rotulo::after { content: ''; flex: 1; height: 1px; background: var(--linha); }
.nichos-lista { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.nicho { position: relative; padding: 26px 28px 26px 32px; background: var(--off); border: 1px solid var(--linha-card); border-radius: var(--raio-card); transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.nicho::before { content: ''; position: absolute; left: -1px; top: 26px; width: 4px; height: 28px; background: url('../img/barra-dourada.webp') center / cover; }
.nicho:hover { transform: translateY(-4px); }
.nicho h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--tinta); }
.nicho p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--texto); }
@media (max-width: 1024px) { .nichos-grade { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; } }
@media (max-width: 767px) { .nicho { padding: 22px 20px 22px 24px; } .nicho h3 { font-size: 17px; } }

/* ==========================================================================
   CTA "Agende uma avaliação" — card claro com imagem ao lado
   ========================================================================== */
.s-cta { padding: 0 0 var(--secao); background: var(--branco); }
.s-cta.is-sobreposto { background: var(--off); }
.pagina-direito-tributario .s-cta.is-sobreposto { background: transparent; } /* no Tributário vem depois dos Nichos (fundo branco): sem a faixa bege */
.cta { display: flex; overflow: hidden; background: var(--branco); border: 1px solid var(--linha-card); border-radius: var(--raio-card); box-shadow: var(--sombra); }
.s-cta:not(.is-sobreposto) .cta { background: var(--off); }
.cta-texto { flex: 0 0 56%; padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.cta-texto .titulo-s { max-width: 470px; }
.cta-texto .acao { margin-top: 32px; }
.cta-img { flex: 1; min-height: 340px; background: center / cover no-repeat; }
@media (max-width: 1024px) {
	.cta { flex-direction: column; }
	.cta-texto { flex: none; padding: 44px 40px; }
	.cta-img { order: -1; min-height: 360px; }
}
@media (max-width: 767px) {
	.cta-texto { padding: 28px 22px 30px; }
	.cta-texto .acao { margin-top: 24px; }
	.cta-texto .btn { width: 100%; }
	.cta-texto .acao-nota br { display: none; }
	.cta-img { min-height: 210px; }
}

/* ==========================================================================
   DEPOIMENTOS — bege, cards brancos, carrossel
   ========================================================================== */
/* Marca d'água do "Q" centralizada na seção (imagem recortada só no desenho; mesmo tamanho do site atual: 1500px / 808px na arte original) */
.s-depoimentos { padding: var(--secao) 0; background: var(--areia) url('../img/fundo-q-depoimentos-centro.webp') center center / 889px auto no-repeat; text-align: center; overflow: hidden; }
.s-depoimentos .avatares { display: flex; justify-content: center; margin: 0 auto 28px; padding: 0; list-style: none; }
/* Fotos sobrepostas (cada uma por cima da anterior). Todas ficam na mesma camada (transform em todas), então no hover
   a foto só sobe: a que está por baixo continua por baixo */
.avatares li { position: relative; width: 52px; height: 52px; margin-left: -8px; border-radius: 50%; transform: translateY(0); transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.avatares li:first-child { margin-left: 0; }
.avatares li:hover { transform: translateY(-5px); }
.avatares img { display: block; width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--branco); border-radius: 50%; }
.avatares-total { display: grid; place-items: center; font-size: 15px; font-weight: 500; color: var(--branco); background: #B0946E; border: 2px solid var(--branco); }
@media (max-width: 767px) { .avatares li { width: 46px; height: 46px; margin-left: -7px; } .avatares li:first-child { margin-left: 0; } .avatares-total { font-size: 13px; } }
.s-depoimentos .titulo-l { max-width: 820px; margin: 0 auto; }
.carrossel { margin-top: 48px; }
.carrossel-trilho { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 12px; scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel-trilho:focus-visible { outline-offset: -3px; }
.carrossel-item { flex: 0 0 calc((min(100vw - var(--gutter) * 2, var(--container)) - 40px) / 3); scroll-snap-align: start; display: flex; }
.card-depoimento { display: flex; flex-direction: column; width: 100%; padding: 28px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-card); box-shadow: 0 6px 20px rgba(61, 42, 19, .025); text-align: left; }
.card-depoimento .aspas { width: 26px; margin-bottom: 18px; }
.card-depoimento blockquote { flex: 1; font-size: 16px; line-height: 1.65; color: var(--tinta); }
.card-depoimento figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--areia); font-size: 14px; line-height: 1.4; font-weight: 600; }
.card-depoimento figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
/* Iniciais quando o autor não tem foto: círculo dourado, letras brancas */
.card-depoimento .iniciais { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--branco); background: var(--dourado); }
/* Com 50 depoimentos, setas e contador no lugar dos pontos (montados pelo white.js) */
.carrossel-pontos { display: none; }
.carrossel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.carrossel-nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--dourado); border-radius: 50%; color: var(--branco); background: var(--dourado); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.carrossel-nav button:hover:not(:disabled) { color: var(--branco); background: var(--dourado-hover); border-color: var(--dourado-hover); transform: translateY(-2px); }
.carrossel-nav button:disabled { opacity: .4; cursor: default; }
.carrossel-nav svg { width: 18px; height: 18px; }
@media (max-width: 1024px) { .carrossel-item { flex-basis: min(72vw, 460px); } .s-depoimentos { background-size: 479px auto; } }
@media (max-width: 767px) {
	.carrossel { margin-top: 32px; }
	.carrossel-item { flex-basis: calc(100vw - var(--gutter) * 2); }
	.card-depoimento { padding: 22px; }
	.card-depoimento blockquote { font-size: 15px; }
}

/* ==========================================================================
   ETAPAS — branco, 3 cards finos
   ========================================================================== */
.s-etapas { padding: var(--secao) 0; background: var(--branco); }
.titulo-etapas { max-width: 760px; }
/* Cards iguais aos do site atual: filete à esquerda com a barra caramelo no topo */
.s-etapas .container { max-width: calc(1216px + var(--gutter) * 2); } /* mesma largura do site atual (1216px), para as colunas quebrarem igual */
.etapas { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; }
.etapa { position: relative; padding: 0 42px; border-left: 1px solid var(--linha); }
.etapa::before { content: ''; position: absolute; left: -1px; top: 0; width: 4px; height: 28px; background: url('../img/barra-dourada.webp') center / cover; }
.etapa .numero { display: block; font-family: var(--sans); font-size: 20px; line-height: 28px; font-weight: 600; }
.etapa h3 { margin: 32px 0; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--tinta); }
.etapa p { margin-top: 0; font-size: 18px; line-height: 28px; color: var(--texto); }
@media (max-width: 1024px) {
	.etapas { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
	.etapa { padding: 0 0 0 24px; }
}
@media (max-width: 767px) { .etapa h3 { margin: 0 0 16px; font-size: 20px; line-height: 28px; } .s-etapas .container { padding: 0 24px; } } /* 24px de margem, como no site atual */

/* ==========================================================================
   IDEAL PARA — off-white, checklist + caixa de ação bege
   ========================================================================== */
.s-ideal { padding: var(--secao) 0; background: var(--off); }
.ideal { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 600px); justify-content: space-between; gap: 48px; }
.ideal-titulo { align-self: start; position: sticky; top: 120px; }
.checklist li { position: relative; padding: 26px 0 26px 42px; border-bottom: 1px solid var(--linha); font-size: 17px; line-height: 1.6; color: var(--tinta); }
.checklist li:first-child { border-top: 1px solid var(--linha); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 29px; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%238A7153'/%3E%3Cpath d='m7.5 12.3 3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Caixa de ação igual ao site atual: fundo cinza claro, barra caramelo à esquerda, botão dourado (só o canto arredondado é da versão white) */
.caixa-acao { position: relative; margin-top: 80px; padding: 50px 56px; background: #ffffff; }
.caixa-acao::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 8px; background: url('../img/barra-dourada.webp') center / cover; }
.caixa-acao .acao { gap: 50px; }
.caixa-acao .btn { min-height: 0; padding: 16px 40px; font-size: 18px; line-height: 24px; font-weight: 500; color: var(--branco); background: var(--dourado); box-shadow: none; }
.caixa-acao .btn .seta { display: none; }
.caixa-acao .acao-nota { font-size: 16px; line-height: 22px; color: var(--texto); }
@media (max-width: 1024px) {
	.ideal { grid-template-columns: 1fr; gap: 40px; }
	.ideal-titulo { position: static; }
}
@media (max-width: 767px) {
	.checklist li { padding: 20px 0 20px 36px; font-size: 15px; }
	.checklist li::before { top: 22px; width: 20px; height: 20px; }
	.caixa-acao { margin-top: 48px; padding: 24px 29px; }
	.caixa-acao .acao { gap: 20px; }
	.caixa-acao .btn { padding: 14px 30px; font-size: 16px; }
	.caixa-acao .acao-nota { font-size: 12px; line-height: 16px; }
	.caixa-acao .acao-nota br { display: none; }
}

/* ==========================================================================
   SOBRE — bege areia, texto escuro, foto mantida
   ========================================================================== */
.s-sobre { display: flex; background: var(--areia); overflow: hidden; }
.s-sobre > * { min-width: 0; }
.sobre-texto { order: 1; flex: 0 0 50%; padding: var(--secao) 88px 96px max(var(--gutter), calc((100vw - var(--container)) / 2)); }
/* Foto de fundo da metade direita, sangrando até a borda, com a faixa de "Q" do site atual */
.sobre-img { order: 2; position: relative; display: block; flex: 0 0 50%; }
.sobre-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* a foto acompanha a altura do texto, em vez de esticar a seção */
.sobre-img::before { content: ''; position: absolute; top: 0; bottom: 0; left: 70px; width: 64px; background: url('../img/faixa-q-sobre.webp') top center / 100% auto repeat-y; opacity: .5; z-index: 1; pointer-events: none; }
.sobre-logo { width: 170px; margin-bottom: 36px; }
.sobre-texto .titulo-xl { font-size: var(--t-l); line-height: 1.12; max-width: 560px; }
.sobre-oab { display: inline-block; margin: 16px 0 28px; padding-top: 12px; border-top: 1px solid var(--linha-foto); font-size: 14px; color: var(--eyebrow); letter-spacing: .04em; }
.sobre-texto > p:last-child { max-width: 560px; font-size: 16px; line-height: 1.8; color: var(--texto); }
@media (max-width: 1024px) {
	.sobre-texto { padding-right: 40px; }
}
@media (max-width: 767px) {
	.s-sobre { flex-direction: column; }
	.sobre-img { order: 0; flex: none; height: 517px; }
	.sobre-img::before { left: auto; right: 24px; width: 40px; }
	.sobre-texto { flex: none; padding: 48px var(--gutter) var(--secao); }
	.sobre-logo { width: 150px; margin-bottom: 28px; }
	.sobre-texto > p:last-child { font-size: 15px; }
}

/* ==========================================================================
   EQUIPE + NÚMEROS — off-white
   ========================================================================== */
.s-equipe { padding: var(--secao) 0; background: var(--off); }
.equipe { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 380px); justify-content: space-between; align-items: center; gap: 24px 64px; }
.equipe-eyebrow { grid-column: 1 / -1; margin-bottom: 8px; }
.equipe-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card-advogado { display: flex; flex-direction: column; }
.advogado-foto { aspect-ratio: 601 / 828; background: var(--areia) center top / cover no-repeat; border: 1px solid var(--linha-foto); border-radius: var(--raio-card); transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.card-advogado:hover .advogado-foto { transform: translateY(-6px); } /* hover float nas fotos da equipe */
.card-advogado h3 { margin-top: 20px; font-family: var(--serif); font-size: 20px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.card-advogado .cargo { margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--destaque); }
.card-advogado .oab { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linha-foto); font-size: 13px; color: var(--texto); }
.numeros li { display: flex; flex-direction: column; gap: 2px; padding: 26px 0; border-bottom: 1px solid var(--linha); }
.numeros li:first-child { border-top: 1px solid var(--linha); }
.numeros strong { font-family: var(--serif); font-size: 52px; line-height: 1.05; font-weight: 400; letter-spacing: -.02em; color: var(--tinta); }
.numeros span { font-size: 14px; letter-spacing: .02em; color: var(--tinta-suave); }
@media (max-width: 1024px) {
	.equipe { grid-template-columns: 1fr; }
	.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.numeros li:first-child { border-top: 0; }
	.numeros li { border-bottom: 0; border-top: 1px solid var(--linha); }
}
@media (max-width: 767px) {
	.equipe-cards { grid-template-columns: 1fr; gap: 40px; } /* celular: uma advogada embaixo da outra */
	.card-advogado h3 { margin-top: 14px; font-size: 24px; }
	.card-advogado .cargo { font-size: 15px; }
	.card-advogado .oab { font-size: 13px; }
	.numeros { grid-template-columns: 1fr; gap: 0; }
	.numeros li { flex-direction: row; align-items: baseline; gap: 14px; padding: 18px 0; }
	.numeros strong { font-size: 38px; }
}

/* ==========================================================================
   FAQ — linhas finas, "+" à direita
   ========================================================================== */
.s-faq { padding: var(--secao) 0; background: var(--branco); }
.faq { max-width: calc(var(--estreito) + var(--gutter) * 2); }
.s-faq .eyebrow, .s-faq .titulo-l { text-align: center; }
.faq-lista { margin-top: 44px; border-top: 1px solid var(--linha); }
.faq-item { border-bottom: 1px solid var(--linha); }
.faq-item summary { position: relative; display: block; padding: 24px 128px 24px 0; font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--tinta); cursor: pointer; list-style: none; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: #46321a; }
.faq-item summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: var(--destaque); background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-resposta { padding: 0 128px 26px 0; /* quebra na mesma linha das perguntas */ font-size: 15px; line-height: 1.75; color: var(--texto); }
/* "Ainda tem dúvidas?" igual ao site atual: barra caramelo à esquerda, faixa de "Q" à direita, botão dourado reto */
.caixa-duvidas { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; margin-top: 48px; padding: 48px 32px 48px 64px; background: var(--caixa) url('../img/faixa-q-duvidas.webp') right 32px top / 88px auto repeat-y; }
.caixa-duvidas::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 8px; background: url('../img/barra-dourada.webp') center / cover; }
.caixa-duvidas h3 { margin-bottom: 10px; font-family: var(--sans); font-size: 24px; line-height: 28px; font-weight: 600; color: var(--tinta); }
.caixa-duvidas p { max-width: 364px; margin-top: 0; font-size: 16px; line-height: 24px; color: var(--texto); }
.btn.btn-wpp { gap: 12px; } /* ícone do WhatsApp + "Iniciar Atendimento" (cada botão mantém o tamanho do seu bloco) */
.btn.btn-wpp svg { flex-shrink: 0; width: 20px; height: 20px; }
.caixa-duvidas .btn.btn-wpp { gap: 10px; min-height: 0; padding: 16px 40px; font-size: 18px; line-height: 24px; font-weight: 500; color: var(--branco); background: var(--dourado); box-shadow: none; }
@media (max-width: 767px) {
	.faq-lista { margin-top: 32px; }
	.faq-item summary { padding: 20px 36px 20px 0; font-size: 15px; }
	.faq-resposta { padding-right: 0; font-size: 14px; }
	.caixa-duvidas { padding: 24px 32px 32px 40px; gap: 24px; background-size: 60px auto; background-position: right -14px top; } /* faixa de "Q" mais à direita, longe do texto */
	.caixa-duvidas h3 { font-size: 20px; line-height: 24px; }
	.caixa-duvidas p { font-size: 14px; line-height: 20px; }
	.caixa-duvidas .btn.btn-wpp { padding: 14px 24px; font-size: 16px; white-space: nowrap; }
}

/* ==========================================================================
   CONTATO (formulário) — bege areia, campos brancos, botão escuro
   ========================================================================== */
/* Marca d'água do "Q" no canto, como no site atual (traço dourado, maior que o original e esmaecendo até sumir na parte de baixo) */
.s-contato { position: relative; padding: var(--secao) 0 0; background: var(--areia) url('../img/fundo-q-contato-escuro.webp') left -100px top -40px / 1500px auto no-repeat; color: var(--tinta); }
@media (max-width: 767px) { .s-contato { background-size: 900px auto; background-position: left -60px top -20px; } }
.contato { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 620px); justify-content: space-between; gap: 48px; align-items: start; }
.contato-info .titulo-xl { max-width: 391px; font-family: var(--serif-hero); font-size: 64px; line-height: 1; letter-spacing: .01em; text-wrap: wrap; } /* igual ao site atual */
.contato-info .titulo-xl em { font-style: italic; }
@media (max-width: 767px) { .contato-info .titulo-xl { max-width: 260px; font-size: 40px; } }
/* Título do Contato com quebras forçadas no desktop (as linhas são as dos <br>) */
@media (min-width: 1025px) { .contato-info .titulo-quebrado { max-width: none; white-space: nowrap; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 32px; background: var(--branco); border: 1px solid #D8CBB8; border-radius: 12px; box-shadow: 0 8px 26px rgba(61, 42, 19, .04); }
.form:focus-within { border-color: var(--caramelo-linha); }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo-inteiro, .form-aviso, .form-enviar { grid-column: 1 / -1; }
.campo label { font-size: 14px; line-height: 1.5; color: var(--tinta); }
.campo input, .campo textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0px solid var(--linha-input); border-radius: 5px; background: #f4f0e8; font-size: 16px; line-height: 1.4; color: #171411; transition: border-color .2s, background-color .2s; }
.campo textarea { min-height: 140px; resize: vertical; }
.campo input:hover, .campo textarea:hover { border-color: var(--caramelo-linha); }
.campo input:focus, .campo textarea:focus { outline: 2px solid rgba(183, 150, 111, .45); outline-offset: 2px; background: var(--branco); border-color: var(--foco); }
.campo ::placeholder { color: #716B62; } /* 4,6:1 sobre o #f4f0e8 */
.form-enviar { width: 100%; margin-top: 6px; color: var(--branco); background: var(--dourado); }
.form-aviso { padding: 12px 14px; background: #F6E6E3; border-radius: 5px; color: var(--erro); font-size: 14px; }
@media (max-width: 1024px) {
	.contato { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
	.form { grid-template-columns: 1fr; gap: 16px; padding: 22px 19px; }
}

/* Rodapé claro em 3 colunas (fundo branco de ponta a ponta) */
.rodape-colunas, .rodape-legal { position: relative; background: var(--branco); box-shadow: 0 0 0 100vmax var(--branco); clip-path: inset(0 -100vmax); }
.rodape-colunas { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 40px; margin-top: var(--secao); padding: 56px 0 56px; }
.rodape-marca img { width: 200px; margin-bottom: 18px; }
.rodape-colunas p, .rodape-colunas a { font-size: 14px; line-height: 22px; color: var(--tinta-suave); }
.rodape-titulo { margin-bottom: 16px; /* +2px: compensa o line-height 26→22 dos textos (mesmo espaço visual até o título) */ font-size: 12px !important; line-height: 18px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta) !important; }
.rodape-col .contato-links { display: flex; flex-direction: column; align-items: flex-start; }
.rodape-col .contato-links a { min-height: 26px; }
.rodape-col a:hover { color: var(--destaque); }
.contato-rotulo { color: var(--tinta) !important; font-weight: 500; }
.contato-endereco strong { font-weight: 500; color: var(--tinta); }
.rodape-redes { display: flex; gap: 10px; margin-top: 14px; }
/* Instagram: só o ícone com o @ ao lado (sem botão) */
.btn.btn-rede { min-height: 0; padding: 0; gap: 10px; font-size: 14px; font-weight: 400; color: var(--tinta-suave) !important; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none; }
.btn.btn-rede svg { width: 20px; height: 20px; color: var(--tinta); }
.btn.btn-rede:hover { color: var(--destaque) !important; transform: none; }
.btn.btn-rede:hover svg { color: var(--destaque); }
.rodape-legal { display: flex; justify-content: space-between; align-items: center; gap: 8px 32px; padding: 28px 0 36px; border-top: 1px solid #eceae7; font-size: 12px; line-height: 1.6; color: var(--tinta-suave); }
.rodape-legal a { text-decoration: none; }
.rodape-legal a:hover { color: var(--destaque); }
@media (max-width: 1024px) { .rodape-colunas { grid-template-columns: 1fr 1fr; } .rodape-marca { grid-column: 1 / -1; } }
@media (max-width: 767px) {
	.rodape-colunas { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
	.rodape-marca img { width: 180px; }
	.rodape-legal { flex-direction: column; align-items: flex-start; padding-bottom: 28px; }
}


/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.btn:hover { transform: none; }
}

/* ==========================================================================
   WHATSAPP FLUTUANTE — modelo whatsapp.php (círculo verde, anel claro pulsando, selo "1")
   ========================================================================== */
.wpp-flutuante { position: fixed; right: 30px; bottom: 30px; z-index: 60; display: block; width: 76px; height: 76px; border-radius: 50%; transition: transform .3s; }
.wpp-flutuante:hover { transform: scale(1.1); }
.wpp-circulo { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: #fff; background: #4FA33C; border: 3px solid #BFE1B4; box-shadow: 0 0 0 0 rgba(44, 204, 56, .4); animation: wpp-pulso 2s infinite; }
.wpp-flutuante:hover .wpp-circulo { animation: none; }
.wpp-circulo svg { width: 34px; height: 34px; }
.wpp-selo { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; font-size: 13px; font-weight: 700; line-height: 1; color: #fff; background: #C0213B; border: 2px solid #fff; }
@keyframes wpp-pulso {
	0% { box-shadow: 0 0 0 0 rgba(44, 204, 56, .4); }
	70% { box-shadow: 0 0 0 12px rgba(44, 204, 56, 0); }
	100% { box-shadow: 0 0 0 0 rgba(44, 204, 56, 0); }
}
@media (max-width: 767px) {
	.wpp-flutuante { right: 16px; bottom: 16px; width: 62px; height: 62px; }
	.wpp-circulo { border-width: 3px; }
	.wpp-circulo svg { width: 28px; height: 28px; }
	.wpp-selo { min-width: 21px; height: 21px; font-size: 12px; }
}

/* ==========================================================================
   HOME — Áreas de atuação (3 segmentos, cada card leva à landing da área)
   ========================================================================== */
.s-atuacao { padding: var(--secao) 0; background: var(--off); }
.s-atuacao .titulo-l { max-width: 760px; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px 0 0; padding: 0; list-style: none; }
.area { display: flex; }
.area-link { position: relative; display: flex; flex-direction: column; width: 100%; padding: 32px 30px 30px; text-decoration: none; color: inherit; background: var(--branco); border: 1px solid var(--linha-card); border-radius: var(--raio-card); transition: transform .35s cubic-bezier(.22, .61, .36, 1), border-color .2s; }
.area-link::before { content: ''; position: absolute; left: -1px; top: 32px; width: 4px; height: 28px; background: url('../img/barra-dourada.webp') center / cover; }
.area-link:hover { transform: translateY(-6px); border-color: var(--caramelo-linha); }
.area-link:focus-visible { outline: 2px solid var(--destaque); outline-offset: 3px; }
.area .numero { display: block; font-size: 30px; }
.area h3 { margin: 22px 0 12px; font-family: var(--serif); font-size: 28px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; color: var(--tinta); }
.area p { flex: 1; margin: 0; font-size: 16px; line-height: 1.7; color: var(--texto); }
.area-mais { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--destaque); }
.area-mais .seta { display: inline-block; width: 20px; height: 20px; font-size: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.area-link:hover .area-mais .seta { transform: translateX(3px); }
@media (max-width: 1024px) { .areas { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; } }
@media (max-width: 767px) { .area-link { padding: 26px 22px 24px; } .area h3 { font-size: 24px; } }
/* Rodapé da home: sem o formulário, só as colunas e a faixa legal */
.rodape-home { padding-top: 0; background: var(--branco); }
/* Home: o Sobre vem logo depois das Avaliações (mesmo bege); fica branco para separar as seções */
.pagina-home .s-sobre { background: var(--branco); }
.rodape-home .rodape-colunas { margin-top: 0; border-top: 1px solid var(--linha); }

/* Endereço do rodapé: link para o Google Maps */
.contato-endereco a { color: inherit; text-decoration: none; transition: color .2s; }
.contato-endereco a:hover { color: var(--dourado); }

/* "+100 Avaliações": largura fixa nos algarismos durante a contagem */
.eb-conta { display: inline-block; font-variant-numeric: tabular-nums; text-align: right; }

/* Home: os dois perfis do Instagram, um embaixo do outro */
.rodape-home .rodape-redes { flex-direction: column; align-items: flex-start; gap: 10px; }

/* Quebra de linha só no celular (rodapé legal: "Todos os direitos / reservados") */
.quebra-mob { display: none; }
@media (max-width: 767px) { .quebra-mob { display: inline; } }
