/* AKORTE — estilos comuns do site. Fontes Cinzel e Montserrat (licença SIL OFL 1.1) hospedadas no próprio site. */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cinzel-400.woff") format("woff"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cinzel-700.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/montserrat-400.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/montserrat-500.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat-600.woff") format("woff"); }

:root {
  --pedra: #1A1A1A;
  --pedra-2: #242424;
  --clara: #EDE7DD;
  --ouro: #C6A962;
  --cinza-pedra: #C7C6C0;
  --ouro-hover: #D4BA7A;
  --concreto: #9A9A96;
  --filete: rgba(154, 154, 150, 0.28);
  --titulo: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --texto: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pedra: #1A1A1A; --clara: #EDE7DD; } }
:root[data-theme="dark"] { --pedra: #1A1A1A; --clara: #EDE7DD; }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); scroll-behavior: smooth; background: var(--pedra); }
@view-transition { navigation: auto; }
body {
  margin: 0;
  background: var(--pedra);
  color: var(--clara);
  font-family: var(--texto);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ouro); color: var(--pedra); padding: 12px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 16px; top: calc(env(safe-area-inset-top, 0px) + 8px); }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* Tipografia */
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; margin: 0; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.7rem, 1.15rem + 1.9vw, 2.75rem); line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem); line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); line-height: 1.6; color: var(--clara); max-width: 60ch; }
.sub { color: var(--concreto); max-width: 60ch; }
.rotulo { font-family: var(--texto); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ouro); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border: 1px solid var(--ouro);
  background: var(--ouro); color: var(--pedra); font-family: var(--texto); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; letter-spacing: 0.01em; cursor: pointer; border-radius: 0;
  transition: background-color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--ouro-hover); border-color: var(--ouro-hover); }
.btn-linha { background: transparent; color: var(--clara); }
.btn-linha:hover { background: rgba(198, 169, 98, 0.12); border-color: var(--ouro); }
.link { color: var(--clara); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--ouro); padding-bottom: 2px; }
.link:hover { color: var(--ouro); }

/* Cabeçalho */
.topo {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(26, 26, 26, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--filete);
}
.topo .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--clara); }
.marca svg { height: 24px; width: auto; color: var(--ouro); }
.marca span { font-family: var(--titulo); font-size: 1.15rem; letter-spacing: 0.25em; }
.menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.menu a:not(.btn) { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--clara); padding-block: 8px; }
.menu a:not(.btn):hover { color: var(--ouro); }
.menu .btn { min-height: 44px; padding: 10px 18px; font-size: 0.875rem; }
.menu-botao { display: none; background: none; border: 1px solid var(--filete); color: var(--clara); font-family: var(--texto); font-weight: 600; font-size: 0.875rem; min-height: 44px; padding: 8px 16px; cursor: pointer; border-radius: 0; }

/* Abertura */
.abertura { position: relative; min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px)); min-height: max(560px, calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px))); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.abertura canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; touch-action: pan-y; }
.abertura::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26,26,26,0.94) 0%, rgba(26,26,26,0.78) 38%, rgba(26,26,26,0.15) 72%, rgba(26,26,26,0) 100%),
    linear-gradient(0deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0) 40%); }
.abertura .wrap { width: 100%; padding-block: clamp(48px, 10vh, 112px); pointer-events: none; }
.abertura .conteudo { max-width: 780px; pointer-events: auto; }
.abertura h1 { font-size: clamp(2.15rem, 1.1rem + 3.9vw, 4.4rem); line-height: 1.1; letter-spacing: 0.015em; }
.abertura .lead { margin-top: 24px; max-width: 46ch; }
.abertura .acoes { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.abertura .nota { color: var(--concreto); font-size: 0.875rem; }
.dica { position: absolute; right: var(--gutter); bottom: clamp(20px, 4vh, 36px); text-align: right; font-size: 0.75rem; color: var(--concreto); line-height: 1.5; pointer-events: none; }

/* Seções */
.secao { padding-block: clamp(80px, 11vw, 150px); }
.secao + .secao { border-top: 1px solid var(--filete); }
.cabeca { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }

/* Medição e cookies (v15) */
footer .legal button.link { background: none; border: 0; border-bottom: 1px solid var(--ouro); padding: 0 0 2px; font: inherit; font-weight: 500; color: var(--clara); cursor: pointer; }
footer .legal button.link:hover { color: var(--ouro); }
.politica { min-width: 0; }
.tabela-cookies { max-width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid var(--filete, #3a3a37); }
.tabela-cookies table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.875rem; }
.tabela-cookies th, .tabela-cookies td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--filete, #3a3a37); color: var(--clara); line-height: 1.5; }
.tabela-cookies th { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--concreto); background: #242424; }
.politica .btn-linha { min-height: 44px; padding: 10px 18px; font: 600 0.875rem/1.2 var(--texto); border: 1px solid var(--ouro); background: transparent; color: var(--clara); cursor: pointer; }
