/* CASAMENTO — um sistema só para as três telas.
   Tinta escura, papel claro, e um dourado de cerveja como única cor forte.
   Título em Fraunces (serifada, de convite); texto em Inter. */

@font-face { font-family: "Fraunces"; src: url("/fontes/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("/fontes/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("/fontes/inter-latin-wght-normal.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/fontes/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Tema da festa: lavanda. Papel com um fio de lilás, tinta violeta quase
     preta, e o verde-sálvia da folha da lavanda para o que está "feito". */
  --papel: #f7f5fb;
  --cartao: #ffffff;
  --tinta: #251f33;
  --tinta-2: #5a5370;
  --tinta-3: #8c86a1;
  --filete: #e5e0ee;
  --lavanda: #6b5b9e;         /* texto e ícone sobre papel (contraste AA) */
  --lavanda-viva: #6f5fa6;    /* botão cheio, com letra branca */
  --lavanda-clara: #efeaf8;
  --lavanda-tela: #c9bdf2;    /* destaque sobre o fundo escuro do telão */
  --feito: #4d6b3c;
  --feito-claro: #edf2e6;
  --perigo: #b91c1c;
  --raio: 14px;
  --sombra: 0 1px 2px rgb(28 25 23 / .06), 0 8px 24px rgb(28 25 23 / .06);
  --titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 16px/1.5 var(--texto); }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.escondido { display: none !important; }

/* ---------- botões ---------- */
.botao {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--tinta); color: #fff; font-weight: 600; cursor: pointer;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.botao:active { transform: translateY(1px); }
.botao:disabled { opacity: .5; }
.botao.lavanda { background: var(--lavanda-viva); color: #fff; }
.botao.linha { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--filete); }
.botao.pequeno { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.botao svg { width: 22px; height: 22px; flex: none; }
.link { background: none; border: 0; padding: 0; color: var(--tinta-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }

input[type=text], textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--filete);
  background: #fff; outline: none;
}
input[type=text]:focus, textarea:focus { border-color: var(--lavanda); }

.torrada {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--tinta); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px;
  box-shadow: var(--sombra); z-index: 50; max-width: calc(100% - 32px);
}

/* O "&" do nome dos noivos. */
h1 .e, .grande .e { color: var(--lavanda-tela); font-weight: 300; font-style: normal; padding: 0 .06em; }
