/* ===== Root & base ===== */
:root{
    --bg:#0b0216;
    --glass: rgba(255,255,255,0.04);
    --glass-strong: rgba(255,255,255,0.06);
    --accent1:#8a2be2;
    --accent2:#ff66b2;
    --neon: linear-gradient(90deg,var(--accent1),var(--accent2));
    --text:#eae6f8;
    --cta-glow: 0 8px 40px rgba(167,0,255,0.12);
}

*{box-sizing:border-box;margin:0;padding:0}

html,body{
    height:100%;
    background:
        radial-gradient(1200px 600px at 10% 10%, rgba(138, 43, 226, 0.12), transparent 6%),
        radial-gradient(900px 500px at 90% 90%, rgba(255, 102, 178, 0.08), transparent 6%),
        var(--bg);
    font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    color:var(--text);
    -webkit-font-smoothing:antialiased
}

a{color:inherit}

.wrap{
    min-height:100vh;
    display:flex;
    flex-direction:column
}

/* ===== Header ===== */
header{
  position:fixed;
  top:18px;
  left:0;
  right:0;
  z-index:80;
  padding:8px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(6px);
}

/* GLASS BAR */
.navglass{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.01)
  );
  border:1px solid var(--glass-strong);
  padding:12px 20px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* BRAND */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  font-family:Orbitron, Inter, sans-serif;
}

/* LOGO */
.site-logo{
  height:48px;
  width:auto;
  border-radius:10px;
  box-shadow:0 4px 20px rgba(138,43,226,0.15);
  transition:transform .25s, box-shadow .25s;
}

.site-logo:hover{
  transform:scale(1.05);
  box-shadow:0 6px 30px rgba(255,102,178,0.2);
}

/* NAV */
nav{
  display:flex;
  align-items:center;
  gap:22px;
  white-space:nowrap;
}

nav a{
  color:var(--text);
  text-decoration:none;
  padding:8px 12px;
  border-radius:10px;
  font-weight:600;
  transition:background .25s, transform .25s;
}

nav a:hover{
  background:linear-gradient(
    90deg,
    rgba(138,43,226,0.12),
    rgba(255,102,178,0.08)
  );
  transform:translateY(-2px);
}

/* ACTIVE LINK */
nav a.active{
  position:relative;
}

nav a.active::after{
  content:'';
  position:absolute;
  left:6px;
  right:6px;
  bottom:-8px;
  height:4px;
  border-radius:6px;
  background:linear-gradient(
    90deg,
    var(--accent2),
    var(--accent1)
  );
  filter:blur(6px);
}

/* MAIN OFFSET */
main{
  padding-top:120px;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  flex:1;
}

/* ===== HERO ===== */

.hero{
    display:flex;
    gap:36px;
    align-items:flex-start;
    padding:36px 6vw 24px;
}

.hero-left{
    flex:1;
    min-width:300px;
}

.hero-left h1{
    font-family:Orbitron;
    font-size:44px;
    line-height:1;
    background:linear-gradient(90deg,var(--accent2),var(--accent1));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    margin-bottom:10px;
}

.hero-left p{
    color:rgba(234,230,248,0.9);
    margin-bottom:18px;
    max-width:560px;
}

.cta-row{
    display:flex;
    gap:14px;
    align-items:center;
    flex-wrap:wrap;
}

/* ===== BOTÕES ===== */

.btn{
    padding:12px 18px;
    border-radius:12px;
    font-weight:700;
    border:none;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}

.btn-primary{
    background:linear-gradient(90deg,var(--accent2),var(--accent1));
    color:#000;
}

