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

/* ===== CONFIGURAÇÃO DE SCROLL PARA MENU FIXO ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

section, [id] {
    scroll-margin-top: 80px;
}

.hero {
    scroll-margin-top: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f0f0f;
    color: #eaeaea;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000, #1a1a1a);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 90%;
    padding: 20px;
}

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

.nav-icon {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    vertical-align: middle;
}

.hero h1 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 10px;
}

.hero p {
    margin: 10px 0 20px;
    color: #bbb;
    font-size: clamp(14px, 4vw, 16px);
}

.btn {
    background: #25D366;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

/* ===== FAIXAS (listras) ===== */
.faixa {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, gold, orange, gold, transparent);
    opacity: 0.7;
    z-index: 1;
    left: 0;
}

.faixa-top {
    top: 130px;
    animation: deslizarDireita 2s linear infinite;
}

.faixa-bottom {
    bottom: 125px;
    animation: deslizarEsquerda 2s linear infinite;
}

@keyframes deslizarDireita {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes deslizarEsquerda {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== CARROS EM MOVIMENTO ===== */
.moving-car {
    position: absolute;
    background: url('assets/imagens/carro.png') no-repeat center/contain;
    background-color: transparent;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(255,215,0,0.5));
}

.car-top {
    left: -120px;
    animation: dirigirDireita 5s linear infinite;
}

.car-bottom {
    right: -120px;
    animation: dirigirEsquerda 5s linear infinite;
    transform: scaleX(-1);
}

@keyframes dirigirDireita {
    0% { left: -120px; }
    100% { left: 100%; }
}

@keyframes dirigirEsquerda {
    0% { right: -120px; }
    100% { right: 100%; }
}

/* ===== RESPONSIVIDADE COMPLETA ===== */

/* Desktop Grande (acima de 1600px) */
@media (min-width: 1600px) {
    .nav-icon { width: 120px; height: 120px; }
    .faixa-top { top: 180px; }
    .faixa-bottom { bottom: 60px; }
    .moving-car { width: 300px; height: 150px; }
    .car-top { top: 83px; }
    .car-bottom { bottom: 12px; }
    .logo { max-width: 500px; }  /* LOGO MAIOR */
}

/* Desktop Normal (1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .nav-icon { width: 100px; height: 100px; }
    .faixa-top { top: 180px; }
    .faixa-bottom { bottom: 100px; }
    .moving-car { width: 250px; height: 150px; }
    .car-top { top: 83px; }
    .car-bottom { bottom: 52px; }
    .logo { max-width: 400px; }  /* LOGO PADRÃO */
}

/* Desktop pequeno / Notebook (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .nav-icon { width: 90px; height: 90px; }
    .faixa-top { top: 150px; }
    .faixa-bottom { bottom: 117px; }
    .moving-car { width: 200px; height: 100px; }
    .car-top { top: 85px; }
    .car-bottom { bottom: 85px; }
    .logo { max-width: 400px; }
}

/* Tablet horizontal (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-icon { width: 80px; height: 80px; }
    .faixa-top { top: 180px; }
    .faixa-bottom { bottom: 80px; }
    .moving-car { width: 200px; height: 100px; }
    .car-top { top: 115px; left: -100px; }
    .car-bottom { bottom: 48px; right: -100px; }
    .logo { max-width: 400px; }

    .nav-menu {display: none;}
    .nav-toggle { display: block; }
    .nav-logo { font-size: 18px; }
}

/* Tablet vertical (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .nav-icon { width: 70px; height: 70px; }
    .faixa-top { top: 180px; }
    .faixa-bottom { bottom: 80px; }
    .moving-car { width: 200px; height: 100px; }
    .car-top { top: 115px; left: -90px; }
    .car-bottom { bottom: 50px; right: -90px; }
    .logo { max-width: 400px; }
    .hero h1 { font-size: 22px; }
}

/* Mobile grande (481px - 575px) */
@media (min-width: 481px) and (max-width: 575px) {
    .nav-icon { width: 60px; height: 60px; }
    .faixa-top { top: 150px; }
    .faixa-bottom { bottom: 77px; }
    .moving-car { width: 200px; height: 100px; }
    .car-top { top: 85px; left: -80px; }
    .car-bottom { bottom: 45px; right: -80px; }
    .logo { max-width: 400px; }
    .hero h1 { font-size: 20px; }
}

/* Mobile médio (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
    .nav-icon { width: 80px; height: 80px; }
    .faixa-top { top: 102px; }
    .faixa-bottom { bottom: 60px; }
    .moving-car { width: 100px; height: 100px; }
    .car-top { top: 38px; left: -70px; }
    .car-bottom { bottom: 28px; right: -70px; }
    .logo { max-width: 400px; }
    .hero h1 { font-size: 18px; }
    .btn { padding: 10px 18px; font-size: 14px; }
}

/* Mobile pequeno (321px - 375px) */
@media (min-width: 321px) and (max-width: 375px) {
    .nav-icon { width: 70px; height: 70px; }
    .faixa-top { top: 95px; }
    .faixa-bottom { bottom: 62px; }
    .moving-car { width: 100px; height: 100px; }
    .car-top { top: 31px; left: -60px; }
    .car-bottom { bottom: 31px; right: -60px; }
    .logo { max-width: 400px; }
    .hero h1 { font-size: 16px; }
    .btn { padding: 8px 16px; font-size: 12px; }
}

