  :root {
            --noir: #111111;
            --blanc: #f9f9f9;
            --beige: #f9f9f9;
            --doré: #d4af37;
            --gris-moyen: #999999;
            scroll-behavior: smooth;
        }
        
        /* Reset et base */
        body {
            margin: 0;
            padding: 0;
            font-family: 'Montserrat', sans-serif;
            background-color: var(--blanc);
            color: var(--noir);
            overflow-x: hidden;
            line-height: 1.6;
        }
        
        /* Header */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 2rem 5%;
            position: absolute;
            width: 90%;
            z-index: 100;
        }
        

        nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        nav li {
            margin-left: 2.5rem;
        }
        
        nav a {
            text-decoration: none;
            color: var(--noir);
            font-weight: 500;
            font-size: 0.9rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            position: relative;
            padding: 0.5rem 0;
        }
        
        nav a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: 0;
            left: 0;
            background-color: var(--noir);
            transition: width 0.3s ease;
        }
        
        nav a:hover:after {
            width: 100%;
        }
        
        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: var(--beige);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 2rem;
            box-sizing: border-box;
            position: relative;
            text-align: center;  
        }
        
        .hero-gallery {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: nowrap;
            padding: 20px;
            width: 100%;
            height: 100%;
            position: absolute;
        }
        
