/* ==========================================================================
   manuelamaciel.pt — style.css
   Ordem: 1 Fontes · 2 Variáveis · 3 Reset · 4 Base · 5 Layout · 6 Componentes
          7 Secções · 8 Fio das gerações · 9 Rodapé e overlays · 10 Movimento reduzido
   Contrastes: ver tabela da secção 3 da SPEC. Terracota nunca em linho,
   salva suave, salva ou oliva; salva nunca como cor de texto em fundo claro.
   ========================================================================== */

/* 1. Fontes (Google Fonts por CDN, ligadas no <head>) e fallbacks ----------- */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 103%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial"); size-adjust: 101%; ascent-override: 95%; descent-override: 24%; line-gap-override: 0%; }

/* 2. Variáveis ------------------------------------------------------------- */
:root {
  --areia: #EAF1E8;
  --branco-quente: #F8FBF6;
  --linho: #DCE9DC;
  --salva-suave: #D3E3D1;
  --salva: #A7B89E;
  --oliva: #3F5843;
  --oliva-escura: #2F4433;
  --terracota: #A4553B;
  --terracota-escura: #8E4630;
  --grafite: #2E2823;
  --texto-suave: #5E554C;

  --bg: var(--areia);
  --text: var(--grafite);
  --text-muted: var(--texto-suave);
  --link: var(--terracota);
  --focus: var(--terracota);
  --focus-on-dark: var(--areia);
  --hairline: rgb(46 40 35 / .18);

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Hanken Fallback", "Helvetica Neue", Arial, sans-serif;

  --fs-300: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --fs-400: 1rem;
  --fs-500: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-600: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-700: clamp(1.875rem, 1.4rem + 2.2vw, 3rem);
  --fs-800: clamp(2.5rem, 1.6rem + 4.2vw, 4.5rem);
  --fs-num: clamp(3rem, 2.2rem + 4vw, 5rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem;
  --sp-section: clamp(4rem, 3rem + 5vw, 8rem);
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --container: 75rem;
  --measure: 62ch;
  --header-h: 4.5rem;

  --radius-chip: 6px;
  --radius-card: 14px;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 20px 20px;

  --shadow-1: 0 1px 2px rgb(46 40 35 / .08), 0 8px 24px rgb(46 40 35 / .06);
  --shadow-2: 0 2px 4px rgb(46 40 35 / .10), 0 18px 48px rgb(46 40 35 / .14);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-1: 160ms;
  --dur-2: 320ms;

  --z-thread: 0; --z-header: 50; --z-float: 60; --z-banner: 80; --z-dialog: 90;
}

/* 3. Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
summary { cursor: pointer; }

/* 4. Base ------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  font-synthesis: none;
  hyphens: manual;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open, body:has(dialog[open]) { overflow: hidden; }

h1, h2, h3 { font-family: var(--font-display); color: var(--text); text-wrap: balance; }
h1 { font-size: var(--fs-800); font-weight: 340; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-700); font-weight: 380; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-600); font-weight: 500; line-height: 1.25; }
h2 + p, h2 + .lead { margin-top: var(--sp-5); }
em { font-style: normal; font-weight: 600; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-500); line-height: 1.55; }
.small { font-size: var(--fs-300); line-height: 1.5; letter-spacing: 0.005em; color: var(--text-muted); }
.measure { max-inline-size: var(--measure); }

/* :where() mantém a especificidade a zero, para os componentes (.brand, .float-cta...) a poderem sobrepor */
a:where(:not(.btn)) {
  color: var(--link);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  cursor: pointer;
  transition: text-decoration-thickness var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
a:where(:not(.btn)):hover { text-decoration: underline; text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: var(--sp-4); top: var(--sp-3); z-index: 100;
  padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-pill);
  background: var(--oliva); color: var(--branco-quente); font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; outline: 3px solid var(--terracota); outline-offset: 3px; }

/* 5. Layout ----------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 2 * var(--gutter), 52rem); }

.section {
  position: relative;
  padding-block: var(--sp-section);
  background: var(--bg-sec, var(--areia));
  color: var(--text);
}
.section > .container > * + * { margin-top: var(--sp-6); }
.section > .container > h2 + * { margin-top: var(--sp-5); }

.section--areia { --bg-sec: var(--areia); }
.section--linho { --bg-sec: var(--linho); --link: var(--oliva); }
.section--salva { --bg-sec: var(--salva-suave); --link: var(--oliva); }
.section--oliva {
  --bg-sec: var(--oliva); --text: var(--areia); --text-muted: var(--linho);
  --link: var(--areia); --focus: var(--focus-on-dark);
}
.section--oliva h2, .section--oliva h3 { color: var(--branco-quente); }
.training-links a { font-weight: 600; text-decoration: none; }
.training-links a:hover { color: var(--oliva-escura); text-decoration: underline; }

/* 6. Componentes ------------------------------------------------------------ */

/* 6.1 Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 48px; padding: .75rem 1.6rem;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: var(--fs-400); font-weight: 600; line-height: 1.2; letter-spacing: .01em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:active { transform: translateY(1px); }
a.btn:hover { text-decoration: underline; text-underline-offset: .2em; }
.btn--primary { background: var(--terracota); color: var(--branco-quente); }
.btn--primary:hover { background: var(--terracota-escura); box-shadow: 0 10px 24px rgb(142 70 48 / .30); }
.btn--secondary { border-color: var(--oliva); color: var(--oliva); background: transparent; }
.btn--secondary:hover { background: var(--oliva); color: var(--areia); }
.btn--on-dark { background: var(--areia); color: var(--oliva); }
.btn--on-dark:hover { background: var(--branco-quente); box-shadow: 0 10px 24px rgb(0 0 0 / .28); }
.btn--sm { min-height: 44px; padding: .5rem 1.15rem; font-size: .9375rem; }

.btn__arrow { position: relative; display: inline-block; width: 1.15em; height: .8em; flex: none; transition: transform var(--dur-2) var(--ease); }
.btn__arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; }
.btn__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: .5em; height: .5em; margin-top: -.25em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); }
.actions--stack { flex-direction: column; align-items: stretch; }

.link-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--link); text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.link-btn:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* 6.2 Header e navegação */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h); background: var(--areia); color: var(--grafite);
  transition: box-shadow var(--dur-2) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--hairline), 0 12px 32px rgb(46 40 35 / .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); height: 100%; }

