:root {
    --primary: #0f172a;
    --secondary: #38bdf8;
    --accent: #22c55e;
    --text-dark: #334155;
    --text-light: #94a3b8;
    --bg-main: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* --- HEADER & NAVEGAÇÃO --- */
header {
    background: var(--primary);
    color: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* --- MENU HAMBÚRGUER (Escondido no PC) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 101;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Transforma as barrinhas em "X" quando o menu abre */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- HERO / BANNER --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
    /* 📸 BANNER DESKTOP AQUI */
    background-image: url('./fotos/banner-pcc.webp');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    color: #e2e8f0;
}

/* --- BOTOES --- */
.btn {
    background: var(--accent);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

/* --- SECOES & GRIDS --- */
.section {
    padding: 80px 5%;
}

.bg-light {
    background: white;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--primary);
    position: relative;
}

.section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--secondary);
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- SOBRE NOS --- */
.sobre-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-imagem {
    flex: 1;
}

.img-sobre {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-sobre:hover {
    transform: scale(1.02);
}

.sobre-texto {
    flex: 1;
}

.sobre-texto h2 {
    text-align: left;
    margin-bottom: 20px;
}

.sobre-texto h2::after {
    margin: 15px 0 0 0; 
}

.sobre-texto p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.sobre-texto strong {
    color: var(--primary);
}

/* --- CARDS (Servicos e Produtos) --- */
.card, .produto {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.card:hover, .produto:hover, .avaliacao:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.img-destaque {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.produto .img-destaque {
    height: 350px;
}

.card h3, .produto h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 22px;
}

.card p, .produto p {
    color: var(--text-light);
    line-height: 1.6;
}

/* --- AVALIACOES --- */
.avaliacao {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.avatar-cliente {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--secondary);
}

.estrelas {
    margin-bottom: 15px;
    font-size: 20px;
}

/* --- CONTATO E MAPA --- */
.bg-dark-contact {
    background: var(--primary);
    color: white;
}

.bg-dark-contact h2 {
    color: white;
}

.contato-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contato-info {
    flex: 1;
    min-width: 300px;
    font-size: 18px;
    line-height: 2;
}

.mapa-google {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

footer {
    background: #020617;
    color: var(--text-light);
    text-align: center;
    padding: 40px 20px;
}

footer h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 22px;
}

/* --- WHATSAPP FLUTUANTE --- */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp:hover {
    transform: scale(1.05);
}
.link--solucoes{
        color: #94a3b8;
    }
    .link--solucoess{
        text-decoration: none;
    }

/* ==========================================================================
   RESPONSIVIDADE (CELULARES E TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
    /* Ajustes do Header para o Menu Hambúrguer */
    header {
        padding: 15px 5%;
    }

    .menu-toggle {
        display: flex; /* Mostra o ícone no celular */
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 0;
        max-height: 0; /* Esconde o menu inicialmente */
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    /* Classe que o JavaScript ativa para abrir o menu */
    nav.active {
        max-height: 375px;
        padding: 20px 0;
    }

    nav a {
        margin: 15px 0;
        font-size: 18px;
    }

    .hero {
        /* 📸 BANNER MOBILE AQUI */
        background-image: url('fotos/banner-3.webp');
        height: 90vh;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
    
    .sobre-container {
        flex-direction: column;
        text-align: center;
    }

    .sobre-texto h2 {
        text-align: center;
    }

    .sobre-texto h2::after {
        margin: 15px auto 0;
    }

    /* O mapa desce para baixo do texto no celular */
    .contato-container {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp {
        bottom: 20px;
        right: 20px;
        padding: 5px 5px; /* Mantive o tamanho que você definiu */
    }
    
}