/* ====================================
   Auto Elétrica Bombas - Responsive CSS
   ==================================== */

/* ===== Tablet (1024px and below) ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Mobile (768px and below) ===== */
@media (max-width: 768px) {
    /* Header Mobile */
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .btn-header {
        display: none;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Sections Mobile */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Services Mobile */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 24px;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-box h3 {
        font-size: 1.6rem;
    }
    
    /* Differentials Mobile */
    .differentials {
        padding: 60px 0;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* About Mobile */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    /* FAQ Mobile */
    .faq {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 20px;
    }
    
    /* Contact Mobile */
    .contact {
        padding: 60px 0;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .contact-map iframe {
        min-height: 300px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col:first-child {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Float Buttons Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== Small Mobile (480px and below) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .cta-box h3 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* ===== Landscape Orientation ===== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-scroll {
        display: none;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .hero-cta,
    .whatsapp-float,
    .back-to-top,
    .mobile-menu-btn {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