.brand { display: flex; flex-direction: column; line-height: 1.15; color: var(--grafite); text-decoration: none; min-height: 44px; justify-content: center; }
.brand__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 420; letter-spacing: -0.01em; }
.brand__role { font-size: var(--fs-300); color: var(--text-muted); letter-spacing: .02em; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: var(--radius-pill); cursor: pointer;
}
.nav-toggle:hover { background: var(--linho); }
.nav-toggle__bar {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--grafite); border-radius: 2px;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: var(--sp-5); }
.site-nav__list { display: flex; align-items: center; gap: var(--sp-4); }
.site-nav__list a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-inline: .15rem;
  color: var(--grafite); font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: color var(--dur-1) var(--ease);
}
.site-nav__list a:hover { color: var(--oliva); text-decoration: underline; text-underline-offset: .2em; }
.site-nav__list a[aria-current="true"] { color: var(--oliva); }
.site-nav__tools { display: flex; align-items: center; gap: var(--sp-4); }

/* Seletor de idioma só com bandeiras redondas. O idioma ativo leva um anel oliva (o estado não depende só da cor da bandeira) */
.lang-switch { display: inline-flex; align-items: center; gap: .125rem; }
.lang-switch button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.flag {
  width: 26px; height: 26px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(46 40 35 / .2);
  transition: box-shadow var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.lang-switch button:hover .flag { transform: scale(1.08); box-shadow: 0 0 0 2px var(--areia), 0 0 0 3.5px var(--salva); }
.lang-switch button[aria-pressed="true"] .flag { box-shadow: 0 0 0 2px var(--areia), 0 0 0 4px var(--oliva); }
.lang-switch button:active .flag { transform: scale(.96); }

.progress {
  position: absolute; left: 0; right: 0; top: 100%; height: 3px; background: var(--terracota);
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

@media (max-width: 1023.98px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--sp-5);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    padding: var(--sp-3) var(--gutter) var(--sp-6);
    background: var(--areia); box-shadow: 0 24px 40px rgb(46 40 35 / .14); border-top: 1px solid var(--hairline);
    opacity: 0; visibility: hidden; transform: translateY(-.75rem);
  }
  /* só anima quando a pessoa abre/fecha (classe temporária), não ao mudar de breakpoint */
  .js .nav-anim .site-nav { transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility 0s linear var(--dur-2); }
  .js .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li + li { border-top: 1px solid var(--hairline); }
  .site-nav__list a { min-height: 56px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; background-position: 0 calc(100% - 12px); }
  .site-nav__tools { justify-content: space-between; flex-wrap: wrap; }
  .site-nav__tools .btn { flex: 1 1 14rem; }

  .no-js .site-header { position: static; height: auto; }
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: var(--sp-3); }
  .no-js .site-nav { flex-wrap: wrap; }
  .no-js .site-nav__list { flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }
  .no-js .lang-switch { display: none; }
}
@media (min-width: 1024px) { .progress { display: none; } }

/* 6.3 Hero ---------------------------------------------------------------- */
/* <960px: o conteúdo principal ocupa exatamente 100% da altura do ecrã (o retrato preenche o espaço que sobra)
   e as credenciais ficam logo abaixo da dobra. >=960px: tudo, incluindo as credenciais, cabe no primeiro ecrã. */
