/* =========================================
   RESPONSIVE DESIGN V2 – DEM Version Premium
   Mobile / Tablette / Desktop optimisé
========================================= */

/* =======================
   MAX-WIDTH : 1400px (Large Desktop)
======================= */
@media (max-width: 1400px) {
    .collection-grid-modern {
        max-width: 1200px;
        gap: 2.5rem;
    }
}

/* =======================
   MAX-WIDTH : 1200px
======================= */
@media (max-width: 1200px) {
    .hero-title-modern .hero-line {
        font-size: 4rem;
    }

    .hero-line-accent {
        font-size: 5rem;
    }

    .section {
        padding: 6rem 2rem;
    }

    .section-title-modern {
        font-size: 3rem;
    }

    .stats-container {
        gap: 2rem;
    }
}

/* =======================
   MAX-WIDTH : 1024px (Tablette paysage)
======================= */
@media (max-width: 1024px) {
    .nav-content {
        padding: 1rem 2rem;
    }

    .menu {
        gap: 1.8rem;
    }

    .menu a {
        font-size: 0.9rem;
    }

    .hero-title-modern .hero-line {
        font-size: 3.5rem;
    }

    .hero-line-accent {
        font-size: 4.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.2rem;
    }

    .hero-cta-group {
        margin-bottom: 3rem;
    }

    .collection-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .card-image-wrapper {
        height: 350px;
    }

    .apropos-text {
        max-width: 90%;
        font-size: 1.05rem;
    }
}

/* =======================
   MAX-WIDTH : 900px
======================= */
@media (max-width: 900px) {
    /* Hide custom cursor on tablets */
    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title-modern {
        font-size: 2.8rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* =======================
   MAX-WIDTH : 768px (TABLETTE portrait / Mobile large)
======================= */
@media (max-width: 768px) {

    /* NAVBAR MOBILE */
    .nav-content {
        padding: 1rem 1.5rem;
    }

    .logo img {
        height: 100px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem 0;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
        z-index: 999;
        gap: 0;
    }

    .menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu a {
        margin: 1rem 0;
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
        border-bottom: 1px solid rgba(224, 195, 137, 0.1);
    }

    .menu a:last-child {
        border-bottom: none;
    }

    /* HERO VIDEO MOBILE */
    .hero-video {
        height: 100vh;
        min-height: 700px;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-title-modern .hero-line {
        font-size: 2.8rem;
    }

    .hero-line-accent {
        font-size: 3.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle-modern br {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .cta-primary,
    .cta-secondary {
        padding: 1.1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .scroll-indicator p {
        font-size: 0.75rem;
    }

    /* STATS MOBILE */
    .stats-section {
        padding: 4rem 1.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    /* SECTIONS MOBILE */
    .section-label {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }

    .section-title-modern {
        font-size: 2.3rem;
    }

    .section-description {
        font-size: 1.05rem;
    }

    /* COLLECTION GRID MOBILE */
    .collection-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .card-image-wrapper {
        height: 320px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    .card-content h3 {
        font-size: 1.6rem;
    }

    .card-content p {
        font-size: 0.95rem;
    }

    /* LEGACY GRIDS */
    .collection-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .collection-card img,
    .service-card img {
        height: 280px;
    }

    /* A PROPOS MOBILE */
    .apropos-photo {
        width: 180px;
        height: 180px;
    }

    .apropos-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* CONTACT MOBILE */
    .contact-form {
        padding: 1.5rem;
        min-width: auto;
    }

    .business-card {
        width: 100%;
        max-width: 350px;
    }

    /* FOOTER MOBILE */
    .footer {
        padding: 2.5rem 1.5rem;
    }

    .footer p {
        font-size: 0.9rem;
    }

    .footer a {
        display: inline-block;
        margin: 0.3rem 5px;
    }

    /* SCROLL TO TOP BUTTON MOBILE */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

/* =======================
   MAX-WIDTH : 600px (Mobile portrait)
======================= */
@media (max-width: 600px) {

    .logo img {
        height: 85px;
    }

    .hero-video {
        min-height: 650px;
    }

    .hero-title-modern .hero-line {
        font-size: 2.3rem;
    }

    .hero-line-accent {
        font-size: 3rem;
    }

    .hero-subtitle-modern {
        font-size: 1rem;
        line-height: 1.6;
    }

    .section {
        padding: 4rem 1.2rem;
    }

    .section-title-modern {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .stats-section {
        padding: 3rem 1.2rem;
    }

    .stat-card {
        padding: 1.2rem 0.8rem;
    }

    .stat-icon {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .card-image-wrapper {
        height: 280px;
    }

    .card-content h3 {
        font-size: 1.5rem;
    }

    .contact-infos {
        font-size: 0.95rem;
    }

    .card-socials a {
        font-size: 1.3rem;
    }

    .footer {
        padding: 2rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* =======================
   MAX-WIDTH : 400px (Petits smartphones)
======================= */
@media (max-width: 400px) {

    .logo img {
        height: 75px;
    }

    .hero-video {
        min-height: 600px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .hero-title-modern .hero-line {
        font-size: 2rem;
    }

    .hero-line-accent {
        font-size: 2.6rem;
    }

    .hero-subtitle-modern {
        font-size: 0.95rem;
    }

    .cta-primary,
    .cta-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .section {
        padding: 3.5rem 1rem;
    }

    .section-title-modern {
        font-size: 1.8rem;
    }

    .section-label {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .stats-container {
        gap: 1.2rem;
    }

    .stat-card {
        padding: 1rem 0.6rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .card-image-wrapper {
        height: 250px;
    }

    .card-content {
        padding: 1.2rem;
    }

    .card-content h3 {
        font-size: 1.4rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .apropos-photo {
        width: 150px;
        height: 150px;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .business-card {
        padding: 1.5rem;
    }

    .card-logo {
        width: 75px;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }
}

/* =======================
   LANDSCAPE MODE (Mobile horizontal)
======================= */
@media (max-height: 600px) and (orientation: landscape) {

    .hero-video {
        height: 100vh;
        min-height: auto;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-badge {
        margin-bottom: 0.8rem;
    }

    .hero-title-modern .hero-line {
        font-size: 2rem;
    }

    .hero-line-accent {
        font-size: 2.5rem;
    }

    .hero-subtitle-modern {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        margin-bottom: 1.5rem;
    }

    .cta-primary,
    .cta-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =======================
   PRINT STYLES
======================= */
@media print {
    .navbar,
    .menu-toggle,
    .scroll-to-top,
    .custom-cursor,
    .cursor-follower,
    .video-background,
    .hero-cta-group,
    .scroll-indicator {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero-content {
        position: static;
        color: black;
    }

    .hero-title-modern .hero-line,
    .hero-line-accent {
        color: black;
        -webkit-text-fill-color: black;
    }
}