.btn-ghost{
    background:transparent;
    border:1px solid rgba(255,255,255,0.06);
    color:var(--text);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* CTA principal */

.btn-primary{
    background:linear-gradient(135deg,#ff2dd0,#8a2be2);
    color:#fff;
    border-radius:40px;
    padding:14px 22px;
    font-weight:800;
    position:relative;
    overflow:visible;
    display:inline-flex;
    align-items:center;
    box-shadow:0 10px 40px rgba(138,43,226,0.12);
    transition:transform .24s ease, box-shadow .24s ease
}

.btn-primary .arrow{
    display:inline-block;
    transform:translateX(0);
    transition:transform .34s cubic-bezier(.2,.9,.3,1)
}

.btn-primary:hover{
    transform:scale(1.04);
    box-shadow:0 18px 60px rgba(138,43,226,0.18)
}

.btn-primary:hover .arrow{
    transform:translateX(8px)
}

.btn-primary::after{
    content:"";
    position:absolute;
    inset:-6px;
    border-radius:46px;
    filter:blur(18px);
    opacity:0.7;
    background:linear-gradient(90deg,#ff66b2,#8a2be2);
    z-index:-1;
    transition:opacity .3s;
    animation:pulseGlow 3s infinite
}

@keyframes pulseGlow{
    0%{opacity:.45}
    50%{opacity:.65}
    100%{opacity:.45}
}

/* COLLAGE */

.collage{
    flex:1;
    min-height:460px;
    position:relative;
    display:block;
    border-radius:18px
}

.card-img{
    position:absolute;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.04);
    box-shadow:0 18px 60px rgba(8,3,20,0.7);
    background-size:cover;
    background-position:center;
    transition:transform .45s ease, box-shadow .45s ease;
    will-change:transform
}

.card-img:hover{
    transform:scale(1.04) translateY(-8px);
    box-shadow:0 32px 100px rgba(8,3,20,0.85)
}

/* posições */

.c1{left:4%; top:10%; width:260px; height:170px; transform:rotate(-10deg)}
.c2{left:24%; top:6%; width:200px; height:140px; transform:rotate(10deg)}
.c3{left:48%; top:2%; width:320px; height:200px; transform:rotate(-6deg)}
.c4{left:72%; top:12%; width:220px; height:150px; transform:rotate(8deg)}
.c5{left:12%; top:36%; width:300px; height:190px; transform:rotate(-12deg)}
.c6{left:50%; top:44%; width:200px; height:140px; transform:rotate(10deg)}
.c7{left:76%; top:46%; width:180px; height:120px; transform:rotate(-8deg)}

.collage::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:18px;
    pointer-events:none
}

/* ===== SECTION CARDS ===== */

.section-cards{
    padding:46px 6vw;
    background:linear-gradient(180deg, rgba(255,102,178,0.02), transparent 6%)
}

.cards-grid{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px
}

.soft-card{
    border-radius:24px;
    padding:18px;
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border:1px solid var(--glass-strong);
    backdrop-filter:blur(6px);
    position:relative;
    overflow:hidden;
    transition:transform .28s ease,box-shadow .28s ease
}

.soft-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg, rgba(138,43,226,0.06), rgba(255,102,178,0.04));
    mix-blend-mode:screen;
    opacity:.95;
    pointer-events:none
}

.three-wrap{
    height:160px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border:1px solid rgba(255,255,255,0.03);
    margin-bottom:12px
}

.soft-card .title{
    position:relative;
    font-family:Orbitron;
    margin:0 0 8px
}

.soft-card .desc{
    position:relative;
    color:rgba(234,230,248,0.78);
    font-size:14px
}

.soft-card:hover{
    transform:translateY(-8px) scale(1.03);
    box-shadow:0 30px 70px rgba(138,43,226,0.08)
}

/* ===== CAROUSEL ===== */

/* ===== CAROUSEL ===== */

.carousel-section{
    padding:36px 6vw;
}

.carousel{
    max-width:1120px;
    margin:0 auto;
    position:relative;
    padding:18px;
    border-radius:16px;
    background:var(--glass);
    border:1px solid var(--glass-strong);
    overflow:hidden;
}

.carousel-inner{
    position:relative;
    height:480px;
    overflow: hidden;
}

/* SLIDES */
.slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity 1s ease-in-out; /* deixei mais suave */
    background-size:cover;
    background-position:center;
    border-radius:12px;
}

/* ATIVO – AGORA SEM position:relative */
.slide.active{
    opacity:1;
    z-index:2; /* garante que o ativo fica por cima */
}


