/* ============================================
   JURASSIK SAMBA — Tema profissional preto/laranja
   Mobile-first
   ============================================ */
:root {
  --bg: #0a0a0a;
  --bg2: #151515;
  --bg3: #1e1e1e;
  --orange: #ff7a00;
  --orange2: #ffb347;
  --text: #f0f0f0;
  --muted: #a0a0a0;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,0.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--orange2); text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--orange); color: #000; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--orange);
}
.navbar .logo-link { display: flex; align-items: center; }
.navbar .logo-link img { height: 60px; transition: height 0.25s; }
.menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(255,122,0,0.12); border: 1px solid var(--orange);
  color: var(--orange); font-size: 1.4rem; cursor: pointer;
}
.menu-btn:active { background: var(--orange); color: #000; }
.nav-links {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 0;
  background: rgba(10,10,10,0.98);
  border-bottom: 2px solid var(--orange);
  padding: 0.5rem 1rem 1rem;
  list-style: none;
}
.nav-links.open { display: flex; }
.nav-links a {
  display: block; color: var(--text); font-weight: 600; text-transform: uppercase;
  font-size: 0.95rem; letter-spacing: 0.05em;
  padding: 0.9rem 0.6rem; border-bottom: 1px solid #222;
}
.nav-links li:last-child a { border-bottom: none; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

/* Desktop */
@media (min-width: 900px) {
  .navbar { padding: 0.4rem 2rem; }
  .navbar .logo-link img { height: 78px; }
  .menu-btn { display: none; }
  .nav-links {
    display: flex; position: static; flex-direction: row; gap: 0.4rem;
    background: transparent; border: none; padding: 0;
  }
  .nav-links a {
    padding: 0.5rem 0.8rem; font-size: 0.85rem;
    border-bottom: 2px solid transparent; border-radius: 6px;
  }
  .nav-links a:hover, .nav-links a.active {
    border-bottom-color: var(--orange); background: rgba(255,122,0,0.07);
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 88vh;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 60%, var(--bg) 100%),
    url('../assets/capa.jpg') center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.25rem 5rem;
  position: relative;
}
.hero img.hero-logo {
  width: 300px; max-width: 82vw;
  filter: drop-shadow(0 0 30px rgba(255,122,0,0.5));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.5rem); margin-top: 1.2rem;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.1;
}
.hero p { color: #d8d8d8; font-size: 1.05rem; max-width: 620px; margin-top: 0.8rem; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.hero .hero-botoes { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin-top: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(90deg, var(--orange), #ff9d2e);
  color: #000; font-weight: 700; text-transform: uppercase;
  border-radius: 40px; letter-spacing: 0.06em; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(255,122,0,0.35);
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 28px rgba(255,122,0,0.5); }
.btn-ghost {
  background: transparent; color: var(--orange);
  border: 2px solid var(--orange); box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,122,0,0.12); box-shadow: none; }

