/* =========================================================================
   Almeida Vasconcelos Sociedade de Advogados
   Folha de estilo principal. Sem dependências externas.
   Paleta e tipografia herdadas do projeto de identidade visual.
   ========================================================================= */

:root {
  /* Cores */
  --bg: #fdfaf5;
  --bg-alt: #f5eee3;
  --surface: #ffffff;
  --ink: #26201a;
  --body: #4a4238;
  --muted: #6d635a;
  --wine: #9e1b1e;
  --wine-dark: #7a1417;
  --line: rgba(38, 32, 26, .12);
  --line-strong: rgba(38, 32, 26, .25);
  --footer-bg: #42100f;
  --footer-ink: #f7ece4;
  --footer-muted: rgba(247, 236, 228, .65);
  --footer-accent: #dfa49f;
  --focus: #9e1b1e;

  /* Tipografia */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Medidas */
  --container: 1240px;
  --container-mid: 860px;
  --container-narrow: 760px;
  --gutter: 32px;
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--wine); }

button { font-family: inherit; }

/* Foco visível para acessibilidade */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Link "pular para o conteúdo" */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wine);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* --------------------------- Tipografia -------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); text-wrap: pretty; }
p { text-wrap: pretty; }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  font-family: var(--sans);
}

/* --------------------------- Layout ------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); width: 100%; }
.container--mid { max-width: var(--container-mid); }
.container--narrow { max-width: var(--container-narrow); }

/* Só padding vertical: não zera o padding lateral quando combinado com .container
   (ex.: class="container section--tight"). */
