/* ============================================================
   St. Paul's Pub — Design System
   Tema: pub vintage (preto + dourado) com toque de neon verde
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0d0d0f;
  --bg-soft:   #15151a;
  --bg-card:   #1b1b22;
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.14);

  --gold:      #cf9f43;
  --gold-2:    #e7c478;
  --green:     #2f9e54;
  --green-2:   #54c87a;

  --cream:     #f3eee2;
  --text:      #e9e4d7;
  --muted:     #a29c8e;

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 1180px;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --header-h: 76px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--cream);
  text-transform: uppercase;
}

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

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 48px); }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 5vw, 3rem); }
.section-title em { color: var(--green-2); font-style: normal; }
.lead { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.18rem); margin-top: 14px; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--gold); color: #111; padding: 10px 16px;
  border-radius: 8px; z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #1a1305;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg); border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.btn:active { transform: translateY(0); }
.btn--whatsapp { --btn-bg: var(--green); --btn-fg: #04210f; border-color: var(--green); }
.btn--whatsapp:hover { --btn-bg: var(--green-2); }
.btn--outline {
  background: transparent; color: var(--cream); border-color: var(--border-2);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn .ico { width: 20px; height: 20px; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; }
.brand b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; color: var(--cream); font-size: 1.05rem; }
.brand span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.nav a {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 1px;
  font-size: 0.95rem; color: var(--text);
  padding: 6px 2px; position: relative;
  transition: color 0.2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--green-2); transition: width 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .nav-cta { color: var(--gold); border: 1.5px solid var(--border-2); border-radius: 999px; padding: 8px 16px; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { border-color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--border-2); border-radius: 10px;
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 22px; height: 2px; background: var(--cream); transition: 0.25s var(--ease);
}
.nav-toggle span::before { translate: -50% -7px; }
.nav-toggle span::after  { translate: -50% 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { translate: -50% -50%; rotate: 45deg; }
.nav-toggle[aria-expanded="true"] span::after  { translate: -50% -50%; rotate: -45deg; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(10, 10, 12, 0.98); backdrop-filter: blur(14px);
    transform: translateX(100%); transition: transform 0.32s var(--ease);
    padding: 40px;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.5rem; }
  .nav .nav-cta { font-size: 1.2rem; padding: 12px 26px; }
  body.no-scroll { overflow: hidden; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: min(92vh, 820px);
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 40px) 20px 70px;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/hero.jpg") center/cover no-repeat;
  transform: scale(1.05); z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(47,158,84,0.18), transparent 55%),
    linear-gradient(180deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.72) 60%, rgba(8,8,10,0.95) 100%);
}
.hero-logo { width: clamp(110px, 22vw, 168px); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  text-shadow: 0 4px 24px rgba(0,0,0,.6);
}
.hero h1 .neon { color: var(--green-2); text-shadow: 0 0 18px rgba(84,200,122,.55); }
.hero p {
  max-width: 620px; margin: 18px auto 0; color: #eee;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: var(--muted); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   Highlights (cards)
   ============================================================ */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card .card-ico { width: 46px; height: 46px; color: var(--green-2); margin-bottom: 16px; }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--cream); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   About teaser
   ============================================================ */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; grid-template-columns: 1fr 1fr; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-body p { color: var(--muted); margin-top: 16px; }
.split-body .btn { margin-top: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { order: -1; } }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.gallery a { overflow: hidden; border-radius: 12px; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .gallery .wide { grid-column: span 2; } }

/* ============================================================
   Reservas band
   ============================================================ */
