/* ==========================================================================
   Ana Veiga Advocacia — Landing page
   Paleta e tipografia extraídas da identidade visual (IDV)
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Marca */
  --carvao: #383838;
  --carvao-claro: #4c4c4c;
  --carvao-escuro: #2c2c2c;
  --bege: #c4b8a8;            /* destaque sobre fundo escuro (bege do feed do Instagram) */
  --bege-claro: #e2d9cd;
  --cobre: #8f5d4a;          /* marrom de destaque sobre fundo claro */
  --areia: #b0a494;
  --creme: #f6f1eb;
  --creme-escuro: #ede5dc;
  --branco: #fdfbf9;

  /* Texto */
  --texto: #38332f;
  --texto-suave: #6a615a;
  --texto-claro: #e9e3dd;
  --texto-claro-suave: #bdb5ad;

  /* Linhas */
  --linha: #e3d9cf;
  --linha-escura: rgba(196, 184, 168, .22);

  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --secao: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--bege); outline-offset: 3px; }
.claro :focus-visible, .branco :focus-visible { outline-color: var(--cobre); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.secao { padding-block: var(--secao); }
.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; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--bege); color: var(--carvao-escuro); padding: 10px 16px; font-weight: 600; text-decoration: none; transition: top .2s; }
.pular:focus { top: 12px; }

/* Tipografia ------------------------------------------------------------- */
.sobretitulo {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cobre); margin-bottom: 22px;
}
.sobretitulo::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.escuro .sobretitulo { color: var(--bege); }

.titulo {
  font-family: var(--serif);
  font-size: clamp(29px, 3.7vw, 45px);
  line-height: 1.16;
  letter-spacing: -.012em;
  color: var(--carvao);
  text-wrap: balance;
}
.titulo em { font-style: italic; color: var(--cobre); }
.escuro .titulo { color: #fff; }
.escuro .titulo em { color: var(--bege); }

.lead { font-size: clamp(16.5px, 1.5vw, 18.5px); font-weight: 300; line-height: 1.75; color: var(--texto-suave); max-width: 60ch; }
.escuro .lead { color: var(--texto-claro); }

/* Texto justificado em todo o site -------------------------------------- */
p, .area-resumo {
  text-align: justify;
  -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}
.sobretitulo, .rodape p, .sobre-assinatura .nome, .area-cta p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.chamada p:not(.sobretitulo) { text-align: justify; text-align-last: center; }

/* Botões ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 15px 28px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; line-height: 1.3;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn-primario { background: linear-gradient(120deg, var(--bege) 0%, var(--bege-claro) 55%, var(--bege) 100%); background-size: 200% 100%; color: var(--carvao-escuro); box-shadow: 0 10px 30px -12px rgba(196, 184, 168, .55); }
.btn-primario:hover { background-position: 100% 0; box-shadow: 0 16px 34px -12px rgba(196, 184, 168, .7); }
.btn-contorno { border-color: rgba(196, 184, 168, .55); color: var(--bege); background: transparent; }
.btn-contorno:hover { background: rgba(196, 184, 168, .1); border-color: var(--bege); }
.btn-escuro { background: var(--carvao); color: var(--bege-claro); box-shadow: 0 12px 30px -14px rgba(56, 56, 56, .6); }
.btn-escuro:hover { background: var(--carvao-escuro); }
.btn-pequeno { min-height: 44px; padding: 10px 20px; font-size: 11.5px; }

.link-seta { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--cobre); padding-block: 6px; border-bottom: 1px solid currentColor; transition: gap .25s var(--ease); }
.link-seta:hover { gap: 16px; }
.link-seta svg { width: 16px; height: 16px; }
.escuro .link-seta { color: var(--bege); }

/* Cabeçalho -------------------------------------------------------------- */
.cabecalho {
  position: sticky; top: 0; z-index: 100;
  background: var(--carvao);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.cabecalho.rolou { background: rgba(48, 48, 48, .96); backdrop-filter: blur(10px); border-bottom-color: var(--linha-escura); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.cabecalho .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.marca { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.marca .monograma { height: 40px; width: auto; }
.marca .wordmark { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--texto-claro); padding-block: 8px; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--bege); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--bege); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 46px; height: 46px; padding: 0; background: none; border: 1px solid var(--linha-escura); border-radius: 2px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: var(--bege); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; background: var(--carvao); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { /* monograma em marca d'água */
  content: ""; position: absolute; z-index: -1; right: -6%; top: -8%; width: min(74vw, 900px); aspect-ratio: 317 / 267;
  background: #fff; opacity: .035;
  -webkit-mask: url("../img/monograma-mask.png") center / contain no-repeat; mask: url("../img/monograma-mask.png") center / contain no-repeat;
}
.hero .container { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 7vw, 92px) clamp(64px, 8vw, 104px); }
.hero h1 { color: #fff; font-family: var(--serif); font-size: clamp(36px, 5.1vw, 66px); line-height: 1.1; letter-spacing: -.018em; text-wrap: balance; margin-bottom: 28px; }
.hero h1 em { font-style: italic; background: linear-gradient(100deg, var(--bege) 10%, var(--bege-claro) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero .lead { margin-bottom: 38px; max-width: 54ch; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-fatos { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 0; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--linha-escura); }
.hero-fatos li { padding-inline: clamp(16px, 2.4vw, 30px); border-left: 1px solid var(--linha-escura); font-size: 13px; line-height: 1.5; color: var(--texto-claro-suave); }
.hero-fatos li:first-child { padding-left: 0; border-left: 0; }
.hero-fatos strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; color: #fff; letter-spacing: .01em; }

.hero-foto { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-foto::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(196, 184, 168, .6); transform: translate(18px, 18px); pointer-events: none; }
.hero-foto img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }

/* Escritório ------------------------------------------------------------- */
.escritorio { background: var(--creme); }
.escritorio-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.escritorio-texto p { color: var(--texto-suave); }
.escritorio-texto p:first-child { font-size: clamp(17px, 1.6vw, 19px); font-weight: 300; color: var(--texto); }
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 88px); }
.pilar { padding-top: 26px; border-top: 1px solid var(--areia); }
.pilar .num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--cobre); }
.pilar h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 29px); line-height: 1.2; margin: 8px 0 12px; color: var(--carvao); }
.pilar p { font-size: 15px; color: var(--texto-suave); margin: 0; }