.section { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.section--tight { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.section--alt { background: var(--bg-alt); }
.section--line { border-top: 1px solid var(--line); }

/* --------------------------- Botões ------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1.2;
}
.btn--primary { background: var(--wine); color: var(--bg); border-color: var(--wine); }
.btn--primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--wine); color: var(--wine); }
.btn--light { background: var(--bg); color: var(--wine); border-color: var(--bg); }
.btn--light:hover { background: #f2e6e4; color: var(--wine); }

/* --------------------------- Cabeçalho --------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 44px; height: 44px; flex: none;
  border: 1.5px solid var(--wine);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--wine); letter-spacing: .04em;
}
.brand__name { display: flex; flex-direction: column; }
.brand__title { font-family: var(--serif); font-size: 20px; letter-spacing: .06em; line-height: 1.1; }
.brand__title b { font-weight: 600; color: var(--wine); }
.brand__title i { font-style: italic; }
.brand__sub { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; }
.nav a { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--wine); }
.nav a.nav__cta { color: var(--bg); background: var(--wine); padding: 11px 22px; font-weight: 700; }
.nav a.nav__cta:hover { background: var(--wine-dark); color: var(--bg); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line-strong);
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); display: block; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--bg);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 88px 28px 32px;
    transform: translateX(100%);
    transition: transform .28s ease;
    box-shadow: -18px 0 50px rgba(38, 32, 26, .14);
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 13.5px; }
  .nav a.nav__cta { margin-top: 16px; border: 1px solid var(--wine); text-align: center; justify-content: center; }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(38,32,26,.4); z-index: 99; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
  .nav-scrim[data-open="true"] { opacity: 1; visibility: visible; }
}

/* --------------------------- Hero -------------------------------------- */
.hero { background: radial-gradient(ellipse at 85% 0%, rgba(158,27,30,.06), transparent 55%); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(44px, 7vw, 80px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.12; margin-bottom: 24px; }
.hero p { font-size: 17px; line-height: 1.68; color: var(--muted); margin-bottom: 34px; max-width: 540px; }
.hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.framed { border: 1px solid rgba(158,27,30,.35); padding: 14px; }
.framed img { width: 100%; height: 100%; object-fit: cover; }
.media { overflow: hidden; background: var(--bg-alt); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------- Barra de números -------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.stats__item { padding: 30px var(--gutter); border-right: 1px solid var(--line); }
.stats__item:last-child { border-right: none; }
.stats__num { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); color: var(--wine); }
.stats__label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* --------------------------- Passos ------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { border-top: 2px solid var(--wine); padding-top: 22px; }
.step__n { font-family: var(--serif); font-size: 16px; color: var(--wine); margin-bottom: 10px; }
.step h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* --------------------------- Grade de áreas ---------------------------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 38px); }
.link-underline { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--wine); padding-bottom: 3px; }
.link-underline:hover { color: var(--wine); }
.link-inline { color: var(--wine); border-bottom: 1px solid var(--wine); padding-bottom: 3px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-card { background: var(--bg-alt); padding: 28px 26px; display: block; transition: background .2s ease; }
.area-card:hover { background: var(--bg); color: var(--ink); }
.area-card__n { font-family: var(--serif); font-size: 15px; color: var(--wine); }
.area-card h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; margin: 8px 0 6px; color: var(--ink); }
.area-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.area-card--feature {
  grid-column: 1 / -1; background: var(--wine); color: #fdf6ef;
  padding: 34px var(--gutter); display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 18px 32px;
}
.area-card--feature:hover { background: var(--wine-dark); color: #fdf6ef; }
.area-card--feature .tag { display: inline-block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; background: rgba(253,246,239,.16); padding: 6px 12px; margin-bottom: 14px; }
.area-card--feature h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-bottom: 10px; color: #fdf6ef; }
.area-card--feature p { font-size: 14.5px; line-height: 1.6; color: rgba(253,246,239,.85); max-width: 680px; }
.area-card--feature .pill { flex: none; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(253,246,239,.5); padding: 13px 22px; }

/* --------------------------- Cartões de artigo ------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.post-card:hover { box-shadow: 0 14px 30px rgba(38,32,26,.14); transform: translateY(-3px); color: var(--ink); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--bg-alt); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); margin-bottom: 10px; }
.post-card__title { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.post-card__excerpt { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.post-card__more { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: auto; padding-top: 16px; }

/* Cartão em destaque (horizontal) */
.feature-post { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s ease; }
.feature-post:hover { box-shadow: 0 14px 30px rgba(38,32,26,.14); color: var(--ink); }
.feature-post__media { min-height: 260px; background: var(--bg-alt); overflow: hidden; }
.feature-post__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-post__body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.feature-post__body h2, .feature-post__body h3 { font-family: var(--serif); font-size: clamp(25px, 3vw, 34px); line-height: 1.2; color: var(--ink); margin-bottom: 14px; }

/* Carrossel horizontal */
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { flex: none; width: 330px; scroll-snap-align: start; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls button { width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); color: var(--ink); font-size: 16px; cursor: pointer; transition: background .2s, color .2s; }
.carousel-controls button:hover { border-color: var(--wine); color: var(--wine); }
.carousel-controls button.is-primary { background: var(--wine); border-color: var(--wine); color: var(--bg); }
.carousel-controls button.is-primary:hover { background: var(--wine-dark); color: var(--bg); }

/* --------------------------- Filtros / chips --------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 9px 18px; color: var(--body); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--wine); color: var(--wine); }
.chip[aria-current="true"], .chip.is-active { background: var(--wine); color: var(--bg); border-color: var(--wine); font-weight: 700; }

/* --------------------------- Áreas (página) ---------------------------- */
.area-block { border-top: 1px solid var(--line); }
.area-block--alt { background: var(--bg-alt); }
.area-block__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); padding-top: clamp(40px, 6vw, 60px); padding-bottom: clamp(40px, 6vw, 60px); }
.area-block h2 { font-size: clamp(27px, 3.4vw, 38px); margin-bottom: 18px; }
.area-block p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin-bottom: 14px; }
.badge { display: inline-block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; background: var(--wine); color: #fdf6ef; padding: 6px 12px; font-weight: 700; }
.list-plain { display: flex; flex-direction: column; }
.list-plain > * { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.list-plain > *:last-child { border-bottom: none; }
.list-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin-bottom: 16px; }
.scroll-target { scroll-margin-top: 90px; }

/* --------------------------- Prosa (artigos / políticas) --------------- */
.prose { color: var(--body); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(23px, 2.6vw, 30px); margin-top: 36px; margin-bottom: -4px; color: var(--ink); }
.prose h3 { font-size: clamp(20px, 2.2vw, 24px); margin-top: 28px; margin-bottom: -6px; color: var(--ink); }
.prose p { font-size: 16.5px; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 22px; font-size: 16.5px; line-height: 1.8; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.callout { background: var(--bg-alt); border-left: 3px solid var(--wine); padding: 22px 26px; }
.callout p { font-size: 14.5px; line-height: 1.7; margin: 0; color: var(--body); }
.summary-box { border: 1px solid var(--line); padding: 26px 30px; }
.summary-box__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; }
.summary-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--body); }
.summary-box li { padding-left: 18px; position: relative; }
.summary-box li::before { content: "·"; position: absolute; left: 4px; color: var(--wine); font-weight: 700; }
.disclaimer { background: var(--bg-alt); padding: 20px 26px; }
.disclaimer p { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* Meta do artigo */
.article-header { padding-top: clamp(40px, 6vw, 56px); }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--wine); }
.article-header h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.16; margin-bottom: 18px; }
.article-lead { font-size: 17px; line-height: 1.65; color: var(--muted); margin-bottom: 22px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.article-hero { aspect-ratio: 21 / 9; background: var(--bg-alt); overflow: hidden; margin: 32px 0 0; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

/* Assinatura do autor */
.author { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding: 26px 0 8px; margin-top: 36px; }
.author__photo { width: 72px; height: 72px; flex: none; border-radius: 50%; overflow: hidden; background: var(--bg-alt); }
.author__photo img { width: 100%; height: 100%; object-fit: cover; }
.author__name { font-family: var(--serif); font-size: 21px; }
.author__role { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* --------------------------- FAQ --------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: none; text-align: left; padding: 24px 0; cursor: pointer;
  font-family: var(--sans); color: var(--ink);
}
.faq-q h3, .faq-q span.q { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 24px); color: var(--ink); line-height: 1.3; font-weight: 500; margin: 0; }
.faq-icon { flex: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--wine); transition: background .2s; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--wine); color: var(--bg); border-color: var(--wine); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a__inner { font-size: 15.5px; line-height: 1.75; color: var(--muted); padding: 0 60px 26px 0; }
.faq-a__inner p + p { margin-top: 12px; }