/* ===== SECTIONS ===== */
.section { max-width: 1100px; margin: 0 auto; padding: 3rem 1.25rem; }
.section-title {
  text-align: center; font-size: 1.7rem; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.8rem; letter-spacing: 0.06em;
}
.section-title::after {
  content: ''; display: block; width: 70px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  margin: 0.6rem auto 0; border-radius: 2px;
}
.section-sub { color: var(--muted); text-align: center; margin: -0.8rem auto 2rem; max-width: 560px; font-size: 0.95rem; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visivel { opacity: 1; transform: none; }

/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.card {
  background: var(--bg2); border: 1px solid #262626; border-radius: var(--radius);
  padding: 1.6rem; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(255,122,0,0.12); }
.card .card-ico { font-size: 2rem; margin-bottom: 0.6rem; }
.card h3 { color: var(--orange2); margin-bottom: 0.5rem; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: 0.93rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* ===== STATS ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.stat { text-align: center; background: var(--bg2); border: 1px solid #262626; border-radius: var(--radius); padding: 1.4rem 0.6rem; }
.stat .num { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; color: var(--orange); }
.stat .lbl { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== SOBRE ===== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.about-grid .logo-side { text-align: center; }
.about-grid .logo-side img { width: min(320px, 80vw); filter: drop-shadow(0 0 25px rgba(255,122,0,0.4)); }
.about-text h2 { color: var(--orange); margin: 1.4rem 0 0.6rem; font-size: 1.2rem; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: var(--muted); margin-bottom: 0.8rem; }
.about-text strong { color: var(--text); }
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; }
  .about-grid .logo-side img { width: 420px; }
}

/* ===== GALERIA ===== */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.gallery .ph {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 1; background: var(--bg2); border: 1px solid #2a2a2a;
  cursor: zoom-in;
}
.gallery .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.gallery .ph:hover img { transform: scale(1.06); }
.gallery .ph .cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 1.8rem 0.7rem 0.55rem; font-size: 0.78rem; color: var(--orange2);
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .gallery .ph { aspect-ratio: 4/3; }
}

/* ===== LIGHTBOX / CARROSSEL ===== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.94);
  align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox .lb-img-wrap { max-width: 92vw; max-height: 74vh; display: flex; align-items: center; justify-content: center; }
.lightbox img {
  max-width: 92vw; max-height: 74vh; border-radius: 10px;
  border: 2px solid var(--orange);
  box-shadow: 0 0 50px rgba(255,122,0,0.35);
  user-select: none;
}
.lightbox .lb-cap { margin-top: 0.9rem; color: var(--orange2); font-size: 1rem; text-align: center; padding: 0 1rem; }
.lightbox .lb-counter { margin-top: 0.3rem; color: var(--muted); font-size: 0.85rem; }
.lightbox .lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,122,0,0.15); border: 2px solid var(--orange);
  color: var(--orange); font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-btn:hover { background: var(--orange); color: #000; }
.lightbox .lb-prev { left: 8px; }
.lightbox .lb-next { right: 8px; }
.lightbox .lb-close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,122,0,0.15); border: 2px solid var(--orange);
  color: var(--orange); font-size: 1.2rem; cursor: pointer;
}
.lightbox .lb-close:hover { background: var(--orange); color: #000; }
@media (min-width: 700px) {
  .lightbox .lb-btn { width: 54px; height: 54px; }
  .lightbox .lb-prev { left: 3vw; }
  .lightbox .lb-next { right: 3vw; }
}

/* ===== VÍDEOS ===== */
.players-grid { display: flex; flex-direction: column; gap: 2.2rem; align-items: center; }
.player-box {
  width: 600px; max-width: 100%;
  background: var(--bg2); border: 2px solid var(--orange); border-radius: var(--radius);
  padding: 8px; box-shadow: 0 0 30px rgba(255,122,0,0.22);
}
.player-box iframe {
  width: 100%; height: 56vw; max-height: 480px; border: 0; border-radius: 8px; display: block; background: #000;
}
.player-box .pb-titulo { text-align: center; color: var(--orange2); font-weight: 600; padding: 0.7rem 0.5rem 0.1rem; font-size: 1rem; }
.player-box .pb-desc { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 0 0.5rem 0.4rem; }
@media (min-width: 650px) {
  .player-box iframe { height: 480px; }
}

/* ===== AGENDA ===== */
.event-list { display: flex; flex-direction: column; gap: 0.9rem; }
.event {
  display: grid; grid-template-columns: 74px 1fr; gap: 1rem; align-items: center;
  background: var(--bg2); border: 1px solid #262626; border-left: 4px solid var(--orange);
  border-radius: 12px; padding: 1rem 1.1rem;
}
.event .date { text-align: center; background: rgba(255,122,0,0.08); border-radius: 10px; padding: 0.5rem 0.3rem; }
.event .date .day { font-size: 1.8rem; font-weight: 800; color: var(--orange); line-height: 1; }
.event .date .mon { text-transform: uppercase; color: var(--orange2); font-size: 0.78rem; letter-spacing: 0.08em; }
.event .ev-info h3 { color: var(--text); font-size: 1.05rem; }
.event .ev-info p { color: var(--muted); font-size: 0.87rem; }
.event .tag {
  grid-column: 1 / -1; justify-self: start;
  padding: 0.25rem 0.9rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.tag.conf { background: rgba(255,122,0,0.15); color: var(--orange); border: 1px solid var(--orange); }
.tag.prev { background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid #3a3a3a; }
@media (min-width: 700px) {
  .event { grid-template-columns: 84px 1fr auto; padding: 1.1rem 1.4rem; }
  .event .tag { grid-column: auto; }
}

/* ===== CONTATO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-info .item { display: flex; gap: 0.9rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-info .ico {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,122,0,0.12); border: 1px solid var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-info .item h4 { color: var(--orange2); font-size: 0.95rem; }
.contact-info .item p { color: var(--muted); font-size: 0.9rem; }
form .field { margin-bottom: 1.1rem; }
form label { display: block; color: var(--orange2); font-size: 0.82rem; margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
form input, form textarea {
  width: 100%; padding: 0.85rem 1rem; background: #1a1a1a; color: var(--text);
  border: 1px solid #333; border-radius: 10px; font-size: 16px; font-family: inherit;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,0,0.15); }
form .btn { width: 100%; cursor: pointer; }
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  form .btn { width: auto; }
}

/* ===== FOOTER ===== */
footer {
  border-top: 2px solid var(--orange); background: #050505;
  padding: 2.5rem 1.25rem 2rem; text-align: center; margin-top: 2rem;
}
footer img { height: 88px; margin-bottom: 1rem; }
footer .socials { display: flex; gap: 0.8rem; justify-content: center; margin: 1.1rem 0; flex-wrap: wrap; }
footer .socials a {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
footer .socials a svg { width: 22px; height: 22px; fill: var(--orange2); transition: fill 0.2s; }
footer .socials a:hover { background: var(--orange); transform: translateY(-3px); }
footer .socials a:hover svg { fill: #000; }
footer .copy { color: var(--muted); font-size: 0.8rem; margin-top: 1rem; }

/* ===== ADMIN ===== */
.admin-wrap { max-width: 940px; margin: 0 auto; padding: 2rem 1.1rem; }
.admin-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-tabs button {
  padding: 0.75rem 1.4rem; border-radius: 30px; cursor: pointer;
  background: var(--bg2); color: var(--text); border: 1px solid #333;
  font-weight: 600; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em;
  transition: all 0.2s;
}
.admin-tabs button.active { background: var(--orange); color: #000; border-color: var(--orange); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-form {
  background: var(--bg2); border: 1px solid #262626; border-radius: var(--radius);
  padding: 1.4rem; margin-bottom: 1.8rem;
}
.admin-form h3 { color: var(--orange); margin-bottom: 0.8rem; }
.admin-form .row { display: grid; grid-template-columns: 1fr; gap: 0; }
.admin-form label { display: block; color: var(--orange2); font-size: 0.78rem; margin: 0.7rem 0 0.3rem; text-transform: uppercase; letter-spacing: 0.04em; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%; padding: 0.8rem 0.9rem; background: #1a1a1a; color: var(--text);
  border: 1px solid #333; border-radius: 10px; font-size: 16px; font-family: inherit;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,0,0.15);
}
.admin-form .btn { margin-top: 1.1rem; cursor: pointer; }
.admin-list { display: flex; flex-direction: column; gap: 0.6rem; }
.admin-item {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--bg2); border: 1px solid #262626; border-radius: 12px; padding: 0.7rem 0.9rem;
}
.admin-item img.mini { width: 84px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.admin-item .ai-info { flex: 1; min-width: 0; }
.admin-item .ai-info strong { display: block; color: var(--text); font-size: 0.92rem; word-break: break-word; }
.admin-item .ai-info span { color: var(--muted); font-size: 0.78rem; word-break: break-all; }
.admin-item .del {
  background: rgba(220,50,50,0.12); color: #ff6b6b; border: 1px solid #ff6b6b;
  border-radius: 8px; padding: 0.45rem 0.9rem; cursor: pointer; font-weight: 700; font-size: 0.78rem;
  flex-shrink: 0;
}
.admin-item .del:hover { background: #ff6b6b; color: #000; }
.admin-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.4rem; border-radius: 30px; cursor: pointer;
  background: transparent; color: var(--orange); border: 1px solid var(--orange);
  font-weight: 700; text-transform: uppercase; font-size: 0.78rem;
}
.btn-secondary:hover { background: var(--orange); color: #000; }
.admin-note { color: var(--muted); font-size: 0.85rem; margin-top: 1.5rem; line-height: 1.7; }
.admin-note code { color: var(--orange2); }
@media (min-width: 650px) {
  .admin-form .row { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