/* Áreas de atuação ------------------------------------------------------- */
.areas-topo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.areas-topo .lead { margin: 0; }
.area { border-top: 1px solid var(--linha); }
.area:last-of-type { border-bottom: 1px solid var(--linha); }
.area summary { display: grid; grid-template-columns: clamp(48px, 7vw, 92px) minmax(0, 1fr) 52px; align-items: center; gap: clamp(12px, 2vw, 24px); padding: clamp(24px, 3.2vw, 38px) 0; cursor: pointer; list-style: none; transition: background-color .25s; }
.area summary::-webkit-details-marker { display: none; }
.area summary:hover .area-nome { color: var(--cobre); }
.area-num { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); color: var(--areia); line-height: 1; }
.area-rotulo { display: block; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--cobre); margin-bottom: 6px; }
.area-nome { display: block; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.16; letter-spacing: -.01em; color: var(--carvao); transition: color .25s; }
.area-resumo { display: block; margin-top: 10px; font-size: 15px; color: var(--texto-suave); max-width: 62ch; }
.area-icone { justify-self: end; position: relative; width: 52px; height: 52px; border: 1px solid var(--areia); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.area-icone::before, .area-icone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--carvao); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background-color .3s; }
.area-icone::after { transform: translate(-50%, -50%) rotate(90deg); }
.area[open] .area-icone { background: var(--carvao); border-color: var(--carvao); }
.area[open] .area-icone::before, .area[open] .area-icone::after { background: var(--bege); }
.area[open] .area-icone::after { transform: translate(-50%, -50%) rotate(0deg); }
.area[open] .area-nome { color: var(--cobre); }
.area-corpo { padding: 0 0 clamp(28px, 4vw, 44px) calc(clamp(48px, 7vw, 92px) + clamp(12px, 2vw, 24px)); }
.area-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 56px); }
.area-lista a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 16px; height: 100%; padding: 18px 14px 18px 0; border-bottom: 1px solid var(--linha); text-decoration: none; transition: padding .3s var(--ease), background-color .3s; }
.area-lista a:hover { padding-left: 14px; background: var(--creme); }
.area-lista strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--carvao); line-height: 1.35; }
.area-lista span span { display: block; font-size: 14px; color: var(--texto-suave); line-height: 1.5; margin-top: 3px; }
.area-lista svg { width: 18px; height: 18px; color: var(--cobre); opacity: .45; transition: opacity .3s, transform .3s var(--ease); }
.area-lista a:hover svg { opacity: 1; transform: translateX(3px); }
.area-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.area-cta p { margin: 0; font-size: 14.5px; color: var(--texto-suave); }