.hero {
  position: relative; display: flex; flex-direction: column;
  padding-top: var(--header-h);
  background:
    radial-gradient(60rem 36rem at 88% 62%, rgb(186 213 185 / .55), transparent 70%),
    radial-gradient(40rem 28rem at 4% 108%, rgb(208 229 204 / .9), transparent 70%),
    var(--areia);
  overflow: clip;
}
.no-js .hero { padding-top: 0; }
.hero__main {
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  padding-block: var(--sp-4) var(--sp-5);
}
.hero__grid { flex: 1 1 auto; display: grid; grid-template-rows: auto minmax(18rem, 1fr); gap: var(--sp-5); }
.hero__text > * + * { margin-top: var(--sp-4); }
.hero__text .training-links { margin-top: var(--sp-4); }
.hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.75rem); max-inline-size: 15em; }
.hero .lead { font-size: 1.0625rem; line-height: 1.5; max-inline-size: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); padding-top: var(--sp-2); }

/* Retrato editorial: retângulo de cantos suaves sobre um bloco de cor desfasado e uma moldura fina */
.hero__figure { --photo-r: clamp(18px, 2vw, 28px); position: relative; isolation: isolate; align-self: stretch; min-height: 9.5rem; margin: 0 0 18px 18px; }
.hero__figure::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--salva-suave); border-radius: var(--photo-r); transform: translate(-18px, 18px);
}
.hero__figure::after {
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px solid rgb(248 251 246 / .55); border-radius: calc(var(--photo-r) - 8px);
}
.hero__img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 55% 18%;
  border-radius: var(--photo-r); box-shadow: var(--shadow-2); background: var(--linho);
}
.hero__motif { position: absolute; z-index: 0; inset: -14% -26% -12% -26%; width: 152%; height: 126%; max-width: none; overflow: visible; pointer-events: none; }
.motif__lines path { stroke: var(--salva); stroke-width: 1.4; stroke-linecap: round; }
.motif__nodes circle, .motif__nodes rect { fill: var(--areia); stroke: var(--salva); stroke-width: 1.6; }
.motif__accent circle { fill: var(--terracota); }

.hero__creds { border-top: 1px solid var(--hairline); background: rgb(248 251 246 / .55); }
.creds { display: grid; }
.creds li {
  position: relative; padding: var(--sp-4) 0 var(--sp-4) 1.5rem;
  font-size: var(--fs-300); line-height: 1.45; color: var(--grafite);
}
.creds li + li { border-top: 1px solid var(--hairline); }
.creds li::before {
  content: ""; position: absolute; left: 0; top: calc(var(--sp-4) + .42em);
  width: 9px; height: 9px; border-radius: 50%; background: var(--areia); border: 2px solid var(--oliva);
}

@media (min-width: 640px) {
  .hero h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
  .hero .lead { font-size: var(--fs-500); }
  .hero__figure { aspect-ratio: 4 / 5; justify-self: end; max-width: 24rem; }
}
@media (min-width: 960px) {
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero__main { flex: 1; min-height: 0; justify-content: center; padding-block: clamp(1.5rem, 4svh, 4rem); }
  .hero__grid { flex: 0 1 auto; grid-template-rows: none; grid-template-columns: repeat(12, 1fr); column-gap: var(--sp-5); align-items: center; }
  .hero__text { grid-column: 1 / 8; }
  .hero__text > * + * { margin-top: var(--sp-5); }
  .hero h1 { font-size: clamp(2.5rem, min(var(--fs-800), 8.5svh + .5rem), 4.5rem); }
  .hero__figure {
    grid-column: 8 / 13; align-self: center; justify-self: end; min-height: 0; max-width: none; margin: 0 0 18px 0;
    width: min(100%, calc((100vh - var(--header-h) - 11rem) * .8));
    width: min(100%, calc((100svh - var(--header-h) - 11rem) * .8));
    min-width: 15rem;
  }
  .creds { grid-template-columns: repeat(3, 1fr); }
  .creds li { padding: var(--sp-5) var(--sp-5) var(--sp-5) calc(var(--sp-5) + 1.5rem); }
  .creds li + li { border-top: 0; border-left: 1px solid var(--hairline); }
  .creds li::before { top: calc(var(--sp-5) + .42em); left: var(--sp-5); }
  .creds li:first-child { padding-left: 1.5rem; }
  .creds li:first-child::before { left: 0; }
}

/* 6.4 Cartões "Para quem é" */
.cards { display: grid; gap: var(--sp-5); }
.card {
  padding: var(--sp-6) var(--sp-5); background: var(--branco-quente);
  border-radius: var(--radius-card); box-shadow: var(--shadow-1);
}
.card::before {
  content: ""; display: block; width: 14px; height: 14px; margin-bottom: var(--sp-5);
  border-radius: 50%; border: 2px solid var(--oliva); background: var(--areia);
}
.card:nth-child(2n)::before { border-radius: 3px; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--text-muted); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .cards--stagger .card:nth-child(2n) { margin-top: var(--sp-7); }
}

