/* ==========================================================================
   Vera Pinturas — Design System
   1. Fonte  2. Tokens  3. Base  4. Layout  5. Componentes  6. Seções  7. Páginas legais
   ========================================================================== */

/* 1. FONTE (servida pelo próprio domínio; nenhum dado vai para terceiros) */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-vf.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 2. TOKENS */
:root {
  /* Cores da marca */
  --navy-950: #10161F;
  --navy-900: #1C2733;
  --navy-800: #243241;
  --navy-700: #2E3F52;
  --navy-600: #3C5269;
  --gold-500: #E8892B;
  --gold-400: #F0A24E;
  --gold-100: #FCEBD7;

  /* Neutros */
  --ink: #16202F;
  --ink-soft: #3A4558;
  --muted: #5B6577;
  --line: #E3E7EE;
  --line-strong: #CBD2DD;
  --surface: #F5F7FA;
  --surface-2: #EEF2F7;
  --white: #FFFFFF;

  /* Semânticas */
  --bg: var(--white);
  --text: var(--ink);
  --text-muted: var(--muted);
  --brand: var(--navy-900);
  --accent: var(--gold-500);
  --focus: #2F6FED;

  /* Tipografia */
  --font: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-md: 1.0625rem;   /* 17 */
  --fs-lg: 1.25rem;     /* 20 */
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem);

  /* Espaço */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Forma */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 30, 63, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 30, 63, 0.08);
  --shadow-lg: 0 24px 48px rgba(11, 30, 63, 0.14);

  --container: 1160px;
  --header-h: 72px;
}

/* 3. BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; font-weight: 750; color: var(--navy-900); }
p { color: var(--ink-soft); }
strong { font-weight: 700; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-100); color: var(--navy-900); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* 4. LAYOUT */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
.section { padding-block: var(--sp-8); }
@media (min-width: 960px) { .section { padding-block: var(--sp-9); } }
.section--alt { background: var(--surface); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255, 255, 255, 0.78); }
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 5. COMPONENTES */
/* Cabeçalho de seção */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.section-head p { font-size: var(--fs-md); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-full);
  font: inherit; font-size: var(--fs-sm); font-weight: 700; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy-900); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-400); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Cartões */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-5); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-sm); }
.icon-box {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--navy-900); margin-bottom: var(--sp-4);
}
.icon-box svg { width: 24px; height: 24px; }
.card--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; }
.card--dark:hover { border-color: rgba(255,255,255,.28); box-shadow: none; }
.card--dark .icon-box { background: rgba(232,137,43,.14); color: var(--gold-400); }

/* Lista de verificação */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.checklist li { position: relative; padding-left: 28px; font-size: var(--fs-sm); color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231C2733' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Aviso */
.notice {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: var(--gold-100); border: 1px solid #F4C99A; border-radius: var(--r-md); padding: var(--sp-5);
}
.notice svg { flex: none; width: 24px; height: 24px; color: #8A6A1F; margin-top: 2px; }
.notice h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.notice p { font-size: var(--fs-sm); color: #4A3D1B; }

/* 6. SEÇÕES */
/* Cabeçalho do site */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.06em; color: var(--navy-900); }
.brand-sub { font-size: 0.625rem; font-weight: 650; letter-spacing: 0.28em; color: var(--muted); margin-top: 5px; }
.nav { display: none; }
.nav ul { list-style: none; padding: 0; display: flex; gap: var(--sp-5); }
.nav a { text-decoration: none; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); padding-block: 6px; border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease; }
.nav a:hover { color: var(--navy-900); border-bottom-color: var(--accent); }
.header-cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--navy-900); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: var(--sp-3) 0 var(--sp-5); display: grid; }
.mobile-nav a:not(.btn) { display: block; padding: 12px 0; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { width: 100%; margin-top: var(--sp-4); }
@media (min-width: 1024px) {
  .nav, .header-cta { display: block; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* Primeira dobra */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(232,137,43,.20), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(36,70,122,.55), transparent 60%),
    var(--navy-900);
  padding-block: var(--sp-8) var(--sp-8);
}
@media (min-width: 960px) { .hero { padding-block: 112px; } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.25fr 1fr; gap: var(--sp-8); } }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 { color: var(--white); font-size: var(--fs-3xl); font-weight: 800; margin-bottom: var(--sp-5); }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-lead { font-size: var(--fs-lg); color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: var(--sp-6); line-height: 1.6; }
.hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { border-color: var(--white); }