/* Como funciona ---------------------------------------------------------- */
.escuro { background: var(--carvao); color: var(--texto-claro); }
.passos-topo { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); counter-reset: passo; }
.passo { position: relative; padding-top: 34px; border-top: 1px solid var(--linha-escura); }
.passo::before { counter-increment: passo; content: "0" counter(passo); position: absolute; top: -1px; left: 0; padding-top: 22px; border-top: 1px solid var(--bege); font-family: var(--serif); font-style: italic; font-size: 36px; line-height: 1; color: var(--bege); width: 48px; }
.passo h3 { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: #fff; margin: 56px 0 12px; }
.passo p { font-size: 14.5px; color: var(--texto-claro-suave); margin: 0; }
.passos-cta { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* Sobre ------------------------------------------------------------------ */
.sobre { background: var(--creme-escuro); position: relative; overflow: hidden; isolation: isolate; }
.sobre::before { content: ""; position: absolute; z-index: -1; left: -8%; bottom: -18%; width: min(60vw, 640px); aspect-ratio: 317 / 267; background: var(--areia); opacity: .16; -webkit-mask: url("../img/monograma-mask.png") center / contain no-repeat; mask: url("../img/monograma-mask.png") center / contain no-repeat; }
.sobre-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.sobre-foto { position: relative; max-width: 400px; justify-self: center; width: 100%; }
.sobre-foto::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--cobre); opacity: .55; transform: translate(-16px, 16px); }
.sobre-foto img { position: relative; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.sobre-texto > p:not(.sobretitulo) { color: var(--texto-suave); max-width: 58ch; }
.sobre-assinatura { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--areia); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.sobre-assinatura .nome { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--carvao); line-height: 1.1; }
.sobre-assinatura .cargo { display: block; font-family: var(--sans); font-style: normal; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--cobre); margin-top: 8px; }

/* Atendimento online ----------------------------------------------------- */
.online-grade { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.online-foto { position: relative; justify-self: end; width: 100%; max-width: 460px; order: 2; }
.online-foto::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--areia); transform: translate(16px, 16px); }
.online-foto img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.recursos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(20px, 3vw, 40px); margin: 36px 0 40px; }
.recursos li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.recursos .ic { width: 44px; height: 44px; border: 1px solid var(--areia); border-radius: 50%; display: grid; place-items: center; color: var(--cobre); }
.recursos .ic svg { width: 20px; height: 20px; }
.recursos strong { display: block; font-size: 15px; font-weight: 600; color: var(--carvao); line-height: 1.35; }
.recursos span span { display: block; font-size: 14px; color: var(--texto-suave); line-height: 1.55; margin-top: 3px; }

/* Dúvidas ---------------------------------------------------------------- */
.duvidas { background: var(--creme); }
.duvidas-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 104px); align-items: start; }
.duvidas-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.duvidas-intro .lead { margin: 22px 0 30px; }
.faq { border-top: 1px solid var(--areia); }
.faq details { border-bottom: 1px solid var(--areia); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 20px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); font-weight: 500; line-height: 1.35; color: var(--carvao); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cobre); }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid var(--cobre); border-bottom: 1.5px solid var(--cobre); transform: rotate(45deg) translate(-2px, -2px); justify-self: center; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details > div { padding: 0 42px 26px 0; color: var(--texto-suave); font-size: 15.5px; }
.faq details > div p:last-child { margin-bottom: 0; }
.nota { font-size: 12.5px; color: var(--texto-suave); margin-top: 22px; }

/* Chamada ---------------------------------------------------------------- */
.chamada { position: relative; background: var(--carvao-escuro); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.chamada::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/fundo-livro.webp") center / cover no-repeat; opacity: .34; }
.chamada::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(44, 44, 44, .55) 0%, rgba(44, 44, 44, .93) 78%); }
.chamada .container { max-width: 900px; }
.chamada .sobretitulo::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.chamada h2 { font-family: var(--serif); font-size: clamp(31px, 4.5vw, 54px); line-height: 1.14; letter-spacing: -.015em; margin-bottom: 22px; text-wrap: balance; }
.chamada h2 em { font-style: italic; color: var(--bege); }
.chamada p:not(.sobretitulo) { color: var(--texto-claro); font-weight: 300; font-size: clamp(16px, 1.5vw, 18px); max-width: 56ch; margin: 0 auto 36px; }
.chamada-fone { display: block; margin-top: 22px; font-size: 13px; letter-spacing: .12em; color: var(--texto-claro-suave); }
.chamada-fone a { color: var(--bege); text-decoration: none; font-weight: 500; }