/* Mobile extra pequeno (até 320px) */
@media (max-width: 320px) {
    .nav-icon { width: 30px; height: 30px; }
    .faixa-top { top: 40px; }
    .faixa-bottom { bottom: 40px; }
    .moving-car { width: 65px; height: 33px; }
    .car-top { top: 23px; left: -50px; }
    .car-bottom { bottom: 23px; right: -50px; }
    .logo { max-width: 400px; }
    .hero h1 { font-size: 14px; }
    .btn { padding: 6px 12px; font-size: 11px; }
}

/* Ajuste para telas com ALTURA pequena */
@media (max-height: 700px) {
    .nav-icon { width: 50px; height: 50px; }
    .hero { min-height: 400px; height: auto; padding: 40px 0; }
    .faixa-top { top: 105px; }
    .faixa-bottom { bottom: 20px; }
    .moving-car { width: 200px; height: 100px; }
    .car-top { top: 40px; }
    .car-bottom { bottom: -10px; }
    .logo { max-width: 300px; }
}

@media (max-height: 550px) {
    .nav-icon { width: 40px; height: 40px; }
    .faixa-top { top: 70px; }
    .faixa-bottom { bottom: 20px; }
    .moving-car { width: 200px; height: 80px; }
    .car-top { top: 18px; }
    .car-bottom { bottom: -5px; }
    .logo { max-width: 200px; }
    .hero h1 { font-size: 18px; }
}

/* ===== CONTAINER E GRIDS ===== */
.container {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}

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

.card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.2s, background 0.2s;
    text-align: center;
}

.card:hover {
    background: #2a2a2a;
    transform: translateY(-5px);
}

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

.item-galeria {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
}

.item-galeria img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    background: #2a2a2a;
}

.placeholder {
    color: #aaa;
    text-align: center;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 10px;
}

/* Mapa */
iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 10px;
}

/* WhatsApp flutuante - mais transparente */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(37, 211, 102, 0.55);  /* Mais transparente (25% opaco) */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(6px);  /* Mais blur para dar efeito vítreo */
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.whatsapp i {
    font-size: 34px;
    opacity: 0.9;
}

.whatsapp:hover {
    transform: scale(1.1);
    background: rgba(37, 211, 102, 0.85);  /* Fica mais visível no hover */
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    backdrop-filter: blur(0);
}

.whatsapp:active {
    transform: scale(0.95);
}

/* Botão normal do WhatsApp (hero e localização) */
.btn i, .btn-whatsapp-local i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-whatsapp-local {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 15px;
    transition: transform 0.2s;
}

.btn-whatsapp-local i {
    margin-right: 8px;
}

.btn-whatsapp-local:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #000;
    color: #aaa;
    font-size: 14px;
}

/* ===== MENU DE NAVEGAÇÃO ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #ff4444;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #ff4444;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    margin-top: 60px;
    height: calc(90vh - 60px);
    min-height: calc(500px - 60px);
}

/* ===== SOBRE EXPANDIDO ===== */
.sobre-expandido p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.sobre-expandido .destaque {
    font-size: 18px;
    color: #ff4444;
}

.servicos-lista {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.servicos-lista h3 {
    margin-bottom: 10px;
    color: #ff4444;
}

.servicos-lista ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.servicos-lista li {
    padding: 5px 0;
}

/* ===== DIFERENCIAIS EM GRID ===== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.diferencial-card {
    background: #1a1a1a;
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    background: #2a2a2a;
}

.diferencial-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.diferencial-card h3 {
    color: #ff4444;
    margin-bottom: 5px;
    font-size: 18px;
}

.diferencial-card p {
    color: #aaa;
    font-size: 14px;
}

/* ===== LOCALIZAÇÃO GRID ===== */
.local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.local-info {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
}

.local-info p {
    margin-bottom: 10px;
}

.btn-whatsapp-local {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 15px;
    transition: transform 0.2s;
}

.btn-whatsapp-local:hover {
    transform: scale(1.05);
}

/* ===== RESPONSIVO DO MENU E OUTROS ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .local-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .servicos-lista ul {
        grid-template-columns: 1fr;
    }
    
    .whatsapp {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .diferencial-card {
        padding: 15px 10px;
    }
    
    .diferencial-icon {
        font-size: 30px;
    }
    
    .diferencial-card h3 {
        font-size: 14px;
    }
}

/* Ajuste do WhatsApp flutuante para mobile */
@media (max-width: 768px) {
    .whatsapp {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        background: rgba(37, 211, 102, 0.5);
    }
    
    .whatsapp i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp {
        width: 50px;
        height: 50px;
        background: rgba(37, 211, 102, 0.5);
    }
    
    .whatsapp i {
        font-size: 24px;
    }
}

/* Ajuste da galeria para não cortar as imagens */
.item-galeria img {
    width: 100%;
    height: auto;  /* Mudar de 180px para auto */
    min-height: 200px;
    max-height: 300px;
    object-fit: contain;  /* Mudar de cover para contain */
    border-radius: 8px;
    background: #2a2a2a;
}

/* Para manter o tamanho consistente */
.item-galeria {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
}

.item-galeria p {
    margin: 10px 0;
}

.item-galeria .legenda {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.depoimento-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.depoimento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
}

.depoimento-estrelas {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.depoimento-texto {
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ccc;
}

.depoimento-cliente {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 14px;
}

.depoimento-cliente strong {
    color: #ff4444;
}

.depoimento-cliente span {
    color: #888;
}

@media (max-width: 768px) {
    .depoimentos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}