/* Fé Diária — base compartilhada (app e página de venda) */
/* Títulos: EB Garamond (OFL, Fontsource). A Cormorant da identidade foi trocada porque, no Chrome,
   os acentos (ê, á, í) apareciam deslocados em todas as versões testadas. Mesma família estética (Garamond). */
@font-face { font-family: 'EB Garamond'; src: url('/fonts/ebgaramond-700.woff2') format('woff2'); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('/fonts/ebgaramond-600-italic.woff2') format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('/fonts/ebgaramond-700-italic.woff2') format('woff2'); font-weight: 700 800; font-style: italic; font-display: swap; }
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --areia: #E8C48A;
  --terracota: #B5552B;
  --terracota-escura: #8E3F1D;
  --noite: #1B2A4A;
  --noite-2: #24375f;
  --dourado: #F2C14E;
  --pergaminho: #F3E6C8;
  --texto: #1E1612;
  --texto-2: #4a3b30;
  --fundo: #FBF6EC;
  --cartao: #FFFCF5;
  --linha: #e2d3b3;
  --ok: #2f6b3a;
  --erro: #9b1c1c;
  --raio: 18px;
  --sombra: 0 2px 0 rgba(30, 22, 18, .06), 0 8px 24px rgba(30, 22, 18, .08);
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--noite); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; color: var(--noite); }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 60px; padding: 14px 24px;
  border: 0; border-radius: 16px;
  font: 700 1.05rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  background: var(--noite); color: #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .18);
  touch-action: manipulation;
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .18); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-largo { width: 100%; }
.btn-terracota { background: var(--terracota-escura); }
.btn-dourado { background: var(--dourado); color: var(--texto); }
.btn-claro { background: #fff; color: var(--noite); border: 2px solid var(--noite); box-shadow: none; }
.btn-perigo { background: #fff; color: var(--erro); border: 2px solid var(--erro); box-shadow: none; }
.btn-link {
  background: none; border: 0; color: var(--noite); font: 600 1rem var(--sans);
  text-decoration: underline; text-underline-offset: 4px; padding: 12px 4px; min-height: 48px; cursor: pointer;
}