/* 6.5 Serviços, passos e glossário */
.split { display: grid; gap: var(--sp-5); }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
.split .service {
  padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--branco-quente);
  border-radius: var(--radius-card); box-shadow: var(--shadow-1);
}
.split .service .btn { margin-top: auto; }
.service p { color: var(--text); }
.service--plain { padding-top: var(--sp-5); border-top: 2px solid var(--oliva); }
.service--plain p { color: var(--text); }
@media (min-width: 960px) { .split { grid-template-columns: repeat(2, 1fr); } }

.list li { position: relative; padding-left: 1.5rem; }
.list li + li { margin-top: var(--sp-2); }
.list li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--salva); box-shadow: 0 0 0 2px var(--oliva);
}
.section--oliva .list li::before { box-shadow: none; background: var(--salva); }

.trio { display: grid; gap: var(--sp-6); }
@media (min-width: 640px) { .trio { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }

.steps__list { display: grid; gap: var(--sp-5); counter-reset: step; margin-top: var(--sp-5); }
.steps__list li { counter-increment: step; display: grid; gap: var(--sp-2); padding-top: var(--sp-4); border-top: 1px solid var(--hairline); }
.steps__list li::before {
  content: counter(step); font-family: var(--font-display); font-size: var(--fs-num); font-weight: 300;
  line-height: 1; letter-spacing: -.02em; color: var(--oliva);
}
.steps__list strong { font-family: var(--font-display); font-size: var(--fs-600); font-weight: 500; line-height: 1.25; }
.steps__list span { color: var(--text-muted); max-inline-size: 34ch; }
@media (min-width: 720px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }

.glossary { margin-top: var(--sp-7) !important; }
.glossary dl { margin-top: var(--sp-5); display: grid; border-bottom: 1px solid var(--hairline); }
.glossary dt, .glossary dd { padding-top: var(--sp-4); }
.glossary dt { border-top: 1px solid var(--hairline); font-family: var(--font-display); font-size: var(--fs-600); font-weight: 500; line-height: 1.25; color: var(--oliva); }
.glossary dd { padding-bottom: var(--sp-4); color: var(--text-muted); max-inline-size: 60ch; }
@media (min-width: 960px) {
  .glossary { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--sp-6); align-items: start; }
  .glossary > h3 { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
  .glossary dl { grid-column: 5 / 13; margin-top: 0; grid-template-columns: minmax(10rem, 14rem) 1fr; }
  .glossary dt, .glossary dd { padding-block: var(--sp-5); }
  .glossary dd { border-top: 1px solid var(--hairline); }
}

/* 6.6 Sobre */
.about { display: grid; gap: var(--sp-7); align-items: start; }
.about > * + * { margin-top: 0 !important; }
.about__figure { position: relative; isolation: isolate; width: min(100%, 26rem); }
.about__figure::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1.5px solid var(--salva); border-radius: var(--radius-card); transform: translate(14px, 14px);
}
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); box-shadow: 0 24px 60px rgb(0 0 0 / .28); }
.about__body > * + * { margin-top: var(--sp-5); }
.about__body > h2 + p { margin-top: var(--sp-5); }
.about__body p { max-inline-size: var(--measure); }

.quote { margin-block: var(--sp-6); padding: var(--sp-2) 0 var(--sp-2) var(--sp-5); border-left: 3px solid var(--salva); }
.quote p { font-family: var(--font-display); font-size: var(--fs-600); font-weight: 300; line-height: 1.35; color: var(--branco-quente); }
.quote footer { margin-top: var(--sp-3); font-size: var(--fs-300); color: var(--linho); }
.quote cite { font-style: normal; }

.facts { display: grid; gap: var(--sp-5); margin-block: var(--sp-6); }
.facts li { display: flex; flex-direction: column; gap: var(--sp-1); padding-top: var(--sp-4); border-top: 1px solid rgb(245 239 230 / .35); max-inline-size: none; }
.facts__n { font-family: var(--font-display); font-size: var(--fs-num); font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--salva); }
.about__body h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-4); }
.about__body .btn { margin-top: var(--sp-6); }

@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-6); } }
@media (min-width: 960px) {
  .about { grid-template-columns: repeat(12, 1fr); column-gap: var(--sp-6); }
  .about__figure { grid-column: 1 / 6; margin-top: var(--sp-8); width: 100%; position: sticky; top: calc(var(--header-h) + var(--sp-6)); }
  .about__body { grid-column: 6 / 13; padding-left: var(--sp-5); }
}

