/* ========================================================================
   THÈME ANTOINE MATHEY - STYLES PRINCIPAUX
   ======================================================================== 
   
   TABLE DES MATIÈRES :
   
   A. FONDATIONS
      1. Variables CSS
      2. Reset et Base
      3. Typographie
      4. Layout Principal
      5. Accessibilité
      6. SVG
   
   B. COMPOSANTS GLOBAUX
      6. Header
      7. Navigation Desktop
      8. Menu Mobile
      9. Boutons
      10. Sélecteur de Langue
      11. Footer
   
   C. PAGES
      12. Page d'Accueil
      13. Page L'Atelier
      14. Page Collections
      15. Pages Légales
   
   D. MODALS & INTERACTIFS
      16. Modals Créations
      17. Lightbox Images
   
   E. RESPONSIVE
      18. Media Queries Globales
   
   ======================================================================== */


/* ========================================================================
   A. FONDATIONS
   ======================================================================== */

/* ========================================================================
   1. VARIABLES CSS
   ======================================================================== */

:root {
    /* Couleurs */
    --color-primary: #112250;
    --color-text: #000305;
    --color-background: #E8F1F8;
    --color-text-70: rgba(0, 3, 5, 0.7);
    --color-white: #F8FCFF;
    --color-hover: #7188C6;

    /* Typographies */
    --font-title: 'Source Serif 4', 'Georgia', serif;
    --font-body: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-signature: 'Corinthia', cursive;

    /* Tailles de police */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;

    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Layout */
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Bordures */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}


/* ========================================================================
   2. RESET ET BASE
   ======================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* RESPONSIVE  */
.is-mobile{
    display: none !important;
}

.is-desktop{
    display: flex !important;
}

@media (max-width: 440px) {
   .is-mobile{
       display: unset !important;
    }

    .is-desktop{
        display: none;
    }
}


/* ========================================================================
   3. TYPOGRAPHIE
   ======================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
    margin-bottom: var(--spacing-md);
}

.text-light-italic {
    font-style: italic;
    font-weight: 300;
}


/* ========================================================================
   4. LAYOUT PRINCIPAL
   ======================================================================== */

#main-content {
    padding-top: var(--header-height);
}

/* ✅ RETIRE le padding sur la page Atelier uniquement */
.page-atelier #main-content {
    padding-top: 0; /* Pas de padding sur page atelier */
}


.site-main {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}


/* ========================================================================
   5. ACCESSIBILITÉ
   ======================================================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* ========================================================================
6. SVG
======================================================================== */

/* ========================================================================
   GUILLEMETS DÉCORATIFS (SVG) - Positions spécifiques par zone
   ======================================================================== */

.quote-decorative {
    position: relative;
}

/* --- Position par défaut --- */
.quote-icon-open {
    position: absolute;
    top: -20px;
    left: -30px;
    width: 90px;
    height: 70px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.quote-icon-close {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 90px;
    height: 70px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* ========================================================================
   POSITIONS SPÉCIFIQUES PAR ZONE
   ======================================================================== */

/* --- 1. Page Accueil - Section Atelier (Citation) --- */
.quote-atelier-home .quote-icon-open {
    top: -30px;
    left: -60px;
    width: 80px;
    height: 60px;
}

.quote-atelier-home .quote-icon-close {
    bottom: -10px;
    right: 120px;
    width: 80px;
    height: 60px;
}

/* --- 2. Page Atelier - Collections (Header) --- */
.quote-atelier-collections .quote-icon-open {
    top: 60px;
    left: -60px;
    width: 70px;
    height: 50px;
}

.quote-atelier-collections .quote-icon-close {
    bottom: -30px;
    right: -36px;
    width: 70px;
    height: 50px;
}

/* --- 3. Page Atelier - Bio (Description) --- */
.quote-atelier-bio .quote-icon-open {
    top: -32px;
    left: -35px;
    width: 70px;
    height: 50px;
}

.quote-atelier-bio .quote-icon-close {
    bottom: -25px;
    right: 230px;
    width: 70px;
    height: 50px;
}

/* ========================================================================
   RESPONSIVE GLOBAL
   ======================================================================== */

/* ========================================================================
   6. HEADER
   ======================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-background);
    height: var(--header-height);
    transition: transform var(--transition-base);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.admin-bar .site-header {
    top: 32px;
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    height: 100%;
    gap: var(--spacing-xl);
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: block;
}

.header-logo .custom-logo {
    height: 60px;
    width: auto;
}

.header-logo .site-title {
    font-family: var(--font-signature);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.header-logo .site-title:hover {
    color: var(--color-hover);
}


/* ========================================================================
   7. NAVIGATION DESKTOP
   ======================================================================== */

.header-nav {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--color-text);
    padding: var(--spacing-sm) 0;
    transition: color var(--transition-fast);
    position: relative;
    display: inline-block;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--color-hover);
}

/* Lien actif */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-page-ancestor > a,
.nav-menu .active > a {
    color: var(--color-primary);
    font-weight: 500;
}

/* Soulignement animé */
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--color-hover);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-fast);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

/* Soulignement permanent pour page active */
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu .current-page-ancestor > a::after,
.nav-menu .active > a::after {
    background-color: var(--color-primary);
    transform: scaleX(1);
}


/* ========================================================================
   8. MENU MOBILE
   ======================================================================== */

.mobile-menu,
.menu-toggle,
.hamburger {
    display: none;
}


/* ========================================================================
   9. BOUTONS
   ======================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 400;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
}

/* Flèche SVG des boutons */
.btn-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url('../img/fleche.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image var(--transition-fast);
}

/* Bouton primaire */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-background);
    color: var(--color-text);
    border-color: var(--color-text);
}

/* Flèche au hover pour bouton primaire */
.btn-primary:hover .btn-arrow,
.btn-primary:focus .btn-arrow {
    background-image: url('../img/fleche-hover.svg');
}

/* Bouton secondaire */
.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* Flèche au hover pour bouton secondaire */
.btn-secondary:hover .btn-arrow,
.btn-secondary:focus .btn-arrow {
    background-image: url('../img/fleche-hover.svg');
}

/* Bouton secondaire clair (pour footer) */
.btn-secondary-light {
    background-color: transparent;
    color: var(--color-background);
    border: 1px solid var(--color-background);
}

.btn-secondary-light:hover,
.btn-secondary-light:focus {
    background-color: var(--color-background);
    color: var(--color-primary);
}

/* Flèche au hover pour bouton secondaire clair */
.btn-secondary-light:hover .btn-arrow,
.btn-secondary-light:focus .btn-arrow {
    background-image: url('../img/fleche-hover.svg');
}



/* ========================================================================
   10. SÉLECTEUR DE LANGUE
   ======================================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color var(--transition-fast);
}

.lang-current:hover {
    color: var(--color-hover);
}

.lang-arrow {
    transition: transform var(--transition-fast);
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}


.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-dropdown li:last-child {
    border-bottom: none;
}

.lang-dropdown a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
    transition: all var(--transition-fast);
}

.lang-dropdown a:hover {
    background-color: var(--color-background);
    color: var(--color-hover);
}



/* ========================================================================
   11. FOOTER
   ======================================================================== */

.site-footer {
    background-color: var(--color-primary);
    color: var(--color-background);
}

/* CTA Section */
.footer-cta {
    padding: var(--spacing-3xl) var(--spacing-xl);
}

.footer-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
    gap: var(--spacing-lg);
}

.footer-cta-title {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 200;
    font-style: italic;
    color: var(--color-background);
    margin-bottom: var(--spacing-sm);
}

.footer-cta-text {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-background);
    max-width: 600px;
    margin: 0;
}

/* Divider */
.footer-divider {
    padding: 0 var(--spacing-xl);
}

.footer-divider-line {
    max-width: 1120px;
    margin: 0 auto;
    height: 1px;
    background-color: var(--color-background);
    opacity: 0.3;
}

/* Bottom Section */
.footer-bottom {
    padding: var(--spacing-lg) var(--spacing-xl);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Social */
.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-background);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-hover);
}

/* Legal Links */
.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    font-size: var(--text-base);
    color: var(--color-background);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-hover);
}

/* Copyright */
.footer-copyright {
    font-size: var(--text-base);
    color: var(--color-background);
    margin: 0;
}

/* Navigation Footer */
.footer-nav {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-nav a {
    font-size: var(--text-base);
    color: var(--color-background);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-hover);
}


/* ========================================================================
   C. PAGES
   ======================================================================== */

/* ========================================================================
   12. PAGE D'ACCUEIL
   ======================================================================== */

/* --- Hero Section --- */
.hero-section {
    padding-top: 125px;
    padding-bottom: var(--spacing-3xl);
    background-color: var(--color-background);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 200px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    line-height: 0.9;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -7px;
}

.hero-subtitles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.subtitle-1 {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    margin: 0;
}

.subtitle-2 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    color: var(--color-primary);
    margin: 0;
}

/* ========================================================================
   BLOC VIDÉO AVEC ANIMATION AU SCROLL - VERSION FINALE
   ======================================================================== */

.video-scroll-section {
    height: 250vh; /* Espace pour le scroll : 100vh vidéo + 100vh animation + 50vh blocage */
    position: relative;
    background-color: var(--color-background);
    padding-top: 0; /* ✅ Retire le padding en haut */
    margin-top: -200px; /* ✅ Remonte légèrement (ajuste selon tes besoins) */
}

.video-scroll-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center; /* Vidéo en bas au départ */
    justify-content: center;
    padding-bottom: 0; /* 4rem = 64px */
    overflow: hidden;
}

.scroll-video {
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md); /* 8px */
    transition: none; /* Le JS gère tout */
    will-change: width, height, transform;
}

/* Quand la vidéo est en plein écran, pas de border-radius */
.video-scroll-container.fullscreen .scroll-video {
    border-radius: 0;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */





/* --- Section Atelier (Accueil) --- */
.atelier-section {
    padding-top: 100px;
    padding-bottom: 80px;
    background-color: var(--color-background);
}

.atelier-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 144px;
    max-width: 1440px;
    margin: 0 auto;
}

