/**
 * Styles Responsifs - B'yours Agency
 * Adaptations pour tous les appareils et tailles d'écran
 * 
 * @author GitHub Copilot
 * @version 1.0
 * @date 2025
 */

/* ===== BREAKPOINTS ===== */
/* 
Mobile: 320px - 768px
Tablet: 768px - 1024px
Desktop: 1024px+
Large Desktop: 1400px+
*/

/* ===== RESPONSIVE DESIGN - PARTIE 2 REDESIGNÉE ===== */

/* ===== TABLETTES ET MOBILES ===== */
@media screen and (max-width: 768px) {
    
    /* ===== SECTION INFO ===== */
    .info-card {
        flex-direction: column;
        min-height: auto;
        padding: 60px 0;
        text-align: center;
    }

    .info-card.reverse {
        flex-direction: column;
    }

    .info-card-content,
    .info-card.reverse .info-card-content {
        padding: 40px 20px;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .info-card-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .info-card-text {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .info-card-image {
        height: 400px;
    }

    .info-card-image img {
        width: 85%;
        height: 85%;
    }

    .hands-composition {
        width: 85%;
        height: 85%;
    }

    .hand-element {
        width: 80px;
        height: 120px;
    }

    /* SUPPRIMÉ: instagram-cta */

    /* ===== SECTION AVANT/APRÈS SLIDER ===== */
    .before-after-content {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .before-after-slider {
        width: 100%;
        height: 500px;
        order: 2;
    }

    .slider-container {
        width: 90%;
        max-width: 400px;
        height: 500px;
        margin: 0 auto;
    }

    .before-after-text {
        order: 1;
        max-width: 100%;
    }

    .section-title {
        font-size: 36px;
    }

    .section-description {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .slider-button {
        width: 35px;
        height: 35px;
    }

    .slider-button svg {
        width: 10px;
        height: 10px;
    }

    .image-label {
        font-size: 10px;
        padding: 6px 12px;
    }

    /* ===== SECTION SERVICES ===== */
    .section-main-title {
        font-size: 42px;
        margin-bottom: 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    /* Styles des services gérés par les correctifs responsive ci-dessous */

    /* ===== SECTION TÉMOIGNAGES ===== */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .testimonial-avatar {
        width: 130px;
        height: 130px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    /* ===== SECTION FAQ ===== */
    .faq-title {
        font-size: 36px;
    }

    .faq-question {
        font-size: 16px;
        padding: 30px 25px;
    }

    .faq-answer.active {
        padding: 0 25px 30px;
    }
}

/* ===== MOBILES UNIQUEMENT ===== */
@media screen and (max-width: 480px) {
    
    /* ===== SECTION INFO ===== */
    .info-card-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .info-card-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .info-card-button {
        padding: 15px 25px;
        font-size: 11px;
    }

    /* ===== SECTION SERVICES ===== */
    .section-main-title {
        font-size: 32px;
        margin-bottom: 50px;
    }

    /* Styles des services gérés par les correctifs responsive */

    /* ===== SECTION AVANT/APRÈS SLIDER (MOBILE) ===== */
    .before-after-section {
        padding: 80px 0;
    }

    .slider-container {
        width: 95%;
        max-width: 350px;
        height: 450px;
        margin: 0 auto; /* Centrer le container */
    }

    /* Corrections importantes pour les images sur mobile */
    .before-image img {
        object-fit: cover !important;
        object-position: center center !important; /* Surcharge le 30% du desktop */
        width: 100% !important;
        height: 100% !important;
    }

    .after-image img {
        object-fit: cover !important;
        object-position: center center !important; /* Surcharge le 70% du desktop */
        width: 100% !important;
        height: 100% !important;
    }

    .slider-button {
        width: 30px;
        height: 30px;
    }

    .slider-button svg {
        width: 8px;
        height: 8px;
    }

    .slider-line {
        width: 1px;
    }

    .image-label {
        font-size: 9px;
        padding: 5px 10px;
        top: 15px;
    }

    .before-label {
        left: 15px;
    }

    .after-label {
        right: 15px;
    }

    /* ===== SECTION TÉMOIGNAGES ===== */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-avatar {
        width: 120px;
        height: 120px;
    }

    /* ===== SECTION FAQ ===== */
    .faq-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .faq-question {
        font-size: 14px;
        padding: 25px 20px;
        line-height: 1.4;
    }

    .faq-answer.active {
        padding: 0 20px 25px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* ===== LARGE DESKTOP (1400px+) ===== */
@media (min-width: 1400px) {
    .navigation-container {
        padding: 25px 60px;
    }
    
    .hero-text-container {
        padding: 80px;
        max-width: 700px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-description p {
        font-size: 18px;
    }
    
    .nav-menu {
        gap: 40px;
    }
}

/* ===== DESKTOP (1024px - 1399px) ===== */
@media (max-width: 1399px) and (min-width: 1025px) {
    .navigation-container {
        padding: 20px 30px;
    }
    
    .hero-text-container {
        padding: 50px;
        max-width: 550px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 11px;
    }
}

/* ===== TABLET (768px - 1024px) ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .navigation-container {
        padding: 15px 25px;
        flex-wrap: wrap;
    }
    
    .nav-left,
    .nav-right {
        display: none;
    }
    
    .logo-container {
        position: static;
        transform: none;
        order: 1;
        flex: 1;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        z-index: 1005;
        position: relative;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .hero-section {
        height: 85vh; /* Réduit pour l'effet dézoom */
        min-height: 550px; /* Réduit */
        transform: scale(0.98); /* Dézoom moins prononcé sur tablette */
    }
    
    /* Réajustement de l'image circulaire */
    .hero-image-container {
        left: 8%; /* Ajusté pour tablette */
        width: 380px; /* Proportions ajustées */
        height: 460px; /* Plus longue proportionnellement */
        top: 47%; /* Légèrement montée */
    }
    
    .hero-image {
        height: 110%; /* Un peu plus de débordement sur tablette */
        object-position: center 20%;
    }
    
    .hero-text-container {
        padding: 50px 35px 40px 25px; /* Réduit proportionnellement */
        max-width: 480px; /* Réduit */
        margin-left: 48%; /* Ajusté */
        margin-top: -35px; /* Proportionnel */
        border-radius: 25px 25px 0 25px;
    }
    
    .hero-title {
        font-size: 36px; /* Réduit proportionnellement */
        margin-bottom: 20px;
    }
    
    .hero-description p {
        font-size: 14px; /* Réduit */
        line-height: 1.6;
    }
    
    .signature-text {
        font-size: 22px; /* Réduit */
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 11px;
    }
    
    /* Réduction des éléments décoratifs */
    .hero-section::before {
        width: 220px; /* Proportionnellement ajustée */
        height: 220px; /* Proportionnellement ajustée */
        left: 3%; /* Suivre l'image */
        top: 12%; /* Ajustée */
    }
    
    .hero-section::after {
        width: 150px;
        height: 150px;
        right: 10%;
    }
    
    .main-content {
        margin-top: 80px;
    }
}

/* ===== MOBILE LARGE (481px - 768px) ===== */
@media (max-width: 768px) and (min-width: 481px) {
    .navigation-container {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .logo-container {
        position: static;
        transform: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1005;
        position: relative;
    }
    
    .logo-text {
        font-size: 26px;
    }
    
    .logo-subtitle {
        font-size: 8px;
        letter-spacing: 2px;
    }
    
    .hero-section {
        height: auto;
        min-height: 95vh; /* Légèrement réduit */
        flex-direction: column;
        transform: scale(1); /* Pas de transformation sur mobile */
    }
    
    /* Repositionnement pour mobile */
    .hero-image-container {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 280px; /* Proportions ajustées */
        height: 360px; /* Plus longue vers le bas */
        margin: 35px auto 0; /* Réduit */
        order: 1;
    }
    
    .hero-image {
        height: 105%; /* Légère extension sur mobile */
        border-radius: 50%;
        object-position: center 25%;
    }
    
    .hero-content {
        position: relative;
        background: transparent;
        width: 100%;
        height: auto;
        order: 2;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 20px;
    }
    
    .hero-text-container {
        padding: 40px 30px;
        max-width: none;
        width: 90%;
        text-align: center;
        margin: 0 auto;
        margin-top: -40px; /* Chevauchement avec l'image */
        border-radius: 25px 25px 0 25px;
        background: rgba(250, 247, 242, 0.98); /* Plus opaque sur mobile */
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 30px rgba(139, 111, 77, 0.2);
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-description {
        margin: 25px 0 30px 0;
    }
    
    .hero-description p {
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
    }
    
    .signature-text {
        font-size: 22px;
        text-align: center;
    }
    
    .hero-signature {
        margin: 30px 0;
    }
    
    .hero-cta {
        margin-top: 30px;
        text-align: center;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 11px;
        transform: translateY(0);
        margin-left: 0;
        border-radius: 20px;
    }
    
    /* Masquer les éléments décoratifs sur mobile */
    .hero-section::before,
    .hero-section::after {
        display: none;
    }
    
    .hero-text-container::before,
    .hero-text-container::after {
        display: none;
    }
    
    .main-content {
        margin-top: 70px;
    }
    
    .mobile-menu {
        width: 280px;
    }
    
    .mobile-menu-content {
        padding: 80px 25px 25px;
    }
    
    .mobile-nav-list a {
        font-size: 14px;
        padding: 12px 0;
    }
}

/* ===== MOBILE SMALL (320px - 480px) ===== */
@media (max-width: 480px) {
    .navigation-container {
        padding: 12px 15px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .logo-container {
        position: static;
        transform: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1005;
        position: relative;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .logo-text {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .logo-subtitle {
        font-size: 7px;
        letter-spacing: 1.5px;
    }
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
    }
    
    .hero-image-container {
        position: relative;
        width: 100%;
        height: 45vh;
        order: 1;
    }
    
    .hero-content {
        position: relative;
        background: var(--light-cream);
        width: 100%;
        height: auto;
        min-height: 55vh;
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text-container {
        padding: 30px 20px;
        max-width: none;
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 18px;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }
    
    .hero-description {
        margin: 20px 0 25px 0;
    }
    
    .hero-description p {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }
    
    .signature-text {
        font-size: 18px;
        text-align: center;
    }
    
    .hero-signature {
        margin: 25px 0;
    }
    
    .hero-cta {
        margin-top: 25px;
        text-align: center;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    
    .main-content {
        margin-top: 65px;
    }
    
    .mobile-menu {
        width: 100%;
        right: -100%;
    }
    
    .mobile-menu-content {
        padding: 70px 20px 20px;
    }
    
    .mobile-nav-list a {
        font-size: 13px;
        padding: 10px 0;
        letter-spacing: 0.5px;
    }
}

/* ===== MOBILE EXTRA SMALL (max 320px) ===== */
@media (max-width: 320px) {
    .navigation-container {
        padding: 10px 12px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 6px;
        letter-spacing: 1px;
    }
    
    .hero-text-container {
        padding: 25px 15px;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-description p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .signature-text {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 9px;
    }
    
    .mobile-menu-content {
        padding: 60px 15px 15px;
    }
    
    .mobile-nav-list a {
        font-size: 12px;
        padding: 8px 0;
    }
}

/* ===== ORIENTATIONS ===== */
@media (orientation: landscape) and (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-image-container {
        height: 100vh;
    }
    
    .hero-content {
        min-height: 100vh;
    }
    
    .hero-text-container {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        margin: 15px 0 20px 0;
    }
    
    .signature-text {
        font-size: 16px;
    }
    
    .hero-signature {
        margin: 15px 0;
    }
    
    .hero-cta {
        margin-top: 15px;
    }
}

/* ===== HOVER STATES POUR TOUCH DEVICES ===== */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover,
    .cta-button:hover,
    .logo:hover .logo-text {
        /* Désactive les effets hover sur mobile */
        color: initial;
        transform: none;
    }
    
    .dropdown:hover .dropdown-content {
        /* Désactive les dropdowns au hover sur mobile */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-text-container {
        animation: none;
    }
    
    .fade-in-up,
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* ===== CONTRAST ÉLEVÉ ===== */
@media (prefers-contrast: high) {
    :root {
        --primary-beige: #d4c4b0;
        --secondary-beige: #b8a082;
        --dark-brown: #5a3e2b;
        --gray-medium: #666666;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .nav-link,
    .hero-title,
    .hero-description p {
        color: var(--black);
    }
    
    .cta-button {
        border: 2px solid var(--black);
    }
}

/* ===== RESPONSIVE POUR NOUVELLES SECTIONS (PARTIE 2) ===== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .info-cards-wrapper {
        gap: 100px;
    }
    
    .info-card-content {
        padding: 60px 50px;
    }
    
    .services-grid {
        gap: 50px;
    }
    
    .testimonials-grid {
        gap: 50px;
    }
}

/* Desktop (1024px - 1399px) */
@media (max-width: 1399px) and (min-width: 1025px) {
    .info-card {
        gap: 40px;
    }
    
    .before-after-content {
        gap: 60px;
    }
    
    .services-grid {
        gap: 30px;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Section Info Cards */
    .info-card {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
        min-height: auto;
    }
    
    .info-card-content {
        max-width: none;
        order: 2;
    }
    
    .info-card-image {
        order: 1;
        height: 350px;
    }
    
    .hands-composition {
        width: 300px;
        height: 300px;
    }
    
    /* Section Avant/Après */
    .before-after-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .before-after-slider {
        height: 500px;
    }
    
    .slider-container {
        width: 80%;
        max-width: 400px;
        height: 480px;
    }
    
    /* Ajustements des images pour tablette */
    .before-image img,
    .after-image img {
        object-position: center center;
    }
    
    .circular-image-container {
        width: 350px;
        height: 400px;
    }
    
    .before-after-nav {
        gap: 200px;
    }
    
    /* Section Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-card {
        height: 350px;
    }
    
    .service-image {
        height: 230px;
    }
    
    /* Section Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    /* Footer */
    .footer-content {
        gap: 40px;
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    /* Sections générales */
    .container {
        padding: 0 15px;
    }
    
    .section-main-title {
        font-size: 32px;
        margin-bottom: 60px;
    }
    
    /* STYLES SUPPRIMÉS: Section Info */
    
    /* Section Avant/Après */
    .before-after-section {
        padding: 80px 0;
    }
    
    .before-after-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .before-after-slider {
        height: 450px;
    }
    
    .slider-container {
        width: 90%;
        max-width: 280px;
        height: 400px;
    }
    
    /* Ajustements des images pour mobile */
    .before-image img,
    .after-image img {
        object-position: center center;
    }
    
    .circular-image-container {
        width: 280px;
        height: 350px;
    }
    
    .before-after-nav {
        gap: 150px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .before-after-text {
        padding: 40px 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Section Services */
    .services-section {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        height: 320px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-image {
        height: 200px;
    }
    
    /* Section Testimonials */
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonial-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
    }
    
    .testimonial-name {
        font-size: 16px;
    }
    
    /* Section FAQ */
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 25px 30px;
    }
    
    .faq-answer {
        padding: 25px 30px;
    }
    
    /* Footer */
    .main-footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links a {
        font-size: 12px;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    /* Sections générales */
    .container {
        padding: 0 10px;
    }
    
    .section-main-title {
        font-size: 24px;
        margin-bottom: 40px;
        text-align: center;
    }
    
    /* STYLES SUPPRIMÉS: Section Info */
    
    /* STYLES SUPPRIMÉS: instagram-cta */
    
    /* Section Avant/Après */
    .before-after-section {
        padding: 60px 0;
    }
    
    .before-after-content {
        gap: 30px;
    }
    
    .before-after-slider {
        height: 350px;
    }
    
    .slider-container {
        width: 95%;
        max-width: 280px;
        height: 350px;
        margin: 0 auto; /* Centrer le container */
    }

    /* Optimisation des images pour très petits écrans */
    .before-image img {
        object-position: center center !important; /* Surcharge le 30% du desktop */
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }

    .after-image img {
        object-position: center center !important; /* Surcharge le 70% du desktop */
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }    .slider-button {
        width: 28px;
        height: 28px;
    }
    
    .slider-button svg {
        width: 8px;
        height: 8px;
    }
    
    .circular-image-container {
        width: 220px;
        height: 280px;
    }
    
    .before-after-nav {
        gap: 100px;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .before-after-text {
        padding: 30px 20px;
    }
    
    .section-category {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .section-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    /* Section Services */
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        height: 280px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 20px;
        height: 100px;
    }
    
    .service-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-link {
        font-size: 11px;
    }
    
    /* Réduction des illustrations */
    .color-palette {
        width: 120px;
        height: 90px;
    }
    
    .classic-portrait {
        width: 80px;
        height: 100px;
    }
    
    .body-shapes::before,
    .body-shapes::after {
        width: 40px;
        height: 80px;
    }
    
    .makeup-tools::before {
        width: 30px;
        height: 80px;
    }
    
    .makeup-tools::after {
        width: 20px;
        height: 60px;
    }
    
    .wardrobe-rack {
        width: 120px;
        height: 80px;
    }
    
    .shopping-bags::before {
        width: 40px;
        height: 60px;
    }
    
    .shopping-bags::after {
        width: 30px;
        height: 45px;
    }
    
    /* Section Testimonials */
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-avatar {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-name {
        font-size: 15px;
    }
    
    /* Section FAQ */
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header {
        padding: 25px 15px;
        margin-bottom: 40px;
    }
    
    .faq-title {
        font-size: 22px;
    }
    
    .faq-item {
        margin-bottom: 25px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 20px 20px;
    }
    
    .faq-answer {
        padding: 20px 20px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    /* Footer */
    .main-footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-title {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .footer-links li {
        margin: 10px 0;
    }
    
    .footer-links a {
        font-size: 11px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .copyright {
        font-size: 10px;
    }
    
    /* Boutons */
    .info-card-button,
    .section-button-light {
        padding: 12px 20px;
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* Mobile Extra Small (max 320px) */
@media (max-width: 320px) {
    .section-main-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .info-card-title {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .circular-image-container {
        width: 180px;
        height: 240px;
    }
    
    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }
    
    .service-card {
        height: 250px;
    }
    
    .service-image {
        height: 150px;
    }
}

/* Orientation paysage pour mobiles */
@media (orientation: landscape) and (max-width: 768px) {
    .info-section,
    .before-after-section,
    .services-section,
    .testimonials-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .before-after-content {
        flex-direction: row;
        align-items: center;
    }
    
    .circular-image-container {
        width: 200px;
        height: 250px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    .service-card:hover {
        transform: none;
    }
    
    .nav-arrow:hover {
        transform: none;
    }
    
    /* STYLES SUPPRIMÉS: info-card-button, section-button-light */
}

/* ===== FIN RESPONSIVE PARTIE 2 ===== */

/* ===== CORRECTIONS RESPONSIVE SPÉCIFIQUES ===== */

/* ===== SECTION SERVICES RESPONSIVE - CORRECTIF UNIFORME ===== */

/* FORCE LA MÊME TAILLE POUR TOUS LES APPAREILS MOBILES */
@media (max-width: 768px) {
    /* Reset complet pour éviter toute interférence */
    .services-section * {
        box-sizing: border-box !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .service-card {
        /* DIMENSIONS FIXES - IMPOSSIBLE À MODIFIER */
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
        width: 100% !important;
        max-width: 350px !important;
        
        /* LAYOUT FORCÉ */
        padding: 20px !important;
        margin: 0 auto 20px auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        
        /* STYLE FORCÉ */
        box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
        border-radius: 15px !important;
        background: var(--white, #fff) !important;
        border: none !important;
        overflow: hidden !important;
    }

    .service-image {
        /* DIMENSIONS IMAGE FIXES */
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
        width: 100% !important;
        
        /* LAYOUT FORCÉ */
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        
        /* STYLE FORCÉ */
        background: var(--light-gray, #f5f5f5) !important;
        position: relative !important;
    }

    .service-content {
        /* DIMENSIONS CONTENU FIXES */
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        width: 100% !important;
        
        /* LAYOUT FORCÉ */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        
        /* STYLE FORCÉ */
        padding: 0 !important;
        margin: 0 !important;
    }

    .service-img,
    .service-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        border-radius: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .service-title {
        font-size: 20px !important;
        margin: 0 0 10px 0 !important;
        line-height: 1.2 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .service-link {
        font-size: 11px !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .section-main-title {
        font-size: 28px !important;
        margin-bottom: 50px !important;
        line-height: 1.3 !important;
        padding: 0 10px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .service-card {
        /* DIMENSIONS ENCORE PLUS PETITES MAIS UNIFORMES */
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
        max-width: 320px !important;
        padding: 18px !important;
        margin: 0 auto 18px auto !important;
    }

    .service-image {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        margin: 0 0 18px 0 !important;
    }

    .service-content {
        height: 90px !important;
        min-height: 90px !important;
        max-height: 90px !important;
    }

    .service-title {
        font-size: 18px !important;
        margin: 0 0 8px 0 !important;
    }

    .service-link {
        font-size: 10px !important;
    }

    .section-main-title {
        font-size: 24px !important;
        margin-bottom: 40px !important;
    }
}

/* ===== SECTION TÉMOIGNAGES RESPONSIVE - CORRECTIF ===== */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        max-width: 300px;
        margin: 0 auto 60px;
    }

    .testimonial-item {
        text-align: center;
        padding: 20px;
        background: var(--light-gray, #f8f8f8);
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .testimonial-item:hover {
        transform: translateY(-5px);
    }

    .testimonial-avatar {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 20px;
    }

    .testimonial-name {
        font-size: 18px !important;
        margin-bottom: 12px;
    }

    .testimonial-stars {
        margin-bottom: 15px;
    }

    .star {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 60px 0 !important;
    }

    .testimonials-grid {
        gap: 30px !important;
        margin-bottom: 50px;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-avatar {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto 15px;
    }

    .testimonial-name {
        font-size: 16px !important;
        margin-bottom: 10px;
    }

    .star {
        font-size: 14px;
    }
}

/* ===== HERO SECTION RESPONSIVE - CORRECTIF IMAGE COUPÉE ===== */
@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: 100vh;
        flex-direction: column;
        padding: 0;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }

    .hero-image-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 50vh !important;
        min-height: 400px;
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image {
        width: 280px !important;
        height: 350px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        object-position: center 20% !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .hero-content {
        position: relative !important;
        width: 100%;
        height: auto;
        min-height: 50vh;
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        background: linear-gradient(to bottom, rgba(250,247,242,0) 0%, rgba(250,247,242,1) 30%);
    }

    .hero-text-container {
        max-width: none !important;
        width: 100%;
        margin: 0 !important;
        padding: 40px 30px !important;
        text-align: center;
        background: rgba(250, 247, 242, 0.95) !important;
        border-radius: 20px !important;
        margin-top: -60px !important;
        position: relative;
        z-index: 10;
    }

    .hero-title {
        font-size: 32px !important;
        margin-bottom: 20px !important;
        line-height: 1.2;
        text-align: center;
    }

    .hero-description p {
        font-size: 14px !important;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 15px;
    }

    .signature-text {
        font-size: 22px !important;
        text-align: center;
    }

    .cta-button {
        transform: none !important;
        margin: 0 !important;
        display: inline-block;
    }

    /* Masquer les éléments décoratifs */
    .hero-section::before,
    .hero-section::after {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        height: 45vh !important;
        min-height: 350px;
    }

    .hero-image {
        width: 250px !important;
        height: 320px !important;
    }

    .hero-text-container {
        padding: 30px 20px !important;
        margin-top: -40px !important;
    }

    .hero-title {
        font-size: 28px !important;
        margin-bottom: 18px !important;
    }

    .hero-description p {
        font-size: 13px !important;
        text-align: left;
    }

    .signature-text {
        font-size: 20px !important;
    }

    .cta-button {
        padding: 15px 30px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 320px) {
    .hero-image {
        width: 220px !important;
        height: 280px !important;
    }

    .hero-text-container {
        padding: 25px 15px !important;
    }

    .hero-title {
        font-size: 24px !important;
    }

    .hero-description p {
        font-size: 12px !important;
    }

    .signature-text {
        font-size: 18px !important;
    }
}

/* ===== CONTACT PAGE RESPONSIVE - CORRECTIF ===== */
@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 0 6rem !important;
    }

    .contact-hero h1 {
        font-size: 2.5rem !important;
    }

    .contact-hero p {
        font-size: 1.1rem !important;
        padding: 0 20px;
    }

    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
        padding: 0 20px !important;
    }

    .contact-info {
        position: static !important;
        order: 2;
    }

    .contact-form-section {
        order: 1;
        padding: 2rem !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .contact-item {
        flex-direction: row !important;
        text-align: left !important;
        padding: 1rem;
    }

    .contact-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 6rem 0 4rem !important;
    }

    .contact-hero h1 {
        font-size: 2rem !important;
    }

    .contact-hero-content,
    .contact-container {
        padding: 0 15px !important;
    }

    .contact-form-section {
        padding: 1.5rem !important;
        border-radius: 15px !important;
    }

    .form-header h2 {
        font-size: 2rem !important;
    }

    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.8rem;
    }

    .contact-icon {
        align-self: center;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===== FIXES GÉNÉRAUX POUR TOUTES LES PAGES ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px !important;
    }

    /* Fix pour tous les titres de section */
    h1, h2, .section-main-title {
        word-wrap: break-word;
        hyphens: auto;
    }

    /* Fix pour toutes les images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Fix pour les boutons */
    .cta-button,
    .section-button-light,
    .submit-btn {
        width: auto !important;
        max-width: 100%;
        text-align: center;
    }
}

/* ===== ORIENTATION LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh !important;
    }

    .hero-image-container {
        height: 60vh !important;
    }

    .hero-content {
        min-height: 40vh !important;
    }

    .hero-text-container {
        padding: 20px !important;
    }
}