/* Contato ---------------------------------------------------------------- */
.contato-grade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 96px); align-items: start; }
.contato-lista { margin-top: 36px; border-top: 1px solid var(--linha); }
.contato-lista li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--linha); }
.contato-lista .ic { width: 44px; height: 44px; border: 1px solid var(--areia); border-radius: 50%; display: grid; place-items: center; color: var(--cobre); }
.contato-lista .ic svg { width: 19px; height: 19px; }
.contato-lista .rot { display: block; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--cobre); margin-bottom: 4px; }
.contato-lista a, .contato-lista address { font-style: normal; font-size: 16px; color: var(--carvao); text-decoration: none; line-height: 1.55; }
.contato-lista a:hover { color: var(--cobre); text-decoration: underline; text-underline-offset: 4px; }
.contato-lista small { display: block; font-size: 13.5px; color: var(--texto-suave); margin-top: 2px; }
.contato-acoes { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 32px; }
.galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.galeria figure { margin: 0; position: relative; overflow: hidden; background: var(--creme-escuro); }
.galeria figure:first-child { grid-column: 1 / -1; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.galeria figure:first-child img { aspect-ratio: 16 / 10; }
.galeria figure:not(:first-child) img { aspect-ratio: 1 / 1; }
.galeria figure:hover img { transform: scale(1.04); }
.mapa { margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--linha); background: var(--creme); }
.mapa iframe { display: block; width: 100%; height: clamp(280px, 34vw, 400px); border: 0; filter: grayscale(1) contrast(.95) opacity(.92); transition: filter .5s; }
.mapa:hover iframe, .mapa:focus-within iframe { filter: none; }
.galeria figcaption { position: absolute; left: 0; bottom: 0; background: rgba(44, 44, 44, .82); color: var(--bege-claro); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; }

/* Rodapé ----------------------------------------------------------------- */
.rodape { background: var(--carvao-escuro); color: var(--texto-claro-suave); font-size: 14px; }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 56px); }
.rodape-logo { width: 190px; margin-bottom: 22px; }
.rodape p { margin: 0; max-width: 34ch; line-height: 1.7; }
.rodape h3 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--bege); margin-bottom: 18px; }
.rodape li { margin-bottom: 9px; line-height: 1.55; }
.rodape a { color: var(--texto-claro); text-decoration: none; transition: color .2s; }
.rodape a:hover { color: var(--bege); }
.rodape-base { border-top: 1px solid var(--linha-escura); padding-block: 24px 32px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.rodape-base p { max-width: none; }

/* Botão flutuante de WhatsApp -------------------------------------------- */
.zap { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 90; display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 18px; border-radius: 60px; background: #25d366; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45); transition: transform .25s var(--ease), box-shadow .25s; }
.zap svg { width: 28px; height: 28px; }
.zap:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); }
.zap:focus-visible { outline-color: var(--carvao); }

/* Entrada suave ---------------------------------------------------------- */
.js .revelar { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .revelar.visivel { opacity: 1; transform: none; }

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--carvao-escuro); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--linha-escura); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .nav.aberto { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--linha-escura); font-size: 13px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 22px; }
  .menu-btn { display: inline-flex; }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .rodape-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero .container, .escritorio-grade, .areas-topo, .sobre-grade, .online-grade, .duvidas-grade, .contato-grade { grid-template-columns: minmax(0, 1fr); }
  .hero-foto { justify-self: start; max-width: 440px; margin-right: 18px; width: calc(100% - 18px); }
    .online-foto { order: 0; justify-self: start; max-width: 400px; width: calc(100% - 16px); }
  .sobre-foto { margin-left: 16px; max-width: 340px; justify-self: start; width: calc(100% - 16px); }
  .duvidas-intro { position: static; }
  .pilares { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .area-lista { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .marca .monograma { height: 34px; }
  .marca .wordmark { height: 25px; }
  .btn { width: 100%; padding-inline: 18px; letter-spacing: .12em; }
  .hero-acoes { gap: 20px; }
  .hero-fatos { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-fatos li { padding: 0; border: 0; display: flex; align-items: baseline; gap: 10px; }
  .hero-fatos strong { font-size: 17px; }
  .area summary { grid-template-columns: minmax(0, 1fr) 44px; }
  .area-num { display: none; }
  .area-icone { width: 44px; height: 44px; align-self: start; margin-top: 4px; }
  .area-corpo { padding-left: 0; }
  .passos { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .recursos { grid-template-columns: minmax(0, 1fr); }
  .faq details > div { padding-right: 0; }
  .rodape-grade { grid-template-columns: minmax(0, 1fr); }
  .zap { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .zap span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .rodape-base { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .revelar { opacity: 1; transform: none; }
}

@media print {
  .cabecalho, .zap, .chamada { display: none; }
  .js .revelar { opacity: 1; transform: none; }
}
