/* Página provisória «em breve» de mafraconjunta.pt (sai no lançamento) */
@font-face { font-family: "Raleway"; src: url("../fontes/raleway.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fontes/fraunces-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root { --verde: #163626; --verde-2: #1d4431; --ouro: #e2b866; --creme: #f6f1e7; --creme-2: #d9d2c3; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(ellipse at 50% 0%, var(--verde-2), var(--verde) 65%); background-color: var(--verde);
  color: var(--creme); font-family: "Raleway", system-ui, sans-serif; line-height: 1.5;
}
a { color: var(--ouro); }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eb {
  min-height: 100dvh; max-width: 720px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: calc(24px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.eb-topo { width: 100%; display: flex; justify-content: center; }
.eb-brasao { height: 64px; width: auto; display: block; }

.eb-marca { position: relative; width: min(420px, 86vw); margin-top: 8px; }
.eb-marca img { width: 100%; height: auto; display: block; }
.eb-brilho {
  position: absolute; left: 50%; top: 52%; width: 70%; height: 60%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(226, 184, 102, .22), transparent); filter: blur(8px);
  animation: brilho 4s ease-in-out infinite; z-index: -1;
}
@keyframes brilho { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

h1 { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.1; margin: 6px 0 0; text-wrap: balance; }
.eb-abre { margin: 0; font-size: 1.05rem; color: var(--ouro); font-weight: 600; letter-spacing: .02em; }

.eb-contagem { display: flex; gap: 12px; margin: 10px 0 4px; }
.eb-contagem div {
  width: 92px; padding: 14px 6px 10px; border-radius: 16px; border: 1.5px solid rgba(226, 184, 102, .55);
  background: rgba(0, 0, 0, .14); display: grid; gap: 2px;
}
.eb-contagem b { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--ouro); font-variant-numeric: tabular-nums; }
.eb-contagem span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--creme-2); }

.eb-texto { max-width: 34em; margin: 8px 0 0; font-size: 1.02rem; color: var(--creme); }
.eb-convite { max-width: 34em; margin: 0; padding: 14px 18px; border-top: 1px solid rgba(226, 184, 102, .35); border-bottom: 1px solid rgba(226, 184, 102, .35); color: var(--creme-2); font-size: .95rem; }
.eb-rodape { margin-top: auto; padding-top: 18px; font-size: .82rem; color: var(--creme-2); }
.eb-rodape p { margin: 4px 0; }

@media (max-width: 380px) { .eb-contagem div { width: 80px; } .eb-contagem b { font-size: 2.2rem; } }
@media (prefers-reduced-motion: reduce) { .eb-brilho { animation: none; } }
