/* Reset e Estilos Base */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Container Principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.nav-logo h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

/* Menu Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

/* Botão Hamburguer - Escondido inicialmente */
.nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.nav-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    transition: transform 0.3s ease;
}

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

/* Media Queries para Responsividade */

/* Tablets e Dispositivos Médios */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .differentials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Dispositivos Pequenos (Tablets e Celulares Grandes) */
@media screen and (max-width: 768px) {
    /* Navegação Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Animação do Hamburguer para X */
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Section */
    .hero {
        height: 90vh;
        padding: 0 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    /* Layouts de Grade */
    .about-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Botão WhatsApp */
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* Celulares Pequenos */
@media screen and (max-width: 480px) {
    /* Navegação */
    .nav-container {
        padding: 1rem;
    }

    .nav-logo h2 {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero {
        height: 85vh;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* Botões */
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    /* Botão WhatsApp */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.4rem;
    }
}

/* Celulares Muito Pequenos */
@media screen and (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }
}

/* Modo Paisagem em Celulares */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }

    .nav-menu {
        top: 60px;
        padding: 1rem 0;
    }
}

/* Acessibilidade - Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Estilos para Impressão */
@media print {
    .header,
    .whatsapp-btn,
    .nav-toggle {
        display: none;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
        background: none;
        color: #333;
    }

    * {
        box-shadow: none !important;
    }
}