/* 6.7 Agenda */
.agenda { margin-top: var(--sp-6); }
.event { border-top: 1px solid var(--hairline); }
.event:last-child { border-bottom: 1px solid var(--hairline); }
.event article { display: grid; gap: var(--sp-3); padding: var(--sp-6) 0; }
.event__date { font-family: var(--font-display); font-size: var(--fs-600); font-weight: 400; line-height: 1.2; letter-spacing: -.005em; color: var(--oliva); }
.event__body > * + * { margin-top: var(--sp-3); }
.event__body h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem); }
.event__sub { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 400; color: var(--text); }
.event__meta { font-size: var(--fs-300); color: var(--text-muted); }
.event__tag {
  display: inline-block; padding: .2rem .7rem; border-radius: var(--radius-chip);
  background: var(--oliva); color: var(--branco-quente); font-size: var(--fs-300); font-weight: 600; letter-spacing: .02em;
}
.event .actions { padding-top: var(--sp-2); }
.list--dates { display: grid; gap: var(--sp-1) var(--sp-5); }
.event--destaque { background: var(--branco-quente); border-radius: var(--radius-card); border-top: 0; box-shadow: var(--shadow-1); margin-block: var(--sp-4); }
.event--destaque:last-child { border-bottom: 0; }
.event--destaque article { padding: var(--sp-6) var(--sp-5); }
.agenda__empty { margin-top: var(--sp-6); font-size: var(--fs-500); }
@media (min-width: 640px) { .list--dates { grid-template-columns: repeat(2, auto); justify-content: start; } }
@media (min-width: 960px) {
  .event article { grid-template-columns: 15rem 1fr; gap: var(--sp-6); padding-block: var(--sp-7); }
  .event--destaque article { padding: var(--sp-7) var(--sp-6); }
  .event__date { padding-top: .2em; max-inline-size: 11rem; }
}

/* 6.8 Publicações */
.book { display: grid; gap: var(--sp-6); align-items: center; }
.book__cover { width: min(60%, 20rem); border-radius: 4px; box-shadow: var(--shadow-2); }
.book__text > * + * { margin-top: var(--sp-3); }
.book__text h3 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 400; line-height: 1.12; }
.book__sub { font-family: var(--font-display); font-size: var(--fs-500); }
.book__photo { width: min(100%, 26rem); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-2); background: var(--grafite); }
.book__text .btn { margin-top: var(--sp-3); }

/* Lista editorial de publicações: ano | título e fonte | ação */
.pub > .works-block { margin-top: var(--sp-8); }
.works-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-5); margin-bottom: var(--sp-5); }
.works { border-bottom: 1px solid var(--hairline); }
.work {
  display: grid; grid-template-columns: 4rem 1fr; column-gap: var(--sp-4); row-gap: var(--sp-2);
  padding-block: var(--sp-5); border-top: 1px solid var(--hairline); align-items: baseline;
}
.work__year { font-family: var(--font-display); font-size: var(--fs-600); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; color: var(--oliva); font-variant-numeric: lining-nums; }
.work__title { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 450; line-height: 1.3; color: var(--grafite); }
.work__src { margin-top: var(--sp-1); font-size: var(--fs-300); line-height: 1.5; color: var(--text-muted); }
.work__link, .work__note { grid-column: 2; justify-self: start; }
.work__link {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  color: var(--oliva); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color var(--dur-1) var(--ease);
}
.work__link:hover { color: var(--oliva-escura); }
.work__link:hover .btn__arrow { transform: translateX(4px); }
.work__pdf { padding: .05rem .4rem; border: 1px solid currentColor; border-radius: var(--radius-chip); font-size: .75rem; letter-spacing: .06em; }
.work__note { font-size: var(--fs-300); color: var(--text-muted); }
@media (min-width: 720px) {
  .work { grid-template-columns: 6.5rem 1fr auto; column-gap: var(--sp-6); align-items: center; }
  .work__link, .work__note { grid-column: 3; grid-row: 1; justify-self: end; }
}

.pub__extras { display: grid; gap: var(--sp-5); margin-top: var(--sp-7); }
.extra { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--branco-quente); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
.extra__h { font-family: var(--font-body); font-size: var(--fs-300); font-weight: 700; letter-spacing: .02em; color: var(--oliva); }
.extra__title { font-family: var(--font-display); font-size: var(--fs-600); font-weight: 450; line-height: 1.25; color: var(--grafite); }
.extra__src { color: var(--text-muted); max-inline-size: 52ch; }
.extra .btn { margin-top: auto; }
@media (min-width: 768px) { .pub__extras { grid-template-columns: 1fr 1fr; } }