.reservas-band { background: linear-gradient(135deg, #14140f, #1c170c); border-block: 1px solid var(--border); }
.reservas-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.reserva-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; text-align: center;
}
.reserva-box .card-ico { width: 50px; height: 50px; color: var(--gold); margin: 0 auto 14px; }
.reserva-box h3 { font-size: 1.6rem; margin-bottom: 10px; }
.reserva-box p { color: var(--muted); margin-bottom: 22px; }
@media (max-width: 720px) { .reservas-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Location
   ============================================================ */
.location-grid { display: grid; gap: clamp(24px, 4vw, 44px); grid-template-columns: 1fr 1fr; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.2) contrast(1.05); }
.info-list { display: grid; gap: 22px; align-content: center; }
.info-item { display: flex; gap: 14px; }
.info-item .card-ico { width: 26px; height: 26px; color: var(--green-2); flex-shrink: 0; margin-top: 3px; }
.info-item h4 { font-size: 1.1rem; color: var(--cream); margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--muted); }
.info-item a:hover { color: var(--gold-2); }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #09090b; border-top: 1px solid var(--border); padding-block: 56px 28px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-brand img { width: 64px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.site-footer h5 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 16px; font-size: 1rem; }
.site-footer li { margin-bottom: 10px; }
.site-footer .footer-nav a, .site-footer .footer-contact a, .site-footer .footer-contact p { color: var(--muted); transition: color 0.2s; }
.site-footer .footer-nav a:hover, .site-footer .footer-contact a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--border-2); border-radius: 50%; color: var(--cream);
  transition: 0.2s var(--ease);
}
.socials a:hover { background: var(--gold); color: #111; border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; text-align: center; color: var(--muted); font-size: 0.85rem; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   Scroll reveal + motion
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Page hero (sub-páginas) + Formulários
   ============================================================ */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 60px) 0 54px;
  text-align: center; overflow: hidden; border-bottom: 1px solid var(--border);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg-soft) url("/assets/img/hero.jpg") center/cover; opacity: 0.16; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,15,0.72), rgba(13,13,15,0.96)); }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.page-hero h1 em { color: var(--green-2); font-style: normal; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 14px auto 0; }
.breadcrumb { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold-2); }

.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: 0.84rem; color: var(--cream); }
.field label .req { color: var(--green-2); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--border-2); border-radius: 10px;
  padding: 12px 14px; width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(84,200,122,0.18); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a29c8e' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-actions { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.form-note { color: var(--muted); font-size: 0.88rem; }
.form-note strong { color: var(--cream); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* Lista de itens com check (eventos / pilares) */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; color: var(--muted); }
.check-list svg { width: 22px; height: 22px; color: var(--green-2); flex-shrink: 0; margin-top: 2px; }
.check-list b { color: var(--cream); font-weight: 600; }

/* Faixa CTA final */
.cta-band { text-align: center; background: linear-gradient(135deg, #14140f, #1c170c); border-block: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.cta-band .hero-cta { margin-top: 26px; }

/* ============================================================
   Agenda — grade semanal + Instagram
   ============================================================ */
.notice { background: rgba(207,159,67,0.1); border: 1px solid rgba(207,159,67,0.35); color: var(--gold-2); border-radius: 12px; padding: 14px 18px; font-size: 0.92rem; margin-bottom: 30px; }

.week-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.day-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.25s var(--ease), border-color 0.25s; }
.day-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.day-card .dow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 2px; color: var(--green-2); font-size: 0.82rem; }
.day-card h3 { font-size: 1.3rem; margin: 6px 0 8px; color: var(--cream); }
.day-card p { color: var(--muted); font-size: 0.95rem; }
.day-card .time { display: inline-block; margin-top: 14px; font-family: var(--font-display); color: var(--gold-2); letter-spacing: 1px; font-size: 0.9rem; }

.insta-cta { text-align: center; background: linear-gradient(135deg, #1a1020, #0f1a16); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(30px, 5vw, 52px); }
.insta-cta .card-ico { width: 54px; height: 54px; color: var(--green-2); margin: 0 auto 14px; }
.insta-cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.insta-cta p { color: var(--muted); max-width: 520px; margin: 12px auto 24px; }

/* ============================================================
   Agenda — imagem substituível + shows
   ============================================================ */
.agenda-img-wrap { text-align: center; }
.agenda-img { max-width: 760px; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; display: block; }
.agenda-img-note { margin-top: 14px; color: var(--muted); font-size: 0.92rem; }
.agenda-img-note a { color: var(--gold-2); }
.agenda-img-note a:hover { text-decoration: underline; }

.shows-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.show-card { border-radius: var(--radius); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); }
.show-card video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 760px) { .shows-grid { grid-template-columns: 1fr; } }

/* Video do espaço (Reserva de Eventos) */
.espaco-vid { max-width: 860px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.espaco-vid video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