.hero-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.95;
  transition: opacity 0.5s ease, transform 0.5s ease;
  margin: 0 auto; /* pour centrer */
}

        
        .hero-image:hover {
            opacity: 1;
            transform: scale(1.02);
        }
        
     

        /* Titres responsive */
        .title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(28px, 8vw, 48px);
            margin: 0;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            margin-bottom: 10px;
            white-space: normal;
        }

        .subtitle {
            white-space: nowrap;
        }

        @media (min-width: 768px) {
            .title {
                flex-direction: row;
                align-items: baseline;
                white-space: nowrap;
            }
            
            .subtitle {
                margin: 0 0 0 15px;
                text-align: left;
            }
            
            /* Header responsive */
            @media (max-width: 768px) {
                header {
                    flex-direction: column;
                    padding: 1rem 5%;
                }
                
        
                nav ul {
                    flex-wrap: wrap;
                    justify-content: center;
                }
                
                nav li {
                    margin: 0.5rem 1rem;
                }
            }

            /* Hero section responsive */
            @media (max-width: 768px) {
                .hero {
                    padding-top: 100px;
                }
                
                .hero-gallery {
                    position: relative;
                    flex-wrap: wrap;
                }
                
                .hero-image {
                    width: 100%;
                    max-width: 400px;
                    margin-bottom: 15px;
                }
                
                .hero-content {
                    width: 90%;
                    margin: 1rem auto;
                    padding: 1.5rem;
                }
            }

            /* Grid responsive */
            @media (max-width: 1024px) {
                .grid {
                    grid-template-columns: repeat(3, 1fr);
                }
            }

            @media (max-width: 768px) {
                .grid {
                    grid-template-columns: repeat(2, 1fr);
                }
            }

            @media (max-width: 480px) {
                .grid {
                    grid-template-columns: 1fr;
                }
             
            }

            /* Animation de sortie */
            @keyframes slideOutRight {
                to { 
                    transform: translateX(120%);
                    opacity: 0;
                }
            }

            .cookie-banner.hide {
                animation: slideOutRight 0.5s ease-in forwards;
            }
        }
        
        .title span {
            display: inline-block;
        }

        .subtitle {
            font-family: 'Montserrat', sans-serif;
            font-weight: 300;
            letter-spacing: 8px;
            margin: 15px 0 30px;
            font-size: 14px;
            text-transform: uppercase;
            color: var(--noir);
        }

        .title-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            text-align: center;
        }

        .decor {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            white-space: nowrap;
        }

        .decor-line {
            width: 50px;
            height: 1px;
            background-color: black;
            flex-shrink: 0;
            margin: 0 10px;
        }

        .wheat-icon {
            width: 28px;
            height: auto;
            object-fit: contain;
            flex-shrink: 0;
            transform: rotate(90deg) scale(1.2, 1.6);
        }

        .right-icon {
            width: 28px;
            height: auto;
            object-fit: contain;
            flex-shrink: 0;
            transform: rotate(-90deg) scale(1.2, 1.6);
        }

        .phone-number {
            font-family: 'Libre Baskerville', serif;
            font-weight: 500;
            font-size: 20px;
            letter-spacing: 2px;
            line-height: 28px;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
        }
        
        /* Boutons */
        .btn {
            display: inline-block;
            padding: 1rem 2rem;
            background-color: var(--noir);
            color: var(--blanc);
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 1px;
            border: 1px solid var(--noir);
            transition: all 0.3s ease;
            text-transform: uppercase;
            font-size: 0.8rem;
            border-radius: 30px;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: transparent;
            color: var(--noir);
        }
        
        .btn-blanc {
            background-color: transparent;
            color: var(--noir);
            border-color: var(--noir);
            margin-left: 1rem;
        }
        
        .btn-blanc:hover {
            background-color: var(--noir);
            color: var(--blanc);
        }
        
        /* Section Nos Créations */
        .image-categories {
            max-width: 1200px;
            margin: 0 auto;
            padding: 5rem 2rem;
        }
        
        .category-title {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--noir);
            letter-spacing: 1px;
            position: relative;
        }
        
        .category-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 2px;
            background: var(--doré);
            margin: 1rem auto;
        }
        
        .grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }





        
        

        /* Animation discrète */
        @keyframes fadeIn {
            from { opacity: 0.8; }
            to { opacity: 1; }
        }
        
        footer {
            animation: fadeIn 1.5s ease-in-out;
        }
























        
        
        /* Bannière Cookies - Version responsive */
        .cookie-banner {
            display: none;
            position: fixed;
            right: 20px;
            bottom: 20px;
            max-width: 320px;
            width: calc(100% - 40px);
            background: #ffffff;
            border-radius: 15px;
            box-shadow: -5px 5px 25px rgba(0,0,0,0.1);
            padding: 20px;
            font-family: 'Playfair Display', serif;
            z-index: 1000;
            animation: slideIn 0.5s ease-out forwards;
        }

        .cookie-banner.hide {
            animation: slideOutRight 0.5s ease-in forwards;
        }

        @keyframes slideIn {
            from { 
                transform: translateX(20px);
                opacity: 0;
            }
            to { 
                transform: translateX(0); 
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            to { 
                transform: translateX(120%);
                opacity: 0;
            }
        }
        
        @media (max-width: 480px) {
            .cookie-banner {
                right: auto;
                left: 50%;
                transform: translateX(-50%) translateY(20px);
                max-width: 90%;
                bottom: 10px;
            }
            
            .cookie-buttons {
                flex-direction: column;
                gap: 8px;
            }
            
            .cookie-btn {
                width: 100%;
            }
        }

        .cookie-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .cookie-icon {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            opacity: 0.8;
        }

        .cookie-title {
            font-weight: 600;
            font-size: 18px;
            color: #000000;
            letter-spacing: 0.5px;
        }

        .cookie-text {
            font-size: 14px;
            margin-bottom: 20px;
            color: #000000;
            line-height: 1.6;
            font-family: 'Montserrat', sans-serif;
            opacity: 0.8;
        }

        .cookie-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .cookie-btn {
            padding: 10px 20px;
            border-radius: 25px;
            border: none;
            cursor: pointer;
            font-weight: 500;
            font-family: 'Montserrat', sans-serif;
            font-size: 13px;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            min-width: 100px;
            text-align: center;
        }

        .cookie-btn-accept {
            background: #0f0f0f;
            color: #fff9f2;
            border: 1px solid #148f39;
        }

        .cookie-btn-reject {
            background: transparent;
            color: #cd2e06;
            border: 1px solid #cd2e06;
        }

        .cookie-btn-accept:hover {
            background: #2d5c21;  
            color: #ffffff;
            border-color: #2d5c21;
        }

        .cookie-btn-reject:hover {
            background: rgba(198, 16, 16, 0.05);
        }

        .signature {
            font-style: italic;
            text-align: right;
            margin-top: 15px;
            font-size: 11px;
            color: #cd2e06;
            opacity: 0.5;
            font-family: 'Playfair Display', serif;
        }

        .privacy-link {
            font-weight: bold;
            color: inherit;
            text-decoration: underline;
        }
        
        .privacy-link:hover {
            color: #080808;
        }
        
        .privacy-policy {
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }

        .stars-top {
            display: flex;
            justify-content: center;
            gap: 15px;
            align-items: flex-end;
        }

        .stars-top div:nth-child(2) {
            transform: translateY(-5px);
        }

        .title-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            text-align: center;
        }