/* ===== PREVIEW GRID ===== */

.preview-grid{
    padding:36px 6vw
}

.preview-grid h2{
    text-align:center;
    font-family:Orbitron;
    margin-bottom:18px;
    color:transparent;
    background:var(--neon);
    -webkit-background-clip:text;
    background-clip:text
}

.masonry{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    align-items:start
}

.brick{
    height:160px;
    border-radius:14px;
    background-size:cover;
    background-position:center;
    border:1px solid rgba(255,255,255,0.04);
    transition:transform .32s, box-shadow .32s;
    overflow:hidden;
    position:relative
}

.brick:hover{
    transform:scale(1.04);
    box-shadow:0 24px 60px rgba(8,3,20,0.6)
}

.brick.tall{
    height:320px
}

.brick.wide{
    grid-column:span 2
}

@media (max-width:1100px){
    .masonry{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:700px){
    .masonry{grid-template-columns:repeat(2,1fr)}
    .collage{min-height:300px}
}

/* ===== FINAL CTA ===== */

.final-cta{
    padding:28px 6vw 80px;
    text-align:center
}

.final-cta h2{
    font-family:Orbitron;
    margin-bottom:8px
}

.final-cta p{
    color:rgba(234,230,248,0.9);
    margin-bottom:18px
}

.cta-big{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:18px 40px;
    border-radius:40px;
    font-family:Orbitron;
    font-size:20px;
    color:#fff;
    text-decoration:none;
    background:linear-gradient(135deg,#ff00a6,#8a2be2);
    box-shadow:
        0 12px 40px rgba(167,0,255,0.12),
        0 0 40px rgba(255,102,178,0.08) inset;
    border:none;
    transition:transform .22s, box-shadow .22s
}

.cta-big .arrow{
    margin-left:12px;
    transition:transform .28s
}

.cta-big:hover{
    transform:scale(1.06);
    box-shadow:
        0 24px 80px rgba(167,0,255,0.22),
        0 0 80px rgba(255,102,178,0.2) inset
}

.cta-big:hover .arrow{
    transform:translateX(10px)
}

/* Footer */
footer {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding: 40px 6vw;
  text-align: center;
}

.footer-container h4 {
  font-family: 'Orbitron';
  font-size: 16px;
  color: transparent;
  background: var(--neon);
  margin-bottom: 10px;
}

.footer-container a {
  color: rgba(245,242,255,0.88);
  text-decoration: none;
  display: block;
  margin: 4px 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-container a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(255,102,178,0.7);
}

.footer-bottom {
  text-align: center;
  padding: 14px;
  background: rgba(255,255,255,0.02);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  animation: shine 6s linear infinite;
}

@keyframes shine {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* Ícones sociais */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
  opacity: 1;
}

@media (max-width: 980px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .social-icons {
    margin-top: 10px;
  }
}
/* ================================= */
/* MENU MOBILE LATERAL */
/* ================================= */

.menu-toggle{
display:none;
background:none;
border:none;
font-size:28px;
cursor:pointer;
color:white;
}

@media (max-width:768px){

.menu-toggle{
display:block;
}

.navglass{
display:flex;
justify-content:space-between;
align-items:center;
}

.brand{
display:flex;
align-items:center;
justify-content:space-between;
width:100%;
}

#menu{
position:fixed;
top:0;
right:-260px;
width:240px;
height:100vh;
background:#0b0b0b;
display:flex;
flex-direction:column;
padding:90px 25px;
gap:20px;
transition:.35s;
box-shadow:-10px 0 30px rgba(0,0,0,.5);
z-index:999;
}

#menu a{
font-size:18px;
}

#menu.open{
right:0;
}

}


/* ================================= */
/* HERO */
/* ================================= */

@media (max-width:1000px){

.hero{
flex-direction:column;
align-items:center;
text-align:center;
gap:40px;
}

.hero-left{
max-width:700px;
}

.cta-row{
justify-content:center;
}

}


/* ================================= */
/* COLLAGE RESPONSIVA */
/* ================================= */