.atelier-text {
    position: relative;
    width: 523px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.atelier-quote {
    font-family: var(--font-title);
    font-size: 44px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -4px;
    line-height: 1.2;
    margin: 0;
    border: none;
    padding: 0;
}

.atelier-quote p {
    margin: 0;
}

.quote-icon {
    width: 44px;
    height: auto;
    margin-bottom: 20px;
}

.atelier-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-70);
    line-height: 1.6;
    margin: 0;
}

.atelier-text .btn {
    align-self: flex-start;
}

.atelier-image {
    width: 550px;
    flex-shrink: 0;
}

.atelier-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Section Collections (Accueil) --- */
.collections-section {
    padding: 0;
    background-color: var(--color-background);
    margin-bottom: 0;
}

.collections-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 15px 40px;
    align-items: start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 80px;
}

.collections-intro h2 {
    grid-column: 1;
    grid-row: 1;
    font-family: var(--font-title);
    font-size: 44px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -4px;
    line-height: 1.2;
    margin: 0;
}

.collections-intro p {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.7;
    line-height: 1.6;
    margin: 0;
    max-width: 450px;
}

.collections-intro .btn {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}

/* Grille horizontale avec effet hover */
.collections-grid {
    display: flex;
    width: 100%;
    height: 460px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.collection-item {
    position: relative;
    width: 382px;
    height: 500px;
    flex-shrink: 1;
    flex-grow: 1;
    overflow: hidden;
    transition: width 0.35s ease-out, flex-grow 0.35s ease-out;
}

.collection-item:hover {
    width: 490px;
    flex-grow: 1.5;
    z-index: 10;
    transition: width 0.2s ease-in, flex-grow 0.2s ease-in;
}

.collections-grid:has(.collection-item:hover) .collection-item:not(:hover) {
    width: 346px;
    flex-grow: 0.9;
    transition: width 0.25s ease-out, flex-grow 0.25s ease-out;
}

.collection-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.collection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2); /* Légère ombre de base */
    pointer-events: none;
}

.collection-item:hover .collection-overlay {
    background: rgba(0, 0, 0, 0.5); /* Plus sombre au hover */
}


.collection-overlay h3 {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}


/* ========================================================================
   13. PAGE L'ATELIER
   ======================================================================== */
/* --- Bloc Hero Atelier - STICKY et collé au header --- */

.atelier-hero-section {
    position: sticky;
    top: 0; /* ✅ Colle en haut de l'écran (pas au header-height) */
    z-index: 5; /* ✅ Au-dessus du wrapper mais sous les images */
    padding-bottom: var(--spacing-3xl);
    background-color: var(--color-background);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atelier-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.atelier-hero-titre {
    font-family: var(--font-title);
    font-size: 96px;
    font-weight: 300;
    font-style: italic;
    color: #112250;
    line-height: 1.2;
    letter-spacing: -3px;
    margin-bottom: var(--spacing-lg);
    max-width: 1030px;
}

.atelier-hero-sous-titre {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    color: #112250;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin: 0;
}

/* --- Section Wrapper - Espace pour l'animation --- */

.atelier-trio-scroll-wrapper {
    position: relative;
    height: 350vh; /* 3x la hauteur */
    background-color: transparent;
    margin-top: -100vh; /* ✅ Remonte pour chevaucher le hero */
    z-index: 10; /* ✅ En dessous du hero */
}

/* --- Bloc Images Trio - Monte par-dessus --- */

.atelier-images-trio-section {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
}

.atelier-images-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    height: 100%;
}

/* Les 3 images avec flou individuel */
.atelier-image-item {
    position: relative; /* ✅ Important pour le ::before */
    flex-shrink: 0;
    overflow: visible; /* ✅ Permet au flou de déborder */
    transition: none;
    will-change: transform, opacity;
    pointer-events: auto;
}

/* ✅ Effet nuage flou diffus derrière chaque image */
.atelier-image-item::before {
    content: '';
    position: absolute;
    top: -60px; /* Déborde plus pour l'effet nuage */
    left: -20px;
    right: -60px;
    bottom: -60px;
    background: radial-gradient(
        ellipse at center,
        rgba(232, 241, 248, 0.8) 0%, /* Centre opaque */
        rgba(232, 241, 248, 0.6) 40%, /* Dégradé moyen */
        rgba(232, 241, 248, 0.3) 70%, /* Dégradé léger */
        rgba(232, 241, 248, 0) 100% /* Transparent aux bords */
    );
    backdrop-filter: blur(40px); /* Flou intense de 20px */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%; /* Forme ovale/nuage */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(8px); /* Flou supplémentaire sur le dégradé pour adoucir */
}

/* Le flou apparaît quand l'image est visible */
.atelier-image-item.show-blur::before {
    opacity: 1;
}

.atelier-image-left {
    width: 370px;
    height: 461px;
}

.atelier-image-center {
    width: 414px;
    height: 518px;
}

.atelier-image-right {
    width: 370px;
    height: 461px;
}

.atelier-trio-img {
    position: relative; /* ✅ Au-dessus du flou */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px; /* Légers coins arrondis sur l'image */
    z-index: 1;
}


/* --- Bio Atelier --- */
.atelier-bio-section {
    padding: 100px 0 80px;
    background-color: var(--color-background);
}

.atelier-bio-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 144px;
    max-width: 1440px;
    margin: 0 auto;
}

.atelier-bio-text {
    width: 523px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.atelier-bio-titre {
    font-family: var(--font-title);
    font-size: 44px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -3px;
    line-height: 1.2;
    margin: 0;
}

.atelier-bio-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.7;
    line-height: 1.7;
}

.atelier-bio-description p {
    margin-bottom: var(--spacing-md);
}

.atelier-bio-description p:last-child {
    margin-bottom: 0;
}

.atelier-bio-image {
    width: 643px;
    height: 503px;
    flex-shrink: 0;
    overflow: hidden;
}

.atelier-bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Section Forge --- */
.atelier-forge-section {
    position: relative;
    width: 100%;
    height: 903px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.atelier-forge-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 1) 100%
    );
}

.atelier-forge-overlay .container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.atelier-forge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
    padding-right: 144px;
    gap: var(--spacing-lg);
}

.atelier-forge-titre {
    font-family: var(--font-title);
    font-size: 44px;
    font-weight: 300;
    font-style: italic;
    color: #E8F1F8;
    letter-spacing: -3px;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.atelier-forge-texte {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: #E8F1F8;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.atelier-forge-texte p {
    margin-bottom: var(--spacing-md);
}

.atelier-forge-texte p:last-child {
    margin-bottom: 0;
}

/* --- Section Processus --- */
.atelier-processus-section {
    background-color: #000000 !important;
    padding: 80px 0 0 0 !important;
    margin: 0 !important;
    width: 100% !important;
    position: relative;
}

.processus-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 var(--spacing-xl);
    gap: var(--spacing-md);
    background-color: transparent;
}

.processus-titre {
    font-family: var(--font-title);
    font-size: 64px;
    font-weight: 300;
    font-style: italic;
    color: #E8F1F8;
    letter-spacing: -3px;
    line-height: 1.2;
    margin: 0;
}

.processus-texte {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: #E8F1F8;
    line-height: 1.7;
    margin: 0;
}

.atelier-processus-section .container {
    background-color: #000000 !important;
    padding-top: 0;
    padding-bottom: 0;
}

/* Grille de vidéos */
.processus-grid {
    display: flex;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #000000 !important;
}

.processus-item {
    position: relative;
    width: 25%;
    height: 500px;
    flex-shrink: 1;
    flex-grow: 1;
    overflow: hidden;
    transition: width 0.25s ease-out, flex-grow 0.25s ease-out;
    background-color: #000000;
}

.processus-item:hover {
    width: 37.5%;
    flex-grow: 1.5;
    z-index: 10;
    transition: width 0.25s ease-in, flex-grow 0.25s ease-in;
}

.processus-grid:has(.processus-item:hover) .processus-item:not(:hover) {
    width: 20.83%;
    flex-grow: 0.9;
    transition: width 0.2s ease-out, flex-grow 0.2s ease-out;
}

.processus-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000000;
}

.processus-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.processus-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    transition: background-color 0.25s ease;
}

.processus-item:hover .processus-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.processus-nom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 300;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 2;
    white-space: nowrap;
    transition: transform 0.25s ease;
}

.processus-item:hover .processus-nom {
    transform: translate(-50%, -80%);
}

.processus-description {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 400px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: #E8F1F8;
    text-align: center;
    line-height: 1.6;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0s ease 0s, visibility 0s ease 0s;
    z-index: 3;
    box-sizing: border-box;
}

.processus-item:hover .processus-description {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease 0.25s, visibility 0.3s ease 0.25s;
}

.processus-description p {
    margin: 0;
}

/* --- Section Collections Atelier --- */
.atelier-collections-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.atelier-collections-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Intro centrée */
.atelier-collections-header {
    text-align: center;
    max-width: 430px;
    margin: 0 auto 60px;
}

.atelier-collections-header h2 {
    font-family: var(--font-title);
    font-size: 64px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -3px;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
}

.atelier-collections-header p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.7;
    line-height: 130%;
    margin: 0;
}

/* Grille des 3 créations */
.atelier-collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: var(--spacing-2xl);
}

/* Carte de création - Style identique à page Collections */
.atelier-creation-card {
    width: 413px;
    height: 280px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-base);
    background-color: var(--color-white);
}

.atelier-creation-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Image thumbnail en haut */
.atelier-creation-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 195px;
    overflow: hidden;
    transition: height var(--transition-base);
}

.atelier-creation-card:hover .atelier-creation-image {
    height: 150px;
}

.atelier-creation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.atelier-creation-card:hover .atelier-creation-image img {
    transform: scale(1.05);
}

/* Placeholder pour images manquantes */
.atelier-creation-placeholder {
    background: linear-gradient(135deg, #E8F1F8 0%, #D0E5F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.atelier-creation-placeholder p {
    color: var(--color-primary);
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

/* Overlay - maintenant remplacé par info fixe en bas */
.atelier-creation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: height var(--transition-base);
}

.atelier-creation-card:hover .atelier-creation-overlay {
    height: 130px;
}

/* Info de la création */
.atelier-creation-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 0;
}

.atelier-creation-info h3 {
    font-family: 'Source Serif Pro', 'Source Serif 4', Georgia, serif;
    font-size: 30px;
    font-weight: 200;
    font-style: italic;
    color: #000305;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    order: 1;
}

/* ✅ Wrapper pour plusieurs tags côte à côte */
.atelier-creation-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    max-width: 100%;
    order: 2;
}

/* Tag individuel - comportement identique */
.atelier-creation-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    background-color: #F8FCFF;
    border: 1px solid var(--color-primary);
    padding: 0 18px;
    height: 30px;
    line-height: 30px;
    border-radius: 20px;
    text-align: center;
    text-transform: capitalize;
    
    /* État caché par défaut */
    opacity: 0;
    max-height: 0;
    transform: translateY(10px);
    overflow: hidden;
    
    /* Disparition instantanée */
    transition: opacity 0s ease 0s,
                max-height 0s ease 0s,
                transform 0s ease 0s;
}

/* ✅ Apparition progressive au hover - tous les tags ensemble */
.atelier-creation-card:hover .atelier-creation-tag {
    opacity: 1;
    max-height: 30px;
    transform: translateY(0);
    transition: opacity 0.3s ease 0.15s,
                max-height 0.3s ease 0.15s,
                transform 0.3s ease 0.15s;
}

/* ✅ Wrapper de tags dans le modal */
.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--spacing-sm);
}



/* Flèche droite */
.atelier-creation-overlay::after {
    content: "";
    display: block;
    width: 24px; /* ✅ Taille du SVG */
    height: 24px;
    background-image: url('../img/fleche-carte.svg'); /* ✅ Ton nouveau SVG */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 16px;
}

.atelier-creation-card:hover .atelier-creation-overlay::after {
    transform: translateX(8px);
}

/* Footer avec bouton centré */
.atelier-collections-footer {
    text-align: center;
    margin-top: var(--spacing-2xl);
}


/* ========================================================================
   14. PAGE COLLECTIONS
======================================================================== */

.collections-page {
    padding-top: 0 !important;
    min-height: 100vh;
    overflow: visible;
}

/* --- En-tête --- */
.collections-header {
    padding-top: 10px;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 0;
    background-color: var(--color-background);
    text-align: center;
}

.collections-title {
    font-family: var(--font-title);
    font-size: 128px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -5px;
    line-height: 1;
    margin: 0 0 8px 0;
}

.collections-description {
    text-align: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto 16px;
}

/* --- Filtres --- */
.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--color-primary);
    background-color: #F8FCFF;
    border: 1px solid #112250;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.filter-btn:hover {
    background-color: var(--color-hover);
    color: #F8FCFF;
}

.filter-btn.active {
    background-color: var(--color-primary);
    color: #F8FCFF;
}

/* --- Section Grille --- */
.collections-page .collections-section {
    background-color: var(--color-background);
    padding: 0 80px 80px;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.collections-page .collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(413px, 1fr));
    gap: 40px;
    justify-items: center;
    width: 100%;
    height: auto !important;
}

/* ========================================================================
   CARTES CRÉATIONS
   ======================================================================== */

.creation-card {
    width: 413px;
    height: 280px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-base);
    background-color: var(--color-white);
}

.creation-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* --- Image thumbnail --- */
.creation-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 413px;
    height: 195px;
    overflow: hidden;
    transition: height var(--transition-base);
}

.creation-card:hover .creation-thumbnail {
    height: 150px;
}

.creation-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.creation-card:hover .creation-thumbnail img {
    transform: scale(1.05);
}

/* --- Bande blanche en bas --- */
.creation-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 413px;
    height: 85px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: height var(--transition-base);
}

.creation-card:hover .creation-info {
    height: 130px;
}

/* --- Contenu texte --- */
.creation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 0;
}

/* --- Titre --- */
.creation-title {
    font-family: 'Source Serif Pro', 'Source Serif 4', 'Georgia', serif;
    font-size: 30px;
    font-weight: 200;
    font-style: italic;
    color: #000305;
    line-height: 1.2;
    margin: 0 0 8px 0; /* ✅ Marge en bas pour espacer des tags */
    text-align: left;
}

/* --- Wrapper pour les tags (côte à côte) --- */
.creation-tags-wrapper {
    display: flex;
    flex-wrap: wrap; /* ✅ Passe à la ligne si besoin */
    gap: 8px;
    max-width: 100%;
}

/* --- Tag support individuel --- */
.creation-category {
    display: inline-block;
    font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    background-color: #F8FCFF;
    border: 1px solid var(--color-primary);
    padding: 0 18px;
    height: 30px;
    line-height: 30px;
    border-radius: 20px;
    text-align: center;
    text-transform: capitalize;
    
    /* ✅ État caché par défaut */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    
    /* ✅ Disparition instantanée */
    transition: opacity 0s ease 0s,
                max-height 0s ease 0s,
                transform 0s ease 0s;
}

/* ✅ Apparition progressive au hover */
.creation-card:hover .creation-category {
    opacity: 1;
    max-height: 30px;
    transform: translateY(0);
    transition: opacity 0.3s ease 0.15s,
                max-height 0.3s ease 0.15s,
                transform 0.3s ease 0.15s;
}

/* --- Flèche à droite --- */
.creation-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* ✅ Taille du SVG */
    height: 24px;
    background-image: url('../img/fleche-carte.svg'); /* ✅ Ton nouveau SVG */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 16px;
    align-self: center;
}

.creation-card:hover .creation-arrow {
    transform: translateX(8px);
}


/* --- Message si aucun résultat --- */
.no-results {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-text-70);
    text-align: center;
    padding: 60px 80px;
    grid-column: 1 / -1;
}

/* ========================================================================
   RESPONSIVE - PAGE COLLECTIONS
======================================================================== */

@media (max-width: 1440px) {
    .collections-header {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .collections-page .collections-section {
        padding: 0 60px 60px;
    }
}

/* ========================================================================
   16. PAGE 404
   ======================================================================== */

.page-404 {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.error-404-section {
    padding: 0px 0;
    background-color: var(--color-background);
    flex: 1;
}

.error-404-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: var(--spacing-xl);
}

.error-404-title {
    font-family: var(--font-title);
    font-size: 128px;
    font-weight: 300;
    font-style: italic;
    color: #112250;
    letter-spacing: -5px;
    line-height: 1.1;
    margin: 0;
}

.error-404-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

.error-404-actions {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

/* ========================================================================
   15. PAGES LÉGALES
   ======================================================================== */

.page-legal {
    padding-top: 60px;
    padding-bottom: 100px;
    background-color: var(--color-background);
}

.page-legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.page-legal-title {
    font-family: var(--font-title);
    font-size: 128px;
    text-align: center;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: var(--spacing-3xl);
}

.page-legal-content {
    color: var(--color-text);
}

.page-legal-content h2 {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -2px;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
}

.page-legal-content h3 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-primary);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.page-legal-content p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.page-legal-content ul,
.page-legal-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.page-legal-content li {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
    list-style-type: disc;
}

.page-legal-content ol li {
    list-style-type: decimal;
}

.page-legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.page-legal-content a:hover {
    color: var(--color-hover);
}

.page-legal-content strong {
    font-weight: 300;
}

/* ========================================================================
   SECTION PARTENAIRES - DESKTOP
======================================================================== */

.atelier-partenaires-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.partenaires-intro {
    max-width: 600px;
    margin-bottom: 60px;
    padding-left: 80px;
}

.partenaires-intro h2 {
    font-family: var(--font-title);
    font-size: 64px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    letter-spacing: -3px;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
}

.partenaires-intro p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.7;
    line-height: 1.6;
    margin: 0;
}

/* Wrapper avec navigation */
.partenaires-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Carousel */
.partenaires-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.partenaires-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ✅ DESKTOP : Flèche gauche visible, mobile cachée */
.partenaires-prev-desktop {
    display: flex !important;
}

.partenaires-prev-mobile {
    display: none !important;
}

/* Boutons navigation desktop */
.partenaires-nav {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-text);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.partenaires-nav:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.partenaires-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.partenaires-nav:disabled:hover {
    background-color: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-text);
    transform: scale(1);
}

/* Cartes desktop */
.partenaire-card {
    position: relative;
    width: 382px;
    height: 419px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    background-color: var(--color-white);
}

.partenaire-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}



/* Image partenaire - 330px de haut, fixe */
.partenaire-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 330px;
    overflow: hidden;
    z-index: 1;
}

.partenaire-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info overlay - démarre à 89px, grandit à 160px */
.partenaire-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 89px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 2;
    transition: height var(--transition-base);
}

.partenaire-card:hover .partenaire-info {
    height: 160px;
}

/* Contenu texte */
.partenaire-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.partenaire-nom {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.2;
    margin: 0;
}

.partenaire-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base), max-height var(--transition-base);
}

.partenaire-card:hover .partenaire-description {
    opacity: 1;
    max-height: 60px;
}

/* Flèche - rotation -45° au hover */
.partenaire-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-image: url('../assets/img/fleche-carte.svg'); /* ✅ Ton nouveau SVG */
    background-size: 24px 24px; /* ✅ Taille du SVG dans le carré de 40px */
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.partenaire-card:hover .partenaire-arrow {
    transform: rotate(-45deg);
}


