/* Override vintage para páginas de evento legadas (public/eventos/*).
   Carregado em último no <head>; vence o CSS legado e as fontes diferidas. */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

body {
  background-color: #FBF7EC !important;
  color: #1C1813;
}

/* O legado usa Space Mono no corpo (chega tarde via media=print e
   "re-estiliza" a página) — forçar sans em tudo... */
* {
  font-family: 'Work Sans', Verdana, Arial, sans-serif !important;
  box-shadow: none !important;
}

/* ...e display Anton nos títulos (regra posterior vence o universal) */
h1, h2, h3, h4 {
  font-family: 'Anton', 'Work Sans', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}

/* Ícones Font Awesome precisam da própria fonte de volta */
.fa, .fas, .far, .fab, .fa-solid, .fa-brands, [class*="fa-"] {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
}

/* Hairlines: bordas legadas de 2-4px descem para 1px (elementos sem
   border-style continuam sem borda — width só se manifesta com style) */
body :is(div, section, article, aside, figure, form, table, img, blockquote) {
  border-width: 1px !important;
  border-color: #1C1813 !important;
}

button, .btn, a.btn, input[type="submit"], [class*="botao"], [class*="button"], a[class*="cta"], button[class*="cta"] {
  border-radius: 999px !important;
  border-width: 1px !important;
}

input, select, textarea {
  border-width: 1px !important;
  border-color: #1C1813 !important;
  border-radius: 10px !important;
}

/* ── Correções da auditoria detalhada (3 causas-raiz) ── */

/* P0.1: variáveis legadas redefinidas — resolve cards brancos, pretos puros e bordas grossas */
:root {
  --color-black: #1C1813;
  --color-white: #FFFEF8;
  --color-gray-light: #F3EDDF;
  --border-width: 1px;
}

/* P0.2-3: topbar (é <nav>, escapava ao hairline) */
.topbar {
  background: #FBF7EC !important;
  border-bottom: 1px solid #1C1813 !important;
}

.topbar__back a {
  border-radius: 999px !important;
  border: 1px solid #1C1813 !important;
  background: #FFD700 !important;
  color: #1C1813 !important;
}

/* P0.4: pseudo-elemento escapa ao * */
.event-closed::after {
  box-shadow: none !important;
  border: 1px solid #1C1813 !important;
  background: rgba(28, 24, 19, 0.92) !important;
  border-radius: 12px !important;
}

.cta-section { border-radius: 16px !important; }

/* P1: hero (é <header>) + chips */
.hero {
  background: #FBF7EC !important;
  border-bottom-width: 1px !important;
}

.hero::before { filter: sepia(25%) !important; }

.hero__eyebrow, .topbar__badge {
  border-width: 1px !important;
  border-radius: 999px !important;
}

.topbar__lang { border-radius: 999px; overflow: hidden; background: #FBF7EC; }

/* P2: elementos fora do grupo hairline */
.guest-badge { border-width: 1px !important; border-radius: 999px !important; }
.schedule time { border-width: 1px !important; border-radius: 8px !important; }
details.bio-more { border-width: 1px !important; }
details.bio-more summary { border-bottom-width: 1px !important; }
.bio-role, .topic-list li i, .bio-highlight-item i { border-width: 1px !important; }
.price-info { border-radius: 12px !important; }

/* P3 */
.modal__overlay, .success-popup { background: rgba(28, 24, 19, 0.5) !important; }
