/* ==========================================================================
   base.css — fontes, cores e regras comuns às duas versões
   (as cores e fontes podem ser trocadas no config.js)
   ========================================================================== */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../assets/fonts/manrope-latin-wght-normal.woff2') format('woff2'); }

:root {
  --deep: #1F3B35;       /* verde-petróleo profundo */
  --moss: #3E6B5E;        /* verde musgo */
  --gold: #D9A441;        /* dourado principal */
  --gold-light: #F0D28A;  /* dourado claro */
  --mist: #DDE7E0;        /* verde-névoa */
  --cream: #F7F5EE;       /* creme claro */
  --ink: #1E2B27;         /* texto corrido sobre creme */
  --ink-soft: #4B5E58;    /* texto secundário (contraste AA sobre creme) */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-text); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--deep); color: var(--cream); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* revelar ao rolar (só quando o JS está ativo) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* aviso de cookies (só aparece se o rastreamento estiver ativo) */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 640px; margin-inline: auto; background: var(--deep); color: var(--cream); padding: 16px 18px; border-radius: 16px; box-shadow: 0 18px 50px rgba(10, 28, 24, .35); display: grid; gap: 12px; font-size: .9rem; line-height: 1.5; }
.consent a { color: var(--gold-light); }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent button { cursor: pointer; border-radius: 999px; padding: 10px 18px; border: 1.5px solid var(--gold-light); background: transparent; color: var(--cream); font-weight: 600; }
.consent button.is-primary { background: var(--gold); border-color: var(--gold); color: var(--deep); }

/* ícones das redes */
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.social:hover { transform: translateY(-2px); }

/* FAQ comum */
.faq__item { border-bottom: 1px solid rgba(31, 59, 53, .18); }
.faq__item summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 44px 24px 0; color: var(--ink-soft); }

.quote blockquote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; }
.quote figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }
