:root{
  --bg:#080b07;
  --panel:#12170f;
  --panel-2:#1a2116;
  --gold:#d8a64a;
  --green:#5f7d3a;
  --text:#f8f1e5;
  --muted:#cbbd9b;
  --line:rgba(255,255,255,.14);
  --shadow:0 30px 80px rgba(0,0,0,.55);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at 15% 5%,rgba(216,166,74,.16),transparent 28%),
    radial-gradient(circle at 85% 20%,rgba(95,125,58,.18),transparent 30%),
    linear-gradient(135deg,#060804,#10150c 48%,#070604 100%);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.08;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);
  background-size:44px 44px;
  z-index:-1;
}

/* =========================================================
   HOME / CAPA PRINCIPAL
   ========================================================= */

header.hero#inicio{
  min-height:480px;
  padding:0;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.46) 24%, rgba(0,0,0,.12) 58%, rgba(0,0,0,.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.00) 56%, rgba(8,11,7,.94) 100%),
    url('assets/home-salto-bg-clean-no-reflex.webp') center top / cover no-repeat;
}

header.hero#inicio::before,
header.hero#inicio::after{
  display:none;
  content:none;
}

.hero-content,
.hero-content.hero-cover-only,
.hero-content.hero-editorial,
.hero-logo,
.hero-title-art{
  display:none;
  opacity:0;
  pointer-events:none;
}

/* Menu superior */

.navbar{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:50;
  min-height:82px;
  padding:14px 5.5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.08));
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:none;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}

.navbar::before{
  display:none;
  content:none;
}

.brand{
  position:relative;
  z-index:55;
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.brand-mark{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#1a1207;
  font-size:.95rem;
  letter-spacing:-.15em;
  padding-right:.12em;
  background:linear-gradient(135deg,#f4d88d,#b77a25 55%,#efe1bb);
  box-shadow:0 0 0 4px rgba(255,255,255,.08),0 0 34px rgba(216,166,74,.28);
}

.brand span:last-child{
  font-size:1.05rem;
  line-height:1.05;
}

.brand small{
  font-size:.62rem;
  color:var(--muted);
  letter-spacing:.18em;
}

.navlinks{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:28px;
  padding:12px 24px;
  color:#e4d8bd;
  font-size:.95rem;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(0,0,0,.22);
  box-shadow:0 12px 34px rgba(0,0,0,.22);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.navlinks a{
  font-size:.98rem;
  color:#e4d8bd;
  padding:8px 10px;
  border-radius:999px;
  transition:.22s;
}

.navlinks a:hover{
  color:var(--gold);
  background:rgba(216,166,74,.12);
}

/* Logo / título vivo da capa */

.hero-title-wrap.hero-live-title{
  position:absolute;
  z-index:4;
  left:7vw;
  top:14vh;
  width:min(42vw,560px);
  min-width:420px;
  margin:0;
  padding:0;
  text-align:center;
  color:#fff;
  background:transparent;
  border:0;
  box-shadow:none;
  pointer-events:none;
  filter:drop-shadow(0 28px 46px rgba(0,0,0,.76));
}

.hero-title-wrap.hero-live-title img{
  display:block;
  width:120px;
  max-width:34%;
  height:auto;
  margin:0 auto .25rem;
}

.falcon-word{
  font-family:Impact,'Arial Black',system-ui,sans-serif;
  font-size:clamp(4rem,6.8vw,7.6rem);
  line-height:.82;
  letter-spacing:.02em;
  color:#f4f1e7;
  text-transform:uppercase;
  text-shadow:0 4px 0 rgba(0,0,0,.55),0 0 18px rgba(255,255,255,.08);
}

.adventure-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  margin-top:.28rem;
}

.adventure-word{
  font-family:Impact,'Arial Black',system-ui,sans-serif;
  font-size:clamp(2rem,3.4vw,3.6rem);
  line-height:.86;
  letter-spacing:.02em;
  color:#f4f1e7;
  text-transform:uppercase;
}

.red-bars{
  width:22%;
  height:30px;
  position:relative;
  display:inline-block;
}

.red-bars::before,
.red-bars::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:8px;
  background:#bb1718;
}

.red-bars::before{top:2px}
.red-bars::after{bottom:2px}
.red-bars.left{transform:skewX(18deg)}
.red-bars.right{transform:skewX(-18deg)}

.gold-stars{
  font-size:1.55rem;
  color:#d7a23f;
  letter-spacing:.24em;
  margin:.55rem 0;
  text-shadow:0 4px 12px rgba(0,0,0,.75);
}

.premium-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  color:#d7a23f;
  margin-top:.15rem;
}

.premium-line span{
  height:2px;
  background:#d7a23f;
  flex:1;
  max-width:64px;
  opacity:.9;
}

.premium-line strong{
  font-size:clamp(.82rem,1.15vw,1rem);
  letter-spacing:.13em;
  white-space:nowrap;
}

.hero-live-title p{
  width:100%;
  max-width:560px;
  margin:1rem auto 0;
  padding:0;
  color:#f4eee1;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  font-size:clamp(.92rem,1vw,1.05rem);
  line-height:1.55;
  white-space:normal;
  overflow:visible;
  text-shadow:0 4px 16px rgba(0,0,0,.85);
}

/* =========================================================
   SEÇÕES GERAIS
   ========================================================= */

main{
  position:relative;
  z-index:3;
}

.section{
  padding:76px 6vw;
}

.intro{
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0));
  text-align:center;
}

.intro h2,
.section-title h2,
.timeline-section h2{
  font-size:clamp(2rem,4vw,3.45rem);
  margin:8px 0 12px;
}

.intro p{
  max-width:930px;
  margin:0 auto;
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.8;
}

.section-title{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:22px;
  margin-bottom:30px;
}

.section-title > div:first-child{
  min-width:0;
  flex:1;
}

.section-title .filters{
  flex:0 0 auto;
}

.section-subtitle{
  color:var(--muted);
  max-width:700px;
  line-height:1.65;
}

.section-title.clean-title{
  display:block;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  margin-bottom:26px;
}

.section-title.clean-title h2{
  margin:0 0 18px;
  font-size:clamp(2.2rem,4.8vw,4.2rem);
  line-height:1.05;
}

#missoes{
  padding-top:20px;
}

/* Filtros */

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  overflow:visible;
  max-width:100%;
  padding-bottom:0;
  scrollbar-width:thin;
  scrollbar-color:rgba(216,166,74,.55) rgba(255,255,255,.08);
}

.btn,
.filter{
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:var(--text);
  border-radius:999px;
  padding:12px 18px;
  cursor:pointer;
  font-weight:900;
  transition:.22s;
}

.filter{
  white-space:nowrap;
  min-width:auto;
  text-align:center;
  flex:0 0 auto;
  padding-inline:15px;
}

.btn:hover,
.filter:hover{
  transform:translateY(-2px);
  border-color:rgba(216,166,74,.65);
}

.btn.primary,
.filter.active{
  background:linear-gradient(135deg,var(--gold),#f0cf77);
  color:#15100a;
  box-shadow:0 12px 28px rgba(216,166,74,.18);
}

.hero-actions,
.stats,
.stats-single{
  display:none;
}

/* =========================================================
   GRID DE MISSÕES
   ========================================================= */

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  justify-content:stretch;
  align-items:stretch;
}

.grid.single-result{
  grid-template-columns:minmax(0,460px);
  justify-content:flex-start;
}

.grid.single-result .mission-photo{
  max-width:460px;
  width:100%;
}

.mission-photo{
  position:relative;
  isolation:isolate;
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(216,166,74,.22);
  border-radius:30px;
  background:#090d07;
  box-shadow:0 24px 58px rgba(0,0,0,.48);
  transition:.25s transform,.25s border-color,.25s box-shadow;
}

.mission-photo::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:30px;
  box-shadow:inset 0 0 0 1px rgba(216,166,74,.08);
}

.mission-photo::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:30px;
  background:linear-gradient(135deg,rgba(216,166,74,.18),transparent 35%,rgba(95,125,58,.16));
  opacity:0;
  transition:.25s;
}

.mission-photo:hover{
  transform:translateY(-7px);
  border-color:rgba(216,166,74,.58);
  box-shadow:0 36px 90px rgba(0,0,0,.62);
}