/* Vídeos (secção escura) */
.section--escuro {
  --bg-sec: var(--grafite); --text: var(--areia); --text-muted: var(--linho);
  --link: var(--areia); --focus: var(--focus-on-dark); --hairline: rgb(245 239 230 / .16);
}
.section--escuro h2, .section--escuro h3 { color: var(--branco-quente); }
.videos { display: grid; gap: var(--sp-6); margin-top: var(--sp-7) !important; }
.player__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px;
  background: #000; box-shadow: 0 30px 70px rgb(0 0 0 / .45);
}
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__facade { position: absolute; inset: 0; display: block; color: inherit; }
.player__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease), opacity var(--dur-2) var(--ease); }
.player__facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 55%, rgb(0 0 0 / .35)); pointer-events: none; }
.player__facade[hidden] { display: none; }
.player__thumb.is-swapping { opacity: .35; }
.player__facade:hover .player__thumb { transform: scale(1.03); }
.player__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: clamp(64px, 8vw, 88px); aspect-ratio: 1;
  margin: 0; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--areia); box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  transition: transform var(--dur-2) var(--ease), background-color var(--dur-1) var(--ease);
}
.player__play::before {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: .62em 0 .62em 1.05em; border-color: transparent transparent transparent var(--oliva);
  font-size: clamp(14px, 1.6vw, 19px);
}
.player__facade:hover .player__play { transform: translate(-50%, -50%) scale(1.07); background: var(--branco-quente); }
.player__facade:focus-visible { outline-offset: -6px; }
.player__meta { margin-top: var(--sp-4); }
.player__channel { font-size: var(--fs-300); font-weight: 600; letter-spacing: .02em; color: var(--salva); }
.player__title { margin-top: var(--sp-1); font-size: var(--fs-600); font-weight: 450; }

.playlist { display: grid; gap: var(--sp-2); align-content: start; }
.playlist__item {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--sp-4); align-items: center;
  padding: var(--sp-2); border-radius: 12px; color: var(--areia); text-decoration: none;
  border: 1px solid transparent; transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.playlist__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.playlist__item:hover { background: rgb(245 239 230 / .06); }
.playlist__item[aria-current="true"] { background: rgb(245 239 230 / .08); border-color: rgb(167 184 158 / .55); }
.playlist__text { display: grid; gap: .15rem; }
.playlist__channel { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--salva); }
.playlist__title { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.3; color: var(--areia); }
.playlist__item[aria-current="true"] .playlist__title { color: var(--branco-quente); }
@media (min-width: 960px) {
  .videos { grid-template-columns: repeat(12, 1fr); column-gap: var(--sp-6); align-items: start; }
  .player { grid-column: 1 / 9; }
  .playlist { grid-column: 9 / 13; }
  .playlist__item { grid-template-columns: 7.5rem 1fr; }
}
@media (min-width: 960px) {
  .book { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: var(--sp-6); }
  .book__cover { width: 100%; max-width: 20rem; }
  .book__photo { width: 100%; }
}

/* 6.9 Testemunhos */
.quotes { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.quotes blockquote { height: 100%; padding: var(--sp-6) var(--sp-5); background: var(--branco-quente); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
.quotes blockquote::before { content: "\201C"; display: block; margin-bottom: -.35em; font-family: var(--font-display); font-size: 4.5rem; font-weight: 300; line-height: 1; color: var(--oliva); }
.quotes blockquote p { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 300; line-height: 1.45; color: var(--grafite); }
.quotes blockquote footer { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--hairline); font-size: var(--fs-300); color: var(--text-muted); }
@media (min-width: 960px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .quotes li:first-child { grid-column: 1 / -1; }
  .quotes li:first-child p { max-inline-size: 76ch; }
}

/* 6.10 Novidades */
.news {
  display: grid; gap: var(--sp-5); padding: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--branco-quente); border-radius: var(--radius-card); box-shadow: var(--shadow-1);
  border-top: 4px solid var(--oliva);
}
.news h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.news__body > * + * { margin-top: var(--sp-4); }
.news__body .btn { margin-top: var(--sp-5); }
@media (min-width: 960px) { .news { grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; } .news h2 + * { margin-top: 0; } }

/* 6.11 FAQ */
.faq { margin-block: var(--sp-6); border-bottom: 1px solid var(--hairline); }
.faq details { border-top: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 64px; padding: var(--sp-4) 0; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-600); font-weight: 450; line-height: 1.25; color: var(--grafite);
  transition: color var(--dur-1) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--oliva); }
