/* assets/css/responsive.css */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex-basis: calc(50% - 1rem);
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 60px 0;
        margin-top: 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        flex-basis: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Mode paysage mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Impression */
@media print {
    .navbar,
    .whatsapp-float,
    .hero-buttons,
    .btn {
        display: none;
    }
    
    body {
        color: #000;
    }
    
    .hero {
        background: none;
        color: #000;
    }
}








/* ==============================================
   SERVICE DETAIL PAGE - RESPONSIVE
   ============================================== */

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .service-detail-grid > div:last-child > div:first-child {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 10px !important;
    }
    
    .observe {
        padding: 25px 20px !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==============================================
   FOOTER - RESPONSIVE AMÉLIORÉ
   ============================================== */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-section {
        padding: 0 15px !important;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 15px !important;
    }
    
    .footer-section ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-section ul li {
        margin-bottom: 10px !important;
    }
    
    .social-links {
        justify-content: center !important;
        margin-top: 15px !important;
    }
    
    .contact-info {
        list-style: none !important;
    }
    
    .contact-info li {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center !important;
    }
    
    .footer-bottom {
        text-align: center !important;
        padding: 20px 15px !important;
    }
    
    .footer-bottom p {
        margin: 8px 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }
    
    .footer-cities {
        padding: 20px 0 !important;
        margin-top: 30px !important;
    }
    
    .footer-cities h4 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
        padding: 0 15px !important;
    }
    
    .footer-cities > div > div {
        padding: 0 10px !important;
        gap: 10px !important;
    }
    
    .city-link {
        padding: 6px 15px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 0.8rem !important;
    }
    
    .footer-section {
        padding: 0 10px !important;
    }
    
    .city-link {
        padding: 5px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* ==============================================
   HERO SECTION - RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem !important;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
    }
}