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

:root{
    --grafite:#222222;
    --cinza:#7a7a7a;
    --marmore:#f5f5f5;
    --branco:#ffffff;
    --destaque:#c9c9c9;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:var(--marmore);
    color:#333;
    line-height:1.6;
}

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

/* HEADER */

header{
    background:var(--branco);
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
    padding:10px 0;
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-img{
    height:70px;
    width:auto;
    display:block;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    text-decoration:none;
    color:#333;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:var(--cinza);
}

/* HERO */

.hero{
    background:
    linear-gradient(
        rgba(0,0,0,.60),
        rgba(0,0,0,.60)
    ),
    url('../img/projetos/banner-principal.jpg');

    background-size:cover;
    background-position:center;

    color:white;
    text-align:center;

    padding:140px 20px;
}

.hero h1{
    font-size:3rem;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:0 auto 30px;
    font-size:1.1rem;
    line-height:1.8;
}

.hero h1{
    line-height:1.2;
}

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

/* BOTÕES */

.btn{
    display:inline-block;
    padding:15px 28px;
    background:var(--grafite);
    color:white;
    text-decoration:none;
    border-radius:8px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.btn-secundario{
    background:var(--branco);
    color:#222;
}

/* SEÇÕES */

section{
    padding:80px 0;
}

h2{
    text-align:center;
    margin-bottom:40px;
    font-size:2rem;
}

/* CARDS */

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

.card{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
    height:100%;
}

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

.card h3{
    margin-bottom:15px;
}

/* DIFERENCIAIS */

.diferenciais{
    background:white;
}

/* GALERIA */

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

.item{
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.item:hover{
    transform:translateY(-5px);
}

.item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.4s;
}

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

.item h3{
    padding:15px 15px 10px;
}

.item p{
    padding:0 15px 20px;
}

/* LOCALIZAÇÃO */
/* =========================
   CARROSSEL DE PROJETOS
========================= */

.carousel-container{
    position:relative;
    max-width:900px;
    margin:0 auto;
}

.carousel-slide{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.carousel-slide img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
}

.carousel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:rgba(34,34,34,.85);
    color:white;
    font-size:30px;
    cursor:pointer;
    z-index:10;
    transition:.3s;
}

.carousel-btn:hover{
    transform:translateY(-50%) scale(1.1);
}

.carousel-btn.prev{
    left:20px;
}

.carousel-btn.next{
    right:20px;
}

.carousel-indicators{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:20px;
}

.carousel-indicators span{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#ccc;
    transition:.3s;
    cursor:pointer;
}

.carousel-indicators .indicador.ativo{
    background:#222;
    transform:scale(1.2);
}
.localizacao iframe{
    width:100%;
    height:450px;
    border:none;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.texto-localizacao{
    text-align:center;
    max-width:850px;
    margin:0 auto 25px;
    color:#555;
}

/* FORMULÁRIO */

.contato form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contato input,
.contato textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:1rem;
    font-family:Arial, Helvetica, sans-serif;
}

.contato textarea{
    resize:vertical;
}

.contato button{
    background:var(--grafite);
    color:white;
    border:none;
    padding:15px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.contato button:hover{
    opacity:.9;
}

/* REDES */

.redes{
    text-align:center;
    margin-top:40px;
}

.redes p{
    margin-bottom:20px;
}

/* FOOTER */

footer{
    background:var(--grafite);
    color:white;
    text-align:center;
    padding:40px 20px;
}

.footer-logo{
    max-width:220px;
    width:100%;
    margin-bottom:20px;
}

/* BOTÃO FLUTUANTE WHATSAPP */

.whatsapp-float{
    position:fixed;
    bottom:20px;
    right:20px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    color:white;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    z-index:9999;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
    transition:.3s;
    border:3px solid #ffffff;
    animation:pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover{
    transform:scale(1.12);
}

.whatsapp-float i{
    line-height:1;
}

/* MODAL DE IMAGEM */
.modal-imagem{
    display:none;
    position:fixed;
    z-index:99999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.9);
    justify-content:center;
    align-items:center;
}

.modal-imagem img{
    max-width:95%;
    max-height:90%;
    border-radius:10px;
    object-fit:contain;
    animation: zoomImagem .3s ease;
}

#fechar-modal{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

.carousel-slide img{
    cursor:pointer;
}

/* RESPONSIVO */
@media(max-width:768px){

    .header-container{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    nav a{
        font-size:14px;
    }

    .hero{
        padding:80px 15px;
    }

    .hero h1{
        font-size:1.8rem;
        line-height:1.3;
    }

    .hero p{
        font-size:1rem;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .hero-buttons .btn{
        width:100%;
        max-width:300px;
        text-align:center;
    }

    .galeria{
        grid-template-columns:1fr;
    }

    .carousel-slide img{
        height:300px;
    }

    .carousel-btn{
        width:45px;
        height:45px;
        font-size:24px;
    }

    .localizacao iframe{
        height:350px;
    }

    .contato input,
    .contato textarea,
    .contato button{
        font-size:16px;
    }

    .logo-img{
        height:55px;
    }

    .footer-logo{
        max-width:180px;
    }

}

@keyframes zoomImagem{
    from{
        transform:scale(.8);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }
}

@keyframes pulseWhatsapp{
    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }

    100%{
        transform:scale(1);
    }
}

.whatsapp-float{
    animation:pulseWhatsapp 2s infinite;
}

.lgpd-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0 20px;
    text-align: left;
}

.lgpd-checkbox input {
    margin-top: 4px;
}

.lgpd-checkbox label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.lgpd-checkbox a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.lgpd-checkbox a:hover {
    text-decoration: underline;
}