/* ================= COOKIE BANNER ================ */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 90%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  z-index: 1000;
  font-family: 'Montserrat', sans-serif;
  display: none;
  animation: slideInUp 0.4s ease forwards;
  opacity: 0;
}

/* Affichage */
.cookie-banner.show {
  display: block;
}

/* Animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= TEXTES ================= */
.cookie-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 0.6rem;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 1.5rem;
}

.cookie-text a {
  color: #000;
  font-weight: 500;
  text-decoration: underline;
}

/* ================= BOUTONS ================= */
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1 1 45%;
  text-align: center;
  min-width: 120px;
}

.cookie-btn-accept {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.cookie-btn-accept:hover {
  background: #222;
}

.cookie-btn-settings {
  background: transparent;
  color: #000;
  border: 1px solid #d0d0d0;
}

.cookie-btn-settings:hover {
  background: #f5f5f5;
}

/* ================= CROIX DE FERMETURE ================= */
.cookie-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.6;
}

.cookie-close::before,
.cookie-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: #000;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 1px;
}

.cookie-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cookie-close:hover {
  opacity: 1;
}

/* ================= PANNEAU PARAMÈTRES ================= */
.cookie-settings {
  display: none;
  margin-top: 1rem;
}

.cookie-settings.show {
  display: block;
}

.cookie-option {
  margin-bottom: 18px;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cookie-option-header span {
  font-size: 0.9rem;
  color: #444;
}

.cookie-option-desc {
  font-size: 0.8rem;
  color: #888;
}



/* ========= RESET CSS ESSENTIEL ========= */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}



.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 3; /* Au-dessus du slider */
  cursor: pointer;
}

.cookie-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: .4s;
  z-index: 1; /* En dessous du input */
}

.cookie-toggle-slider:before {
  content: "";
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  top: 4px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2; /* Entre le slider et le input */
}

/* État activé */
.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #050505;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

/* État désactivé */
.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.cookie-toggle input:disabled + .cookie-toggle-slider:before {
    background-color: #f5f5f5;
}

/* CSS */
.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Masquer le bouton Paramètres sur mobile */
@media (max-width: 768px) {
    #cookieSettings {
        display: YES;
    }
    
    .cookie-btn-accept {
        width: 100%;
    }
}

/* Pour forcer l'affichage quand le panneau de paramètres est ouvert */
.cookie-settings .cookie-buttons #cookieBack,
.cookie-settings .cookie-buttons #cookieSave {
    display: inline-block !important;
}






/* Image */
.logo img {
    width: 80px;
    height: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}


/* ⚠️ PETITS TÉLÉPHONES - iPhones compris */
@media (max-width: 480px) {
    .logo {
        top: calc(env(safe-area-inset-top, 0px) + 10px);  /* espace encoche + marge */
        left: calc(env(safe-area-inset-left, 0px) + 10px); /* espace bord gauche + marge */
    }

    .logo img {
        width: 60px;
    }
}







/* TABLETTES */
@media (min-width: 481px) and (max-width: 768px) {
    .logo {
        top: calc(env(safe-area-inset-top, 0px) + 12px);
        left: calc(env(safe-area-inset-left, 0px) + 15px);
    }

    .logo img {
        width: 70px;
    }
}