/* --------------------------- Formulário -------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }
.field { display: block; }
.field + .field { margin-top: 18px; }
.field label, .field > .label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--body); margin-bottom: 7px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
input, select, textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  padding: 13px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--wine); outline-offset: -1px; }
textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--muted); cursor: pointer; margin-top: 18px; }
.consent input { width: auto; margin-top: 3px; flex: none; }
.consent a { color: var(--wine); text-decoration: underline; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.form-error { background: #fbeae7; border: 1px solid var(--wine); color: var(--wine-dark); font-size: 13.5px; padding: 12px 16px; margin-top: 16px; }
.form-success { border: 1px solid var(--wine); background: var(--surface); padding: 36px 38px; }
.form-success h2 { font-family: var(--serif); font-size: clamp(23px, 2.6vw, 30px); margin-bottom: 12px; }
.form-success p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.form-success p + p { margin-top: 8px; }

/* Painel lateral de contato */
.contact-panel { display: flex; flex-direction: column; border: 1px solid var(--line); }
.contact-panel__row { padding: 24px 28px; border-bottom: 1px solid var(--line); }
.contact-panel__row:last-child { border-bottom: none; }
.contact-panel__row--alt { background: var(--bg-alt); }
.contact-panel__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); margin-bottom: 10px; }
.contact-panel address { font-style: normal; font-size: 15px; line-height: 1.6; }
.steps-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; color: var(--body); }