/* Boutons de navigation */
.partenaires-nav {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partenaires-nav:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.partenaires-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================================================
   D. MODALS & INTERACTIFS
   ======================================================================== */

/* ========================================================================
   16. MODALS CRÉATIONS
   ======================================================================== */

.creation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.creation-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 50%;
    max-width: 800px;
    height: 100vh;
    background-color: var(--color-white);
    overflow: hidden;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
}

.creation-modal.active .modal-content {
    transform: translateX(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-text);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: color var(--transition-fast);
    border: none;
    padding: 0;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-body {
    padding: 80px 60px 60px;
    overflow-y: auto;
    height: 100%;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--color-background);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-hover);
}

.modal-header {
    margin-bottom: var(--spacing-xl);
}

.modal-header h2 {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
}

.modal-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: capitalize;
}

.modal-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
}

.modal-description p {
    margin-bottom: var(--spacing-md);
}

.modal-description p:last-child {
    margin-bottom: 0;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: var(--spacing-2xl);
}

.modal-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: zoom-in;
}

.modal-gallery img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.modal-gallery img:first-child {
    grid-column: span 2;
    max-height: 500px;
    object-fit: cover;
}

.modal-gallery img:last-child:nth-child(odd):not(:first-child) {
    grid-column: span 2;
    max-height: 400px;
}

.modal-gallery img:not(:first-child):not(:last-child:nth-child(odd)) {
    max-height: 350px;
    object-fit: cover;
}

/* ========================================================================
   CACHE LE HEADER QUAND MODAL OUVERT
======================================================================== */

/* Quand le modal est actif, cache le header */
body.modal-open .site-header {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    pointer-events: none; /* ✅ Désactive les clics */
    z-index: -1; /* ✅ Passe en arrière-plan */
}

/* Empêche le scroll du body */
body.modal-open {
    overflow: hidden;
}

/* Assure que le modal est au-dessus de tout */
.creation-modal {
    z-index: 10000 !important;
}

.modal-content {
    z-index: 10001 !important;
}

.modal-close {
    z-index: 10002 !important;
}

/* Lightbox encore au-dessus du modal */
.image-lightbox {
    z-index: 99999 !important;
}

.lightbox-close,
.lightbox-nav {
    z-index: 100000 !important;
}

/* ========================================================================
   17. LIGHTBOX IMAGES
======================================================================== */

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Overlay sombre */
.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: zoom-out;
}

/* Container centré */
.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image */
.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    position: relative;
    z-index: 100001;
    transition: opacity 0.2s ease;
}

/* Bouton fermer */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    color: var(--color-white);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    scale: 1.1;
}

/* ========================================================================
   BOUTONS DE NAVIGATION (FLÈCHES)
======================================================================== */

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.lightbox-prev {
    left: 200px;
    background-image: url('../img/slide-gauche.svg');
}

.lightbox-prev:hover {
    background-color: var(--color-primary);
    background-image: url('../img/slide-gauche-hover.svg');
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 200px;
    background-image: url('../img/slide-droit.svg');
}

.lightbox-next:hover {
    background-color: var(--color-primary);
    background-image: url('../img/slide-droit-hover.svg');
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}


/* ========================================================================
   17. PAGE CONTACT
   ======================================================================== */

.page-contact {
    padding-top: 0;
}

.contact-section {
    padding: 10px 0 80px;
    background-color: var(--color-background);
}

/* En-tête Contact */
.contact-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.contact-title {
    font-family: var(--font-title);
    font-size: 128px;
    font-weight: 300;
    font-style: italic;
    color: #112250;
    letter-spacing: -5px;
    line-height: 1.1;
    margin: 0 0 var(--spacing-md) 0;
}

.contact-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* Wrapper formulaire - 707x684px avec padding 60px */
.contact-form-wrapper {
    max-width: 707px;
    margin: 0 auto 60px;
    background-color: var(--color-white);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Styles Contact Form 7 */
.contact-form-wrapper .wpcf7 {
    margin: 0;
}

.contact-form-wrapper .wpcf7-form {
    margin: 0;
}

/* Grille de champs */
.contact-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

/* Labels */
.contact-form-wrapper label {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
    display: block;
}

/* Cache le texte du label (on garde juste le champ) */
.contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Inputs et textarea */
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-text);
    border-radius: 25px;
    padding: 12px 20px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-sizing: border-box;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 34, 80, 0.1);
}

/* Textarea pour le message - plus grand */
.contact-form-wrapper textarea {
    min-height: 180px;
    resize: vertical;
    border-radius: 16px;
}

/* Placeholder */
.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: var(--color-text);
    opacity: 0.5;
}

/* Bouton submit - FORCÉ AU CENTRE */
.form-submit {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-wrapper .wpcf7-submit {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--color-white) !important;
    background-color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    border-radius: 25px !important;
    padding: 12px 40px !important;
    cursor: pointer !important;
    transition: all var(--transition-fast) !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

.contact-form-wrapper .wpcf7-submit:hover {
    background-color: var(--color-background) !important;
    color: var(--color-text) !important;
    border-color: var(--color-text) !important;
}

/* Messages de validation CF7 */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 6px;
    display: block;
}