/* GRANDS ÉCRANS (optionnel pour s'assurer qu'encoches ne gênent pas) */
@media (min-width: 769px) {
    .logo {
        top: calc(env(safe-area-inset-top, 0px) + 15px);
        left: calc(env(safe-area-inset-left, 0px) + 20px);
    }

    .logo img {
        width: 80px;
    }
}






@media (max-width: 480px) {
  .cookie-banner {
    position: fixed !important;
    bottom: max(1rem, env(safe-area-inset-bottom)) !important;
    left: 5% !important;
    right: 5% !important;
    width: 90% !important;
    max-width: 100% !important; /* Supprime la limite de 320px */
    max-height: 80vh !important; /* Limite la hauteur */
    overflow-y: auto !important; /* Permet le scroll si contenu trop long */
    padding: 1rem !important; /* Réduit l'espace interne */
    transform: none !important; /* Supprime les transformations */
    margin: 0 auto !important; /* Centrage horizontal */
    box-sizing: border-box !important;
    z-index: 9999 !important;
  }

  .cookie-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 0.5rem !important;
  }

  .cookie-title {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .cookie-text {
    font-size: 0.8rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
  }

  .cookie-buttons {
    flex-direction: column-reverse !important; /* Place "Accepter" en bas */
    gap: 0.5rem !important;
  }

  .cookie-btn {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
    width: 100% !important;
    min-width: auto !important;
  }

  .cookie-close {
    top: 12px !important;
    right: 12px !important;
    width: 20px !important;
    height: 20px !important;
  }

  /* Ajustements spécifiques pour les paramètres */
  .cookie-settings {
    margin-top: 0.5rem !important;
  }

  .cookie-option {
    margin-bottom: 1rem !important;
  }

  .cookie-option-header span {
    font-size: 0.8rem !important;
  }

  .cookie-option-desc {
    font-size: 0.75rem !important;
  }

  /* Correction définitive des switches */
  .cookie-toggle {
    width: 45px !important;
    height: 26px !important;
    margin-left: 8px !important;
  }

  .cookie-toggle-slider:before {
    width: 20px !important;
    height: 20px !important;
    top: 3px !important;
    left: 3px !important;
  }

  .cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(19px) !important;
  }
}






@media (min-width: 481px) and (max-width: 830px) {
  .cookie-banner {
    width: 80% !important;
    max-width: 380px !important; /* Largeur maximale réduite */
    right: 2% !important;
    left: auto !important;
    padding: 1.2rem !important;
    transform: none !important;
    margin: 0 !important;
  }

  .cookie-title {
    font-size: 1rem !important;
  }

  .cookie-text {
    font-size: 0.85rem !important;
    margin-bottom: 1.2rem !important;
  }

  .cookie-buttons {
    flex-wrap: nowrap !important;
  }

  .cookie-btn {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.8rem !important;
    min-width: 110px !important;
  }
}