@media (max-width:900px){

.collage{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
}

.card-img{
position:relative !important;
transform:none !important;
width:100% !important;
height:140px !important;
left:auto !important;
top:auto !important;
}

}

@media (max-width:600px){

.collage{
grid-template-columns:repeat(2,1fr);
}

.card-img{
height:120px !important;
}

}

@media (max-width:420px){

.collage{
grid-template-columns:1fr;
}

}


/* ================================= */
/* CARDS DE CATEGORIA */
/* ================================= */

@media (max-width:900px){

.cards-grid{
grid-template-columns:repeat(2,1fr);
gap:20px;
}

}

@media (max-width:500px){

.cards-grid{
grid-template-columns:1fr;
}

}


/* ================================= */
/* CAROUSEL */
/* ================================= */

@media (max-width:900px){

.carousel-inner{
height:320px;
}

}

@media (max-width:600px){

.carousel-inner{
height:240px;
}

}

@media (max-width:420px){

.carousel-inner{
height:200px;
}

}


/* ================================= */
/* MASONRY PREVIEW */
/* ================================= */

@media (max-width:1000px){

.masonry{
grid-template-columns:repeat(3,1fr);
}

}

@media (max-width:700px){

.masonry{
grid-template-columns:repeat(2,1fr);
gap:12px;
}

}

@media (max-width:420px){

.masonry{
grid-template-columns:1fr;
}

}


/* ================================= */
/* BOTÕES */
/* ================================= */

@media (max-width:600px){

.cta-row{
flex-direction:column;
gap:12px;
}

.btn{
width:100%;
max-width:280px;
justify-content:center;
}

}


/* ================================= */
/* FOOTER */
/* ================================= */

@media (max-width:900px){

.footer-container{
grid-template-columns:repeat(2,1fr);
gap:30px;
}

}

@media (max-width:500px){

.footer-container{
grid-template-columns:1fr;
text-align:center;
}

.social-icons{
justify-content:center;
}

}


/* ================================= */
/* TIPOGRAFIA MOBILE */
/* ================================= */

@media (max-width:600px){

.hero-left h1{
font-size:30px;
}

.hero-left p{
font-size:15px;
}

}

@media (max-width:420px){

.hero-left h1{
font-size:26px;
}

.hero-left p{
font-size:14px;
}

}

/* BOTÃO MENU */

.menu-toggle{
display:none;
background:none;
border:none;
font-size:26px;
color:white;
cursor:pointer;
}

/* MOBILE */

@media (max-width:768px){

.menu-toggle{
display:block;
}

/* menu lateral */

#menu{
position:fixed;
top:0;
right:-260px;
width:240px;
height:100vh;
background:#0b0216;
display:flex;
flex-direction:column;
padding:110px 25px;
gap:22px;
transition:.35s;
box-shadow:-20px 0 60px rgba(0,0,0,.6);
z-index:999;
}
/* ============================= */
/* HEADER RESPONSIVO */
/* ============================= */

@media (max-width:1024px){

.navglass{
width:100%;
}

nav{
gap:16px;
}

.site-logo{
height:42px;
}

}

@media (max-width:768px){

header{
padding:8px 16px;
}

.brand{
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
}

nav{
display:none;
}

#menu{
position:fixed;
top:0;
right:-260px;
width:240px;
height:100vh;
background:#0b0216;
display:flex;
flex-direction:column;
padding:100px 30px;
gap:20px;
transition:.35s;
z-index:999;
}

#menu.open{
right:0;
}

#menu a{
font-size:18px;
}

.menu-toggle{
display:block;
font-size:30px;
}

}

/* ================================= */
/* HEADER RESPONSIVO REAL */
/* ================================= */

@media (max-width:900px){

.navglass{
width:100%;
max-width:100%;
justify-content:space-between;
padding:10px 14px;
gap:10px;
}

.site-logo{
height:40px;
}

nav{
display:none;
}

.menu-toggle{
display:block;
font-size:30px;
}

}

@media (max-width:500px){

.site-logo{
height:34px;
}

header{
top:10px;
padding:6px 12px;
}

.navglass{
border-radius:14px;
}

}