.contact-form-wrapper .wpcf7-response-output {
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0 0;
    text-align: center !important;
    font-size: 15px;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-mail-sent-ng {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-form-wrapper .wpcf7-spam-blocked {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

/* Loader CF7 - centré aussi */
.contact-form-wrapper .wpcf7-spinner {
    margin: 0 auto !important;
    display: block !important;
}

/* Section Téléphone - FORCÉE AU CENTRE */
.contact-phone {
    text-align: center !important;
    max-width: 400px;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-phone-title {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 0 0 var(--spacing-sm) 0 !important;
    text-align: center !important;
}

.contact-phone-number {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
    text-align: center !important;
    display: block !important;
}

.contact-phone-number:hover {
    color: var(--color-primary);
}

/* ========================================================================
   18. MEDIA QUERIES GLOBALES
   ======================================================================== */

/* --- 769px+ (Desktop uniquement) --- */
@media (min-width: 769px) {
    .header-nav {
        display: flex !important;
    }
    
    .nav-menu {
        display: flex !important;
    }
    
    .mobile-menu,
    .menu-toggle,
    .hamburger {
        display: none !important;
    }
}
/* ========================================================================
   IMAGES DÉCORATIVES FLEURS - Z-INDEX OPTIMISÉ
   ======================================================================== */

/* --- Page Accueil - Fleurs à droite --- */
body.home .site-main {
    position: relative;
}

body.home .site-main::before {
    content: '';
    position: absolute;
    top: 2400px;
    right: 0;
    width: 864px;
    height: 1184px;
    background-image: url('../img/fleurs.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 1;
    pointer-events: none;
    z-index: 10; /* On garde z-index: 1 */
}

/* Toutes les sections de contenu passent AU-DESSUS */
body.home .site-main > section,
body.home .site-main > div {
    background-color: inherit;
    position: relative;
    z-index: 5; /* Supérieur aux fleurs */
}

/* --- Page Atelier - Fleurs à gauche (miroir) --- */
body.page-id-13 .site-main {
    position: relative;
}

body.page-id-13 .site-main::before {
    content: '';
    position: absolute;
    top: 4900px;
    left: -40px;
    width: 864px;
    height: 1184px;
    background-image: url('../img/fleurs.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    opacity: 1;
    pointer-events: none;
    z-index: 3; /* On garde z-index: 1 */
    transform: scaleX(-1); /* Miroir horizontal */
}

/* Toutes les sections de contenu passent AU-DESSUS (SAUF forge) */
body.page-id-13 .site-main > section:not(.atelier-forge-section),
body.page-id-13 .site-main > div {
    background: inherit;
    position: relative;
    z-index: 5; /* Supérieur aux fleurs */
}

/* ✅ Section forge : garde son fonctionnement normal */
body.page-id-13 .atelier-forge-section {
    position: relative; /* On le remet explicitement */
    z-index: 5; /* Même z-index que les autres */
    /* Pas de background: inherit qui écrase l'image */
}

/* ========================================================================
   RESPONSIVE - IMAGES DÉCORATIVES
   ======================================================================== */

@media (max-width: 440px) {
    body.home .site-main::before,
    body.page-id-13 .site-main::before {
        width: 700px;
        height: 960px;
    }
    
    body.home .site-main::before {
        top: 1200px;
    }
    
    body.page-id-13 .site-main::before {
        top: 1200px;
    }

}

/* ========================================================================
   RESPONSIVE MOBILE - PAGE D'ACCUEIL
   Breakpoint : 440px (iPhone 16 Pro Max compatible)
   ======================================================================== */

@media (max-width: 440px) {

    /* ========================================================================
       VARIABLES MOBILE
       ======================================================================== */
    :root {
        --header-height: 70px;
        --spacing-mobile: 20px;
    }

    /* ========================================================================
       BASE MOBILE
       ======================================================================== */
    
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 var(--spacing-mobile);
        max-width: 100%;
    }

    #main-content {
        padding-top: var(--header-height);
        overflow-x: hidden;
    }

    .site-main {
        overflow-x: hidden;
    }

    /* ========================================================================
       HEADER MOBILE
       ======================================================================== */
    
    .site-header {
        position: fixed;
        top: 0 !important;
        left: 0;
        right: 0;
        height: var(--header-height);
        background-color: var(--color-background);
        z-index: 1000;
        transition: transform var(--transition-base);
    }

    /* Quand le header est caché au scroll - doit fonctionner */
    .site-header.header-hidden {
        transform: translateY(-100%);
    }

    /* Quand la barre admin WordPress est présente */
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .site-header.header-hidden {
        transform: translateY(calc(-100% - 46px));
    }

    .header-container {
        padding: 0 var(--spacing-mobile);
        justify-content: space-between;
    }

    .header-logo .custom-logo {
        height: 45px;
    }

    /* Cache navigation desktop et actions */
    .header-nav,
    .header-actions {
        display: none !important;
    }

    /* Affiche le bouton hamburger */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        margin-left: auto;
    }

    .menu-toggle .hamburger {
        display: block;
        width: 24px;
        height: 24px;
        background-image: url('../img/hamburger.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .menu-toggle.open .hamburger {
        background-image: url('../img/croix.svg');
    }

    /* Menu mobile overlay */
    .mobile-menu {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-background);
        z-index: 999;
        padding: var(--spacing-2xl) var(--spacing-mobile);
        overflow-y: auto;
        flex-direction: column;
    }

    .mobile-menu[aria-hidden="false"] {
        display: flex;
    }

    /* Navigation mobile en colonne */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0;
        margin: 0 0 var(--spacing-xl) 0;
        list-style: none;
    }

    .mobile-nav li {
        list-style: none;
    }

    .mobile-nav a {
        font-family: var(--font-body);
        font-size: 24px;
        font-weight: 400;
        color: var(--color-text);
        text-decoration: none;
        display: block;
    }

    /* Sélecteur de langue mobile */
    .mobile-lang-switcher {
        margin-bottom: var(--spacing-xl);
    }

    .mobile-lang-switcher .lang-current {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        color: var(--color-text);
        padding: 0;
        display: flex;
        align-items: center;
        gap: var(--spacing-xs);
    }

    .mobile-lang-switcher .lang-dropdown {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        background: transparent;
        margin-top: var(--spacing-sm);
        opacity: 1;
        visibility: hidden;
        transform: none;
    }

    .mobile-lang-switcher.open .lang-dropdown {
        visibility: visible;
    }

    .mobile-lang-switcher .lang-dropdown a {
        text-align: left;
        padding: var(--spacing-xs) 0;
        font-size: 16px;
    }

    /* CTA mobile */
    .mobile-cta {
        margin-top: auto;
    }

    .mobile-cta .btn {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--text-base);
    }

    /* Admin bar */
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .mobile-menu {
        top: calc(var(--header-height));
    }

    /* ========================================================================
       HERO SECTION MOBILE
       ======================================================================== */
    
    .hero-section {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .hero-content {
        padding: 0 var(--spacing-mobile);
    }

    .hero-title {
        font-size: 96px;
        letter-spacing: -4px;
        line-height: 0.7;
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitles {
        gap: 4px;
    }

    .subtitle-1 {
        font-size: 16px;
        letter-spacing: -1px;
    }

    .subtitle-2 {
        font-size: 12px;
        letter-spacing: -1px;
    }

    /* ========================================================================
       VIDEO SCROLL SECTION MOBILE - PAS D'ANIMATION
       ======================================================================== */
    
    .video-scroll-section {
        height: auto !important; /* Pas de height fixe */
        margin-top: 0;
        padding: 20px 0 40px 0;
        position: relative !important;
    }

    .video-scroll-container {
        position: relative !important; /* Pas de sticky */
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 var(--spacing-mobile);
    }

    .scroll-video {
        width: calc(100% - 40px) !important; /* Pleine largeur moins marges */
        max-width: 380px;
        height: auto !important;
        aspect-ratio: 16 / 9;
        border-radius: var(--radius-md);
        object-fit: cover;
    }

    /* Pas de fullscreen sur mobile */
    .video-scroll-container.fullscreen .scroll-video {
        border-radius: var(--radius-md);
    }

    /* ========================================================================
       SECTION ATELIER (ACCUEIL) MOBILE
       ======================================================================== */
    
    .atelier-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .atelier-section .container {
        padding: 0 var(--spacing-mobile);
    }

    .atelier-content {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .atelier-text {
        width: 100%;
        gap: 24px;
        order: 1;
    }

    .atelier-quote {
        font-size: 53px;
        letter-spacing: -2px;
        line-height: 44px;
    }

    /* Guillemets décoratifs mobile */
    .quote-atelier-home .quote-icon-open {
        top: -20px;
        left: -10px;
        width: 50px;
        height: 40px;
    }

    .quote-atelier-home .quote-icon-close {
        bottom: -5px;
        right: 20px;
        width: 50px;
        height: 40px;
    }

    .atelier-description {
        font-size: 16px;
        line-height: 1.3;
    }

    .atelier-text .btn {
        align-self: flex-start;
        padding: 12px 24px;
        font-size: 16px;
    }

    .atelier-image {
        width: 100%;
        order: 2;
    }

    .atelier-image img {
        width: 100%;
        height: auto;
        max-height: 440px;
        object-fit: cover;
    }

    /* ========================================================================
       SECTION COLLECTIONS MOBILE
       ======================================================================== */
    
    .collections-section {
        padding: 0;
    }

    .collections-intro {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 40px var(--spacing-mobile);
        align-items: flex-start;
    }

    .collections-intro h2 {
        font-size: 44px;
        letter-spacing: -2px;
        grid-column: unset;
        grid-row: unset;
        line-height: 44px;
    }

    .collections-intro p {
        font-size: 16px;
        max-width: 100%;
        grid-column: unset;
        grid-row: unset;
    }

    /* Grille collections en 2x2 sur mobile */
    .collections-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        width: 100%;
        height: auto;
        gap: 12px;
        padding: 0 var(--spacing-mobile);
        box-sizing: border-box;
    }

    .collection-item {
        width: 100% !important;
        height: 180px;
        flex-shrink: unset;
        flex-grow: unset;
        transition: none;
        border-radius: var(--radius-sm);
        overflow: hidden;
    }

    .collection-item:hover {
        width: 100% !important;
        flex-grow: unset;
    }

    .collections-grid:has(.collection-item:hover) .collection-item:not(:hover) {
        width: 100% !important;
        flex-grow: unset;
    }

    .collection-overlay h3 {
        font-size: 16px;
        font-weight: 400;
    }

    /* Classes is-mobile / is-desktop */
    .is-mobile {
        display: flex !important;
    }

    .is-desktop {
        display: none !important;
    }

    /* Bouton mobile centré en bas de la section */
    .collections-section > .btn.is-mobile {
        display: flex !important;
        width: calc(100% - 40px);
        max-width: 260px;
        margin: 24px auto 40px auto;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-sm);
        padding: 12px 24px;
        font-size: 14px;
    }

    .collections-section > .btn.is-mobile .btn-arrow {
        width: 14px;
        height: 14px;
        background-image: url('../img/fleche.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* ========================================================================
       FOOTER MOBILE
       ======================================================================== */
    
    .site-footer {
        overflow-x: hidden;
    }

    .footer-cta {
        padding: var(--spacing-2xl) var(--spacing-mobile);
    }

    .footer-cta-container {
        gap: var(--spacing-md);
    }

    .footer-cta-title {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .footer-cta-text {
        font-size: 14px;
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .footer-divider {
        padding: 0 var(--spacing-mobile);
    }

    .footer-bottom {
        padding: var(--spacing-lg) var(--spacing-mobile);
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    /* Réseaux sociaux en premier sur mobile */
    .footer-social {
        order: 1;
        gap: var(--spacing-md);
    }

    .footer-social svg {
        width: 28px;
        height: 28px;
    }

    /* Copyright */
    .footer-copyright {
        order: 2;
        font-size: 14px;
    }

    /* Liens légaux */
    .footer-legal {
        order: 3;
        flex-direction: row;
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-legal a {
        font-size: 13px;
    }

    /* Cache la navigation footer sur mobile */
    .footer-nav {
        display: none;
    }

    /* ========================================================================
       BOUTONS MOBILE
       ======================================================================== */
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-arrow {
        width: 14px;
        height: 14px;
    }

    /* ========================================================================
       PAGES LÉGALES MOBILE
       ======================================================================== */
    
    .page-legal {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .page-legal-container {
        padding: 0 var(--spacing-mobile);
    }

    .page-legal-title {
        font-size: 40px;
        letter-spacing: -2px;
        margin-bottom: var(--spacing-xl);
    }

    .page-legal-content h2 {
        font-size: 24px;
        margin-top: var(--spacing-xl);
    }

    .page-legal-content h3 {
        font-size: 18px;
    }

    .page-legal-content p,
    .page-legal-content li {
        font-size: 15px;
    }

    /* ========================================================================
       IMAGES DÉCORATIVES - MASQUÉES SUR MOBILE
       ======================================================================== */
    
    body.home .site-main::before,
    body.page-id-13 .site-main::before {
        display: none;
    }

    /* ========================================================================
       GUILLEMETS DÉCORATIFS MOBILE
       ======================================================================== */
    
    .quote-icon-open,
    .quote-icon-close {
        width: 40px;
        height: 30px;
    }

    .quote-icon-open {
        top: -15px;
        left: -5px;
    }

    .quote-icon-close {
        bottom: -10px;
        right: 10px;
    }

    /* ========================================================================
       UTILITAIRES MOBILE
       ======================================================================== */
    
    /* Empêche le débordement horizontal */
    section,
    div,
    article {
        max-width: 100vw;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* ========================================================================
    PAGE ATELIER - SECTION HERO (Mobile)
    ======================================================================== */

    .atelier-hero-section {
        padding: 50px 20px 60px;
        min-height: auto;
    }

    .atelier-hero-content {
        max-width: 100%;
        gap: 32px;
    }

    .atelier-hero-titre {
        font-size: 60px;
        font-weight: 300;
        font-style: italic;
        letter-spacing: -2.5px;
        line-height: 1.1;
        margin: 0;
        text-align: center;
    }

    /* Citation avec guillemets */
    .atelier-hero .quote-decorative {
        font-family: var(--font-title);
        font-size: 16px;
        font-weight: 300;
        font-style: italic;
        line-height: 1.5;
        text-align: center;
        padding: 0 10px;
        position: relative;
    }

    /* Guillemets mobiles */
    .quote-atelier-home .quote-icon-open {
        top: -12px;
        left: -8px;
        width: 32px;
        height: 22px;
        opacity: 0.3;
    }

    .quote-atelier-home .quote-icon-close {
        bottom: -12px;
        right: -8px;
        width: 32px;
        height: 22px;
        opacity: 0.3;
    }

    .atelier-hero-sous-titre {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 400;
        letter-spacing: -0.5px;
        text-transform: uppercase;
        text-align: center;
        margin: 0;
    }

    /* ========================================================================
    TRIO D'IMAGES - VERSION MOBILE STATIQUE
    ======================================================================== */

    .atelier-trio-scroll-wrapper {
        position: relative;
        height: auto !important; /* ✅ Hauteur automatique */
        margin-top: 0 !important; /* ✅ Pas de chevauchement */
        padding: 40px 20px;
        background-color: var(--color-background);
        z-index: 1;
    }

    .atelier-images-trio-section {
        position: relative !important; /* ✅ Pas de sticky */
        height: auto !important;
        pointer-events: auto;
    }

    .atelier-images-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        height: auto !important;
    }

    .atelier-image-item {
        width: 100% !important;
        height: auto !important;
        transform: none !important; /* ✅ Force le reset */
        opacity: 1 !important; /* ✅ Toujours visible */
        overflow: visible;
    }

    /* Désactive le flou en mobile */
    .atelier-image-item::before {
        display: none;
    }

    .atelier-image-left,
    .atelier-image-center,
    .atelier-image-right {
        width: 100% !important;
        height: auto !important;
    }

    .atelier-trio-img {
        width: 100%;
        height: 200px;
        aspect-ratio: 370 / 461; /* Ratio des images */
        object-fit: cover;
    }

    .atelier-image-center .atelier-trio-img {
        aspect-ratio: 414 / 518;
    }

    /* ========================================================================
    SECTION BIO - MOBILE
    ======================================================================== */

    .atelier-bio-section {
        padding: 60px 0;
        background-color: var(--color-background);
    }

    .atelier-bio-section .container {
        padding: 0 30px; /* ✅ 30px de marge comme la maquette */
    }

    .atelier-bio-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
    }

    /* Wrapper texte */
    .atelier-bio-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
        order: 1;
    }

    /* Titre */
    .atelier-bio-titre {
        font-family: var(--font-title);
        font-size: 44px;
        font-weight: 300;
        font-style: italic;
        letter-spacing: -2px;
        line-height: 1.2;
        color: var(--color-primary);
        margin: 0;
    }

    /* Texte description - SANS guillemets */
    .atelier-bio-description {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5; /* 150% */
        color: var(--color-text);
        margin: 0;
        padding: 0; /* ✅ Pas de padding */
    }

    .atelier-bio-description p {
        margin: 0 0 16px 0;
    }

    .atelier-bio-description p:last-child {
        margin-bottom: 0;
    }

    /* ✅ Cache les guillemets en mobile */
    .atelier-bio-description .quote-icon-open,
    .atelier-bio-description .quote-icon-close {
        display: none !important;
    }

    /* Image - responsive avec aspect-ratio */
    .atelier-bio-image {
        width: 100%;
        height: auto; /* ✅ Hauteur automatique */
        overflow: hidden;
        order: 2;
    }

    .atelier-bio-image img {
        width: 100%;
        height: auto; /* ✅ Hauteur auto */
        aspect-ratio: 359 / 281; /* ✅ Ratio de la maquette */
        object-fit: cover;
        display: block;
    }

    /* ========================================================================
    SECTION FORGE - MOBILE
    ======================================================================== */

    .atelier-forge-section {
        position: relative;
        width: 100%;
        min-height: 600px;
        background-size: cover;
        background-position: 35% center; /* ✅ 35% horizontal = centre-gauche */
        background-repeat: no-repeat;
        overflow: hidden;
    }

    .atelier-forge-overlay {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* ✅ Aligné à gauche */
        justify-content: flex-start;
        padding-top: 60px;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.5) 70%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }

    .atelier-forge-overlay .container {
        display: flex;
        justify-content: flex-start; /* ✅ Aligné à gauche */
        width: 100%;
        padding: 0 30px;
    }

    .atelier-forge-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* ✅ Aligné à gauche */
        text-align: left; /* ✅ Texte aligné à gauche */
        max-width: 100%;
        padding: 0;
        gap: 30px;
    }

    /* Titre */
    .atelier-forge-titre {
        font-family: var(--font-title);
        font-size: 44px;
        font-weight: 300;
        font-style: italic;
        letter-spacing: -2px;
        line-height: 1.2;
        color: #E8F1F8;
        margin: 0;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    }

    /* Texte */
    .atelier-forge-texte {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5; /* 150% */
        color: #E8F1F8;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    }

    .atelier-forge-texte p {
        margin: 0 0 16px 0;
    }

    .atelier-forge-texte p:last-child {
        margin-bottom: 0;
    }

    /* ========================================================================
    SECTION PROCESSUS - MOBILE
    ======================================================================== */

    .atelier-processus-section {
        background-color: #000000 !important;
        padding: 60px 0 0 0 !important;
    }

    .processus-intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        margin: 0 auto 40px;
        padding: 0 30px;
        gap: 20px;
        background-color: #000000;
    }

    .processus-titre {
        font-family: var(--font-title);
        font-size: 44px;
        font-weight: 300;
        font-style: italic;
        color: #E8F1F8;
        letter-spacing: -2px;
        line-height: 1.2;
        margin: 0;
    }

    .processus-texte {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 400;
        color: #E8F1F8;
        line-height: 1.5;
        margin: 0;
    }

    /* ✅ Grille 2x2 sans gap */
    .processus-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr; /* ✅ 2 colonnes égales */
        grid-template-rows: 404px 404px; /* ✅ 2 lignes de 404px */
        gap: 0 !important; /* ✅ Pas de gap */
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background-color: #000000;
    }

    .processus-item {
        position: relative;
        width: 100% !important;
        height: 100% !important; /* ✅ Prend toute la hauteur de la cellule */
        flex-shrink: 0;
        overflow: hidden;
        background-color: #000000;
        transition: none !important;
    }

    /* Désactive les effets hover en mobile */
    .processus-item:hover {
        width: 100% !important;
    }

    .processus-video-container {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #000000;
    }

    .processus-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .processus-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        padding: 20px;
        transition: none;
    }

    /* Titre toujours visible */
    .processus-nom {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        font-family: var(--font-body);
        font-size: 24px;
        font-weight: 400;
        color: #FFFFFF;
        text-align: center;
        margin: 0 0 12px 0;
        padding: 0;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
        white-space: normal;
        transition: none;
    }

    /* Description toujours visible */
    .processus-description {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 400;
        color: #E8F1F8;
        text-align: center;
        line-height: 1.5;
        padding: 0;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none;
        box-sizing: border-box;
    }

    .processus-description p {
        margin: 0;
    }

    /* Désactive les transitions hover */
    .processus-item:hover .processus-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .processus-item:hover .processus-nom {
        transform: none;
    }

    .processus-item:hover .processus-description {
        opacity: 1;
        visibility: visible;
    }

    /* ========================================================================
    SECTION COLLECTIONS ATELIER - MOBILE
    ======================================================================== */

    .atelier-collections-section {
        padding: 60px 0;
        background-color: var(--color-background);
    }

    .atelier-collections-container {
        max-width: 100%;
        padding: 0 30px; /* ✅ 30px des bords */
    }

    /* Header intro */
    .atelier-collections-header {
        text-align: center;
        max-width: 100%;
        margin: 0 auto 40px;
    }

    .atelier-collections-header h2 {
        font-family: var(--font-title);
        font-size: 64px; /* ✅ 64px comme demandé */
        font-weight: 300;
        font-style: italic;
        color: var(--color-primary);
        letter-spacing: -2px;
        line-height: 1.2;
        margin: 0 0 20px 0;
    }

    .atelier-collections-header p {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 400;
        color: var(--color-text);
        line-height: 1.5;
        margin: 0;
    }

    /* Grille verticale */
    .atelier-collections-grid {
        display: flex;
        flex-direction: column;
        gap: 30px; /* ✅ 30px entre les cartes */
        margin-bottom: 40px;
    }

    /* Cartes */
    .atelier-creation-card {
        width: 100%;
        height: 326px; /* ✅ 326px de hauteur fixe */
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border-radius: 0;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        transition: box-shadow var(--transition-base);
        background-color: var(--color-white);
    }

    .atelier-creation-card:hover {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    /* Image */
    .atelier-creation-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 230px; /* ✅ Image prend plus de place */
        overflow: hidden;
        transition: height var(--transition-base);
    }

    .atelier-creation-card:hover .atelier-creation-image {
        height: 190px; /* ✅ Réduit au hover */
    }

    .atelier-creation-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition-base);
    }

    .atelier-creation-card:hover .atelier-creation-image img {
        transform: scale(1.05);
    }

    /* Info en bas */
    .atelier-creation-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 96px; /* ✅ Hauteur de base */
        background-color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        transition: height var(--transition-base);
    }

    .atelier-creation-card:hover .atelier-creation-overlay {
        height: 136px; /* ✅ Grandit au hover */
    }

    /* Contenu texte */
    .atelier-creation-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        gap: 0;
    }

    .atelier-creation-info h3 {
        font-family: var(--font-title);
        font-size: 26px;
        font-weight: 300;
        font-style: italic;
        color: var(--color-text);
        line-height: 1.2;
        margin: 0;
        text-align: left;
        align-items: center;
        order: 1;
    }

    /* Tag catégorie - caché par défaut */
    .atelier-creation-tag {
        display: inline-block;
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 500;
        color: var(--color-primary);
        background-color: #F8FCFF;
        border: 1px solid var(--color-primary);
        padding: 0 16px;
        height: 28px;
        line-height: 28px;
        border-radius: 20px;
        text-align: center;
        text-transform: capitalize;
        margin-top: 8px;
        opacity: 0;
        max-height: 0;
        transform: translateY(10px);
        overflow: hidden;
        transition: opacity 0s ease 0s, max-height 0s ease 0s, transform 0s ease 0s;
        align-self: flex-start;
        order: 2;
    }

    .atelier-creation-card:hover .atelier-creation-tag {
        opacity: 1;
        max-height: 28px;
        transform: translateY(0);
        transition: opacity 0.3s ease 0.15s, max-height 0.3s ease 0.15s, transform 0.3s ease 0.15s;
    }

    /* Flèche */
    .atelier-creation-overlay::after {
        content: '';
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: var(--color-primary);
        transition: transform var(--transition-base);
        flex-shrink: 0;
        margin-left: 16px;
    }

    .atelier-creation-card:hover .atelier-creation-overlay::after {
        transform: translateX(8px);
    }

    /* Footer avec bouton */
    .atelier-collections-footer {
        text-align: center;
        margin-top: 40px;
    }

    /* ========================================================================
   SECTION PARTENAIRES - MOBILE CORRIGÉ
======================================================================== */

