/* ============================================
   STYLES RESPONSIVES MINIMALISTES
   Seulement ce qui n'est pas déjà dans style.css
   ============================================ */

/* ============================================
   TABLETTES (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .carousel {
        height: 450px;
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-btn.prev {
        left: -20px;
    }
    
    .carousel-btn.next {
        right: -20px;
    }
}

/* ============================================
   MOBILES (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Navbar mobile */
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        padding: 10px 15px;
        height: 70px; /* Assure une hauteur fixe */
        display: flex;
        align-items: center; /* Centre verticalement tous les enfants */
    }
    
    .logo-img {
        height: 55px;
        padding-top: 5px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 30px;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        margin: 5px 0;
        border-radius: 0;
        border-left: 4px solid transparent;
    }
    
    .nav-social {
        display: block !important;
        margin-top: auto;
        padding: 30px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }
    
    .nav-social h4 {
        font-size: 1.2rem;
        color: var(--dark-color);
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }
    
    .nav-social h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background-color: var(--secondary-color);
    }
    
    /* MÊME CLASSE QUE FOOTER MAIS COULEURS INVERSEES POUR FOND BLANC */
    .social-icons {
        display: flex !important;
        justify-content: center;
        gap: 15px;
    }
    
    /* ICÔNES VISIBLES SUR FOND BLANC */
    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--primary-color) !important; /* COULEUR PRIMAIRE VISIBLE */
        border-radius: 50%;
        color: white !important; /* ICÔNE BLANCHE SUR FOND COLORÉ */
        font-size: 1.1rem;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    /* EFFET AU SURVOL - DEVENIR ORANGE */
    .social-icons a:hover {
        background-color: var(--secondary-color) !important; /* ORANGE AU SURVOL */
        color: white !important;
        transform: translateY(-3px);
    }
    
    /* Ajustement pour s'assurer que le menu prend toute la hauteur */
    .nav-menu {
        justify-content: flex-start;
    }
    
    .nav-link:hover {
        border-left-color: var(--primary-color);
        background-color: rgba(42, 110, 63, 0.05);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        transform-origin: center;
        position: relative;
        top: 8px; /* Ajustez selon l'épaisseur de vos barres */
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        transform-origin: center;
        position: relative;
        top: -8px; /* Ajustez selon l'épaisseur de vos barres */
    }
    
    .scroll-indicator {
        bottom: 20px !important;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* À propos */
    .profile-photo-container {
        width: 250px;
        height: 250px;
    }
    
    .profile-photo-round {
        border-width: 6px;
    }
    
    /* Parallax - ajustements spécifiques */
    .parallax-container {
        height: 100%;
    }
    
    .parallax-layer.layer-1 {
        background-position: 70% center !important;
        background-attachment: scroll !important;
    }
    
    /* Carousel mobile */
    .carousel {
        height: 700px;
        flex-direction: column;
    }
    
    .carousel-slide {
        flex-direction: column;
    }
    
    .slide-image {
        height: 300px;
        flex: none;
    }
    
    .slide-content {
        padding: 30px;
        flex: 1;
    }
    
    .slide-content h3 {
        font-size: 1.8rem;
    }
    
    .carousel-container {
        padding: 0 30px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev {
        left: -15px;
    }
    
    .carousel-btn.next {
        right: -15px;
    }

    .slide-content p:not(.pest-species) {
        margin-bottom: 0px; /* espace sous le texte principal */
    }
    
    .pest-species {
        font-size: 0.9rem;
        padding: 8px;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Boutons en colonne centrée - MOBILE */
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
        margin: 0 auto 40px auto !important;
    }

    .highlight {
        display: inline !important; /* Change de inline-block à inline */
        position: relative;
        line-height: 1.3;
    }
    
    .highlight::after {
        height: 0.15em !important; /* Utilise em pour être proportionnel */
        bottom: 0.1em !important; /* Ajusté avec em */
        transform: skewX(-10deg) !important; /* Moins incliné sur mobile */
        transform-origin: left bottom !important;
        width: 100% !important;
        left: 0 !important;
        background: rgba(248, 162, 47, 0.3) !important;
        z-index: -1 !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        min-width: unset !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Ajustement des boutons avec icônes */
    .btn-icon {
        gap: 10px !important;
        padding: 14px 20px !important;
    }

    .btn-icon i {
        font-size: 1.1rem !important;
    }
}

/* ============================================
   PETITS MOBILES (max-width: 576px)
   ============================================ */
@media (max-width: 576px) {
    .carousel {
        height: 650px;
    }
    
    .slide-image {
        height: 250px;
    }
    
    .slide-content {
        padding: 25px;
    }
    
    .slide-content h3 {
        font-size: 1.6rem;
    }
    
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .carousel-btn.prev {
        left: -10px;
    }
    
    .carousel-btn.next {
        right: -10px;
    }
    
    .carousel-thumbnails {
        display: none;
    }
}

/* ============================================
   TRÈS PETITS MOBILES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .profile-photo-container {
        width: 200px;
        height: 200px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .parallax-layer.layer-1 {
        background-position: 80% center !important;
    }
    
    .carousel {
        height: 600px;
    }
    
    .slide-image {
        height: 220px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* ============================================
   TRÈS TRÈS PETITS MOBILES (max-width: 375px)
   ============================================ */
@media (max-width: 375px) {
    .parallax-layer.layer-1 {
        background-position: 85% center !important;
    }
}