.faq__icon {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--oliva);
  transition: transform var(--dur-2) var(--ease), background-color var(--dur-1) var(--ease);
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--oliva); border-radius: 2px; transition: background-color var(--dur-1) var(--ease); }
.faq__icon::before { width: 12px; height: 2px; margin: -1px 0 0 -6px; }
.faq__icon::after { width: 2px; height: 12px; margin: -6px 0 0 -1px; }
.faq summary:hover .faq__icon { background: var(--oliva); }
.faq summary:hover .faq__icon::before, .faq summary:hover .faq__icon::after { background: var(--areia); }
.faq details[open] .faq__icon { transform: rotate(45deg); }
.faq details > p { padding: 0 0 var(--sp-5); max-inline-size: 60ch; color: var(--text); }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size var(--dur-2) var(--ease), content-visibility var(--dur-2) allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* 7. Contactos --------------------------------------------------------------- */
.contact { display: grid; gap: var(--sp-7); }
.contact > * + * { margin-top: 0 !important; }
.contact__main > * + * { margin-top: var(--sp-5); }
.contact__main .actions { margin-top: var(--sp-6); }
.contact__main .btn { width: 100%; }
.contact__channels h3, .contact__offices > h3, .social-block h3 { font-size: var(--fs-600); margin-bottom: var(--sp-4); }

.channels { display: grid; gap: var(--sp-4); }
.channel { padding: var(--sp-5); background: var(--branco-quente); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
.channel dt { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 500; line-height: 1.25; color: var(--grafite); }
.channel dd { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); color: var(--text-muted); }
.channel__links { display: flex; flex-wrap: wrap; gap: .25rem var(--sp-5); }
.channel__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }

.offices { display: grid; gap: var(--sp-4); }
.offices li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-1); padding: var(--sp-5); background: var(--branco-quente); border-radius: var(--radius-card); box-shadow: var(--shadow-1); }
.offices li::before { content: ""; width: 12px; height: 12px; margin-bottom: var(--sp-2); border-radius: 50%; background: var(--areia); border: 2px solid var(--oliva); }
.offices strong { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 500; line-height: 1.25; }
.offices address, .offices li > span { color: var(--text-muted); }
.offices a { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-weight: 600; }
.social-block { margin-top: var(--sp-7); }
.social { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

@media (min-width: 640px) { .offices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .contact { grid-template-columns: repeat(12, 1fr); column-gap: var(--sp-6); row-gap: var(--sp-8); }
  .contact__main { grid-column: 1 / 6; }
  .contact__channels { grid-column: 6 / 13; }
  .contact__offices { grid-column: 1 / 13; }
  .offices { grid-template-columns: repeat(4, 1fr); }
  .social-block { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
  .social-block h3 { margin: 0; }
}

/* 8. Fio das gerações --------------------------------------------------------- */
.thread { position: absolute; left: 0; top: 0; z-index: var(--z-thread); overflow: visible; pointer-events: none; }
.thread__track { fill: none; stroke: var(--salva); stroke-width: 1.5; }
.thread__halo { fill: none; stroke: var(--areia); stroke-width: 6; stroke-linecap: round; }
.thread__draw { fill: none; stroke: var(--terracota); stroke-width: 2.25; stroke-linecap: round; }
.thread__node { fill: var(--areia); stroke: var(--salva); stroke-width: 2.5; transition: fill var(--dur-2) var(--ease), stroke var(--dur-2) var(--ease); }
.thread__node.is-active { fill: var(--terracota); stroke: var(--areia); stroke-width: 3; }

/* 9. Rodapé, botão flutuante, cookies e diálogo ------------------------------ */
.site-footer {
  --text: var(--areia); --text-muted: var(--linho); --link: var(--areia); --focus: var(--focus-on-dark);
  background: var(--grafite); color: var(--areia); padding-top: var(--sp-8);
}
.footer__grid { display: grid; gap: var(--sp-7); }
.footer__name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 420; letter-spacing: -.01em; color: var(--branco-quente); }
.footer__brand > * + * { margin-top: var(--sp-3); }
.footer__brand p { max-inline-size: 34ch; }
.footer__tag { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 300; line-height: 1.4; color: var(--linho); }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); padding-top: var(--sp-2); }
.footer__h { margin-bottom: var(--sp-4); font-family: var(--font-body); font-size: var(--fs-300); font-weight: 700; letter-spacing: .06em; text-transform: none; color: var(--salva); }
.footer__col ul > li + li { margin-top: var(--sp-3); }
.footer__col a, .footer__social a, .footer__legal a, .footer__bottom a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--areia);
  text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.footer__col a:hover, .footer__social a:hover, .footer__legal a:hover, .footer__bottom a:hover, .site-footer .link-btn:hover { color: var(--salva); text-decoration: underline; text-decoration-thickness: 2px; }
.footer__label { display: block; font-size: var(--fs-300); color: var(--linho); }
.footer__col li > span:not(.footer__label) { color: var(--areia); }
.footer__col address a { align-items: flex-start; min-height: 44px; padding-block: .1rem; }
nav.footer__col a { min-height: 44px; min-width: 44px; }
nav.footer__col ul > li + li { margin-top: 0; }