.atelier-partenaires-section {
    padding: 60px 0;
    padding-bottom: 120px; /* ✅ Espace pour les flèches en bas */
}

/* Intro mobile */
.partenaires-intro {
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 40px;
}

.partenaires-intro h2 {
    font-size: 64px;
    letter-spacing: -2px;
    text-align: left;
}

.partenaires-intro p {
    font-size: 16px;
    text-align: left;
}

/* ✅ MOBILE : Flèche desktop cachée, mobile visible */
.partenaires-prev-desktop {
    display: none !important;
}

.partenaires-prev-mobile {
    display: flex !important;
}

/* Wrapper */
.partenaires-carousel-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

/* Carousel mobile */
.partenaires-carousel {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0; /* ✅ Pas de marge, flèches en absolute */
}

.partenaires-track {
    display: flex;
    gap: 20px;
    padding: 0 calc((100% - 327px) / 2);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ✅ Les deux flèches en bas de la section */
.partenaires-prev-mobile,
.partenaires-next {
    position: absolute !important;
    bottom: -80px !important; /* ✅ En dessous du carousel */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-text);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Flèche gauche mobile - positionnée à gauche */
.partenaires-prev-mobile {
    left: calc(50% - 60px) !important; /* ✅ 60px à gauche du centre */
}

/* Flèche droite - positionnée à droite */
.partenaires-next {
    right: calc(50% - 60px) !important; /* ✅ 60px à droite du centre */
    left: auto !important;
}

/* Hover */
.partenaires-nav:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.partenaires-nav:active {
    transform: scale(0.95);
}

.partenaires-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.partenaires-nav:disabled:hover {
    background-color: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-text);
    transform: scale(1);
}

