/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#fff;
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* =====================================
   HEADER
===================================== */

.header{
    position:sticky;
    top:0;
    z-index:1000;

    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(0,0,0,.05);
}

.header.scrolled{
    box-shadow:0 5px 25px rgba(0,0,0,.08);
}

.header .container{
    height:90px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    height:70px;
}

/* =====================================
   MENU
===================================== */

.navbar{
    display:flex;
    align-items:center;
    gap:30px;
}

.navbar a{
    color:#153A7B;
    font-weight:500;
    transition:.3s;
    position:relative;
}

.navbar a:hover{
    color:#D4AF37;
}

.navbar a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;

    width:0;
    height:2px;

    background:#D4AF37;
    transition:.3s;
}

.navbar a:hover::after{
    width:100%;
}

.menu-btn{
    display:none;
    border:none;
    background:none;
    cursor:pointer;

    font-size:28px;
    color:#153A7B;
}

/* =====================================
   HERO
===================================== */

.hero{
    padding:90px 0;
    background:#f7f8fb;
}

.hero-container{
    display:flex;
    align-items:center;
    gap:60px;
}

.hero-content{
    flex:1;
}

.hero-image{
    flex:1;
}

.hero-image img{
    border-radius:20px;
}

.hero h1{
    font-family:'Cormorant Garamond',serif;
    font-size:70px;
    line-height:1.1;
    color:#153A7B;

    margin-bottom:25px;
}

.highlight{
    color:#D4AF37;
}

.hero p{
    font-size:18px;
    line-height:1.8;
    color:#666;

    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

/* =====================================
   BOTÕES
===================================== */

.btn-primary,
.btn-whatsapp{
    padding:14px 28px;
    border-radius:12px;

    font-weight:600;

    transition:.3s;
}

.btn-primary,
.btn-primary:visited{
    background:#153A7B;
    color:#fff;
    padding:14px 28px;
    border-radius:12px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-2px);
    background:#1d4b9a;
}

.btn-primary:active{
    transform:translateY(0);
}

a,
a:visited,
a:hover,
a:active{
    text-decoration:none;
}

.btn-whatsapp{
    background:#25D366;
    color:#fff;
}

.btn-whatsapp:hover{
    transform:translateY(-2px);
}

.btn-product{
    width:100%;

    border:none;

    background:#25D366;
    color:#fff;

    padding:14px;

    cursor:pointer;
    font-weight:600;

    border-radius:10px;

    transition:.3s;
}

.btn-product:hover{
    opacity:.9;
}

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

section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-family:'Cormorant Garamond',serif;
    font-size:52px;
    color:#153A7B;

    margin-bottom:10px;
}

.section-title p{
    color:#777;
}

/* =====================================
   SERVIÇOS
===================================== */

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.service-card{
    background:#fff;

    padding:25px 15px;

    border-radius:20px;

    text-align:center;

    border:1px solid #eee;

    transition:.3s;

    min-height:180px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.service-card:hover{
    transform:translateY(-8px);

    box-shadow:
    0 15px 30px rgba(0,0,0,.08);
}

.service-card i{
    font-size:38px;
    color:#153A7B;

    margin-bottom:15px;
}

.service-card h3{
    font-size:17px;
}

/* =====================================
   CATEGORIAS
===================================== */

.categories-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.category-card{
    background:#153A7B;
    color:#fff;

    padding:35px 20px;

    border-radius:20px;

    text-align:center;

    transition:.3s;
}

.category-card:hover{
    transform:translateY(-8px);
}

.category-card i{
    font-size:40px;
    margin-bottom:15px;
}

.category-card h3{
    color:#fff;
}

/* =====================================
   PRODUTOS
===================================== */

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.product-card{
    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 8px 30px rgba(0,0,0,.06);

    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
}

.product-image{
    width:100%;
    aspect-ratio:1/1;

    overflow:hidden;

    background:#f4f4f4;
}

.product-image img{
    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    transition:transform .8s ease;
}

.product-card:hover .product-image img{
    transform:scale(1.08);
}

.product-card h3{
    padding:20px;
    text-align:center;

    min-height:80px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.product-card .btn-product{
    margin:0 20px 20px;
    width:calc(100% - 40px);
}

/* =====================================
   GALERIA
===================================== */

.projects{
    background:#f7f8fb;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    height:280px;

    object-fit:cover;

    border-radius:20px;

    transition:.5s;
}

.gallery img:hover{
    transform:scale(1.03);
}

/* =====================================
   CTA
===================================== */

.cta{
    background:#153A7B;
    color:#fff;

    text-align:center;
}

.cta h2{
    font-size:42px;
    margin-bottom:15px;
}

.cta p{
    margin-bottom:30px;
}

/* =====================================
   FOOTER
===================================== */

footer{
    background:#111;
    color:#fff;

    padding:60px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:40px;
}

.footer-logo{
    width:180px;
    margin:0 auto 15px;
}

.footer-col h3{
    color:#D4AF37;
    margin-bottom:15px;
}

.footer-col p{
    color:#ccc;
    line-height:1.8;
}

.contact-item{
    display:flex;
    gap:12px;

    margin-bottom:15px;
}

.contact-item i{
    color:#D4AF37;
    margin-top:5px;
}

.footer-social{
    display:flex;
    gap:12px;

    margin-top:15px;
}

.footer-social a{
    width:42px;
    height:42px;

    border-radius:50%;

    background:#222;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.3s;
}

.footer-social a:hover{
    background:#D4AF37;
}

.footer-bottom{
    margin-top:40px;
    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.1);

    text-align:center;
}

.footer-bottom p{
    color:#999;
    font-size:14px;
}

/* =====================================
   WHATSAPP FLUTUANTE
===================================== */

.floating-whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;

    z-index:999;
}

/* =====================================
   MOBILE
===================================== */

@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    .navbar{
        position:fixed;

        top:90px;
        right:-100%;

        width:280px;
        height:calc(100vh - 90px);

        background:#fff;

        flex-direction:column;
        align-items:flex-start;

        padding:30px;

        transition:.3s;

        box-shadow:
        -10px 0 30px rgba(0,0,0,.08);
    }

    .navbar.active{
        right:0;
    }

    .hero-container{
        flex-direction:column;
        text-align:center;
    }

    .hero h1{
        font-size:42px;
    }

    .hero-buttons{
        display:flex;
        align-items:center;
        gap:15px;
        flex-wrap:wrap;
    }

    .section-title h2{
        font-size:38px;
    }

    .services-grid{
        grid-template-columns:repeat(3,1fr);
        gap:10px;
    }

    .service-card{
        padding:15px 8px;
        min-height:120px;
    }

    .service-card i{
        font-size:24px;
        margin-bottom:10px;
    }

    .service-card h3{
        font-size:12px;
    }

    .categories-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .cta h2{
        font-size:30px;
    }

    .footer-grid, .footer-social,.footer-col, .footer-logo{
        text-align:center;
        justify-content:center;
    }
    
    .contact-item{
        justify-content:center;
    }
}