:root{
  --bg:#0b0c10;
  --panel:#111318;
  --text:#fff6e6;
  --muted:#d6c7ae;

  /* Paleta Angrydog (laranja/amarelo) */
  --accent:#ffb300;     /* amarelo */
  --accent2:#ff6a00;    /* laranja */
  --accent3:#ffd76a;    /* highlight */

  --border:rgba(255,255,255,.10);
  --shadow: 0 12px 34px rgba(0,0,0,.42);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  line-height:1.5;

  /* FUNDO BEM MAIS LARANJA/AMARELO */
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(255,106,0,.40), transparent 55%),
    radial-gradient(900px 600px at 85% 0%, rgba(255,179,0,.30), transparent 52%),
    radial-gradient(800px 500px at 50% 110%, rgba(255,215,106,.16), transparent 50%),
    linear-gradient(180deg, rgba(255,179,0,.08), rgba(11,12,16,1) 45%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 18px;}
.spacer{height:84px}

/* ===== Topo ===== */
.topbar{
  position:fixed; top:0; left:0; right:0;
  background: linear-gradient(90deg, rgba(255,106,0,.28), rgba(255,179,0,.16), rgba(11,12,16,.82));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,179,0,.20);
  z-index: 1000;
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
}

.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:800;
  letter-spacing:.3px;
}

.brandLogo{
  width:34px; height:34px; border-radius:12px;
  border:1px solid rgba(255,179,0,.25);
  box-shadow: 0 10px 24px rgba(255,106,0,.18);
  background: rgba(255,255,255,.02);
  object-fit:contain;
}

.brandText{opacity:.95}

.menu{display:flex; gap:18px; align-items:center;}
.menu a{
  color: var(--muted);
  padding:10px 12px;
  border-radius: 12px;
  transition: .18s ease;
}
.menu a:hover{
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.menu a.active{
  color: var(--text);
  background: linear-gradient(135deg, rgba(255,179,0,.35), rgba(255,106,0,.28));
  border:1px solid rgba(255,179,0,.35);
  box-shadow: 0 10px 24px rgba(255,106,0,.16);
}

.mobileBtn{
  display:none;
  border:1px solid rgba(255,179,0,.22);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
}

/* ===== Cards / Layout ===== */
.card{
  background: rgba(17,19,24,.78);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cardPad{ padding:22px; }

.section{ padding:18px 0 44px; }
.section h2{ margin:0 0 14px; font-size:22px; }
.muted{ color: var(--muted); }

/* ===== Hero (index) ===== */
.hero{ padding:44px 0 24px; }
.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.h1{
  font-size: clamp(30px, 4.2vw, 48px);
  line-height:1.05;
  margin:0 0 14px;
}
.lead{ color: var(--muted); margin:0 0 18px; font-size: 16px; }

.badges{ display:flex; flex-wrap:wrap; gap:10px; }
.badge{
  font-size:13px;
  color: var(--muted);
  border:1px solid rgba(255,179,0,.18);
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(255,179,0,.06);
}
.badge strong{ color: var(--text); font-weight:800; }

.ctaRow{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(255,179,0,.20);
  background: rgba(255,255,255,.03);
  color: var(--text);
  transition:.18s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.06); }
.btn.primary{
  border-color: rgba(255,179,0,.55);
  background: linear-gradient(135deg, rgba(255,179,0,.55), rgba(255,106,0,.45));
  box-shadow: 0 12px 26px rgba(255,106,0,.22);
}
.btn.primary:hover{
  background: linear-gradient(135deg, rgba(255,179,0,.65), rgba(255,106,0,.55));
}

.heroPhoto{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,179,0,.14);

  /* evita “logo gigante” quebrar layout se por acaso o hero estiver apontando pro logo */
  aspect-ratio: 16 / 10;
}
.heroPhoto img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(1.08) contrast(1.06);
}

/* ===== Grids ===== */
.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; }

a.tile{display:block}
.tile{ padding:18px; }
.tile h3{ margin:0 0 8px; font-size:16px; }
.tile p{ margin:0; color: var(--muted); font-size:14px; }