/* Cartes mobile */
.partenaire-card {
    width: 327px;
    height: 363px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    background-color: var(--color-white);
}

.partenaire-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Image */
.partenaire-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 280px;
    overflow: hidden;
    z-index: 1;
}

.partenaire-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info */
.partenaire-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 83px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
    transition: height var(--transition-base);
}

.partenaire-card:hover .partenaire-info {
    height: 140px;
}

.partenaire-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.partenaire-nom {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.2;
    margin: 0;
}

.partenaire-description {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity var(--transition-base), max-height var(--transition-base);
}

.partenaire-card:hover .partenaire-description {
    opacity: 1;
    max-height: 60px;
}

.partenaire-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--color-primary);
    font-size: 20px;
    transition: transform var(--transition-base);
}

.partenaire-card:hover .partenaire-arrow {
    transform: translateX(4px);
}

    /* ========================================================================
   PAGE COLLECTIONS - MOBILE
======================================================================== */

.collections-page {
    padding-top: 0 !important;
    min-height: 100vh;
    background-color: var(--color-background);
}

/* Header centré */
.collections-header {
    padding: 80px 30px 40px; /* ✅ 30px des bords */
    background-color: var(--color-background);
    text-align: center;
}

.collections-title {
    font-family: var(--font-title);
    font-size: 60px; /* ✅ 60px comme demandé */
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.collections-description {
    font-family: var(--font-body);
    font-size: 16px; /* ✅ Comme les autres sous-titres */
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.5;
    max-width: 100%;
    margin: 0 auto 30px;
    text-align: center;
}

/* Filtres centrés */
.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
    padding: 0 30px;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 1px solid var(--color-primary);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Section grille */
.collections-page .collections-section {
    background-color: var(--color-background);
    padding: 0 30px 60px; /* ✅ 30px des bords */
}

/* ✅ Grille verticale - cartes empilées */
.collections-page .collections-grid {
    display: flex;
    flex-direction: column;
    gap: 30px; /* ✅ 30px entre les cartes */
    align-items: center;
    width: 100%;
}

/* ✅ RÉUTILISE LES MÊMES CARTES que la section atelier-collections */
.creation-card {
    width: 100%;
    max-width: 100%; /* ✅ Pleine largeur dynamique */
    height: 326px; /* ✅ Même hauteur que section atelier */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-base);
    background-color: var(--color-white);
}

.creation-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Image thumbnail */
.creation-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 230px; /* ✅ Même hauteur que section atelier */
    overflow: hidden;
    transition: height var(--transition-base);
}

.creation-card:hover .creation-thumbnail {
    height: 190px;
}

.creation-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.creation-card:hover .creation-thumbnail img {
    transform: scale(1.05);
}

/* Info en bas */
.creation-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 96px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    transition: height var(--transition-base);
}

.creation-card:hover .creation-info {
    height: 136px;
}

/* Contenu texte */
.creation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 0;
}

.creation-title {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 200;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.2;
    margin: 0;
    text-align: left;
    order: 1;
}

/* Wrapper pour les tags */
.creation-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    max-width: 100%;
    order: 2;
}

/* Tags catégories - cachés par défaut */
.creation-category {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    background-color: #F8FCFF;
    border: 1px solid var(--color-primary);
    padding: 0 16px;
    height: 28px;
    line-height: 28px;
    border-radius: 20px;
    text-align: center;
    text-transform: capitalize;
    opacity: 0;
    max-height: 0;
    transform: translateY(10px);
    overflow: hidden;
    transition: opacity 0s ease 0s, max-height 0s ease 0s, transform 0s ease 0s;
}

.creation-card:hover .creation-category {
    opacity: 1;
    max-height: 28px;
    transform: translateY(0);
    transition: opacity 0.3s ease 0.15s, max-height 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}

/* Flèche */
.creation-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--color-primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 16px;
    align-self: center;
}

.creation-card:hover .creation-arrow {
    transform: translateX(8px);
}

/* Message si aucun résultat */
.no-results {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    text-align: center;
    padding: 40px 30px;
    opacity: 0.7;
}

/* ✅ Les modals et lightbox sont déjà définis dans le code précédent */
/* Ils fonctionnent automatiquement avec les mêmes classes */

/* ========================================================================
   PAGE CONTACT - MOBILE CORRIGÉ
======================================================================== */

.page-contact {
    min-height: 100vh;
    background-color: var(--color-background);
    padding-top: calc(var(--header-height) + 20px);
}

/* Section contact */
.contact-section {
    padding: 0px 30px 60px;
    background-color: var(--color-background);
}

/* Header centré */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    font-family: var(--font-title);
    font-size: 60px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.contact-header p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
}

/* Formulaire centré */
.contact-form-wrapper {
    max-width: 100%;
    margin: 0 auto 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ✅ FORCE tous les champs en colonne */
.form-row {
    display: flex !important;
    flex-direction: column !important; /* ✅ Colonne forcée */
    gap: 20px !important;
    width: 100%;
}

/* Groupes de champs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* ✅ Labels décalés de quelques pixels */
.form-group label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
    padding-left: 20px !important; /* ✅ Décalage de 4px pour aligner avec le contenu de l'input */
}

/* Inputs */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-text);
    border-radius: 24px; /* ✅ Border radius arrondi */
    transition: all var(--transition-base);
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 34, 80, 0.1);
}

/* Textarea */
.form-group textarea {
    width: 100%;
    min-height: 150px;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-text);
    border-radius: 16px; /* ✅ Border radius pour textarea */
    transition: all var(--transition-base);
    outline: none;
    resize: vertical;
    box-sizing: border-box;
}

.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 34, 80, 0.1);
}

/* Bouton submit centré */
.form-submit {
    text-align: center;
    margin-top: 10px;
}