/* RESET FORCÉ POUR IPHONE 12 */
@media only screen and (max-width: 390px) and (max-height: 844px) {
    /* ÉCRASEMENT COMPLET DES STYLES EXISTANTS */
    body, header, .hero, footer {
        all: initial;
        font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
        display: block !important;
    }
    
    /* HEADER MINIMALISTE */
    header {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        height: 44px !important;
        z-index: 1000;
  
  
    
    /* HERO RECALIBRÉ */
    .hero {
        padding-top: 44px !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .hero-gallery {
        display: none !important; /* Suppression temporaire */
    }
    
    .hero-content {
        width: 90% !important;
        margin: 20px auto !important;
        padding: 15px !important;

    }
    
    .title {
        font-size: 22px !important;
        margin-bottom: 5px !important;
    }
    
    .subtitle {
        font-size: 10px !important;
        letter-spacing: 2px !important;
        margin: 0 0 15px 0 !important;
    }
    
    /* GRILLE COMPACTE */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 10px !important;
    }
    
 
    
    /* FOOTER REDESIGN */
    footer {
        padding: 20px 10px !important;
    }
    
    .footer-actions {
        flex-direction: column !important;
    }
    
    .grolet-button {
        width: 100% !important;
        margin: 5px 0 !important;
        padding: 8px !important;
        font-size: 12px !important;
    }
    
    /* MENU BURGER FORCÉ */
    nav ul {
        display: none !important;
    }
    
    .burger-menu {
        display: flex !important;
        position: fixed !important;
        right: 15px !important;
        top: 10px !important;
    }
}

/* OVERRIDE ULTIME POUR LES ÉLÉMENTS RÉCALCITRANTS */
@media only screen and (max-width: 390px) {
    * {
        max-width: 100% !important;
        float: none !important;
        position: static !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100vw !important;
    }
    
    div {
        box-sizing: border-box !important;
    }
}


/* CORRECTIONS MOBILE - VERSION OPTIMISÉE */
@media only screen and (max-width: 480px) {
    :root {
        font-size: 12px; /* Base réduite pour tout le contenu */
    }

    /* ----- HEADER ----- */
    header {
        padding: 0.5rem 5% !important;
        position: fixed !important;
    }

    .logo img {
        height: 55px !important;
        top: -15px !important;
    }

    /* ----- HERO SECTION ----- */
    .hero {
        padding-top: 60px !important;
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 2rem !important;
    }

    .hero-gallery {
        position: relative !important;
        flex-direction: column !important;
        height: auto !important;
    }

    .hero-image {
        width: 90% !important;
        margin: 0 auto 15px !important;
        max-width: none !important;
    }

    .hero-content {
        width: 90% !important;
        padding: 1.5rem !important;
        margin: 1rem auto 0 !important;
        position: relative !important;
    }

    .title {
        font-size: 1.8rem !important;
        flex-direction: column !important;
    }

    .subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 3px !important;
        margin: 10px 0 !important;
        white-space: normal !important;
    }

    .decor-line {
        width: 30px !important;
    }

    .wheat-icon, .right-icon {
        width: 20px !important;
    }

    /* ----- GRID ----- */
    .image-categories {
        padding: 2rem 1rem !important;
    }

    .category-title {
        font-size: 1.6rem !important;
        margin-bottom: 1.5rem !important;
    }


    /* ----- FOOTER ----- */
    .footer-content {
        padding: 0 1rem !important;
    }

    .logo-main {
        font-size: 1.8rem !important;
    }

    .logo-sub {
        font-size: 0.7rem !important;
    }

    .footer-actions {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .grolet-button {
        padding: 0.8rem !important;
        font-size: 0.8rem !important;
        width: 100% !important;
    }

    .footer-links {
        flex-direction: column !important;
        align-items: center !important;
    }

    .links-column {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }

    .social-icon {
        width: 40px !important;
        height: 40px !important;
    }

    /* ----- BURGER MENU ----- */
    .burger-menu {
        width: 25px !important;
        height: 18px !important;
    }

    nav ul {
        top: 60px !important;
        right: 10px !important;
        width: 80% !important;
        padding: 1rem !important;
    }

    /* ----- BOUTONS ----- */
    .btn {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.7rem !important;
    }

    /* ----- CORRECTIONS SPÉCIFIQUES ----- */
    body {
        overflow-x: hidden !important;
    }

    * {
        max-width: 100% !important;
    }
}

/* Correction pour l'orientation paysage */
@media only screen and (max-width: 480px) and (orientation: landscape) {
    .hero {
        min-height: 120vh !important;
    }
    
    .hero-gallery {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    
    .hero-image {
        width: 45% !important;
    }
    
    .hero-content {
        width: 80% !important;
    }
}




        /* Responsive */
        @media (max-width: 1024px) {
            .hero-content {
                width: 50%;
                padding: 2rem;
            }
            
            .grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            header {
                padding: 1.5rem 5%;
            }
            
            .logo img {
                height: 80px;
            }
            
            nav li {
                margin-left: 1.5rem;
            }
            
            .hero {
                height: auto;
                min-height: 100vh;
                flex-direction: column;
                padding-top: 120px;
            }
            
            .hero-gallery {
                position: relative;
                flex-wrap: wrap;
                padding: 20px 0;
            }
            
            .hero-image {
                width: 80%;
                margin-bottom: 20px;
            }
            
            .hero-content {
                width: 90%;
                margin: 2rem auto;
                padding: 2rem;
    
            }
            
            .grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
         
        }
        
        @media (max-width: 480px) {
            .title {
                font-size: 36px;
            }
            
            .subtitle {
                letter-spacing: 4px;
            }
            
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav li {
                margin: 0.5rem;
            }
            
            .grid {
                grid-template-columns: 1fr;
            }
            
        
            .cookie-buttons {
                flex-direction: column;
            }
            
            /* Animation */
            @keyframes slideOutRight {
                to { 
                    transform: translateX(120%);
                    opacity: 0;
                }
            }
        }

        .intro-text {
            white-space: nowrap;
            text-align: center;
        }

        /* Animation de rebond */
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        .scroll-down-arrow {
            display: block;
            text-align: center;
            font-size: 24px;
            color: var(--noir);
            margin-top: 20px;
            animation: bounce 2s infinite;
            text-decoration: none;
            cursor: pointer;
        }

        .contact-item {
            margin-right: 120px;
        }
        
        #panier-container {
            position: absolute;
            right: 20px;
            top: 20px;
        }

  
    /* Polices */
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Montserrat:wght@300;400&family=DM+Serif+Display&display=swap');
/* =============== BURGER MENU =============== */
.burger-container {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
}

.burger-menu {
    width: 30px;
    height: 22px;
    display: none; /* Caché par défaut */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.burger-menu span {
    display: block;
    height: 3px;
    background-color: #111;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animation croix (X) */
.burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =============== RESPONSIVE NAV =============== */
@media screen and (max-width: 768px) {
    .burger-container {
        display: block;
    }
    
    .burger-menu {
        display: flex; /* Visible uniquement sur mobile */
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 25px; /* Espacement augmenté entre les liens */
        position: absolute;
        top: 80px; /* Position ajustée */
        right: 20px;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        padding: 30px; /* Padding augmenté pour plus d'espace */
        width: 250px; /* Largeur fixe pour le menu */
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 1001;
    }

    nav ul.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav ul li a {
        padding: 10px 0; /* Espacement vertical pour les liens */
        font-size: 1.1em; /* Taille de police légèrement augmentée */
    }

    /* Suppression des traits de soulignement */
    nav ul li a:hover,
    nav ul li a:focus,
    nav ul li a:active {
        text-decoration: none;
    }

    nav {
        justify-content: flex-end;
        position: relative;
    }
}









@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .burger-container {
    display: block;
  }

  .hero-content {
    padding: 20px;
    text-align: center;
  }

  .hero-content .title {
    font-size: 2rem;
  }

 

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }


  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .footer-actions {
    flex-direction: column;
    gap: 10px;
  }

  .footer-social {
    justify-content: center;
  }

  .cookie-banner {
    flex-direction: column;
    padding: 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }
 }
}