.company-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg); padding: var(--sp-6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.company-card-head { display: flex; align-items: center; gap: var(--sp-3); padding-bottom: var(--sp-4); margin-bottom: var(--sp-4); border-bottom: 1px solid rgba(255,255,255,.14); }
.company-card-head img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.company-card-head strong { color: var(--white); display: block; font-size: var(--fs-sm); letter-spacing: .02em; }
.company-card-head span { font-size: var(--fs-xs); color: rgba(255,255,255,.65); }
.company-data { display: grid; gap: var(--sp-3); }
.company-data div { display: grid; gap: 2px; }
.company-data dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.company-data dd { margin: 0; font-size: var(--fs-sm); color: rgba(255,255,255,.9); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3CCB7F; box-shadow: 0 0 0 4px rgba(60,203,127,.18); }

/* Faixa de pilares */
.pillars { border-bottom: 1px solid var(--line); background: var(--white); }
.pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 900px) { .pillars-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.pillar { padding: var(--sp-5) var(--sp-4); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .pillar { border-bottom: 0; border-right: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 1px solid var(--line); }
  .pillar:last-child { border-right: 0; }
}
.pillar strong { display: block; font-size: var(--fs-sm); color: var(--navy-900); margin-bottom: 2px; }
.pillar span { font-size: var(--fs-xs); color: var(--muted); }

/* Sobre */
.about-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--sp-8); } }
.about-text p + p { margin-top: var(--sp-4); }
.mvv { display: grid; gap: var(--sp-4); }
.mvv .card { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
.mvv .icon-box { margin: 0; }
.values { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.values span { font-size: var(--fs-xs); font-weight: 650; padding: 6px 12px; border-radius: var(--r-full); background: var(--surface-2); color: var(--navy-900); }

/* Serviços */
.service-card ul { margin-top: var(--sp-4); }

/* Como trabalhamos */
.steps { list-style: none; padding: 0; display: grid; gap: var(--sp-5); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.step { position: relative; padding-top: var(--sp-6); border-top: 2px solid rgba(255,255,255,.14); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -15px; left: 0; padding-right: 12px; background: var(--navy-900);
  font-size: var(--fs-sm); font-weight: 800; letter-spacing: .1em; color: var(--gold-400);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); }

/* Equipe */
.team-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.member { display: flex; gap: var(--sp-4); align-items: flex-start; }
.avatar {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; color: var(--white); background: var(--navy-700);
}
.avatar--gold { background: var(--gold-500); color: var(--navy-950); }
.member h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.member .role { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-600); margin-bottom: var(--sp-2); }
.member p { font-size: var(--fs-sm); }
.member--lead { border-color: #F4C99A; background: linear-gradient(180deg, #FFFDF7, var(--white)); }

/* Dúvidas frequentes */
.faq { display: grid; gap: var(--sp-3); max-width: 860px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); font-weight: 700; color: var(--navy-900); font-size: var(--fs-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231C2733' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 var(--sp-5) var(--sp-5); }
.faq .answer p { font-size: var(--fs-sm); }
.faq .answer p + p { margin-top: var(--sp-3); }

/* Contato */
.contact-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--sp-8); align-items: start; } }
.contact-list { display: grid; gap: var(--sp-3); }
.contact-item { display: flex; gap: var(--sp-4); align-items: center; text-decoration: none; }
.contact-item .icon-box { margin: 0; }
.contact-item small { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.contact-item span { color: var(--white); font-weight: 600; word-break: break-word; }
a.contact-item:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Rodapé */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); font-size: var(--fs-sm); }
.footer-top { display: grid; gap: var(--sp-6); padding-block: var(--sp-8) var(--sp-6); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: rgba(255,255,255,.55); }
.site-footer p { color: rgba(255,255,255,.65); font-size: var(--fs-sm); margin-top: var(--sp-4); max-width: 340px; }
.footer-title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: var(--sp-3); }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--sp-5); display: grid; gap: var(--sp-3); font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.footer-legal p { margin: 0; max-width: none; font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.footer-legal strong { color: rgba(255,255,255,.85); }

/* 7. PÁGINAS LEGAIS */
.page-hero { background: var(--navy-900); color: var(--white); padding-block: var(--sp-8) var(--sp-7); }
.page-hero h1 { color: var(--white); font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,.75); }
.breadcrumb { font-size: var(--fs-xs); margin-bottom: var(--sp-4); color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--gold-400); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.legal-layout { display: grid; gap: var(--sp-7); padding-block: var(--sp-8); }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px 1fr; gap: var(--sp-8); } }
.toc { align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc-title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-3); }
.toc ol { padding-left: 20px; display: grid; gap: 6px; font-size: var(--fs-sm); }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--navy-900); text-decoration: underline; }
.legal { max-width: 760px; }
.legal h2 { font-size: var(--fs-xl); margin: var(--sp-7) 0 var(--sp-3); padding-top: var(--sp-2); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: var(--fs-md); margin: var(--sp-5) 0 var(--sp-2); }
.legal p, .legal li { font-size: var(--fs-md); color: var(--ink-soft); }
.legal p + p { margin-top: var(--sp-3); }
.legal ul, .legal ol { padding-left: 22px; margin-top: var(--sp-3); display: grid; gap: 6px; }
.legal a { color: var(--navy-600); text-underline-offset: 3px; }
.legal .notice { margin-top: var(--sp-5); }
.legal-meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-5); }
.data-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-4); font-size: var(--fs-sm); }
.data-table th, .data-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--surface); color: var(--navy-900); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--sp-9); }
.not-found h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.not-found p { margin-bottom: var(--sp-5); }

/* Complementos */
.section--tight { padding-block: var(--sp-7); }
.about-title { font-size: var(--fs-2xl); margin-bottom: var(--sp-5); }
.contact-title { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.contact-actions { margin-top: var(--sp-6); }
.section-head a, .faq a { color: var(--navy-600); text-underline-offset: 3px; }
.footer-links li { color: rgba(255,255,255,.72); }
.not-found .eyebrow { justify-content: center; }
.nf-actions { justify-content: center; }

/* 8. GALERIA (imagens ilustrativas) */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: var(--fs-sm); color: var(--ink-soft); }
.gallery-note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }
