:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,.03);
  --text: #e8eef6;
  --muted: #a7b3c2;
  --line: rgba(255,255,255,.08);

  --accent: rgba(91,140,255,.95);
  --accentSoft: rgba(91,140,255,.18);

  --radius: 18px;
  --max: 1120px;

  --shadow: 0 18px 40px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }

html{ scroll-behavior: auto; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration:none; }
button{ font-family: inherit; }

.container{ max-width: var(--max); margin: 0 auto; padding: 24px; }
.muted{ color: var(--muted); }

/* Background particles */
#particles-js{
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(90,140,255,.14), transparent 55%),
    radial-gradient(900px 650px at 110% 10%, rgba(40,255,180,.10), transparent 55%),
    var(--bg);
}

/* ===== Header ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,15,20,.62);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand{ display:flex; flex-direction: column; gap: 2px; }
.brand strong{ font-size: 14px; letter-spacing:.2px; }
.brand span{ font-size: 12px; color: var(--muted); }

.menu{
  display:flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.menu a:hover{ color: var(--text); }

/* ===== Sections ===== */
.section{
  margin: 18px 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-head{ margin-bottom: 14px; }
.section-head h2{
  margin: 0;
  font-size: 16px;
  letter-spacing:.2px;
}
.section-head p{ margin: 8px 0 0; font-size: 13px; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-size: 13px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.07); }
.btn.primary{ background: var(--accentSoft); border-color: rgba(91,140,255,.45); }
.btn.ghost{ background: rgba(255,255,255,.02); }

/* Focus acessível */
a:focus-visible, button:focus-visible{
  outline: 2px solid rgba(91,140,255,.55);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ===== Hero ===== */
.hero{ padding: 34px 26px; overflow: hidden; position: relative; }

.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.kicker{
  display:inline-block;
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 6px 10px;
  border-radius: 999px;
}

.headline{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -.7px;
}

.subhead{ margin: 0; color: var(--muted); max-width: 62ch; }

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Profile card */
.hero-profile{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  min-height: 260px;
  transition: transform .4s ease;
}

.hero-profile img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.hero-profile:hover{ transform: translateY(-4px); }

.hero-profile-caption{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

.hero-profile-caption strong{ display:block; font-size: 14px; }
.hero-profile-caption span{ display:block; font-size: 12px; color: rgba(255,255,255,.75); }

.category-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

/* Cover image helper */
.bg-futebol{
  background-color: #0b0d10;
  background-position: center 35%;
  background-image: url("/assets/backgrounds/categoria-futebol.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

@media (hover: hover){
  .category-card.bg-futebol{
    transition: background-size .6s ease;
  }
  .category-card.bg-futebol:hover{
    background-size: 104%;
  }
}


.category-card{
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;

  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;

  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}

/* Overlay para legibilidade */
.category-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15),
    rgba(0,0,0,.55)
  );
  z-index: 0;
}


.category-card > *{
  position: relative;
  z-index: 1;
}

.category-card:hover{
  transform: translateY(-2px);
  border-color: rgba(91,140,255,.35);
}

.category-card.disabled{
  opacity: .6;
  pointer-events: none;
  background:
    radial-gradient(900px 380px at 20% 10%, rgba(255,255,255,.06), transparent 55%),
    rgba(255,255,255,.03);
}

.card-top{ display:flex; justify-content: space-between; align-items:center; margin-bottom: 10px; }

.chip{
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}

.chip.soft{
  color: var(--text);
  border-color: rgba(91,140,255,.45);
  background: var(--accentSoft);
}

.chip.ghost{ background: rgba(255,255,255,.03); }

.card-title{
  display:block;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.2px;
  text-shadow: 0 6px 18px rgba(0,0,0,.55);
}

.card-desc{
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-shadow: 0 6px 18px rgba(0,0,0,.45);
}

/* ===== Gallery photos ===== */
.photo{
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  padding:0;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.photo:hover{
  transform: translateY(-2px);
  border-color: rgba(91,140,255,.35);
  background: rgba(255,255,255,.05);
}
.photo img{
  width: 100%;
  height: 220px;
  display:block;
  object-fit: cover;
}

/* Mosaic layout */
.gallery-mosaic{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Featured video */
.featured-video{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  position: relative;
  min-height: 520px;
  box-shadow: 0 18px 50px rgba(0,0,0,.40);
}

.gallery-mosaic .featured-video{
  grid-column: 1;
  position: sticky;
  top: 86px;
  height: fit-content;
}

.reel{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: rgba(0,0,0,.35);
}

/* overlay com controle discreto */
.video-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.50), rgba(0,0,0,.05) 60%, rgba(0,0,0,.55));
  pointer-events: none;
}
.video-badge{ pointer-events: none; }

.pill{
  display: inline-block;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--text);
}

.video-controls{
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  pointer-events: auto;
}

.ctrl{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
}
.ctrl:hover{ background: rgba(255,255,255,.11); }

/* Quote under video */
.video-quote{
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.video-quote img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
}

/* Masonry column on right */
.photo-masonry{
  grid-column: 2;
  column-count: 2;
  column-gap: 12px;
}

.photo-masonry .photo{
  break-inside: avoid;
  margin-bottom: 12px;
  width: 100%;
}

.photo-masonry .photo img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== About ===== */
.about{
  max-width: 62ch;
  margin-inline: auto;
}

.about p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.75;
}

.about p + p{ margin-top: .5rem; }

.about h2{
  font-size: 1.25rem;
  letter-spacing: .4px;
  margin-bottom: .75rem;
}

.about-icon{
  color: rgba(91,140,255,.8);
  margin-right: .4rem;
}

.about h2::after{
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: .5rem;
  background: linear-gradient(90deg, #5b8cff, transparent);
}

.about em{
  color: rgba(255,255,255,.9);
  font-style: italic;
}

.highlight-pill{
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 999px;
  font-size: .85em;
  line-height: 1.4;
  color: rgba(255,255,255,.95);
  background: rgba(91,140,255,.18);
  border: 1px solid rgba(91,140,255,.35);
  white-space: nowrap;
}

.about-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding: 16px;
}

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.contact-card{
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.contact-card:hover{
  transform: translateY(-2px);
  border-color: rgba(91,140,255,.35);
  background: rgba(255,255,255,.05);
}

.contact-card strong{ display:block; font-size: 14px; }
.contact-card span{ display:block; font-size: 12px; margin-top: 3px; }

/* ===== Lightbox modal ===== */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  padding: 20px;
}
.lightbox.open{ display: flex; }

.lightbox-inner{
  width: min(1100px, 96vw);
  height: min(86vh, 860px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,14,20,.65);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.lightbox-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lb-btn{
  position: absolute;
  top: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
}
.lb-close{ right: 12px; }
.lb-prev{ left: 12px; top: auto; bottom: 12px; }
.lb-next{ right: 12px; top: auto; bottom: 12px; }

/* Fallback p/ blur */
@supports not (backdrop-filter: blur(8px)){
  .hero-profile-caption,
  .chip,
  .lightbox{
    background: rgba(0,0,0,.55);
  }
}

/* ===== Footer ===== */
.footer{ border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.footer p{
  margin: 0;
  display: flex;
  gap: 6px;
  align-items: center;
}
.footer a{ opacity: .85; }
.footer a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* ===== Media queries ===== */

/* 980px */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-profile{ min-height: 320px; max-height: 420px; }
  .headline{ letter-spacing: -0.5px; }

  .gallery-mosaic{ grid-template-columns: 1fr; }
  .gallery-mosaic .featured-video{ position: relative; top: auto; }
  .featured-video{ min-height: 420px; }

  .photo-masonry{ grid-column: 1; column-count: 2; column-gap: 10px; }

  .category-card{ grid-column: span 12; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-card{ grid-column: span 12; }
  .photo{ grid-column: span 6; }
  .header{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(11,15,20,.92) !important;
  }
}

/* 720px */
@media (max-width: 720px){
  .nav{
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }
  .menu{
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 8px;
  }
  .menu a{
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
  }
}

/* 560px */
@media (max-width: 560px){
  .container{ padding: 16px; }
  .section{ padding: 18px; }
  .hero{ padding: 22px 18px; }
  .category-card{aspect-ratio: 2 / 2;}
  .headline{ font-size: 30px; }
  .subhead{ font-size: 13px; }
  .hero-actions{ gap: 8px; }
  .btn{ width: 100%; }

  .featured-video{ min-height: 360px; }

  .photo-masonry{ column-count: 1; }
  .photo{ grid-column: span 12; }
  .photo img{ height: 240px; }

  .video-quote{
    margin-top: 18px;
    padding: 16px;
  }
}

/* 420px */
@media (max-width: 420px){
  .about p{ text-align: left; }
}