/* Nouveau CSS pour le footer */

.footer {
  background: white;
  color: black;
  padding: 40px 0;
  border-top: 1px solid black;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.main-btn, .second-btn {
  padding: 12px 24px;
  border: 1px solid black;
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.main-btn {
  background: black;
  color: white;
}

.second-btn:hover {
  background: #f5f5f5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}


.footer-links img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplit sans déformer */
  object-position: center;
  display: block;
}





.footerr {
      background: #f5f5f5;
      padding: 50px 20px 20px;
      font-family: 'Montserrat', sans-serif;
      text-align: center;
      font-size: 0.9rem;
      color: #666;
    }

    .footer-legal a {
      color: inherit;
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .contact-container {
        grid-template-columns: 1fr;
      }

      .contact-hero h1 {
        font-size: 2rem;
      }
    }








.link-group h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.link-group ul {
  list-style: none;
  padding: 0;
}

.link-group li {
  margin-bottom: 10px;
}

.link-group a {
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.link-group a:hover {
  text-decoration: underline;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.partner-logos img {
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-logos img:hover {
  filter: grayscale(0%);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 12px;
}

.legal-links {
  display: flex;
  gap: 10px;
}

.legal-links a {
  color: black;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-buttons {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}






.scroll-arrow {
  position: fixed;
  width: 50px;
  height: 50px;
  font-size: 24px;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  cursor: pointer;
  text-decoration: none;

  /* Centrage parfait */
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  line-height: 1;
}

/* Animation au hover */
.scroll-arrow:hover {
  background-color: #000;
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}




.center-arrow {
  position: fixed; /* Nécessaire pour le positionnement précis */
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%); /* Centre horizontalement */
  width: 42px; /* Largeur explicite */
  height: 42px; /* Hauteur explicite */
  display: flex; /* Pour centrer le contenu si nécessaire */
  justify-content: center;
  align-items: center;
  animation: pulse 2s infinite;
  opacity: 1;
  visibility: visible;
  transition: all 0.4s ease;

  z-index: 1000;
  margin: 0; /* Supprime les marges par défaut */
  padding: 0; /* Supprime les paddings par défaut */
}

/* Disparition au scroll */
body.scrolled .center-arrow {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(20px);
}

/* Flèche droite */
.right-arrow {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s;
  z-index: 1000;
}

body.scrolled .right-arrow {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Animation pulse */
@keyframes pulse {
  0%   { transform: translateX(-50%) scale(1); }
  50%  { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

/* M/* Mobile */
@media (max-width: 768px) {
  .scroll-arrow {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .center-arrow {
    bottom: 20px;
    margin-left: 150px !important; /* Moitié de la largeur (42px/2) */
    transform: translateX(-50%) translateY(0) !important; /* Ajuste le centrage */
    right: auto !important; /* Annule toute propriété right */
   
  }

.right-arrow {
  display: none !important;
 }
}













/* ===== STYLES DE BASE ===== */
.image-category {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
}

.image-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.image-category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(15%) contrast(110%);
}

.image-category:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(100%);
}

.image-category span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 2;
    box-sizing: border-box;
    text-align: center;
    display: block;
}

.image-category:hover span {
    padding-bottom: 2rem;
}










/* RÉPARATION DÉFINITIVE POUR MOBILE & IPHONE */
@media (max-width: 768px) {
    .image-category {
        /* Reset des styles problématiques */
        overflow: visible;
        -webkit-transform: translateZ(0);
    }

    .image-category span {
        /* Style de secours ultra-visible */
        position: absolute !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        
        /* Apparence clairement visible */
        color: white !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 12px 20px !important;
        border-radius: 8px !important;
        text-align: center !important;
        
        /* Garantie de visibilité */
        z-index: 1000 !important;

       
        
        /* Forçage d'affichage */
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Solution nucléaire pour iOS */
    @supports (-webkit-touch-callout: none) {
        .image-category span {
            -webkit-text-stroke: 0.5px white; /* Contour pour lisibilité */
            backdrop-filter: blur(6px);
            bottom: max(15px, env(safe-area-inset-bottom)) !important;
        }
    }
}



  /* Cacher la bannière pour toutes les largeurs ≤ 830px */
  @media (max-width: 830px) {
    #dev-banner {
      display: none !important;
    }
  }

  /* Cacher la bannière si largeur EXACTE 790px */
  @media (width: 790px) {
    #dev-banner {
      display: none !important;
    }
  }

  /* Cacher la bannière si largeur EXACTE 830px */
  @media (width: 830px) {
    #dev-banner {
      display: none !important;
    }
  }

  /* Cacher la bannière si résolution EXACTE 838x850 */
  @media (width: 838px) and (height: 850px) {
    #dev-banner {
      display: none !important;
    }
  }















/* Réinitialisation complète du style des switches */
.cookie-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 60px;
  height: 34px;
  position: relative;
  display: inline-block;
  margin-left: 10px;
  background: #ccc;
  border-radius: 34px;
  transition: all 0.4s;
  cursor: pointer;
  border: none;
  outline: none;
  vertical-align: middle;
}