/* --------------------------- Faixa CTA --------------------------------- */
.cta-band { background: var(--wine); color: #fdf6ef; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding-top: clamp(40px, 6vw, 60px); padding-bottom: clamp(40px, 6vw, 60px); }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 10px; color: #fdf6ef; }
.cta-band p { font-size: 15.5px; color: rgba(253,246,239,.8); max-width: 640px; }

/* --------------------------- Rodapé ------------------------------------ */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); }
.site-footer__inner { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 0; }
.site-footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(247,236,228,.16); }
.site-footer .brand__mark { border-color: var(--footer-accent); color: var(--footer-ink); }
.site-footer .brand__title { color: var(--footer-ink); }
.site-footer .brand__title b { color: var(--footer-ink); }
.site-footer .brand__sub { color: rgba(247,236,228,.55); }
.footer-about { font-size: 13px; line-height: 1.65; color: var(--footer-muted); margin: 16px 0 18px; max-width: 280px; }
.footer-legal-id { font-size: 12px; line-height: 1.7; color: rgba(247,236,228,.5); }
.footer-col__title { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--footer-accent); margin-bottom: 16px; }
.footer-col nav, .footer-col address { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: rgba(247,236,228,.8); font-style: normal; line-height: 1.6; }
.footer-col a { color: rgba(247,236,228,.8); }
.footer-col a:hover { color: var(--footer-ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 22px; padding: 20px 0; font-size: 11.5px; color: rgba(247,236,228,.5); }
.site-footer__bottom .links { display: flex; gap: 22px; }
.site-footer__bottom a { color: rgba(247,236,228,.5); }
.site-footer__bottom a:hover { color: var(--footer-ink); }
.footer-disclaimer { padding: 0 0 22px; font-size: 11px; line-height: 1.6; color: rgba(247,236,228,.4); }

/* --------------------------- Widget flutuante -------------------------- */
.contact-widget { position: fixed; bottom: 24px; right: 24px; z-index: 49; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.contact-widget__panel { width: min(340px, calc(100vw - 48px)); background: var(--bg); border: 1px solid var(--line-strong); box-shadow: 0 18px 50px rgba(38,32,26,.28); display: none; }
.contact-widget.is-open .contact-widget__panel { display: block; }
.contact-widget__head { background: var(--wine); color: #fdf6ef; padding: 16px 20px; }
.contact-widget__head h2 { font-family: var(--serif); font-size: 20px; color: #fdf6ef; margin: 0; font-weight: 500; }
.contact-widget__head p { font-size: 12px; color: rgba(253,246,239,.85); margin-top: 2px; }
.contact-widget__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 11px; }
.contact-widget__body input, .contact-widget__body select { font-size: 14px; padding: 11px 12px; }
.contact-widget__body .form-note { margin-top: 0; }
.contact-widget__toggle {
  background: var(--wine); border: 1px solid var(--wine); color: var(--bg);
  font-family: var(--sans); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 24px; cursor: pointer; box-shadow: 0 10px 26px rgba(122,20,23,.4);
  display: flex; align-items: center; gap: 10px; transition: background .2s;
}
.contact-widget__toggle:hover { background: var(--wine-dark); }
.contact-widget__toggle .dot { width: 8px; height: 8px; border-radius: 50%; background: #fdf6ef; display: inline-block; }

/* --------------------------- Banner de cookies ------------------------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--bg); border-top: 2px solid var(--wine); box-shadow: 0 -6px 24px rgba(38,32,26,.12); display: none; }
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; padding: 16px var(--gutter); }
.cookie-banner p { font-size: 13px; line-height: 1.55; color: var(--ink); margin: 0; max-width: 640px; }
.cookie-banner a { color: var(--wine); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex: none; }
.cookie-banner__actions button { font-family: var(--sans); font-size: 12.5px; letter-spacing: .06em; padding: 11px 18px; cursor: pointer; border: 1px solid var(--line-strong); background: none; color: var(--ink); }
.cookie-banner__actions button.is-primary { background: var(--wine); border-color: var(--wine); color: var(--bg); font-weight: 700; }
.cookie-banner__actions button.is-primary:hover { background: var(--wine-dark); }

/* --------------------------- Paginação --------------------------------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--body);
}
.pagination a:hover { border-color: var(--wine); color: var(--wine); }
.pagination [aria-current="page"] { background: var(--wine); color: var(--bg); border-color: var(--wine); font-weight: 700; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* --------------------------- Utilitários ------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.grid-2--start { align-items: start; }
.stack > * + * { margin-top: 16px; }
.measure { max-width: 680px; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page-head { padding: clamp(48px, 7vw, 72px) 0 clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(33px, 4.5vw, 52px); line-height: 1.14; margin-bottom: 18px; max-width: 820px; }
.page-head p { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 680px; }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .stats__item { border-right: none; border-bottom: 1px solid var(--line); }
  .stats__item:last-child { border-bottom: none; }
  .faq-a__inner { padding-right: 20px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