.mission-photo:hover::after{
  opacity:1;
}

.photo-button{
  position:relative;
  width:100%;
  height:345px;
  padding:0;
  margin:0;
  border:0;
  background:#050403;
  cursor:zoom-in;
  display:block;
  overflow:hidden;
}

.photo-button img{
  width:100%;
  height:345px;
  object-fit:cover;
  object-position:center top;
  display:block;
  transition:transform .5s,filter .5s;
}

.grid.single-result .photo-button,
.grid.single-result .photo-button img{
  height:345px;
}

.photo-button::after{
  content:"Cena cinematográfica";
  position:absolute;
  left:18px;
  top:18px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(0,0,0,.52);
  border:1px solid rgba(255,255,255,.18);
  color:#f8f1e5;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  backdrop-filter:blur(6px);
}

.mission-photo:hover img{
  transform:scale(1.035);
  filter:contrast(1.05);
}

.mission-info{
  flex:1;
  display:flex;
  flex-direction:column;
  min-height:330px;
  padding:21px 23px 25px;
  background:#090d07;
}

.mission-info h3{
  margin:0 0 10px;
  font-size:1.32rem;
  line-height:1.25;
  color:#fff5df;
}

.mission-info p{
  flex:1;
  margin:0;
  color:var(--muted);
  font-size:.98rem;
  line-height:1.68;
  text-align:justify;
}

.mission-meta{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 9px;
  color:var(--gold);
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.17em;
  border:1px solid rgba(216,166,74,.28);
  border-radius:999px;
  background:rgba(216,166,74,.08);
}

.mission-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:20px;
  padding-top:4px;
}

.icon-btn{
  min-height:42px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:var(--text);
  cursor:pointer;
  font-size:.92rem;
  font-weight:900;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  transition:.22s;
}

.icon-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(216,166,74,.72);
  background:rgba(216,166,74,.16);
}

.original-open{
  background:rgba(216,166,74,.16);
  border-color:rgba(216,166,74,.42);
}

/* =========================================================
   SOBRE / MEMÓRIAS / TIMELINE
   ========================================================= */

.sobre-section{
  scroll-margin-top:90px;
}

.sobre-section blockquote{
  margin:26px 0;
  padding:22px 24px;
  border-left:4px solid var(--gold);
  border-radius:18px;
  background:rgba(216,166,74,.09);
  color:#fff5df;
  font-weight:800;
  line-height:1.55;
}

.sobre-assinatura{
  color:#f0cf77;
  text-align:center;
  margin-top:28px;
}

.memorias-section{
  scroll-margin-top:90px;
  background:
    radial-gradient(circle at 50% 0%,rgba(216,166,74,.12),transparent 36%),
    linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0));
}

.memorias-section blockquote{
  max-width:920px;
  margin:32px auto 0;
  padding:24px 28px;
  border:1px solid rgba(216,166,74,.28);
  border-radius:24px;
  background:rgba(216,166,74,.08);
  color:#f0cf77;
  font-weight:900;
  font-size:1.12rem;
  line-height:1.55;
}

.timeline-section{
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.04));
}

.timeline{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px;
}

.time-item{
  min-height:104px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  transition:.22s;
}

.time-item:hover{
  transform:translateY(-3px);
  border-color:rgba(216,166,74,.45);
}

.time-item span{
  min-width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--gold),#f0cf77);
  color:#111;
  font-weight:900;
}

.time-item p{
  margin:.25rem 0 0;
  color:var(--muted);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

dialog{
  border:0;
  border-radius:0;
  background:#000;
  color:var(--text);
  max-width:100vw;
  max-height:100vh;
  width:100vw;
  height:100vh;
  padding:0;
  margin:0;
}

dialog::backdrop{
  background:#000;
}

#lightbox[open]{
  display:grid;
  place-items:center;
}

.close{
  position:fixed;
  right:18px;
  top:16px;
  z-index:3;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.75);
  color:#fff;
  font-size:1.8rem;
  cursor:pointer;
}

#lightbox img{
  display:block;
  width:100vw;
  height:100vh;
  object-fit:contain;
  background:#000;
}

/* =========================================================
   BOTÃO VOLTAR AO TOPO
   ========================================================= */