/* ===== Footer ===== */
.footer{
  border-top: 1px solid rgba(255,179,0,.10);
  padding:28px 0 40px;
  color: var(--muted);
}
.footerRow{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.small{ font-size:13px; }

/* ===== Galeria ===== */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:10px;
}
.gItem{
  grid-column: span 4;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(255,179,0,.12);
  background: rgba(255,179,0,.04);
}
.gItem.tall{ grid-column: span 4; grid-row: span 2; }
.gItem.wide{ grid-column: span 8; }
.gItem img{ width:100%; height:100%; object-fit:cover; }

.pageTitle{
  margin:0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  line-height:1.1;
}
.pageIntro{ margin:0; color: var(--muted); }

/* ===== Modal 18+ ===== */
.age-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.age-modal.show{ display:block; }

.age-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}

.age-box{
  position:relative;
  max-width: 520px;
  margin: 12vh auto 0;
  padding: 22px;
  border-radius: 18px;
  background: rgba(17,19,24,.92);
  border: 1px solid rgba(255,179,0,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.age-box h2{
  margin:0 0 10px;
  font-size: 22px;
}

.age-text{
  margin:0 0 16px;
  color: var(--muted);
}

.age-actions{
  display:flex;
  gap:12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.age-actions .btn{
  flex:1;
  min-width: 140px;
}

.age-foot{
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  opacity: .95;
}

/* ============================================================
   ===== CERVEJAS PREMIUM (cervejas.php) =====
   (fica no final pra “ganhar” das regras antigas)
   ============================================================ */

.beerGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
}

/* card premium */
.beerCard{
  border-radius: 20px;
  overflow:hidden;
  border:1px solid rgba(255,179,0,.16);
  background: rgba(17,19,24,.84);
  box-shadow: 0 16px 44px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.beerCard:hover{
  transform: translateY(-2px);
  border-color: rgba(255,179,0,.28);
  box-shadow: 0 22px 56px rgba(0,0,0,.55);
}

/* ✅ IMAGEM OCUPA TODO O CARD (sem fundo/moldura)
   - usa aspect-ratio do seu arquivo (251x450)
   - assim não “corta” e não sobra faixa feia */
.beerMedia{
  width:100%;
  aspect-ratio: 251 / 450;
  padding:0;
  margin:0;
  background: transparent;
  border-bottom: 1px solid rgba(255,179,0,.10);
  overflow:hidden;
}
.beerMedia img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;        /* ocupa tudo sem distorcer */
  object-position:center;
}

/* texto */
.beerBody{ padding:16px 16px 18px; }
.beerTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.beerBody h3{ margin:0; font-size:18px; }

.tag{
  font-size:12px;
  color: rgba(255,215,106,.95);
  border:1px solid rgba(255,179,0,.22);
  background: rgba(255,179,0,.08);
  padding:6px 10px;
  border-radius:999px;
}

.beerBody p{
  margin:8px 0 0;
  color: var(--muted);
  font-size:14px;
}

.kv{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.pill{
  font-size:12px;
  color: var(--muted);
  border:1px solid rgba(255,179,0,.16);
  background: rgba(255,179,0,.06);
  padding:6px 8px;
  border-radius: 999px;
}

/* ===== Responsivo ===== */
@media (max-width: 980px){
  .beerGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .heroGrid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .gItem{ grid-column: span 6; }
  .gItem.wide{ grid-column: span 12; }
}
@media (max-width: 720px){
  .mobileBtn{ display:inline-flex; }
  .menu{
    position:absolute;
    top:68px; left:0; right:0;
    padding:12px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    background: rgba(11,12,16,.94);
    border-bottom: 1px solid rgba(255,179,0,.12);
  }
  .menu.open{ display:flex; }
  .menu a{ width:100%; }
  .spacer{ height:74px; }
  .gItem{ grid-column: span 12; }

  .beerGrid{ grid-template-columns: 1fr; }
}

