*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(180deg,#071f4d,#0b3c91);
    color:white;
}

/* LOADER */
#loader{
    position:fixed;
    width:100%;
    height:100vh;
    background:linear-gradient(180deg,#071f4d,#0b3c91);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    transition:0.8s ease;
}

.loader-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:40px;
}

.loader-logo{
    width:360px;
    opacity:0;
    transform:scale(0.85);
    animation:logoIn 1.2s ease forwards;
}

@keyframes logoIn{
    to{
        opacity:1;
        transform:scale(1);
    }
}

.loading-bar{
    width:200px;
    height:4px;
    background:rgba(255,255,255,0.2);
    border-radius:10px;
    overflow:hidden;
}

.loading-fill{
    height:100%;
    width:0%;
    background:linear-gradient(90deg,#fbbf24,#f59e0b);
    animation:loading 2.2s ease forwards;
}

@keyframes loading{
    0%{width:0%;}
    100%{width:100%;}
}

#loader.hide{
    opacity:0;
    filter:blur(10px);
    transform:scale(1.05);
    transition:all 0.8s ease;
}

/* NAV */
nav{
    position:fixed;
    width:100%;
    top:0;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(7,31,77,0.9);
    backdrop-filter:blur(10px);
    z-index:1000;
    transition:0.3s;
}

nav.scrolled{
    background:rgba(7,31,77,0.98);
    box-shadow:0 5px 20px rgba(0,0,0,0.4);
}

.logo-container{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
}

.logo-img{
    width:40px;
}

.links a{
    margin:0 15px;
    color:white;
    text-decoration:none;
    position:relative;
    font-weight:500;
}

.links a::after{
    content:"";
    width:0;
    height:2px;
    background:#fbbf24;
    position:absolute;
    bottom:-5px;
    left:0;
    transition:0.3s;
}

.links a:hover::after{
    width:100%;
}

.nav-btn{
    background:#fbbf24;
    color:black;
    padding:10px 20px;
    border-radius:20px;
    text-decoration:none;
    font-weight:700;
}

/* HERO */
header{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.video-bg{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

.hero-text{
    position:relative;
    z-index:2;
    max-width:700px;
    padding:0 20px;
}

.hero-text h1{
    font-size:60px;
    font-weight:700;
    line-height:1.2;
}

.subtitle{
    font-size:20px;
    opacity:0.9;
    margin-top:10px;
}

.slogan{
    font-size:22px;
    color:#fbbf24;
    margin:15px 0;
}

.btn{
    display:inline-block;
    background:linear-gradient(135deg,#fbbf24,#f59e0b);
    color:black;
    padding:16px 35px;
    border-radius:40px;
    font-weight:700;
    text-decoration:none;
    transition:0.3s;
}

.btn:hover{
    transform:scale(1.08);
    box-shadow:0 15px 35px rgba(251,191,36,0.6);
}

/* SECTIONS */
section{
    padding:120px 20px;
    text-align:center;
}

#servicos,
#contactos{
    background:#f5f7fa;
    color:black;
}

h2{
    font-size:32px;
    font-weight:700;
    margin-bottom:50px;
}

/* CARDS */
.cards{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
}

.card{
    background:linear-gradient(145deg,#ffffff,#f0f0f0);
    color:black;
    padding:35px;
    border-radius:20px;
    width:260px;
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
    transition:0.3s;
    backdrop-filter:blur(10px);
}

.card:hover{
    transform:translateY(-12px) scale(1.05);
    box-shadow:0 25px 60px rgba(0,0,0,0.3);
}

/* GALERIA */
.gallery{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
}

.gallery-item{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    background:black;
}

.gallery video{
    width:300px;
    height:auto;
    display:block;
    transition:0.4s;
}

.gallery-item:hover video{
    transform:scale(1.08);
}

.overlay-gallery{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,0.6);
    opacity:0;
    transition:0.3s;
    font-weight:600;
}

.gallery-item:hover .overlay-gallery{
    opacity:1;
}

/* REVIEWS */
.reviews{
    padding:120px 20px;
}

.review-cards{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom:40px;
}

.review{
    background:linear-gradient(145deg,rgba(255,255,255,0.08),rgba(255,255,255,0.02));
    border:1px solid rgba(255,255,255,0.15);
    padding:35px;
    border-radius:20px;
    width:300px;
    transition:0.3s;
}

.review:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 20px 50px rgba(0,0,0,0.3);
}

.review p{
    font-style:italic;
    margin:15px 0;
}

.review h4{
    color:#fbbf24;
}

.stars{
    color:#fbbf24;
}

/* EXTRA TRUST */
.extra-trust{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
    font-size:14px;
    opacity:0.9;
}

/* WHATSAPP */
.whatsapp{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#25D366;
    color:white;
    text-decoration:none;
    padding:18px;
    border-radius:50%;
    font-size:22px;
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
    animation:float 2s infinite;
    z-index:1000;
}

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-5px);}
    100%{transform:translateY(0);}
}

/* ANIMAÇÃO */
.fade{
    opacity:0;
    transform:translateY(60px);
    transition:0.8s ease;
}

.fade.show{
    opacity:1;
    transform:translateY(0);
}

/* RESPONSIVO */
@media(max-width:768px){

    nav{
        padding:15px 20px;
    }

    .links{
        display:none;
    }

    .nav-btn{
        padding:8px 16px;
        font-size:14px;
    }

    .hero-text h1{
        font-size:38px;
    }

    .subtitle{
        font-size:16px;
    }

    .slogan{
        font-size:18px;
    }

    .btn{
        padding:14px 28px;
        font-size:14px;
    }

    section{
        padding:80px 20px;
    }

    h2{
        font-size:28px;
    }

    .gallery-item{
        width:100%;
    }

    .gallery video{
        width:100%;
    }

    .loader-logo{
        width:220px;
    }

    .card,
    .review{
        width:100%;
    }
}