.site-footer .link-btn { color: var(--areia); }
.footer__legalbar { margin-top: var(--sp-8); border-top: 1px solid rgb(245 239 230 / .22); }
.footer__legal { display: flex; flex-direction: column; gap: var(--sp-2); padding-block: var(--sp-4); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 var(--sp-6); }
.footer__bottom { display: flex; flex-direction: column; gap: var(--sp-2); padding-block: var(--sp-4) var(--sp-6); font-size: var(--fs-300); color: var(--linho); border-top: 1px solid rgb(245 239 230 / .12); }
.footer__bottom a { min-height: 44px; }
.footer__top { align-self: flex-start; }

@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1.35fr 1.5fr; column-gap: var(--sp-6); }
  .footer__brand { grid-column: auto; }
  .footer__legal { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.float-cta {
  position: fixed; right: var(--sp-4); bottom: var(--sp-4); z-index: var(--z-float);
  display: none; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.5rem;
  border-radius: var(--radius-pill); background: var(--oliva); color: var(--branco-quente);
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility 0s linear var(--dur-2), background-color var(--dur-1) var(--ease);
}
.float-cta:hover { background: var(--oliva-escura); }
.float-cta:active { transform: translateY(1px); }
.float-cta:focus-visible { outline: 3px solid var(--terracota); outline-offset: 3px; }
.float-cta.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-banner .float-cta { display: none !important; }
@media (max-width: 1023.98px) { .js .float-cta { display: inline-flex; } }
.nav-open .float-cta { display: none !important; }

.consent {
  position: fixed; z-index: var(--z-banner); left: var(--sp-3); right: var(--sp-3); bottom: var(--sp-3);
  display: grid; gap: var(--sp-3); padding: var(--sp-5);
  background: var(--branco-quente); color: var(--grafite);
  border-radius: var(--radius-card); box-shadow: var(--shadow-2); border: 1px solid var(--hairline);
}
.consent[hidden] { display: none; }
.consent__title { font-size: var(--fs-600); font-weight: 500; line-height: 1.25; }
.consent p { font-size: var(--fs-300); line-height: 1.55; color: var(--grafite); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.consent .link-btn { --link: var(--oliva); color: var(--oliva); font-size: var(--fs-300); }
@media (min-width: 640px) { .consent { left: var(--sp-5); right: auto; bottom: var(--sp-5); width: 28rem; } }
@media (min-width: 960px) {
  .consent {
    left: 50%; bottom: var(--sp-5); width: min(62rem, calc(100% - 2 * var(--gutter))); transform: translateX(-50%);
    grid-template-columns: 1fr auto; column-gap: var(--sp-6); row-gap: var(--sp-1); align-items: center; padding: var(--sp-4) var(--sp-5);
  }
  .consent__title { grid-column: 1; grid-row: 1; }
  .consent p { grid-column: 1; grid-row: 2; max-inline-size: 60ch; }
  .consent__actions { grid-column: 2; grid-row: 1; grid-template-columns: auto auto; }
  .consent__more { grid-column: 2; grid-row: 2; justify-self: end; }
}

.dialog {
  width: min(42rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100svh - 2rem);
  padding: clamp(1.25rem, 4vw, 2.5rem); border: 0; border-radius: var(--radius-card);
  background: var(--areia); color: var(--grafite); box-shadow: var(--shadow-2); overflow: auto;
}
.dialog, .table-wrap { scrollbar-width: thin; scrollbar-color: var(--oliva) var(--linho); }
.dialog::-webkit-scrollbar, .table-wrap::-webkit-scrollbar { width: 12px; height: 12px; }
.dialog::-webkit-scrollbar-track, .table-wrap::-webkit-scrollbar-track { background: var(--linho); border-radius: var(--radius-pill); }
.dialog::-webkit-scrollbar-thumb, .table-wrap::-webkit-scrollbar-thumb {
  background: var(--oliva); border: 3px solid var(--linho); border-radius: var(--radius-pill);
}
.dialog::-webkit-scrollbar-thumb:hover, .table-wrap::-webkit-scrollbar-thumb:hover { background: var(--oliva-escura); }
.dialog::backdrop { background: rgb(47 68 51 / .62); }
.dialog > * + * { margin-top: var(--sp-4); }
.dialog h2 { font-size: var(--fs-700); }
.dialog p { color: var(--grafite); }
.dialog__actions { padding-top: var(--sp-3); }
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-300); }
caption { padding: var(--sp-3) var(--sp-4); text-align: left; font-weight: 700; color: var(--grafite); background: var(--linho); }
th, td { padding: var(--sp-3) var(--sp-4); text-align: left; vertical-align: top; border-top: 1px solid var(--hairline); color: var(--grafite); }
th { background: var(--branco-quente); font-weight: 700; }

/* 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: var(--gutter); background: var(--areia); }
.notfound__box { max-width: 36rem; }
.notfound__box > * + * { margin-top: var(--sp-5); }

/* 10. Movimento reduzido ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