.form-submit button,
.form-submit input[type="submit"] {
    width: auto;
    min-width: 160px;
    height: 48px;
    padding: 0 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 24px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-submit button:hover,
.form-submit input[type="submit"]:hover {
    background-color: var(--color-hover);
    border-color: var(--color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-submit button:active,
.form-submit input[type="submit"]:active {
    transform: translateY(0);
}

/* Section téléphone */
.contact-phone {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.contact-phone h2 {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0 0 12px 0;
}

.contact-phone a {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-phone a:hover {
    color: var(--color-primary);
}

/* Messages de validation */
.form-message {
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-style: italic;
}

/* Required field indicator */
.form-group label.required::after {
    content: ' *';
    color: #dc3545;
}

/* ========================================================================
   GUILLEMETS SVG - RESPONSIVE MOBILE
======================================================================== */

/* --- Position par défaut mobile --- */
.quote-icon-open {
    width: 50px !important;
    height: 35px !important;
    top: -15px !important;
    left: -15px !important;
    opacity: 0.25 !important;
}

.quote-icon-close {
    width: 50px !important;
    height: 35px !important;
    bottom: -15px !important;
    right: -15px !important;
    opacity: 0.25 !important;
}

/* ========================================================================
   POSITIONS SPÉCIFIQUES PAR ZONE - MOBILE
======================================================================== */

/* --- 1. Page Accueil - Section Atelier Citation --- */
.quote-atelier-home .quote-icon-open {
    top: -40px !important;
    left: -30px !important;
    width: 90px !important;
    height: 90px !important;
}

.quote-atelier-home .quote-icon-close {
    bottom: -15px !important;
    right: 120px !important;
    width: 90px !important;
    height: 90px !important;
}

/* --- 2. Page Atelier - Collections Header --- */
.quote-atelier-collections .quote-icon-open {
    top: 60px !important;
    left: -30px !important;
    width: 70px !important;
    height: 70px !important;
}

.quote-atelier-collections .quote-icon-close {
    bottom: -20px !important;
    right: -10px !important;
    width: 70px !important;
    height: 70px !important;
}

/* --- 3. Page Atelier - Bio Description --- */
.quote-atelier-bio .quote-icon-open {
    top: -25px !important;
    left: -30px !important;
    width: 90px !important;
    height: 90px !important;
}

.quote-atelier-bio .quote-icon-close {
    bottom: -20px !important;
    right: 15px !important;
    width: 90px !important;
    height: 90px !important;
}

/* --- 4. Page Collections - Header --- */
.quote-collections-header .quote-icon-open {
    top: 15px !important;
    left: 5px !important;
    width: 50px !important;
    height: 35px !important;
}

.quote-collections-header .quote-icon-close {
    bottom: -10px !important;
    right: 5px !important;
    width: 50px !important;
    height: 35px !important;
}

/* --- 5. Page Contact - Header --- */
.quote-contact-header .quote-icon-open {
    top: 10px !important;
    left: 0 !important;
    width: 52px !important;
    height: 36px !important;
}

.quote-contact-header .quote-icon-close {
    bottom: -15px !important;
    right: 0 !important;
    width: 52px !important;
    height: 36px !important;
}

/* --- 6. Footer Citation --- */
.quote-footer .quote-icon-open {
    top: -10px !important;
    left: 10px !important;
    width: 48px !important;
    height: 34px !important;
}

.quote-footer .quote-icon-close {
    bottom: -10px !important;
    right: 10px !important;
    width: 48px !important;
    height: 34px !important;
}

}

/* ========================================================================
   RESPONSIVE TABLETTE (441px - 768px)
   ======================================================================== */

@media (min-width: 441px) and (max-width: 768px) {
    
    .hero-title {
        font-size: 100px;
        letter-spacing: -5px;
    }

    .subtitle-1 {
        font-size: 18px;
    }

    .subtitle-2 {
        font-size: 14px;
    }

    .atelier-content {
        flex-direction: column;
        gap: 60px;
    }

    .atelier-text {
        width: 100%;
        max-width: 600px;
    }

    .atelier-quote {
        font-size: 36px;
    }

    .atelier-image {
        width: 100%;
        max-width: 600px;
    }

    .collections-intro {
        padding: 60px 40px;
    }

    .collections-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .collection-item {
        width: 100% !important;
        height: 250px;
    }

    .footer-cta-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {

    /* ========================================================================
   MODALS CRÉATIONS - MOBILE RESPONSIVE
======================================================================== */

/* Modal plein écran */
.creation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.creation-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Overlay plus sombre en mobile */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

/* Contenu plein écran */
.modal-content {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: 100vh;
    background-color: var(--color-white);
    overflow: hidden;
    z-index: 10000;
    transform: translateX(100%); /* ✅ Entre depuis la droite */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.creation-modal.active .modal-content {
    transform: translateX(0); /* ✅ Glisse vers la gauche */
}

/* Bouton fermer - plus grand et bien visible */
.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    color: var(--color-black);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 100001;
    transition: all var(--transition-fast);
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    transform: scale(1.1);
}

/* Body scrollable avec padding */
.modal-body {
    padding: 80px 30px 60px; /* ✅ 30px des bords */
    overflow-y: auto;
    height: 100%;
    -webkit-overflow-scrolling: touch; /* ✅ Scroll fluide iOS */
}

/* Scrollbar personnalisée */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--color-background);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-hover);
}

/* Header centré */
.modal-header {
    margin-bottom: 40px;
    text-align: center;
}

.modal-header h2 {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primary);
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

/* Tag catégorie centré */
.modal-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-primary);
    padding: 6px 18px;
    border-radius: 20px;
    text-transform: capitalize;
    margin-bottom: 24px;
}

/* Description centrée */
.modal-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: center;
}

.modal-description p {
    margin-bottom: 16px;
}

.modal-description p:last-child {
    margin-bottom: 0;
}

/* ✅ Galerie verticale - images empilées */
.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

/* Toutes les images en pleine largeur */
.modal-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer; /* ✅ Clickable pour ouvrir lightbox */
    max-height: none !important; /* ✅ Retire les contraintes de hauteur */
}

.modal-gallery img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ✅ Retire toutes les règles de grid */
.modal-gallery img:first-child,
.modal-gallery img:last-child:nth-child(odd):not(:first-child),
.modal-gallery img:not(:first-child):not(:last-child):nth-child(odd) {
    grid-column: span 1 !important;
    max-height: none !important;
}

/* ========================================================================
   LIGHTBOX IMAGES - MOBILE NAVIGATION CORRIGÉ
======================================================================== */

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 80px 20px 120px; /* ✅ 120px en bas pour les flèches */
}

.lightbox-image {
    max-width: calc(100% - 40px); /* ✅ Marge latérale */
    max-height: calc(100vh - 200px); /* ✅ Limite hauteur pour les boutons */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
}

.image-lightbox.active .lightbox-image {
    transform: scale(1);
}

/* Bouton fermer lightbox */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 100001;
    transition: all var(--transition-fast);
    padding: 0;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* ✅ Flèches navigation - EN BAS et bien espacées */
.lightbox-nav {
    position: fixed;
    bottom: 30px; /* ✅ 30px du bas */
    top: auto !important;
    transform: none !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 100001;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.15);
}

.lightbox-nav:active {
    transform: scale(1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav:disabled:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    transform: scale(1);
}

/* ✅ Swipe sur mobile */
.lightbox-container {
    touch-action: pan-x; /* ✅ Permet le swipe horizontal */
}

/* ========================================================================
   IMAGES DÉCORATIVES FLEURS - RESPONSIVE MOBILE
======================================================================== */

/* --- Page Accueil - Fleurs à droite --- */
body.home .site-main::before {
    content: '';
    position: absolute;
    top: 1400px !important; /* ✅ Ajusté pour mobile */
    right: -200px !important; /* ✅ Déborde un peu à droite */
    width: 500px !important; /* ✅ Plus petites */
    height: 685px !important;
    background-image: url('../img/fleurs.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.15 !important; /* ✅ Plus subtil sur mobile */
    pointer-events: none;
    z-index: 1;
}

/* --- Page Atelier - Fleurs à gauche (miroir) --- */
body.page-id-13 .site-main::before {
    content: '';
    position: absolute;
    top: 2000px !important; /* ✅ Ajusté pour mobile */
    left: -200px !important; /* ✅ Déborde un peu à gauche */
    width: 500px !important;
    height: 685px !important;
    background-image: url('../img/fleurs.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    opacity: 0.15 !important;
    pointer-events: none;
    z-index: 1;
    transform: scaleX(-1); /* ✅ Miroir horizontal */
}

/* ========================================================================
   AJUSTEMENTS TRÈS PETITS ÉCRANS (≤ 440px)
======================================================================== */

@media (max-width: 440px) {
    /* Page Accueil */
    body.home .site-main::before {
        top: 1200px !important; /* ✅ Plus haut sur petits écrans */
        right: -250px !important; /* ✅ Encore plus à droite */
        width: 400px !important;
        height: 548px !important;
        opacity: 0.1 !important; /* ✅ Encore plus subtil */
    }
    
    /* Page Atelier */
    body.page-id-13 .site-main::before {
        top: 1800px !important;
        left: -250px !important;
        width: 400px !important;
        height: 548px !important;
        opacity: 0.1 !important;
    }
}

/* ========================================================================
   SI TU VEUX CACHER LES FLEURS SUR MOBILE (option)
======================================================================== */

/* Décommente si tu veux les cacher complètement sur mobile :

@media (max-width: 768px) {
    body.home .site-main::before,
    body.page-id-13 .site-main::before {
        display: none !important;
    }
}

*/


}

/* ============================================================
   LANGUAGE SWITCHER - Desktop & Mobile (Style minimaliste)
   ============================================================ */

.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text, #1a1a1a);
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.lang-current:hover {
    opacity: 0.7;
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-current[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

/* Dropdown minimaliste - sans boîte */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    margin: 0;
    padding: 0;
}

.lang-dropdown a {
    display: block;
    padding: 4px 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: var(--color-text, #1a1a1a);
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s ease;
}

.lang-dropdown a:hover {
    opacity: 0.7;
}

/* Desktop - visible uniquement sur desktop */
.desktop-lang-switcher {
    display: none;
}

@media (min-width: 992px) {
    .desktop-lang-switcher {
        display: block;
    }
}

/* Mobile - visible uniquement dans le menu mobile */
.mobile-lang-switcher {
    margin-top: 24px;
}

@media (min-width: 992px) {
    .mobile-lang-switcher {
        display: none;
    }
}

/* ========================================
   PAGE 404
======================================== */

.page-404 {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-404-section {
    width: 100%;
}

.error-404-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 133px; /* Margin bottom avant le footer */
}

/* Titre */
.error-404-title {
    font-size: 60px;
    font-weight: 300;
    color: var(--dark-blue);
    margin: 0 0 40px 0;
}

/* Texte descriptif */
.error-404-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--dark-blue);
    margin: 0 0 60px 0;
}

/* Conteneur des boutons */
.error-404-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .page-404 {
        padding: 40px 20px;
    }
    
    .error-404-content {
        padding-bottom: 80px; /* Réduction du margin bottom sur mobile */
    }
    
    .error-404-title {
        font-size: 60px;
        margin-bottom: 30px;
    }
    
    .error-404-text {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .error-404-actions {
        gap: 15px;
        /* Les boutons restent côte à côte */
    }
}

@media (max-width: 480px) {
    .error-404-title {
        font-size: 60px;
        margin-bottom: 25px;
    }
    
    .error-404-text {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .error-404-content {
        padding-bottom: 60px;
    }
    
    .error-404-actions {
        gap: 10px;
        /* Les boutons restent côte à côte même sur très petit écran */
    }
}