.back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(216,166,74,.55);
  background:rgba(9,10,7,.72);
  color:#f3d37b;
  font-size:1.65rem;
  line-height:1;
  cursor:pointer;
  z-index:999;
  display:grid;
  place-items:center;
  box-shadow:0 18px 44px rgba(0,0,0,.36);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  opacity:0;
  transform:translateY(14px);
  pointer-events:none;
  transition:opacity .25s ease,transform .25s ease,background .25s ease;
}

.back-to-top.show{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.back-to-top:hover{
  background:rgba(216,166,74,.22);
}

/* =========================================================
   RODAPÉ
   ========================================================= */

footer{
  padding:34px 6vw;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  background:rgba(0,0,0,.22);
}

footer strong{
  color:var(--gold);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media(max-width:1100px){
  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:980px){
  header.hero#inicio{
    min-height:850px;
    background-position:58% center;
  }

  .navbar{
    min-height:auto;
    padding:12px 5vw;
  }

  .navlinks{
    gap:12px;
    padding:10px 14px;
  }

  .hero-title-wrap.hero-live-title{
    top:15vh;
    left:6vw;
    width:min(60vw,480px);
    min-width:320px;
  }

  .falcon-word{
    font-size:clamp(3.3rem,8.8vw,5.8rem);
  }
}

@media(max-width:760px){
  .navbar,
  .section-title{
    align-items:flex-start;
    flex-direction:column;
  }

  .navlinks{
    border-radius:18px;
  }

  .filters{
    width:100%;
    flex-wrap:nowrap;
    overflow-x:auto;
    justify-content:flex-start;
    padding-bottom:8px;
  }

  .grid,
  .grid.single-result{
    grid-template-columns:1fr;
  }

  .grid.single-result .mission-photo{
    max-width:none;
  }

  .photo-button,
  .photo-button img,
  .grid.single-result .photo-button,
  .grid.single-result .photo-button img{
    height:360px;
  }

  .mission-info{
    min-height:auto;
    padding:18px;
  }
}

@media(max-width:620px){
  header.hero#inicio{
    min-height:780px;
    background-position:63% center;
  }

  .navbar{
    gap:12px;
    align-items:flex-start;
  }

  .brand-mark{
    width:46px;
    height:46px;
  }

  .brand span:last-child{
    font-size:.9rem;
  }

  .brand small{
    font-size:.52rem;
  }

  .navlinks{
    width:100%;
    justify-content:center;
    overflow-x:auto;
  }

  .hero-title-wrap.hero-live-title{
    top:20vh;
    left:50%;
    width:85vw;
    min-width:unset;
    transform:translateX(-50%);
  }

  .hero-live-title p{
    font-size:.95rem;
    line-height:1.6;
  }

  .back-to-top{
    right:14px;
    bottom:14px;
    width:46px;
    height:46px;
  }
}

@media(max-width:420px){
  .mission-actions{
    grid-template-columns:1fr;
  }
}


/* ========================= */
/* AJUSTE PARA VÍDEOS (MP4)  */
/* ========================= */

.photo-button video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .5s,filter .5s;
}

/* Mantém o mesmo efeito de zoom das imagens */
.mission-photo:hover video{
  transform:scale(1.035);
  filter:contrast(1.05);
}

/* Garante que o vídeo respeite o card */
.photo-button{
  overflow:hidden;
  position:relative;
}

/* Caso o navegador adicione controles, eles ficam dentro do card */
.photo-button video::-webkit-media-controls{
  width:100%;
}

/* Ajuste para cards com apenas um resultado */
.grid.single-result .photo-button video{
  width:100%;
  height:345px;
  object-fit:cover;
}


#lightbox{
  border:0;
  padding:0;
  background:rgba(0,0,0,.95);
  max-width:95vw;
  max-height:95vh;
}

#lightbox::backdrop{
  background:rgba(0,0,0,.85);
}

#lightboxContent{
  display:flex;
  align-items:center;
  justify-content:center;
}

#lightboxContent img,
#lightboxContent video{
  max-width:90vw;
  max-height:90vh;
  display:block;
}

#lightboxContent video{
  border-radius:12px;
}
