/* ============================================
   ÉVÉNEMENTS - IMAGE PRINCIPALE
   ============================================ */
.evenement-card h3 {
    font-size:1.35rem;
    margin-top:0.5em;
    margin-bottom:0.5em;
    max-width:80%;
    word-break:break-word;
}

.evenement-statut {
    z-index:2;
    position:absolute;
    top:1.2em;
    right:1.2em;
    font-size:1rem;
    padding:0.4em 1.2em;
    border-radius:2em;
    background:#7c6a5c;
    color:#fff;
    font-weight:600;
    box-shadow:0 2px 8px rgba(0,0,0,0.10);
    letter-spacing:0.04em;
    white-space:nowrap;
}

.evenement-card {
    position:relative;
}

/* Spécifique à la carte Halloween :réduit la largeur */
.evenement-card.halloween {
    max-width:230px;
}

.evenement-card.halloween h3 {
    font-size:1.08rem;
    max-width:70%;
}
.evenement-image-container {
    display:flex;
    justify-content:center;
    align-items:center;
    margin:1.5em 0;
}
.evenement-image-main {
    max-width:420px;
    width:100%;
    height:auto;
    border-radius:18px;
    box-shadow:0 4px 24px rgba(0,0,0,0.18);
    object-fit:cover;
    transition:transform 0.3s;
}
.evenement-image-main:hover {
    transform:scale(1.04) rotate(-2deg);
}
/* ============================================
   SAVEURS DU GRAND PARC - STYLESHEET
   ============================================
   
   TABLE DES MATIÈRES
   ------------------
   1. CONFIGURATION
      - Variables CSS
      - Fonts
   
   2. BASE & RESET
      - Reset HTML
      - Éléments de base
   
   3. COMPOSANTS RÉUTILISABLES
      - Menu restaurant
      - Formulaire de contact
      - Cookie consent banner
      - Cartes et boxes
   
   4. LAYOUT PRINCIPAL
      - Header & Navigation
      - Main content
      - Footer
   
   5. PAGES SPÉCIFIQUES
      - Page Accueil
      - Page Équipe
      - Page Menu
      - Page Nos Valeurs
      - Page Galerie Photos
      - Page Contact
      - Pages légales
   
   6. RESPONSIVE
      - Tablettes (768px - 1024px)
      - Mobile (< 768px)
      - Petits mobiles (< 480px)
   
   7. UTILITAIRES
      - Accessibilité
      - Print
   
   ============================================ */

/* ============================================
   1. CONFIGURATION
   ============================================ */

/* ÉCHELLE PX → REM (base 16px)
   4px=0.25rem | 8px=0.5rem | 12px=0.75rem | 16px=1rem | 20px=1.25rem
   24px=1.5rem | 32px=2rem | 40px=2.5rem | 48px=3rem | 64px=4rem
*/

/* --- FONTS --- */
@font-face {
    font-family:'BeaufortLight';
    src:url('../font/beaufortforlol-light-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-light-webfont.woff') format('woff');
    font-weight:300;
    font-style:normal;
    font-display:swap;
}
@font-face {
    font-family:'BeaufortLightItalic';
    src:url('../font/beaufortforlol-lightitalic-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-lightitalic-webfont.woff') format('woff');
    font-weight:300;
    font-style:italic;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortRegular';
    src:url('../font/beaufortforlol-regular-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-regular-webfont.woff') format('woff');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortItalic';
    src:url('../font/beaufortforlol-italic-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-italic-webfont.woff') format('woff');
    font-weight:400;
    font-style:italic;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortMedium';
    src:url('../font/beaufortforlol-medium-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-medium-webfont.woff') format('woff');
    font-weight:500;
    font-style:normal;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortMediumItalic';
    src:url('../font/beaufortforlol-mediumitalic-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-mediumitalic-webfont.woff') format('woff');
    font-weight:500;
    font-style:italic;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortBold';
    src:url('../font/beaufortforlol-bold-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-bold-webfont.woff') format('woff');
    font-weight:700;
    font-style:normal;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortBoldItalic';
    src:url('../font/beaufortforlol-bolditalic-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-bolditalic-webfont.woff') format('woff');
    font-weight:700;
    font-style:italic;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortHeavy';
    src:url('../font/beaufortforlol-heavy-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-heavy-webfont.woff') format('woff');
    font-weight:900;
    font-style:normal;
    font-display:swap;
}

@font-face {
    font-family:'BeaufortHeavyItalic';
    src:url('../font/beaufortforlol-heavyitalic-webfont.woff2') format('woff2'),
         url('../font/beaufortforlol-heavyitalic-webfont.woff') format('woff');
    font-weight:900;
    font-style:italic;
    font-display:swap;
}

/* --- VARIABLES CSS --- */
:root {
    /* Couleurs principales du site */
    --color-menu-red:#B63737;        /* Rouge bordeaux - Menu & principal */
    --color-team-black:#000000;      /* Noir - Page Équipe */
    --color-secondary-beige:#000000; /* Noir - Remplace ancien beige */
    --color-event-orange:#F18818;    /* Orange - Page Événements */

    /* Couleurs de base */
    --color-primary:#ffffff;
    --color-secondary:#f5f5f5;
    --color-accent:#000000;
    --color-text:#333;
    --color-text-light:#666;
    --color-white:#ffffff;
    --color-border:#ddd;

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

    --font-primary:'BeaufortBold', sans-serif;
    --font-secondary:'BeaufortLight', sans-serif;
    --font-accent:'BeaufortRegular', sans-serif;

    --border-radius:8px;
    --box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);
    --transition:all 0.3s ease;
}

/* ============================================
   2. BASE & RESET
   ============================================ */

html {
    font-size:18px;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body {
    font-family:var(--font-secondary);
    color:var(--color-text);
    line-height:1.6;
    background-color:var(--color-white);
    overflow-x:hidden;
    max-width:100vw;
}

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

/* Images responsive - règles générales */
article img:not(header img):not(footer img):not(nav img),
section img:not(header img):not(footer img):not(nav img),
main img:not(header img):not(footer img):not(nav img) {
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:cover;
    border-radius:8px;
    margin:1rem auto;
}

table {
    width:100%;
    border-collapse:collapse;
}

a {
    color:var(--color-accent);
    text-decoration:none;
    transition:var(--transition);
}

a:hover,
a:focus {
    color:var(--color-primary);
    text-decoration:none;
}

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

/* ============================================
   3. COMPOSANTS RÉUTILISABLES
   ============================================ */

/* --- MENU RESTAURANT (composant menu dynamique) --- */
#menu-list-action {
    border:none;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    margin-left:0.5rem;
}
#menu-list {
    max-width:900px;
    margin:0 auto 3rem auto;
}
.menu-subcat {
    color:#000000;
    font-size:1.2rem;
    font-weight:bold;
    margin:2.2rem 0 0.7rem 0;
    border-bottom:0;
    padding-bottom:0.2rem;
}

/* ========================================
   MENU - STYLE ÉLÉGANT ET MODERNE (Rouge/Blanc)
   ======================================== */

/* Catégories du menu (onglets) */
body[data-page="Menu"] #menu-categories {
    margin:3rem auto 2rem;
    max-width:1200px;
    padding:0 2rem;
}

body[data-page="Menu"] .menu-tabs {
    display:flex;
    gap:1.5rem;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:2rem;
}

body[data-page="Menu"] .menu-tab {
    background:linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 250, 0.9));
    border:2px solid rgba(182, 55, 55, 0.2);
    color:#B63737;
    padding:1rem 2.5rem;
    font-size:1.15rem;
    font-weight:700;
    cursor:pointer;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius:50px;
    text-transform:uppercase;
    letter-spacing:0.5px;
    box-shadow:0 4px 15px rgba(182, 55, 55, 0.15);
    position:relative;
    overflow:hidden;
	font-family: 'BeaufortBold', sans-serif;
}

body[data-page="Menu"] .menu-tab::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition:left 0.5s ease;
}

body[data-page="Menu"] .menu-tab:hover::before {
    left:100%;
}

body[data-page="Menu"] .menu-tab:hover {
    background:linear-gradient(135deg, #B63737 0%, #d94848 100%);
    color:white;
    border-color:#B63737;
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 8px 25px rgba(182, 55, 55, 0.4);
}

body[data-page="Menu"] .menu-tab.active {
    background:linear-gradient(135deg, #B63737 0%, #d94848 100%);
    color:white;
    border-color:#B63737;
    box-shadow:0 8px 30px rgba(182, 55, 55, 0.5);
}

/* Filtres allergènes (Design moderne) */
body[data-page="Menu"] #menu-allergenes {
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 229, 229, 0.9) 100%);
    padding:2rem;
    border-radius:20px;
    box-shadow:0 10px 40px rgba(182, 55, 55, 0.15);
    margin:0 auto 3rem;
    max-width:1200px;
    border:2px solid rgba(182, 55, 55, 0.2);
    backdrop-filter:blur(10px);
    position:relative;
}

body[data-page="Menu"] #menu-allergenes::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg, #B63737, #d94848);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    border-radius:20px 20px 0 0;
}

body[data-page="Menu"] #menu-allergenes h2 {
    color:#B63737;
    font-size:1.5rem;
    margin-bottom:1.5rem;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:800;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Menu"] .allergenes-list {
    display:flex;
    gap:1rem;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:1.5rem;
}

body[data-page="Menu"] .allergene-btn {
    background:rgba(255, 255, 255, 0.95);
    border:2px solid rgba(182, 55, 55, 0.2);
    padding:0.7rem;
    cursor:pointer;
    border-radius:15px;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:0 4px 15px rgba(182, 55, 55, 0.1);
}

body[data-page="Menu"] .allergene-btn:hover {
    border-color:#B63737;
    transform:translateY(-5px) scale(1.15);
    box-shadow:0 8px 25px rgba(182, 55, 55, 0.3);
    background:rgba(255, 255, 255, 1);
}

body[data-page="Menu"] .allergene-btn.active {
    background:linear-gradient(135deg, #B63737, #d94848);
    border-color:#B63737;
    box-shadow:0 8px 30px rgba(182, 55, 55, 0.5);
    transform:scale(1.1);
}

body[data-page="Menu"] .allergene-btn img {
    width:40px;
    height:40px;
    display:block;
    transition:transform 0.3s ease;
}

body[data-page="Menu"] .allergene-btn:hover img {
    transform:rotate(10deg);
}

body[data-page="Menu"] .allergenes-clear {
    display:block;
    margin:1.5rem auto 0;
    background:linear-gradient(135deg, #B63737, #d94848);
    color:white;
    border:2px solid transparent;
    padding:1rem 2.5rem;
    border-radius:50px;
    font-weight:700;
    cursor:pointer;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:0 6px 20px rgba(182, 55, 55, 0.3);
    text-transform:uppercase;
    letter-spacing:0.5px;
    font-size:1rem;
}

body[data-page="Menu"] .allergenes-clear:hover {
    background:linear-gradient(135deg, #ffffff, #fee5e5);
    color:#B63737;
    border-color:#B63737;
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 10px 30px rgba(182, 55, 55, 0.4);
}

/* Liste des items du menu (Design moderne) */
body[data-page="Menu"] #menu-list {
    max-width:1200px;
    margin:0 auto;
    padding:0 2rem 4rem;
}

body[data-page="Menu"] #menu-items-container h3 {
    color:#000000;
    font-size:2rem;
    margin:3rem 0 2rem;
    padding-bottom:1rem;
    text-transform:uppercase;
    font-weight:800;
    position:relative;
    display:inline-block;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Menu"] #menu-items-container h3::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:80px;
    height:4px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:3px;
    box-shadow:0 2px 8px rgba(182, 55, 55, 0.4);
}

body[data-page="Menu"] .menu-subcategory {
    margin-bottom:3.5rem;
}

body[data-page="Menu"] .menu-subcategory h3 {
    color:#B63737;
    font-size:1.9rem;
    margin:3rem 0 2rem;
    padding-bottom:1rem;
    text-transform:uppercase;
    font-weight:800;
    position:relative;
    display:inline-block;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Menu"] .menu-subcategory h3::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:80px;
    height:4px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:3px;
    box-shadow:0 2px 8px rgba(182, 55, 55, 0.4);
}

body[data-page="Menu"] .menu-items {
    display:flex;
    flex-direction:column;
    gap:2rem;
}

body[data-page="Menu"] .menu-item {
    background:linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 250, 0.95) 100%);
    border-radius:18px;
    box-shadow:0 8px 30px rgba(182, 55, 55, 0.12);
    padding:2rem;
    border:2px solid rgba(182, 55, 55, 0.2);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position:relative;
    overflow:hidden;
    backdrop-filter:blur(10px);
}

body[data-page="Menu"] .menu-item::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:5px;
    height:100%;
    background:linear-gradient(180deg, #B63737, #d94848);
    opacity:0;
    transition:opacity 0.4s ease;
}

body[data-page="Menu"] .menu-item:hover {
    transform:translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow:0 15px 50px rgba(182, 55, 55, 0.25);
    border-color:rgba(182, 55, 55, 0.4);
}

body[data-page="Menu"] .menu-item:hover::before {
    opacity:1;
}

body[data-page="Menu"] .menu-item-header {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:2rem;
}

body[data-page="Menu"] .menu-item-header h4 {
    font-weight:800;
    color:#B63737;
    font-size:1.3rem;
    line-height:1.4rem;
    flex:1;
    margin:0;
}

body[data-page="Menu"] .menu-item-price {
    color:#B63737;
    font-weight:800;
    font-size:1.5rem;
    white-space:nowrap;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 229, 229, 0.8));
    padding:0.5rem 1.2rem;
    border-radius:50px;
    border:2px solid rgba(182, 55, 55, 0.3);
    box-shadow:0 4px 15px rgba(182, 55, 55, 0.2);
}

.menu-item-price {
    font-size:1.3rem;
    white-space:nowrap;
    background:#f8f5f0;
    padding:0.3rem 1rem;
    border-radius:50px;
    border:2px solid #e0d5c7;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.menu-item-description {
    color:#7a5c3a;
    font-size:1.1rem;
    margin:0;
    line-height:1.3rem;
    font-style:italic;
}

.menu-item-allergens {
    display:flex;
    flex-wrap:wrap;
    gap:0.4rem;
    margin:1rem 0 0.3rem 0;
    justify-content:flex-start;
    align-items:center;
}

.menu-item-allergens img {
    width:32px;
    height:32px;
    display:block;
    border-radius:8px;
    border:1.5px solid #e0d5c7;
    background:transparent;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
    transition:transform 0.2s ease;
}

.menu-item-allergens img:hover {
    transform:scale(1.15);
}

.menu-empty {
    text-align:center;
    color:#B63737;
    font-size:1.3rem;
    margin:3rem 0;
    padding:2rem;
    background:#fff9f0;
    border-radius:16px;
    border:2px dashed #f3e2d0;
}

/* Responsive */
@media (max-width:768px) {
    #menu-list { max-width:99vw; }
    
    .menu-tab {
        padding:0.7rem 1.3rem;
        font-size:0.95rem;
    }
    
    .menu-item {
        padding:1.2rem;
    }
    
    .menu-item-header h4 {
        font-size:1.05rem;
    }
    
    .menu-item-price {
        font-size:1.1rem;
        padding:0.2rem 0.8rem;
    }
    
    .menu-tabs { gap:0.6rem; }
    .allergenes-list { gap:0.4rem; justify-content:center; }
    .allergene-btn img { width:32px; height:32px; }
    .menu-item-allergens img { width:26px; height:26px; }
    
    #menu-items-container h3 {
        font-size:1.4rem;
        margin:2rem 0 1rem;
    }
    
    /* Ajustements responsive pour page Menu moderne */
    body[data-page="Menu"] .menu-item:hover {
        transform:translateY(-5px) perspective(1000px) rotateX(1deg);
    }
    
    body[data-page="Menu"] .suggestion-card:hover {
        transform:translateY(-8px) perspective(1000px) rotateX(1deg);
    }
    
    body[data-page="Menu"] .menu-tab {
        padding:0.8rem 1.5rem;
    }
    
    body[data-page="Menu"] .allergene-btn:hover {
        transform:translateY(-3px) scale(1.1);
    }
    
    body[data-page="Menu"] #menu-suggestions,
    body[data-page="Menu"] #suggestions-jour {
        padding:3rem 1.5rem;
    }
}

/* ============================================
   NOS SUGGESTIONS - SECTION MENU (Design Moderne)
   ============================================ */

/* Section nos suggestions */
body[data-page="Menu"] #menu-suggestions,
body[data-page="Menu"] #suggestions-jour {
    max-width:1200px;
    margin:3rem auto;
    padding:4rem 2rem;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 229, 229, 0.9) 100%);
    border-radius:20px;
    border:2px solid rgba(182, 55, 55, 0.2);
    box-shadow:0 15px 50px rgba(182, 55, 55, 0.2);
    position:relative;
    backdrop-filter:blur(10px);
}

body[data-page="Menu"] #menu-suggestions h2,
body[data-page="Menu"] #suggestions-jour h2 {
    color:#B63737;
    font-size:2.5rem;
    text-align:center;
    margin-bottom:1rem;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:800;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:2rem;
}

body[data-page="Menu"] #menu-suggestions h2::after,
body[data-page="Menu"] #suggestions-jour h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:5px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(182, 55, 55, 0.4);
}

body[data-page="Menu"] #menu-suggestions .suggestions-subtitle {
    text-align:center;
    color:#B63737;
    font-size:1.1rem;
    margin-bottom:2.5rem;
    font-style:italic;
}

.suggestions-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2.5rem;
    margin-top:2rem;
}

body[data-page="Menu"] .suggestion-card {
    background:linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 250, 0.95) 100%);
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(182, 55, 55, 0.15);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:2px solid rgba(182, 55, 55, 0.2);
    position:relative;
    backdrop-filter:blur(15px);
}

body[data-page="Menu"] .suggestion-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg, #B63737, #d94848, #B63737);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
    z-index:2;
}

body[data-page="Menu"] .suggestion-card:hover::before {
    opacity:1;
}

body[data-page="Menu"] .suggestion-card:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 70px rgba(182, 55, 55, 0.3);
    border-color:rgba(182, 55, 55, 0.4);
}

.suggestion-image {
    width:100%;
    height:220px;
    object-fit:cover;
    border-bottom:3px solid #f3e2d0;
}

.suggestion-content {
    padding:2rem;
}

.suggestion-header {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:1rem;
    margin-bottom:1rem;
}

body[data-page="Menu"] .suggestion-card h3,
body[data-page="Menu"] .suggestion-title {
    color:#B63737;
    font-size:1.4rem;
    font-weight:800;
    margin:0 0 1rem;
    line-height:1.3;
    flex:1;
}

body[data-page="Menu"] .suggestion-prix,
body[data-page="Menu"] .suggestion-price {
    color:#B63737;
    font-weight:800;
    font-size:1.5rem;
    white-space:nowrap;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 229, 229, 0.8));
    padding:0.5rem 1.2rem;
    border-radius:50px;
    border:2px solid rgba(182, 55, 55, 0.3);
    box-shadow:0 4px 15px rgba(182, 55, 55, 0.2);
}

body[data-page="Menu"] .suggestion-description {
    color:#4a4a4a;
    font-size:1.05rem;
    line-height:1.7;
    margin-bottom:1rem;
    font-style:italic;
    font-weight:500;
}

body[data-page="Menu"] .suggestion-badge {
    display:inline-block;
    background:linear-gradient(135deg, #B63737 0%, #d94848 100%);
    color:white;
    padding:0.5rem 1.2rem;
    border-radius:50px;
    font-size:0.9rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.5px;
    margin-bottom:1rem;
    box-shadow:0 4px 15px rgba(182, 55, 55, 0.4);
    position:relative;
    overflow:hidden;
}

body[data-page="Menu"] .suggestion-badge::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition:left 0.5s ease;
}

body[data-page="Menu"] .suggestion-badge:hover::before {
    left:100%;
}

.suggestion-badge.plat-du-jour {
    background:#F18818;
    box-shadow:0 3px 12px rgba(241, 136, 24, 0.3);
}

.suggestion-badge.plat-du-jour:hover {
    background:#d97615;
    transform:scale(1.05);
    transition:all 0.3s ease;
}

.suggestion-allergens {
    display:flex;
    flex-wrap:wrap;
    gap:0.4rem;
    margin-top:1rem;
    padding-top:1rem;
    border-top:1px solid #f3e2d0;
}

.suggestion-allergens img {
    width:28px;
    height:28px;
    border-radius:8px;
    border:1.5px solid #e0d5c7;
    background:#fff;
    box-shadow:0 2px 6px rgba(0, 0, 0, 0.08);
    transition:transform 0.2s ease;
}

.suggestion-allergens img:hover {
    transform:scale(1.2);
}

/* Version responsive mobile */
@media (max-width:768px) {
    #menu-suggestions {
        margin:2rem 0.5rem;
        padding:1.5rem 1rem;
        border-radius:16px;
    }

    #menu-suggestions h2 {
        font-size:1.8rem;
        margin-bottom:0.3rem;
        letter-spacing:1px;
    }

    #menu-suggestions .suggestions-subtitle {
        font-size:1rem;
        margin-bottom:1.5rem;
    }

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

    .suggestion-card {
        border-radius:12px;
    }

    .suggestion-image {
        height:200px;
    }

    .suggestion-content {
        padding:1.2rem;
    }

    .suggestion-header {
        flex-direction:column;
        gap:0.8rem;
        align-items:flex-start;
    }

    .suggestion-title {
        font-size:1.2rem;
    }

    .suggestion-price {
        font-size:1.3rem;
        padding:0.3rem 0.9rem;
    }

    .suggestion-description {
        font-size:0.95rem;
    }

    .suggestion-badge {
        font-size:0.8rem;
        padding:0.3rem 0.8rem;
    }

    .suggestion-allergens img {
        width:26px;
        height:26px;
    }
}

@media (max-width:480px) {
    #menu-suggestions {
        margin:1.5rem 0.25rem;
        padding:1rem 0.8rem;
    }

    #menu-suggestions h2 {
        font-size:1.5rem;
    }

    #menu-suggestions .suggestions-subtitle {
        font-size:0.9rem;
    }

    .suggestion-image {
        height:180px;
    }

    .suggestion-content {
        padding:1rem;
    }

    .suggestion-title {
        font-size:1.1rem;
    }

    .suggestion-price {
        font-size:1.2rem;
        padding:0.25rem 0.75rem;
    }

    .suggestion-description {
        font-size:0.9rem;
    }

    .suggestion-badge {
        font-size:0.75rem;
        padding:0.25rem 0.7rem;
    }

    .suggestion-allergens {
        gap:0.3rem;
    }

    .suggestion-allergens img {
        width:24px;
        height:24px;
    }
    
    /* Ajustements responsive Mobile pour page Menu moderne */
    body[data-page="Menu"] main {
        padding:2rem 0.5rem;
    }
    
    body[data-page="Menu"] .menu-item:hover {
        transform:translateY(-3px);
    }
    
    body[data-page="Menu"] .suggestion-card:hover {
        transform:translateY(-5px);
    }
    
    body[data-page="Menu"] .menu-tabs {
        flex-direction:column;
        align-items:stretch;
    }
    
    body[data-page="Menu"] .menu-tab {
        padding:0.9rem 1.2rem;
        text-align:center;
    }
    
    body[data-page="Menu"] #menu-suggestions,
    body[data-page="Menu"] #suggestions-jour {
        padding:2rem 1rem;
        margin:1.5rem 0.5rem;
    }
    
    body[data-page="Menu"] #menu-items-container h3 {
        font-size:1.3rem;
    }
    
    body[data-page="Menu"] .menu-item-header {
        flex-direction:column;
        align-items:flex-start;
        gap:0.8rem;
    }
}

/* Version liste compacte (alternative) */
.suggestions-list {
    display:flex;
    flex-direction:column;
    gap:1.5rem;
    margin-top:2rem;
}

.suggestion-item-compact {
    background:white;
    border-radius:12px;
    padding:1.5rem;
    border:2px solid #f3e2d0;
    box-shadow:0 4px 16px rgba(0, 0, 0, 0.04);
    transition:all 0.3s ease;
    position:relative;
}

.suggestion-item-compact::before {
    content:'✓';
    position:absolute;
    top:50%;
    left:-10px;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    background:#B63737;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    opacity:0;
    transition:all 0.3s ease;
}

.suggestion-item-compact:hover {
    transform:translateX(10px);
    box-shadow:0 6px 24px rgba(0, 0, 0, 0.1);
    border-color:transparent;
}

.suggestion-item-compact:hover::before {
    opacity:1;
    left:10px;
}

.suggestion-compact-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    margin-bottom:0.8rem;
}

.suggestion-compact-title {
    color:#B63737;
    font-size:1.2rem;
    font-weight:700;
    margin:0;
    flex:1;
}

.suggestion-compact-price {
    color:#B63737;
    font-weight:800;
    font-size:1.3rem;
    white-space:nowrap;
}

.suggestion-compact-description {
    color:#7a5c3a;
    font-size:0.95rem;
    line-height:1.5;
    margin:0;
    font-style:italic;
}

@media (max-width:768px) {
    .suggestions-list {
        gap:1rem;
    }

    .suggestion-item-compact {
        padding:1.2rem;
    }

    .suggestion-item-compact:hover {
        transform:translateX(5px);
    }

    .suggestion-compact-header {
        flex-direction:column;
        align-items:flex-start;
        gap:0.5rem;
    }

    .suggestion-compact-title {
        font-size:1.1rem;
    }

    .suggestion-compact-price {
        font-size:1.2rem;
    }

    .suggestion-compact-description {
        font-size:0.9rem;
    }
}

@media (max-width:480px) {
    .suggestion-item-compact {
        padding:1rem;
        border-radius:10px;
    }

    .suggestion-compact-title {
        font-size:1rem;
    }

    .suggestion-compact-price {
        font-size:1.1rem;
    }

    .suggestion-compact-description {
        font-size:0.85rem;
        line-height:1.4;
    }
}


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

/* --- HEADER & NAVIGATION --- */
header[role="banner"] {
    background-color:var(--color-primary);
    color:var(--color-white);
    text-align:center;
    padding:var(--spacing-xl) var(--spacing-md);
    position:relative;
}

header img {
    margin:0 auto var(--spacing-md);
}

header h1 {
    font-size:2.8rem;
    font-weight:300;
    margin-bottom:var(--spacing-xs);
    letter-spacing:1px;
}

header p {
    font-size:1.25rem;
    color:rgba(255, 255, 255, 0.9);
    margin-bottom:var(--spacing-md);
}

/* Navigation principale */
header nav {
    border-top:1px solid rgba(255, 255, 255, 0.3);
    padding-top:var(--spacing-md);
    margin-top:var(--spacing-md);
}

header nav a {
    color:var(--color-white);
    margin:0 var(--spacing-sm);
    padding:var(--spacing-xs) var(--spacing-sm);
    font-size:1.1rem;
    transition:var(--transition);
}

header nav a:hover,
header nav a:focus {
    color:#000000;
    text-decoration:none;
}

header nav a[aria-current="page"] {
    font-weight:bold;
    /* plus de fond, ni de border, ni d'effet */
    border:none;
    background:none;
    box-shadow:none;
}

/* Menu hamburger mobile */
.menu-toggle {
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    padding:10px;
    position:absolute;
    top:20px;
    right:20px;
    z-index:1001;
    width:40px;
    height:40px;
    flex-direction:column;
    justify-content:space-around;
    align-items:center;
}

.menu-toggle span {
    display:block;
    width:30px;
    height:3px;
    background-color:#ffffff;
    transition:all 0.3s ease;
    border-radius:2px;
}

.menu-toggle:hover span {
    background-color:rgba(255, 255, 255, 0.8);
}

.menu-toggle.active span:nth-child(1) {
    transform:rotate(45deg) translateY(12px);
}

.menu-toggle.active span:nth-child(2) {
    opacity:0;
}

.menu-toggle.active span:nth-child(3) {
    transform:rotate(-45deg) translateY(-12px);
}

/* Overlay pour le menu mobile */
.menu-overlay {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0, 0, 0, 0.5);
    z-index:999;
    opacity:0;
    transition:opacity 0.3s ease;
}

.menu-overlay.active {
    display:block;
    opacity:1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
body:not([data-page="Contact"]):not([data-page="Evenements"]) main[role="main"] {
    /* Centered black column (wider) */
    max-width:1400px; /* increased width for a wider central block */
    margin:0 auto;
    padding:var(--spacing-xl) var(--spacing-md);
    background-color:#000000; /* noir pur */
    color:#ffffff;
    box-sizing:border-box;
}

/* Conserver les blocs/carte en fond clair lorsque le `main` est sombre */
main[role="main"] .valeur-card,
main[role="main"] .menu-item,
main[role="main"] .producteur-card,
main[role="main"] #membres-equipe article,
main[role="main"] .profil-content,
main[role="main"] .menu-items,
main[role="main"] .sgp-cookie-content {
    background:var(--color-white) !important;
    color:var(--color-text) !important;
    border-color:var(--color-border) !important;
    box-shadow:0 4px 24px rgba(0,0,0,0.06) !important;
}

/* Rails / separators on dark main should be visible */
main[role="main"] hr {
    border:none;
    height:1px;
    background-color:rgba(255,255,255,0.12);
    margin:var(--spacing-lg) 0;
}

/* When hr is inside a light card, use the normal border */
main[role="main"] .valeur-card hr,
main[role="main"] .menu-item hr,
main[role="main"] .producteur-card hr,
main[role="main"] #membres-equipe article hr,
main[role="main"] .profil-content hr {
    background-color:var(--color-border);
}

section {
    margin-bottom:var(--spacing-xl);
}

/* SUPPRESSION GLOBALE DES TRAITS SOUS LES TITRES */
h2, h3, 
section h2, section h3,
main h2, main h3,
.profil-content h3,
body[data-page="Equipe"] h2,
body[data-page="Equipe-Profils"] h2,
body[data-page="Equipe-Profils"] .profil-content h3 {
    border-bottom:none !important;
}

/* Titres de sections */
section h2 {
    font-size:2.3rem;
    color:var(--color-primary);
    padding-bottom:var(--spacing-sm);
    margin-bottom:var(--spacing-md);
}

section h3 {
    font-size:1.7rem;
    color:var(--color-primary);
    margin-bottom:var(--spacing-md);
}

/* ============================================
   PAGE ÉQUIPE - MEMBRES
   ============================================ */
#membres-equipe {
    background-color:var(--color-secondary);
    padding:var(--spacing-xl);
    border-radius:var(--border-radius);
}

#membres-equipe article {
    background:var(--color-white);
    padding:var(--spacing-lg);
    margin-bottom:var(--spacing-md);
    border-radius:var(--border-radius);
    box-shadow:var(--box-shadow);
    text-align:center;
    transition:var(--transition);
}

#membres-equipe article:hover {
    transform:translateY(-5px);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);
}

#membres-equipe article img {
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:50%;
    margin:0 auto var(--spacing-md);
    border:4px solid var(--color-accent);
}

#membres-equipe article h4 {
    font-size:1.5rem;
    color:var(--color-primary);
    margin-bottom:var(--spacing-xs);
}

#membres-equipe article h5 {
    font-size:1.15rem;
    color:var(--color-accent);
    font-weight:600;
    margin-bottom:var(--spacing-md);
}

#membres-equipe article a {
    display:inline-block;
    background-color:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-sm) var(--spacing-lg);
    border-radius:var(--border-radius);
    font-weight:bold;
    transition:var(--transition);
}

#membres-equipe article a:hover,
#membres-equipe article a:focus {
    background-color:var(--color-primary);
    text-decoration:none;
    transform:scale(1.05);
}

#membres-equipe hr {
    border:none;
    height:1px;
    background-color:var(--color-border);
    margin:var(--spacing-lg) 0;
}

/* ============================================
   PAGE NOS VALEURS
   ============================================ */
/* Header Nos Valeurs */
#valeurs-header {
    background:#F18818;
    color:white;
    text-align:center;
    padding:4rem 2rem;
    margin-bottom:3rem;
}

#valeurs-header h2 {
    font-size:3rem;
    margin-bottom:1rem;
    color:white;
}

#valeurs-header p {
    font-size:1.3rem;
    color:rgba(255, 255, 255, 0.9);
}

/* ============================================
   PAGE NOS VALEURS - Design Moderne Orange/Blanc
   ============================================ */

/* Main Background avec gradient et animated border */
body[data-page="Nos-Valeurs"] {
    background:linear-gradient(135deg, #fffaf5 0%, #fff5eb 30%, #F18818 70%, #FF9933 100%) !important;
}
/* Main Background avec gradient et animated border */
body[data-page="Nos-Valeurs"] main[role="main"] {
    color:#1a1a1a !important;
    padding:3rem 1.5rem;
    position:relative;
    overflow:hidden;
}


body[data-page="Nos-Valeurs"] main[role="main"]::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(90deg, #F18818 0%, #ffffff 25%, #FF9933 50%, #ffffff 75%, #F18818 100%);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
}

@keyframes gradientSlide {
    0%, 100% { background-position:0% 0%; }
    50% { background-position:100% 0%; }
}

/* Section Nos Valeurs */
body[data-page="Nos-Valeurs"] #nos-valeurs {
    padding:5rem 2rem;
    background:transparent;
}

.valeurs-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:3rem;
    max-width:1200px;
    margin:0 auto;
}

.valeur-card {
    position:relative;
    background:linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.95) 100%);
    padding:3rem 2rem 2.5rem;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 40px rgba(241, 136, 24, 0.2);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:2px solid rgba(241, 136, 24, 0.2);
    overflow:hidden;
    backdrop-filter:blur(15px);
}

.valeur-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg, #F18818, #FF9933, #F18818);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
}

.valeur-card:hover::before {
    opacity:1;
}

.valeur-card:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 70px rgba(241, 136, 24, 0.35);
    border-color:rgba(241, 136, 24, 0.4);
}

.valeur-icon {
    width:90px;
    height:90px;
    background:linear-gradient(135deg, #F18818 0%, #FF9933 100%);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 1.5rem;
    box-shadow:0 10px 30px rgba(241, 136, 24, 0.5);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position:relative;
    z-index:1;
    border:3px solid rgba(255, 255, 255, 0.3);
}

.valeur-icon::after {
    content:'';
    position:absolute;
    inset:-8px;
    border-radius:50%;
    background:linear-gradient(135deg, #F18818, #FF9933);
    opacity:0;
    z-index:-1;
    transition:opacity 0.4s ease;
    filter:blur(10px);
}

.valeur-card:hover .valeur-icon {
    transform:scale(1.15) rotate(-5deg);
    box-shadow:0 15px 40px rgba(241, 136, 24, 0.7);
}

.valeur-card:hover .valeur-icon::after {
    opacity:0.6;
}

.valeur-icon img {
    width:56px;
    height:56px;
    display:block;
}

.valeur-baseline {
    font-size:1.08rem;
    color:#F18818;
    font-family:'BeaufortBold', sans-serif;
    margin-bottom:0.7rem;
    margin-top:-0.5rem;
    letter-spacing:0.01em;
    font-weight:700;
}

.valeur-card h4 {
    font-size:1.6rem;
    color:#F18818;
    margin-bottom:1.2rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:0.5px;
    position:relative;
    padding-bottom:0.8rem;
}

.valeur-card h4::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:50px;
    height:3px;
    background:linear-gradient(90deg, #F18818, #FF9933);
    border-radius:3px;
}

.valeur-card p {
    font-size:1.05rem;
    line-height:1.8;
    color:#4a4a4a;
    font-weight:500;
}

/* Section Notre Histoire */
body[data-page="Nos-Valeurs"] #notre-histoire {
    padding:5rem 2rem;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 235, 0.9) 100%);
    border-radius:20px;
    backdrop-filter:blur(10px);
    box-shadow:0 15px 50px rgba(241, 136, 24, 0.15);
    border:2px solid rgba(241, 136, 24, 0.15);
}

body[data-page="Nos-Valeurs"] #notre-histoire h2 {
    font-size:2.75rem;
    text-align:center;
    margin-bottom:1rem;
    color:#F18818;
    font-weight:800;
    letter-spacing:-0.5px;
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:2.5rem;
    text-shadow:1px 1px 3px rgba(241, 136, 24, 0.2);
}

body[data-page="Nos-Valeurs"] #notre-histoire h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:5px;
    background:linear-gradient(90deg, #F18818, #FF9933);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(241, 136, 24, 0.4);
}

.histoire-content {
    background:rgba(255, 255, 255, 0.95);
    padding:3rem;
    border-radius:16px;
    box-shadow:0 8px 30px rgba(241, 136, 24, 0.1);
    border:2px solid rgba(241, 136, 24, 0.1);
    transition:all 0.4s ease;
}

.histoire-content:hover {
    transform:translateY(-5px);
    box-shadow:0 12px 40px rgba(241, 136, 24, 0.15);
}

.histoire-content p {
    font-size:1.15rem;
    line-height:1.9;
    color:#333333;
    margin-bottom:1.5rem;
    font-weight:500;
}

/* Section Nos Producteurs */
body[data-page="Nos-Valeurs"] #nos-producteurs {
    padding:5rem 2rem;
    background:linear-gradient(135deg, rgba(254, 250, 245, 0.95) 0%, rgba(254, 241, 225, 0.9) 100%);
    position:relative;
    border:none;
    margin:0;
    backdrop-filter:blur(10px);
}

body[data-page="Nos-Valeurs"] #nos-producteurs h2 {
    font-size:2.75rem;
    text-align:center;
    margin-bottom:1rem;
    color:#F18818;
    font-weight:800;
    letter-spacing:-0.5px;
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:2.5rem;
    text-shadow:1px 1px 3px rgba(241, 136, 24, 0.2);
}

body[data-page="Nos-Valeurs"] #nos-producteurs h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:5px;
    background:linear-gradient(90deg, #F18818, #FF9933);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(241, 136, 24, 0.4);
}

body[data-page="Nos-Valeurs"] #nos-producteurs > p {
    text-align:center;
    font-size:1.25rem;
    color:#4a4a4a;
    margin-bottom:3rem;
    font-weight:500;
}

.producteurs-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:2.5rem;
    max-width:1200px;
    margin:0 auto;
}

.producteur-card {
    position:relative;
    background:linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 245, 0.95) 100%);
    padding:2.5rem;
    border-radius:16px;
    box-shadow:0 10px 35px rgba(241, 136, 24, 0.15);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:2px solid rgba(241, 136, 24, 0.2);
    overflow:hidden;
}

.producteur-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg, #F18818, #FF9933);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
}

.producteur-card:hover::before {
    opacity:1;
}

.producteur-card:hover {
    transform:translateY(-10px) perspective(1000px) rotateX(2deg);
    box-shadow:0 20px 60px rgba(241, 136, 24, 0.3);
    border-color:rgba(241, 136, 24, 0.4);
}

.producteur-card h4 {
    font-size:1.5rem;
    color:#F18818;
    margin-bottom:1rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:0.5px;
    position:relative;
    padding-bottom:0.8rem;
}

.producteur-card h4::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:60px;
    height:3px;
    background:linear-gradient(90deg, #F18818, #FF9933);
    border-radius:3px;
}

.producteur-card p {
    font-size:1.05rem;
    line-height:1.7;
    color:#4a4a4a;
    font-weight:500;
}

/* ============================================
   BLOCKQUOTE / CITATIONS
   ============================================ */
blockquote {
    background:var(--color-secondary);
    
    padding:var(--spacing-lg);
    margin:var(--spacing-lg) 0;
    font-style:italic;
    color:var(--color-text-light);
}

/* ============================================
   ASIDE / COMPLÉMENTAIRE
   ============================================ */
aside[role="complementary"] {
    background:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-xl);
    border-radius:var(--border-radius);
    text-align:center;
}

aside h3 {
    color:var(--color-white);
    margin-bottom:var(--spacing-md);
}

aside a {
    display:inline-block;
    background-color:var(--color-white);
    color:var(--color-accent);
    padding:var(--spacing-sm) var(--spacing-xl);
    border-radius:var(--border-radius);
    font-weight:bold;
    margin-top:var(--spacing-md);
    transition:var(--transition);
}

aside a:hover,
aside a:focus {
    background:var(--color-primary);
    color:var(--color-white);
    text-decoration:none;
    transform:scale(1.05);
}

/* ============================================
   FOOTER - STYLE ÉPURÉ
   ============================================ */
footer[role="contentinfo"] {
    background:#000000;
    color:var(--color-white);
    padding:0.5rem var(--spacing-xs);
    text-align:center;
}

footer img {
    margin:0 auto 0.3rem;
    width:100px;
    height:auto;
}

footer nav ul {
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:var(--spacing-md);
    margin-bottom:0.8rem;
}

footer nav a {
    color:var(--color-white);
    transition:var(--transition);
    text-decoration:none;
}

footer nav a:hover,
footer nav a:focus {
    color:var(--color-accent);
    text-decoration:none;
}

footer p {
    margin:0.4rem 0;
    color:rgba(255, 255, 255, 0.85);
}

footer nav[aria-label="Mentions légales"] {
    margin-top:0.5rem;
    border-top:1px solid rgba(255, 255, 255, 0.2);
    padding-top:0.5rem;
}

footer nav[aria-label="Mentions légales"] ul {
    gap:0;
}

footer nav[aria-label="Mentions légales"] a {
    font-size:0.95rem;
    text-decoration:none;
}

/* Responsive Footer Mobile */
@media (max-width:1024px) {
footer[role="contentinfo"] {
        padding:1rem 1rem;
    }
    
    footer img {
        width:120px;
        height:auto;
        margin-bottom:1rem;
    }
    
    /* Masquer la navigation principale (dupliquée dans le menu hamburger) */
    footer nav[aria-label="Customer service"] {
        display:none;
    }
    
    footer p {
        font-size:1rem;
        margin:0.5rem 0;
    }
    
    footer nav[aria-label="Mentions légales"] {
        margin-top:1rem;
        padding-top:1rem;
    }
    
    footer nav[aria-label="Mentions légales"] ul {
        flex-direction:column;
        gap:0;
    }
    
    footer nav[aria-label="Mentions légales"] a {
        font-size:1rem;
        padding:0.5rem;
    }
.footer-social {
        margin:1rem 0;
    }
.footer-social a {
        width:50px;
        height:50px;
    }
.footer-social img {
        width:32px;
        height:32px;
    }
}

/* Footer Social (Instagram) */
.footer-social {
    margin:var(--spacing-lg) 0;
    text-align:center;
}
.footer-social a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:60px;
    height:60px;
    transition:transform 0.3s ease;
}

.footer-social a:hover {
    transform:scale(1.1);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-social img {
    width:40px;
    height:40px;
    margin:0;
}

/* Footer Partners */
.footer-partners {
    margin-top:var(--spacing-xl);
    padding-top:var(--spacing-lg);
    border-top:1px solid rgba(255, 255, 255, 0.3);
    text-align:center;
}

.footer-partners h3 {
    color:var(--color-white);
    font-size:1.1rem;
    margin-bottom:var(--spacing-md);
    text-transform:uppercase;
    letter-spacing:1px;
}

.partners-logos {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:var(--spacing-lg);
}

.partners-logos a {
    display:flex;
    align-items:center;
    justify-content:center;
    width:140px;
    height:80px;
    padding:10px;
    background:white;
    border-radius:8px;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);
}

.partners-logos a:hover {
    transform:translateY(-5px);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.2);
}

.partners-logos img {
    width:100%;
    height:100%;
    object-fit:contain;
    margin:0;
}

/* Responsive - Footer Partners */
@media (max-width:768px) {
.partners-logos {
        gap:var(--spacing-md);
    }
.partners-logos a {
        width:120px;
        height:70px;
    }
}

@media (max-width:480px) {
.footer-partners h3 {
        font-size:1rem;
    }
.partners-logos {
        flex-direction:column;
        gap:var(--spacing-sm);
    }
.partners-logos a {
        width:180px;
        height:90px;
    }
}

/* ============================================
   PAGE PROFIL INDIVIDUEL
   ============================================ */
.profil-header {
    text-align:center;
    margin-bottom:var(--spacing-xl);
}

.profil-header {
    background-color:var(--color-secondary);
}

.profil-content {
    .profil-content {
        padding:var(--spacing-xl);
        border-radius:var(--border-radius);
        margin-bottom:var(--spacing-lg);
    }
}

.profil-content h3 {
    color:var(--color-primary);
    border-bottom:2px solid var(--color-accent);
    padding-bottom:var(--spacing-xs);
    margin-bottom:var(--spacing-md);
}

.profil-content ul {
    list-style-position:inside;
    padding-left:var(--spacing-md);
}

.profil-content li {
    margin-bottom:var(--spacing-xs);
}

/* Navigation entre profils */
.profil-nav {
    background-color:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-md);
    border-radius:var(--border-radius);
    text-align:center;
    margin-bottom:var(--spacing-lg);
}

.profil-nav a {
    color:var(--color-white);
    margin:0 var(--spacing-sm);
    font-weight:bold;
}

.profil-nav a:hover,
.profil-nav a:focus {
    text-decoration:none;
}

/* Lien retour en haut */
.back-to-top {
    display:inline-block;
    background-color:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-sm) var(--spacing-md);
    border-radius:var(--border-radius);
    margin-top:var(--spacing-md);
    font-weight:bold;
}

.back-to-top:hover,
.back-to-top:focus {
    background-color:var(--color-primary);
    text-decoration:none;
}

/* Bouton retour à l'équipe - Design moderne avec gradients et effets */
.btn-retour {
    display:inline-block;
    background:linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color:#ffffff;
    padding:1.2rem 3rem;
    border-radius:12px;
    margin-top:2rem;
    font-weight:800;
    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:0.95rem;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:2px solid transparent;
    box-shadow:0 8px 25px rgba(0, 0, 0, 0.5);
    position:relative;
    overflow:hidden;
}

/* Effet de brillance qui traverse le bouton */
.btn-retour::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition:left 0.5s ease;
}

.btn-retour:hover::before {
    left:100%;
}

.btn-retour:hover,
.btn-retour:focus {
    background:linear-gradient(135deg, #2d2d2d 0%, #444444 100%);
    color:#ffffff;
    text-decoration:none;
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 15px 40px rgba(0, 0, 0, 0.7);
    border-color:#000000;
}

/* Navigation entre profils */
.profil-navigation {
    text-align:center;
    margin-top:var(--spacing-lg);
    padding:var(--spacing-md) 0;
}

/* ============================================
   RESPONSIVE - TABLETTE
   ============================================ */
@media (min-width:768px) {
    #membres-equipe {
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:var(--spacing-lg);
        padding:var(--spacing-xl);
    }
    
    #membres-equipe > h3,
    #membres-equipe > p {
        grid-column:1 / -1;
    }
    
    #membres-equipe hr {
        display:none;
    }
    
    footer nav ul {
        gap:var(--spacing-lg);
    }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width:1024px) {
    header h1 {
        font-size:3rem;
    }
    
    #membres-equipe {
        grid-template-columns:repeat(3, 1fr);
    }
    
    main[role="main"] {
        padding:var(--spacing-xl) var(--spacing-lg);
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width:1024px) {
    /* Header et Navigation */
    header[role="banner"] {
        padding:1.5rem 1rem;
    }
    
    header h1 {
        font-size:1.8rem;
        margin-bottom:0.5rem;
    }
    
    header p {
        font-size:1.1rem;
    }
    
    header img {
        max-width:200px;
        height:auto;
    }
    
    /* Menu Hamburger visible sur mobile */
    .menu-toggle {
        display:flex !important;
    }
    
    /* IMPORTANT :Cacher complètement la nav par défaut */
    header nav {
        display:none !important;
        border-top:none;
        padding-top:0;
        margin-top:0;
    }
    
    /* Navigation mobile - Menu latéral ROUGE par défaut */
    header nav.active {
        display:flex !important;
        position:fixed;
        top:0;
        right:0;
        width:320px;
        height:100vh;
        background-color:#000000;
        flex-direction:column;
        padding:100px 25px 30px;
        box-shadow:-2px 0 10px rgba(0, 0, 0, 0.3);
        z-index:1000;
        overflow-y:auto;
        border-top:none;
        margin-top:0;
    }
    
    header nav a {
        display:block;
        padding:18px 22px;
        color:#ffffff;
        background-color:rgba(255, 255, 255, 0.1);
        border-radius:8px;
        text-align:left;
        font-size:1.15rem;
        margin-bottom:12px;
        
        transition:all 0.3s ease;
    }
    
    header nav a:hover,
    header nav a:focus {
        background-color:rgba(255, 255, 255, 0.2);
        
        transform:translateX(5px);
        text-decoration:none;
    }
    
    header nav a[aria-current="page"] {
        background-color:rgba(255, 255, 255, 0.3);
        font-weight:bold;
        
    }
    
    /* Forcer le style sidebar même pour la page Accueil header-hero */
    
    
    
    
    /* Image mobile pour le hero de la page d'accueil */
    
    
    /* Menu noir pour page Équipe */
    body[data-page="Equipe"] header nav.active,
body[data-page="Equipe-Profils"] header nav.active {
        background-color:#000000 !important;
    }
    
    body[data-page="Equipe"] header nav a,
body[data-page="Equipe-Profils"] header nav a {
        color:#ffffff !important;
        background-color:rgba(255, 255, 255, 0.1) !important;
    }
    
    body[data-page="Equipe"] header nav a:hover,
    body[data-page="Equipe"] header nav a:focus,
body[data-page="Equipe-Profils"] header nav a:hover,
body[data-page="Equipe-Profils"] header nav a:focus {
        background-color:rgba(255, 255, 255, 0.2) !important;
        
    }
    
    body[data-page="Equipe"] header nav a[aria-current="page"],
body[data-page="Equipe-Profils"] header nav a[aria-current="page"] {
        background-color:rgba(255, 255, 255, 0.3) !important;
        
    }    
    /* Page Nos Valeurs */
    #valeurs-header {
        padding:3rem 1.5rem;
    }
    
    #valeurs-header h2 {
        font-size:2.5rem;
    }
    
    #valeurs-header p {
        font-size:1.2rem;
    }
    
    .valeurs-grid {
        grid-template-columns:1fr;
        gap:2rem;
        padding:0 1rem;
    }
    
    .valeur-icon {
        width:70px;
        height:70px;
        font-size:2rem;
    }
    
    #notre-histoire {
        padding:3rem 1.5rem;
    }
    
    #notre-histoire h2 {
        font-size:2rem;
    }
    
    .histoire-content {
        padding:2rem 1.5rem;
    }
    
    .histoire-content p {
        font-size:1.1rem;
    }
    
    #nos-producteurs {
        padding:3rem 1.5rem;
    }
    
    #nos-producteurs h2 {
        font-size:2rem;
    }
    
    .producteurs-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
/* Main Content */
    main[role="main"] {
        padding:1rem;
    }
    
    section {
        padding:2rem 1.25rem;
        margin-bottom:2rem;
    }
    
    section h2 {
        font-size:2rem;
        margin-bottom:1.25rem;
    }
    
    section h3 {
        font-size:1.6rem;
        margin-bottom:1rem;
    }
    
    section p {
        font-size:1.15rem;
        line-height:1.7;
    }
    
    /* Page Accueil */
    body[data-page="Accueil"] #presentation {
        padding:2rem 1rem;
        margin:1.5rem auto;
    }
    
    body[data-page="Accueil"] #galerie .galerie-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
    body[data-page="Accueil"] #temoignages .temoignages-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
    /* Page Équipe */
body[data-page="Equipe"] #presentation-equipe {
        padding:2rem 1rem;
    }
body[data-page="Equipe"] #presentation-equipe h2 {
        font-size:2rem;
    }
body[data-page="Equipe"] #membres-equipe {
        padding:0 0.75rem;
    }
body[data-page="Equipe"] #membres-equipe article {
        padding:1.25rem;
    }
body[data-page="Equipe"] #membres-equipe article img {
        width:100px;
        height:100px;
    }
body[data-page="Equipe"] #membres-equipe article h4 {
        font-size:1.5rem;
        margin-bottom:0.5rem;
    }
body[data-page="Equipe"] #membres-equipe article p {
        font-size:1.1rem;
    }
body[data-page="Equipe"] #membres-equipe article a {
        padding:0.75rem 1.5rem;
        font-size:1.1rem;
    }
body[data-page="Equipe"] #valeurs-communes {
        padding:2rem 1rem;
    }
body[data-page="Equipe"] #recrutement {
        padding:2rem 1rem;
    }
    
    /* Page Equipe-Profils */
body[data-page="Equipe-Profils"] .profil-header img {
        width:150px;
        height:150px;
    }
body[data-page="Equipe-Profils"] .profil-header h2 {
        font-size:2rem;
    }
body[data-page="Equipe-Profils"] .profil-content {
        padding:1rem;
    }
    
    /* Footer */
footer[role="contentinfo"] {
        padding:2.5rem 1.5rem;
    }
    
    footer img {
        max-width:150px;
    }
    
    footer nav ul {
        flex-direction:column;
        gap:1rem;
        text-align:center;
    }
    
    footer nav a {
        font-size:1.1rem;
        padding:0.75rem;
    }
    
    footer p {
        font-size:1rem;
        line-height:1.6;
    }
.footer-social a {
        width:50px;
        height:50px;
    }
.footer-social img {
        width:30px;
        height:30px;
    }
.footer-partners h3 {
        font-size:0.95rem;
    }
.partners-logos {
        flex-direction:column;
        gap:var(--spacing-sm);
    }
.partners-logos a {
        width:160px;
        height:80px;
    }
}

/* ============================================
   RESPONSIVE - PETITS MOBILES (320px - 480px)
   ============================================ */
@media (max-width:480px) {
    /* Header */
    header h1 {
        font-size:1.5rem;
    }
    
    header p {
        font-size:1rem;
    }
    
    header img {
        max-width:130px;
    }
    
    /* Hero Accueil */
    
    
    
    
    
    
    
    
    /* Navigation */
    header nav a {
        font-size:1rem;
        padding:0.4rem;
    }
    
    /* Sections */
    section h2 {
        font-size:1.5rem;
    }
    
    section h3 {
        font-size:1.25rem;
    }
    
    /* Équipe */
body[data-page="Equipe"] #membres-equipe article img {
        width:100px;
        height:100px;
    }
body[data-page="Equipe-Profils"] .profil-header img {
        width:130px;
        height:130px;
    }
    
    /* Tables responsive */
    table {
        font-size:0.8rem;
    }
    
    table th,
    table td {
        padding:0.4rem;
        word-break:break-word;
    }
    
    /* Pages avec tables - Scroll horizontal */
    body[data-page="Mentions-Legales"] table,
    body[data-page="Cookies"] table,
    body[data-page="Donnees-Personnelles"] table {
        display:block;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }
    
    /* Sections responsive */
    body[data-page="Mentions-Legales"] article > section,
    body[data-page="Cookies"] article > section,
    body[data-page="Donnees-Personnelles"] article > section {
        padding:1rem 0.5rem;
        margin-bottom:1rem;
    }
    
    body[data-page="Mentions-Legales"] article > header,
    body[data-page="Cookies"] article > header,
    body[data-page="Donnees-Personnelles"] article > header {
        padding:1.5rem 0.75rem;
    }
    
    body[data-page="Mentions-Legales"] article > header h1,
    body[data-page="Cookies"] article > header h1,
    body[data-page="Donnees-Personnelles"] article > header h1 {
        font-size:1.6rem;
    }
    
    body[data-page="Mentions-Legales"] h2,
    body[data-page="Cookies"] h2,
    body[data-page="Donnees-Personnelles"] h2 {
        font-size:1.3rem;
    }
    
    /* Cercles de numérotation responsive */
    body[data-page="Mentions-Legales"] h2 span,
    body[data-page="Cookies"] h2 span,
    body[data-page="Donnees-Personnelles"] h2 span {
        width:50px !important;
        height:50px !important;
        min-width:50px;
        min-height:50px;
        font-size:1.4rem !important;
        flex-shrink:0;
    }
    
    /* Footer */
    footer h1,
    footer h2 {
        font-size:1.1rem;
    }
.footer-partners h3 {
        font-size:0.9rem;
    }
.partners-logos a {
        width:160px;
        height:80px;
    }
    
    /* Images responsive sur mobile */
    article img:not(header img):not(footer img):not(nav img),
    section img:not(header img):not(footer img):not(nav img),
    main img:not(header img):not(footer img):not(nav img) {
        max-width:100% !important;
        height:auto !important;
        margin:0.75rem auto !important;
        border-radius:8px;
        object-fit:cover;
    }
}

/* ============================================
   RESPONSIVE - TABLETTES (768px - 1024px) - Spécifique ajustements grid
   ============================================ */
@media (min-width:768px) and (max-width:1024px) {
    /* Menu hamburger visible sur tablette */
    .menu-toggle {
        display:flex !important;
    }
    
    /* Navigation tablette avec menu latéral plus large */
    header nav.active {
        width:350px;
    }
    
    /* Header avec image - Tablette */
    header[role="banner"].header-with-image .header-image-wrapper {
        height:400px;
        width:100%;
    }
    
    header[role="banner"].header-with-image .header-image-wrapper picture {
        width:100%;
        height:100%;
    }
    
    header[role="banner"].header-with-image .header-image-wrapper picture img {
        object-fit:cover;
        object-position:center;
        width:100%;
        height:100%;
        min-width:100%;
        display:block;
    }
    
    /* Footer mentions légales visible sur tablette */
    footer nav[aria-label="Mentions légales"] {
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
    }
    
    footer nav[aria-label="Mentions légales"] ul {
        display:flex !important;
        visibility:visible !important;
    }
    
    footer nav[aria-label="Mentions légales"] a {
        display:inline-block !important;
        visibility:visible !important;
    }
    
    /* Grilles en 2 colonnes sur tablette */
    body[data-page="Accueil"] #galerie .galerie-grid,
    body[data-page="Accueil"] #temoignages .temoignages-grid {
        grid-template-columns:repeat(2, 1fr);
    }
    
    /* Hero Accueil taille intermédiaire */
    
    
    
}

/* ============================================
   ACCESSIBILITÉ
   ============================================ */
@media (prefers-reduced-motion:reduce) {
    
}

.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;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    header nav,
    aside,
    footer nav {
        display:none;
    }
    
    a {
        text-decoration:none;
    }
    
    a[href]:after {
        content:" (" attr(href) ")";
    }
}

/* ============================================
   GLOBAL PAGE BACKGROUNDS
   ============================================ */
html, body {
    background-color:#ffffff !important;
    color:var(--color-text) !important;
}

/* Ensure sections that should remain light (cards, forms) keep their backgrounds */
body:not([data-page="Contact"]) main[role="main"] .valeur-card,
body:not([data-page="Contact"]) main[role="main"] .menu-item,
body:not([data-page="Contact"]) main[role="main"] .producteur-card,
body:not([data-page="Contact"]) main[role="main"] #membres-equipe article,
body:not([data-page="Contact"]) main[role="main"] .profil-content,
body:not([data-page="Contact"]) main[role="main"] .menu-items,
body:not([data-page="Contact"]) main[role="main"] .sgp-cookie-content {
    background:var(--color-white) !important;
    color:var(--color-text) !important;
}

/* Final override:ensure any page-specific main backgrounds are white (except Contact and Evenements) */
body:not([data-page="Contact"]):not([data-page="Evenements"]) main[role="main"] {
    background-color:var(--color-white) !important;
    color:var(--color-text) !important;
}


/* ============================================
   5. PAGES SPÉCIFIQUES
   ============================================ */

/* --- PAGE ÉQUIPE (dominante noire et beige) --- */
body[data-page="Equipe"] header[role="banner"],
body[data-page="Equipe-Profils"] header[role="banner"] {
    background:#000000;
}

/* PAGES GÉNÉRALES (autres que Accueil) - Header par défaut */
/* Page Menu :Rouge, Événements :Marron, Nos Valeurs :Orange */
body:not([data-page="Accueil"]):not([data-page="Equipe"]):not([data-page="Equipe-Profils"]):not([data-page="Evenements"]):not([data-page="Menu"]):not([data-page="Nos-Valeurs"]):not([data-page="Contact"]) header[role="banner"]:not(.header-hero) {
    background:#B63737;
}

/* ============================================
   PAGE MENU - Design Moderne Rouge/Blanc
   ============================================ */

/* Main Background avec gradient et animated border */
body[data-page="Menu"] main[role="main"] {
    background:#ffffff;
    padding:0 !important;
}

/* Page Menu - Header Rouge */
body[data-page="Menu"] header[role="banner"] {
    background:#B63737;
}

body[data-page="Menu"] header nav {
    background:#B63737;
    border-top-color:rgba(255, 255, 255, 0.3);
}

body[data-page="Menu"] header nav a {
    color:#ffffff;
}

body[data-page="Menu"] header nav a:hover,
body[data-page="Menu"] header nav a:focus {
    color:#000000;
    background-color:rgba(255, 255, 255, 0.1);
}

body[data-page="Menu"] header nav a[aria-current="page"] {
    background-color:rgba(255, 255, 255, 0.2);
    font-weight:bold;
}

/* Page Nos Valeurs - Header Orange */
body[data-page="Nos-Valeurs"] header[role="banner"] {
    background:#F18818;
}

body[data-page="Nos-Valeurs"] header nav {
    background:#F18818;
    border-top-color:rgba(255, 255, 255, 0.3);
}

body[data-page="Nos-Valeurs"] header nav a {
    color:#ffffff;
}

body[data-page="Nos-Valeurs"] header nav a:hover,
body[data-page="Nos-Valeurs"] header nav a:focus {
    color:#000000;
    background-color:rgba(255, 255, 255, 0.1);
}

body[data-page="Nos-Valeurs"] header nav a[aria-current="page"] {
    background-color:rgba(255, 255, 255, 0.2);
    font-weight:bold;
}

/* Header noir uniquement pour les pages Équipe */
body[data-page="Equipe"] header[role="banner"],
body[data-page="Equipe-Profils"] header[role="banner"] {
    background:#000000;
}

body[data-page="Equipe"] header nav,
body[data-page="Equipe-Profils"] header nav {
    background:#000000;
    border-top-color:rgba(255, 255, 255, 0.2);
}

body[data-page="Equipe"] header nav a,
body[data-page="Equipe-Profils"] header nav a {
    color:#ffffff;
}

body[data-page="Equipe"] header nav a:hover,
body[data-page="Equipe-Profils"] header nav a:hover,
body[data-page="Equipe"] header nav a:focus,
body[data-page="Equipe-Profils"] header nav a:focus {
    color:#000000;
    background-color:rgba(0, 0, 0, 0.05);
}

body[data-page="Equipe"] header nav a[aria-current="page"],
body[data-page="Equipe-Profils"] header nav a[aria-current="page"] {
    background-color:rgba(0, 0, 0, 0.1);
    font-weight:bold;
}

/* Header rouge pour la page Accueil */
body[data-page="Accueil"] header nav {
    background:#B63737;
    border-top-color:rgba(255, 255, 255, 0.3);
}

body[data-page="Accueil"] header nav a {
    color:#ffffff;
}

body[data-page="Accueil"] header nav a:hover,
body[data-page="Accueil"] header nav a:focus {
    background-color:rgba(255, 255, 255, 0.1);
}

body[data-page="Accueil"] header nav a[aria-current="page"] {
    background-color:rgba(255, 255, 255, 0.2);
    font-weight:bold;
}

/* Header rouge pour la page Contact */
body[data-page="Contact"] header nav {
    background:#B63737;
    border-top-color:rgba(255, 255, 255, 0.3);
}

body[data-page="Contact"] header nav a {
    color:#ffffff;
}

body[data-page="Contact"] header nav a:hover,
body[data-page="Contact"] header nav a:focus {
    background-color:rgba(255, 255, 255, 0.1);
}

body[data-page="Contact"] header nav a[aria-current="page"] {
    background-color:rgba(255, 255, 255, 0.2);
    font-weight:bold;
}

/* Main Accueil - Design moderne avec fond blanc */
body[data-page="Accueil"] main {
    background:#ffffff !important;
    color:#1a1a1a !important;
    padding:3rem 1.5rem;
    min-height:100vh;
}

/* Header marron pour la page Événements */
body[data-page="Evenements"] header[role="banner"] {
    background:linear-gradient(135deg, #ffffff 0%, #fdfbf8 50%, #f5e6d8 100%);
    box-shadow:0 4px 20px rgba(173, 129, 99, 0.15);
}

body[data-page="Evenements"] header nav {
    background:linear-gradient(90deg, #AD8163 0%, #C7A48C 50%, #ffffff 100%);
    border-top:2px solid rgba(173, 129, 99, 0.3);
}

body[data-page="Evenements"] header nav a {
    color:#ffffff;
    transition:all 0.3s ease;
}

body[data-page="Evenements"] header nav a:hover,
body[data-page="Evenements"] header nav a:focus {
    color:#000000;
    background-color:rgba(255, 255, 255, 0.4);
    transform:translateY(-2px);
}

body[data-page="Evenements"] header nav a[aria-current="page"] {
    background-color:rgba(255, 255, 255, 0.5);
    font-weight:bold;
    border-bottom:3px solid #ffffff;
    color:#000000;
}

body[data-page="Equipe"] h2 {
    color:#000000;
}

body[data-page="Equipe-Profils"] h2 {
    color:#ffffff;
}

/* Pages membres - fond noir */
body[data-page="Equipe-Profils"] {
    background-color:#000000;
}

body[data-page="Equipe-Profils"] main {
    background:linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    color:#ffffff;
    padding:3rem 1.5rem;
}

body[data-page="Equipe-Profils"] #profil-membre {
    max-width:1000px;
    margin:0 auto;
    background:transparent;
    animation:fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity:0;
        transform:translateY(30px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

body[data-page="Equipe"] #presentation-equipe {
    max-width:1100px;
    margin:0 auto 4rem;
    padding:4rem 3rem;
    text-align:center;
    background:linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius:20px;
    box-shadow:0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position:relative;
    overflow:hidden;
    transform:translateY(0);
    transition:transform 0.4s ease, box-shadow 0.4s ease;
}

body[data-page="Equipe"] #presentation-equipe:hover {
    transform:translateY(-5px);
    box-shadow:0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

body[data-page="Equipe"] #presentation-equipe::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(90deg, #6a6a6a 0%, #000000 25%, #6a6a6a 50%, #000000 75%, #6a6a6a 100%);
    background-size:200% 100%;
    animation:gradientSlide 3s ease infinite;
}

@keyframes gradientSlide {
    0%, 100% { background-position:0% 0%; }
    50% { background-position:100% 0%; }
}

body[data-page="Equipe"] #presentation-equipe h2 {
    color:#ffffff;
    font-size:3rem;
    font-weight:800;
    margin-bottom:1.5rem;
    text-shadow:2px 2px 8px rgba(0,0,0,0.5), 0 0 20px rgba(100, 100, 100, 0.3);
    letter-spacing:-0.5px;
}

body[data-page="Equipe"] #presentation-equipe p {
    color:#f0f0f0;
    font-size:1.2rem;
    line-height:1.9;
    max-width:800px;
    margin:0 auto;

/* ==========================
   ACCUEIL — Styles pour sections sur fond noir
   ========================== */
/* Target both when body[data-page] exists and as a fallback for plain pages */
body[data-page="Accueil"] main > section,
main > section#presentation,
main > section#galerie,
main > section#temoignages {
    padding:var(--spacing-xl) var(--spacing-md);
    color:var(--color-text);
    background:transparent;
    border-bottom:1px solid rgba(0,0,0,0.06);
}

/* Headings with a vivid accent bar */
body[data-page="Accueil"] main > section h2,
main > section h2 {
    color:var(--color-primary);
    font-family:var(--font-primary);
    font-weight:700;
    display:inline-block;
    padding-left:0.75rem;
    margin-bottom:1rem;
    position:relative;
}

/* Trait rouge supprimé */

/* Galerie thumbnails — subtle card look on white */
main > section#galerie .galerie-grid figure {
    background:rgba(0,0,0,0.03);
    border-radius:6px;
    overflow:hidden;
    padding:0.25rem;
}

.btn-galerie {
    display:inline-block;
    background:var(--color-menu-red);
    color:var(--color-white);
    padding:0.75rem 1.25rem;
    border-radius:6px;
    box-shadow:0 6px 18px rgba(182,55,55,0.08);
}

/* Témoignages — subtle card on white */
.temoignages-grid .temoignage-card {
    background:var(--color-white);
    color:var(--color-text);
    padding:1rem;
    border-radius:6px;
}

/* Ensure any small text inside preserved white cards stays readable */
main[role="main"] .valeur-card,
main[role="main"] .producteur-card,
main[role="main"] .temoignage-card {
    color:inherit;
}
}

body[data-page="Equipe"] #membres-equipe article,
body[data-page="Equipe-Profils"] .profil-content {
    background:linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border:2px solid rgba(0, 0, 0, 0.15);
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow:hidden;
    position:relative;
}

body[data-page="Equipe"] #membres-equipe article::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg, #000000, #555555, #000000);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
}

body[data-page="Equipe"] #membres-equipe article:hover::before {
    opacity:1;
}

body[data-page="Equipe"] #membres-equipe article:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(0, 0, 0, 0.25);
    border-color:rgba(0, 0, 0, 0.4);
}

body[data-page="Equipe"] #membres-equipe article h4 {
    color:#000000;
    font-size:1.8rem;
    font-weight:800;
    margin:1.5rem 0 0.5rem;
    transition:color 0.3s ease;
}

body[data-page="Equipe"] #membres-equipe article:hover h4 {
    color:#000000;
}

body[data-page="Equipe"] #membres-equipe article h5 {
    color:#555;
    font-size:1.2rem;
    font-weight:600;
    margin-bottom:1rem;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:0.95rem;
}

body[data-page="Equipe"] #membres-equipe h3 {
    color:#000000;
    border-bottom:none;
    font-size:2.2rem;
    font-weight:800;
    margin-bottom:2rem;
    position:relative;
    padding-bottom:1.5rem;
}

body[data-page="Equipe"] #membres-equipe h3::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:80px;
    height:5px;
    background:linear-gradient(90deg, #000000, #555555);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(0, 0, 0, 0.4);
}

body[data-page="Equipe"] #membres-equipe article img,
body[data-page="Equipe-Profils"] .profil-header img {
    border:4px solid rgba(150, 150, 150, 0.5);
    border-radius:50%;
    box-shadow:0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(0, 0, 0, 0.08);
    transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio:1 / 1;
    object-fit:cover;
    width:200px;
    height:200px;
}

body[data-page="Equipe"] #membres-equipe article:hover img {
    transform:scale(1.08) rotate(-3deg);
    box-shadow:0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 8px rgba(0, 0, 0, 0.2);
    border-color:#000000;
}

body[data-page="Equipe"] #membres-equipe article a,
body[data-page="Equipe-Profils"] .back-to-top {
    background:linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color:#ffffff;
    border:2px solid transparent;
    padding:1rem 2.5rem;
    border-radius:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:0.95rem;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display:inline-block;
    text-decoration:none;
    box-shadow:0 6px 20px rgba(0, 0, 0, 0.4);
    position:relative;
    overflow:hidden;
}

body[data-page="Equipe"] #membres-equipe article a::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition:left 0.5s ease;
}

body[data-page="Equipe"] #membres-equipe article a:hover::before {
    left:100%;
}

body[data-page="Equipe"] #membres-equipe article a:hover,
body[data-page="Equipe-Profils"] .back-to-top:hover {
    background:linear-gradient(135deg, #2d2d2d 0%, #444444 100%);
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 12px 35px rgba(0, 0, 0, 0.6);
    border-color:#000000;
}

body[data-page="Equipe"] #valeurs-communes {
    background:linear-gradient(135deg, rgba(230, 230, 230, 0.15) 0%, rgba(200, 200, 200, 0.25) 100%);
    border-left:6px solid #555555;
    border-radius:20px;
    padding:3.5rem;
    box-shadow:0 8px 30px rgba(100, 100, 100, 0.2), inset 0 0 0 1px rgba(150, 150, 150, 0.3);
    position:relative;
    overflow:hidden;
    transition:all 0.4s ease;
}

body[data-page="Equipe"] #valeurs-communes:hover {
    transform:translateX(5px);
    box-shadow:0 12px 40px rgba(100, 100, 100, 0.3), inset 0 0 0 1px rgba(150, 150, 150, 0.4);
}

body[data-page="Equipe"] #valeurs-communes::before {
    content:'';
    position:absolute;
    top:-50%;
    right:-20%;
    width:300px;
    height:300px;
    background:radial-gradient(circle, rgba(150, 150, 150, 0.2) 0%, transparent 70%);
    border-radius:50%;
}

body[data-page="Equipe"] #valeurs-communes h3 {
    color:#000000;
    font-size:2.2rem;
    font-weight:800;
    margin-bottom:1.5rem;
    text-shadow:1px 1px 2px rgba(100, 100, 100, 0.3);
}

body[data-page="Equipe"] #valeurs-communes blockquote p {
    color:#222;
    font-size:1.15rem;
    line-height:1.9;
    font-style:italic;
}

body[data-page="Equipe"] #recrutement {
    background:linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    border:2px solid rgba(255, 255, 255, 0.1);
    border-radius:20px;
    color:white;
    padding:4rem;
    box-shadow:0 15px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position:relative;
    overflow:hidden;
    transition:all 0.4s ease;
}

body[data-page="Equipe"] #recrutement:hover {
    transform:translateY(-5px) scale(1.01);
    box-shadow:0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.15);
}

body[data-page="Equipe"] #recrutement::before {
    content:'';
    position:absolute;
    top:-50%;
    left:-20%;
    width:400px;
    height:400px;
    background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    border-radius:50%;
}

body[data-page="Equipe"] #recrutement h3 {
    color:#ffffff;
    font-size:2.5rem;
    font-weight:800;
    margin-bottom:1.5rem;
    text-shadow:2px 2px 8px rgba(0, 0, 0, 0.3);
    position:relative;
    z-index:2;
}

body[data-page="Equipe"] #recrutement p {
    color:#f5f5f5;
    font-size:1.15rem;
    line-height:1.9;
    position:relative;
    z-index:2;
}

body[data-page="Equipe"] #recrutement a {
    background:#ffffff;
    color:#000000;
    padding:1.2rem 3rem;
    border-radius:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
    display:inline-block;
    margin-top:2rem;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration:none;
    box-shadow:0 6px 25px rgba(0, 0, 0, 0.3);
    position:relative;
    z-index:2;
    overflow:hidden;
}

body[data-page="Equipe"] #recrutement a::before {
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    background:rgba(0, 0, 0, 0.1);
    border-radius:50%;
    transform:translate(-50%, -50%);
    transition:width 0.6s ease, height 0.6s ease;
}

body[data-page="Equipe"] #recrutement a:hover::before {
    width:300px;
    height:300px;
}

body[data-page="Equipe"] #recrutement a:hover {
    background:#cccccc;
    color:#000000;
    transform:translateY(-5px) scale(1.05);
    box-shadow:0 10px 35px rgba(0, 0, 0, 0.5);
}

body[data-page="Equipe"] .profil-nav a,
body[data-page="Equipe-Profils"] .profil-nav a {
    border:2px solid #555555;
    color:#000000;
}

body[data-page="Equipe"] .profil-nav a:hover,
body[data-page="Equipe-Profils"] .profil-nav a:hover {
    background-color:#000000;
    border-color:#000000;
    color:var(--color-white);
}

/* Page Equipe-Profils spécifique */
body[data-page="Equipe-Profils"] .profil-header h2 {
    color:#000000;
}

body[data-page="Equipe-Profils"] .profil-header h3 {
    color:#555555;
}

body[data-page="Equipe-Profils"] .profil-content h3 {
    color:#000000;
    padding-bottom:0.5rem;
}

/* --- PAGE MENU (dominante rouge bordeaux) --- */
body[data-page="menu"] h2 {
    color:#B63737;
    border-bottom-color:var(--color-secondary-beige);
}

/* (Removed empty ruleset for body[data-page="menu"] section) */

body[data-page="menu"] .menu-category {
    background:transparent;
}

body[data-page="menu"] .plat-item:hover {
    background-color:rgba(182, 55, 55, 0.05);
    
    padding-left:1rem;
}

body[data-page="menu"] .prix {
    color:#B63737;
    font-weight:bold;
}

body[data-page="menu"] button,
body[data-page="menu"] .btn-primary {
    background:#B63737;
    color:var(--color-white);
    border:none;
    padding:var(--spacing-sm) var(--spacing-md);
    border-radius:var(--border-radius);
    cursor:pointer;
    transition:var(--transition);
}

body[data-page="menu"] button:hover,
body[data-page="menu"] .btn-primary:hover {
    background:#B63737;
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(182, 55, 55, 0.4);
}

/* ============================================
   APPLICATION DES COULEURS PRINCIPALES PAR PAGE
   Applique la couleur principale à toutes les sections du main
   ============================================ */

/* PAGE MENU - Rouge #B63737 (Version moderne) */
body[data-page="Menu"] main section h2,
body[data-page="Menu"] main section h3 {
    color:#B63737;
}

body[data-page="Menu"] main section {
    border-color:#B63737;
}

body[data-page="Menu"] main .btn,
body[data-page="Menu"] main button {
    background:linear-gradient(135deg, #B63737 0%, #d94848 100%);
    border-color:#B63737;
    color:#ffffff;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-page="Menu"] main .btn:hover,
body[data-page="Menu"] main button:hover {
    background:linear-gradient(135deg, #ffffff, #fee5e5);
    color:#B63737;
    border-color:#B63737;
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 8px 25px rgba(182, 55, 55, 0.4);
}

body[data-page="Menu"] main a {
    color:#B63737;
    transition:all 0.3s ease;
}

body[data-page="Menu"] main a:hover {
    color:#d94848;
}

body[data-page="Menu"] main .icon,
body[data-page="Menu"] main .valeur-icon {
    background:linear-gradient(135deg, #B63737, #d94848);
}

/* PAGE ÉVÉNEMENTS - Thème marron #AD8163 */
body[data-page="Evenements"] main[role="main"] {
    background:linear-gradient(135deg, #fdfbf8 0%, #f5e6d8 30%, #AD8163 70%, #C7A48C 100%) !important;
    color:#1a1a1a !important;
    padding:3rem 1.5rem;
    position:relative;
    overflow:hidden;
}

body[data-page="Evenements"] main[role="main"]::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(90deg, #AD8163 0%, #ffffff 25%, #AD8163 50%, #ffffff 75%, #AD8163 100%);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
}

@keyframes gradientSlide {
    0%, 100% { background-position:0% 0%; }
    50% { background-position:100% 0%; }
}

body[data-page="Evenements"] main section {
    background:transparent;
    border:none;
}

body[data-page="Evenements"] main section h2,
body[data-page="Evenements"] main section h3 {
    color:#000000;
    text-shadow:1px 1px 3px rgba(173, 129, 99, 0.2);
}

body[data-page="Evenements"] main p,
body[data-page="Evenements"] main li {
    color:#1a1a1a;
}

body[data-page="Evenements"] main .btn,
body[data-page="Evenements"] main button {
    background:linear-gradient(135deg, #ffffff 0%, #fdfbf8 100%);
    border:2px solid #AD8163;
    color:#1a1a1a;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-page="Evenements"] main .btn:hover,
body[data-page="Evenements"] main button:hover {
    background:linear-gradient(135deg, #AD8163 0%, #C7A48C 100%);
    border-color:#ffffff;
    color:#ffffff;
    transform:translateY(-3px);
    box-shadow:0 8px 25px rgba(173, 129, 99, 0.4);
}

body[data-page="Evenements"] main a {
    color:#8B6F4F;
    transition:color 0.3s ease;
}

body[data-page="Evenements"] main a:hover {
    color:#AD8163;
}

body[data-page="Evenements"] main .icon,
body[data-page="Evenements"] main .valeur-icon {
    background:linear-gradient(135deg, #AD8163 0%, #C7A48C 100%);
    border:2px solid rgba(255, 255, 255, 0.5);
}

/* PAGE ÉQUIPE - Noir #000000 */
body[data-page="Equipe"] main section h2,
body[data-page="Equipe"] main section h3,
body[data-page="Equipe-Profils"] main section h2,
body[data-page="Equipe-Profils"] main section h3 {
    color:#000000;
}

body[data-page="Equipe"] main section,
body[data-page="Equipe-Profils"] main section {
    border-color:#000000;
}

body[data-page="Equipe"] main .btn,
body[data-page="Equipe"] main button,
body[data-page="Equipe-Profils"] main .btn,
body[data-page="Equipe-Profils"] main button {
    background-color:#000000;
    border-color:#000000;
}

body[data-page="Equipe"] main .btn:hover,
body[data-page="Equipe"] main button:hover,
body[data-page="Equipe-Profils"] main .btn:hover,
body[data-page="Equipe-Profils"] main button:hover {
    background-color:#333333;
}

body[data-page="Equipe"] main a,
body[data-page="Equipe-Profils"] main a {
    color:#ffff;
}

body[data-page="Equipe"] main .icon,
body[data-page="Equipe"] main .valeur-icon,
body[data-page="Equipe-Profils"] main .icon,
body[data-page="Equipe-Profils"] main .valeur-icon {
    background-color:#000000;
}

/* --- PAGE ACCUEIL - Utilise maintenant le système header standard --- */

@media (max-width:1024px) {
    /* Afficher le bouton hamburger */
    .menu-toggle {
        display:flex !important;
        position:fixed;
        top:20px;
        right:20px;
        z-index:1001;
        background:rgba(182, 55, 55, 0.95);
        padding:12px;
        border-radius:8px;
        box-shadow:0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Menu mobile */
    header nav {
        position:fixed;
        top:0;
        right:-350px;
        width:320px;
        height:100vh;
        background:#B63737;
        padding:130px 30px 30px;
        transition:right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index:1000;
        overflow-y:auto;
        box-shadow:-5px 0 25px rgba(0, 0, 0, 0.3);
    }
    
    header nav.active {
        right:0;
    }
    
    header nav a {
        display:block;
        background:rgba(255, 255, 255, 0.2);
        border:none;
        border-radius:12px;
        margin:10px 0;
        padding:18px 20px;
        color:white;
        font-weight:500;
        text-align:center;
        font-size:1.15rem;
        transition:all 0.3s ease;
    }
    
    header nav a:hover,
    header nav a:focus {
        background:rgba(255, 255, 255, 0.3);
        padding-left:20px;
        transform:scale(1.02);
        color:#000000;
    }
    
    header nav a[aria-current="page"] {
        background:rgba(255, 255, 255, 0.35);
        
        padding-left:20px;
    }
    
    /* Overlay sombre */
    .menu-overlay {
        opacity:1;
    }
    
    .menu-overlay.active {
        opacity:1;
    }
    
    /* Empêcher le scroll quand le menu est ouvert */
    body.menu-open {
        overflow:hidden;
    }

    
    body[data-page="Equipe"] .menu-toggle,
body[data-page="Equipe-Profils"] .menu-toggle {
        background:transparent;
    }
    
    body[data-page="Equipe"] header nav,
body[data-page="Equipe-Profils"] header nav {
        background:#000000;
    }
}

/* ============================================
   HEADERS PERSONNALISÉS AVEC IMAGES
   ============================================ */

/* Header avec image - Structure générale */
header[role="banner"].header-with-image {
    padding:0;
    margin:0;
    background:none;
}

/* Wrapper contenant l'image et le contenu superposé */
header[role="banner"].header-with-image .header-image-wrapper {
    position:relative;
    width:100vw;
    left:50%;
    right:50%;
    margin-left:-50vw;
    margin-right:-50vw;
    height:400px;
    overflow:hidden;
    max-width:100vw;
}

header[role="banner"].header-with-image .header-image-wrapper::after {
    content:'';
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    background:linear-gradient(180deg,rgba(0,0,0,0.32) 0%,rgba(0,0,0,0.18) 100%);
    z-index:1;
    pointer-events:none;
}

/* Image du header en picture element */
header[role="banner"].header-with-image .header-image-wrapper picture {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:0;
}

header[role="banner"].header-with-image .header-image-wrapper picture img {
    width:100vw;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    min-width:100vw;
    max-width:100vw;
}

/* Contenu du header (logo, titre, sous-titre) superposé sur l'image */
header[role="banner"].header-with-image .header-image-wrapper .header-content {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    padding:2rem 1.5rem;
    text-align:center;
    background:none;
    pointer-events:none;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

header[role="banner"].header-with-image .header-content a {
    display:inline-block;
    pointer-events:auto;
}

header[role="banner"].header-with-image .header-content img {
    margin:0 auto 1rem;
    max-width:180px;
    height:auto;
    filter:drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.8));
}

header[role="banner"].header-with-image h1 {
    font-size:2.5rem;
    margin-bottom:0.5rem;
    font-weight:700;
    text-shadow:3px 3px 8px rgba(0, 0, 0, 0.95), 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    color:white;
    letter-spacing:1px;
}

header[role="banner"].header-with-image p {
    font-size:1.2rem;
    margin-bottom:1rem;
    text-shadow:2px 2px 6px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
    color:rgba(255, 255, 255, 0.95);
}

/* Navigation sur l'image - Desktop */
@media (min-width:1025px) {
    header[role="banner"].header-with-image nav {
        border-top:none;
        padding:1.5rem 1rem;
        margin:0;
        width:100%;
        position:relative;
        z-index:3;
    }
    
    /* Navigation marron pour la page Événements */
    body[data-page="Evenements"] header[role="banner"].header-with-image nav {
        background:#AD8163;
    }
    
    /* Navigation orange pour la page Nos Valeurs */
    body[data-page="Nos-Valeurs"] header[role="banner"].header-with-image nav {
        background:#F18818;
    }
    
    /* Navigation noire pour la page Équipe */
    body[data-page="Equipe"] header[role="banner"].header-with-image nav,
body[data-page="Equipe-Profils"] header[role="banner"].header-with-image nav {
        background:#000000;
    }

    header[role="banner"].header-with-image nav a {
        color:white;
        font-weight:600;
        font-size:1.1rem;
        transition:all 0.3s ease;
        margin:0 1rem;
    }

    header[role="banner"].header-with-image nav a:hover {
        color:#000;
        transform:translateY(-2px);
    }

    /* Hover marron uniquement pour la page Equipe */
    body[data-page="Equipe"] header[role="banner"].header-with-image nav a:hover,
    body[data-page="Equipe-Profils"] header[role="banner"].header-with-image nav a:hover {
        color:#AD8163;
    }

    header[role="banner"].header-with-image nav a[aria-current="page"] {
        border-bottom:none;
        background:none;
        box-shadow:none;
    }
}

/* Header simple (sans image) - Equipe, Mentions légales, etc. */
header[role="banner"].header-simple {
    background-color:var(--color-primary);
    color:var(--color-white);
    text-align:center;
    padding:2rem 1rem;
    position:relative;
}

header[role="banner"].header-simple .header-content {
    padding:0;
}

header[role="banner"].header-simple .header-content img {
    margin:0 auto 1rem;
    max-width:180px;
}

header[role="banner"].header-simple h1 {
    font-size:2.5rem;
    font-weight:600;
    margin-bottom:0.5rem;
    letter-spacing:1px;
    color:white;
}

header[role="banner"].header-simple p {
    font-size:1.15rem;
    color:rgba(255, 255, 255, 0.9);
    margin-bottom:1.5rem;
}

header[role="banner"].header-simple nav {
    border-top:1px solid rgba(255, 255, 255, 0.3);
    padding-top:1rem;
    margin-top:1rem;
}

/* ============================================
   RESPONSIVE - HEADERS AVEC/SANS IMAGES
   ============================================ */

@media (max-width:1024px) {
    /* Header avec image - Tablette/Mobile */
    header[role="banner"].header-with-image .header-image-wrapper {
        height:260px;
        width:100vw;
        left:50%;
        right:50%;
        margin-left:-50vw;
        margin-right:-50vw;
        max-width:100vw;
    }
    header[role="banner"].header-with-image .header-image-wrapper picture img {
        width:100vw;
        min-width:100vw;
        max-width:100vw;
        height:100%;
        object-fit:cover;
        object-position:center center;
    }
    header[role="banner"].header-with-image .header-image-wrapper .header-content {
        padding:1.8rem 1.2rem;
    }
    header[role="banner"].header-with-image .header-content img {
        max-width:140px;
        margin-bottom:0.8rem;
    }
    header[role="banner"].header-with-image h1 {
        font-size:1.9rem;
        margin-bottom:0.5rem;
    }
    header[role="banner"].header-with-image p {
        font-size:1rem;
        margin-bottom:1rem;
    }
    
    /* Header simple - Tablette/Mobile */
    header[role="banner"].header-simple {
        padding:1.5rem 1rem;
    }
    
    header[role="banner"].header-simple h1 {
        font-size:1.9rem;
    }
    
    header[role="banner"].header-simple p {
        font-size:1rem;
    }
    
    header[role="banner"].header-simple .header-content img {
        max-width:150px;
    }
}


/* MOBILE PETIT (320px - 480px) */
@media (max-width:480px) {
    body[data-page="Accueil"] main::before {
        height:200px;
    }
    
    .section-header-elegant {
        margin-bottom:3rem;
    }
    
    .section-label {
        font-size:0.75rem;
        letter-spacing:1.5px;
    }
    
    .separator-elegant {
        width:50px;
        margin:1rem auto;
    }
    
    body[data-page="Accueil"] #presentation {
        padding:2.5rem 1.25rem;
        margin:0 0.25rem 2.5rem;
        border-radius:8px;
    }
    
    body[data-page="Accueil"] #presentation h2 {
        font-size:1.75rem;
        margin-bottom:1.5rem;
    }
    
    .presentation-label {
        font-size:0.75rem;
        letter-spacing:1.5px;
    }
    
    .presentation-intro {
        font-size:1rem;
        line-height:1.7;
        margin:1.25rem auto;
    }
    
    .presentation-description {
        font-size:0.9rem;
        line-height:1.6;
    }
    
    .presentation-values {
        gap:1.25rem;
        padding-top:1.5rem;
        margin-top:1.5rem;
    }
    
    .value-item {
        gap:0.75rem;
    }
    
    .value-icon {
        font-size:1.75rem;
    }
    
    .value-text {
        font-size:0.85rem;
    }
    
    body[data-page="Accueil"] #galerie {
        padding:2.5rem 0.75rem;
        margin-bottom:2.5rem;
    }
    
    body[data-page="Accueil"] #galerie h2 {
        font-size:1.75rem;
    }
    
    body[data-page="Accueil"] .galerie-grid {
        gap:1.25rem;
    }
    
    body[data-page="Accueil"] .galerie-grid figure {
        border-radius:8px;
    }
    
    body[data-page="Accueil"] .galerie-grid figure img {
        height:200px;
    }
    
    body[data-page="Accueil"] .galerie-grid figcaption {
        font-size:1rem;
        padding:1.25rem;
    }
    
    body[data-page="Accueil"] #temoignages {
        padding:2.5rem 0.75rem;
        margin-bottom:2.5rem;
    }
    
    body[data-page="Accueil"] #temoignages h2 {
        font-size:1.75rem;
    }
    
    body[data-page="Accueil"] .temoignages-grid {
        gap:1.5rem;
        padding:0 0.5rem;
    }
    
    body[data-page="Accueil"] .temoignage-card {
        padding:1.75rem 1.25rem;
        border-radius:12px;
    }
    
    body[data-page="Accueil"] .temoignage-card::before {
        font-size:4rem;
        top:-5px;
        left:20px;
    }
    
    .temoignage-stars {
        font-size:1.1rem;
        margin-bottom:1.25rem;
    }
    
    body[data-page="Accueil"] .temoignage-card blockquote {
        font-size:0.95rem;
        line-height:1.7;
        margin-bottom:1.25rem;
    }
    
    .temoignage-author {
        padding-top:1.25rem;
    }
    
    .temoignage-author .name {
        font-size:1rem;
    }
    
    .temoignage-author .title {
        font-size:0.85rem;
    }
    
    body[data-page="Accueil"] .cta-section {
        padding:2.5rem 1rem;
    }
    
    body[data-page="Accueil"] .cta-button {
        padding:0.875rem 2rem;
        font-size:0.95rem;
        border-radius:40px;
    }
}

body[data-page="Accueil"] .galerie-grid figure:hover {
    transform:translateY(-8px);
    box-shadow:0 15px 50px rgba(0, 0, 0, 0.12);
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(1)::before {
    background:#B63737;
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(1) figcaption {
    color:#B63737;
    font-size:1.2rem;
    font-weight:600;
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(2)::before {
    background:linear-gradient(90deg, #000000 0%, #2a2a2a 100%);
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(2) figcaption {
    color:#000000;
    font-size:1.2rem;
    font-weight:600;
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(3)::before {
    background:transparent;
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(3) figcaption {
    color:#000000;
    font-size:1.2rem;
    font-weight:600;
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(4)::before {
    background:linear-gradient(90deg, #D97933 0%, #f59850 100%);
}

body[data-page="Accueil"] .galerie-grid figure:nth-child(4) figcaption {
    color:#D97933;
    font-size:1.2rem;
    font-weight:600;
}

/* Section Témoignages */
body[data-page="Accueil"] #temoignages {
    padding:4rem 2rem;
    max-width:1400px;
    margin:3rem auto;
    background:linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(254,229,229,0.9) 100%);
    backdrop-filter:blur(10px);
    border-radius:20px;
    box-shadow:0 15px 50px rgba(182, 55, 55, 0.2);
    border:1px solid rgba(182, 55, 55, 0.2);
}

body[data-page="Accueil"] #temoignages h2 {
    color:#000000;
    text-align:center;
    font-size:2.5rem;
    font-weight:800;
    margin-bottom:3rem;
    position:relative;
    display:inline-block;
    width:100%;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Accueil"] #temoignages h2::after {
    content:'';
    position:absolute;
    bottom:-10px;
    left:50%;
    transform:translateX(-50%);
    width:120px;
    height:4px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:2px;
}

body[data-page="Accueil"] .temoignages-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2.5rem;
    margin-top:3rem;
}

/* Ancienne section temoignages (fallback) */
body[data-page="Accueil"] #temoignages_old {
    padding:2.5rem 1.5rem;
    margin:2rem 0;
    position:relative;
    overflow:hidden;
}

body[data-page="Accueil"] #temoignages h2 {
    color:#000;
    text-align:center;
    margin-bottom:3rem;
    font-size:2.8rem;
    font-weight:700;
    position:relative;
    padding-bottom:1rem;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
}

body[data-page="Accueil"] #temoignages h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:4px;
    background:#B63737;
    border-radius:2px;
}

body[data-page="Accueil"] .temoignages-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2.5rem;
    max-width:1200px;
    margin:0 auto;
    position:relative;
    z-index:1;
}

body[data-page="Accueil"] .temoignage-card {
    background:linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,250,250,0.95) 100%);
    backdrop-filter:blur(15px);
    padding:2.5rem;
    border-radius:16px;
    box-shadow:0 10px 40px rgba(0, 0, 0, 0.15);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position:relative;
    overflow:hidden;
    border:2px solid rgba(182, 55, 55, 0.2);
}

body[data-page="Accueil"] .temoignage-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:6px;
    height:100%;
    opacity:0;
    transition:opacity 0.4s ease;
}

body[data-page="Accueil"] .temoignage-card:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 70px rgba(0, 0, 0, 0.3);
    border-color:rgba(182, 55, 55, 0.4);
}

body[data-page="Accueil"] .temoignage-card:hover::before {
    opacity:1;
}

body[data-page="Accueil"] .temoignage-card:nth-child(1)::before {
    background:linear-gradient(180deg, #B63737 0%, #d94848 100%);
}

body[data-page="Accueil"] .temoignage-card:nth-child(2)::before {
    background:linear-gradient(180deg, #000000 0%, #2d2d2d 100%);
}

body[data-page="Accueil"] .temoignage-card:nth-child(3)::before {
    background:linear-gradient(180deg, #B63737 0%, #000000 100%);
}

body[data-page="Accueil"] .temoignage-card blockquote {
    margin:0;
    position:relative;
}

body[data-page="Accueil"] .temoignage-card blockquote::before {
    content:'"';
    font-size:4.5rem;
    color:rgba(182, 55, 55, 0.15);
    position:absolute;
    top:-25px;
    left:-15px;
    font-family:Georgia, serif;
    font-weight:700;
}

body[data-page="Accueil"] .temoignage-card blockquote p {
    color:#4a4a4a;
    font-style:italic;
    font-size:1.15rem;
    line-height:1.9;
    font-weight:500;
    position:relative;
    z-index:1;
}

body[data-page="Accueil"] .temoignage-stars {
    color:#B63737;
    font-size:1.3rem;
    margin-bottom:1rem;
    letter-spacing:2px;
}

/* ============================================
   STYLES SPÉCIFIQUES PAGE GALERIE PHOTOS
   ============================================ */

/* Bouton voir plus sur page d'accueil */
.btn-galerie {
    display:inline-block;
    padding:18px 45px;
    background:linear-gradient(135deg, #B63737 0%, #d94848 100%);
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    font-family:'BeaufortBold', sans-serif;
    font-size:16px;
    font-weight:700;
    letter-spacing:1.5px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(182, 55, 55, 0.4);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position:relative;
    overflow:hidden;
}

.btn-galerie::before {
    content:'';
    position:absolute;
    top:50%;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform:translateY(-50%);
    transition:left 0.6s ease;
}

.btn-galerie:hover {
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 12px 35px rgba(182, 55, 55, 0.5);
    background:linear-gradient(135deg, #ffffff, #fee5e5);
    color:#B63737;
}

.btn-galerie:hover::before {
    left:100%;
}
/* ============================================
   STYLES SP CIFIQUES PAGE  V NEMENTS
   ============================================ */

/* Header de la page événements */
#evenements-header {
    text-align:center;
    padding:60px 20px;
    background:transparent;
    color:#fff;
    margin-bottom:40px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0, 0, 0, 0.15);
}

#evenements-header h2 {
    font-size:clamp(2rem, 5vw, 3rem);
    font-weight:700;
    margin-bottom:1.5rem;
    color:#fff;
    border:none;
}

.evenements-intro {
    font-size:clamp(1rem, 2vw, 1.2rem);
    line-height:1.8;
    max-width:800px;
    margin:0 auto;
    color:rgba(255, 255, 255, 0.95);
}

#evenements-filtres { 
    margin-bottom:50px;
    padding:0 20px;
}

.filtres-container {
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
    padding:25px;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 230, 216, 0.8) 100%);
    border-radius:20px;
    box-shadow:0 10px 35px rgba(173, 129, 99, 0.2);
    max-width:900px;
    margin:0 auto;
    border:2px solid rgba(173, 129, 99, 0.3);
    backdrop-filter:blur(10px);
}

.filtre-btn {
    padding:14px 32px;
    background:linear-gradient(135deg, #ffffff 0%, #fdfbf8 100%);
    color:#1a1a1a;
    border:2px solid #AD8163;
    border-radius:50px;
    font-family:'BeaufortBold', sans-serif;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform:uppercase;
    letter-spacing:0.8px;
    box-shadow:0 4px 15px rgba(173, 129, 99, 0.2);
    position:relative;
    overflow:hidden;
}

.filtre-btn::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(173, 129, 99, 0.3), transparent);
    transition:left 0.5s ease;
}

.filtre-btn:hover::before {
    left:100%;
}

.filtre-btn:hover {
    border-color:#8B6F4F;
    color:#ffffff;
    transform:translateY(-4px);
    box-shadow:0 8px 25px rgba(173, 129, 99, 0.3);
    background:linear-gradient(135deg, #AD8163 0%, #C7A48C 100%);
}

.filtre-btn.active {
    background:linear-gradient(135deg, #AD8163 0%, #8B6F4F 100%);
    color:#ffffff;
    border-color:#8B6F4F;
    box-shadow:0 8px 30px rgba(173, 129, 99, 0.5);
    transform:translateY(-2px);
}

#evenements-liste {
    padding:0 20px 40px;
}

.evenements-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(min(100%, 380px), 1fr));
    gap:35px;
    max-width:1400px;
    margin:0 auto;
}

/* Styles pour les cartes d'événements */
.evenement-card {
    background:linear-gradient(145deg, #ffffff 0%, #fdfbf8 100%);
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(173, 129, 99, 0.15), 0 0 0 1px rgba(173, 129, 99, 0.1);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display:flex;
    flex-direction:column;
    height:100%;
    position:relative;
    border:2px solid rgba(173, 129, 99, 0.2);
}

.evenement-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg, #AD8163, #ffffff, #AD8163);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
}

.evenement-card:hover::before {
    opacity:1;
}

.evenement-card:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 20px 50px rgba(173, 129, 99, 0.25), 0 0 0 2px rgba(173, 129, 99, 0.3);
    border-color:#AD8163;
}

.evenement-card.passe { 
    opacity:0.7;
    filter:grayscale(0.3);
}

.evenement-card.passe:hover { 
    opacity:0.85;
    filter:grayscale(0.1);
}

.evenement-statut {
    position:absolute;
    top:20px;
    right:20px;
    background:linear-gradient(135deg, #AD8163 0%, #8B6F4F 100%);
    color:#ffffff;
    padding:12px 24px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    z-index:2;
    box-shadow:0 6px 20px rgba(173, 129, 99, 0.4);
    font-family:'BeaufortBold', sans-serif;
    border:2px solid rgba(0, 0, 0, 0.2);
}

.evenement-card.a-venir .evenement-statut {
    background:linear-gradient(135deg, #AD8163 0%, #8B6F4F 100%);
    animation:pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform:scale(1); }
    50% { transform:scale(1.05); }
}

.evenement-card.passe .evenement-statut {
    background:linear-gradient(135deg, #555 0%, #333 100%);
    box-shadow:0 4px 15px rgba(0, 0, 0, 0.3);
}

.evenement-card.complet .evenement-statut {
    background:linear-gradient(135deg, #888 0%, #666 100%);
}

.evenement-content {
    padding:32px 28px;
    display:flex;
    flex-direction:column;
    gap:18px;
    flex:1;
    background:transparent;
}

.evenement-content h3 {
    font-size:clamp(1.3rem, 3vw, 1.65rem);
    font-weight:800;
    color:#000000;
    font-family:'BeaufortBold', sans-serif;
    letter-spacing:0.3px;
    position:relative;
    padding-bottom:0.8rem;
}

.evenement-content h3::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:60px;
    height:4px;
    background:linear-gradient(90deg, #AD8163, #C7A48C);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(173, 129, 99, 0.3);
}

.evenement-info {
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:8px;
    padding:18px;
    background:linear-gradient(135deg, rgba(173, 129, 99, 0.08) 0%, rgba(0, 0, 0, 0.03) 100%);
    border-radius:12px;
    border-left:5px solid #AD8163;
    box-shadow:0 2px 10px rgba(0, 0, 0, 0.05);
}

.evenement-info p {
    margin:0;
    font-size:15px;
    color:#333;
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:500;
}

.evenement-date {
    color:#AD8163 !important;
    font-weight:800 !important;
    font-size:16px !important;
    text-shadow:0 1px 2px rgba(0, 0, 0, 0.1);
}

.evenement-horaire {
    color:#333 !important;
    font-weight:600 !important;
}

.evenement-prix {
    color:#AD8163 !important;
    font-weight:800 !important;
    font-size:18px !important;
    font-family:'BeaufortBold', sans-serif;
    text-shadow:0 1px 2px rgba(173, 129, 99, 0.2);
}

.evenement-description {
    color:#555;
    font-size:15.5px;
    line-height:1.75;
    margin:12px 0 0 0;
    flex:1;
    font-weight:400;
}

.places-disponibles {
    background:linear-gradient(135deg, #AD8163 0%, #8B6F4F 100%);
    color:#ffffff;
    padding:12px 24px;
    border-radius:25px;
    font-size:14px;
    font-weight:700;
    display:inline-block;
    margin-top:12px;
    box-shadow:0 6px 20px rgba(173, 129, 99, 0.4);
    letter-spacing:0.3px;
    font-family:'BeaufortMedium', sans-serif;
    border:2px solid rgba(0, 0, 0, 0.1);
    transition:all 0.3s ease;
}

.places-disponibles:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 25px rgba(173, 129, 99, 0.5);
}

.places-complet {
    background:linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color:#555;
    padding:12px 24px;
    border-radius:25px;
    font-size:14px;
    font-weight:700;
    display:inline-block;
    margin-top:12px;
    box-shadow:0 6px 20px rgba(0, 0, 0, 0.15);
    letter-spacing:0.3px;
    font-family:'BeaufortMedium', sans-serif;
    border:2px solid #AD8163;
}

#evenements-cta {
    text-align:center;
    padding:70px 30px;
    margin:70px 20px 40px;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 230, 216, 0.9) 100%);
    border-radius:20px;
    border:2px solid rgba(173, 129, 99, 0.4);
    box-shadow:0 15px 50px rgba(173, 129, 99, 0.2);
    backdrop-filter:blur(10px);
    position:relative;
    overflow:hidden;
}

#evenements-cta::before {
    content:'';
    position:absolute;
    top:-50%;
    right:-20%;
    width:400px;
    height:400px;
    background:radial-gradient(circle, rgba(173, 129, 99, 0.1) 0%, transparent 60%);
    border-radius:50%;
}

#evenements-cta h3 {
    font-size:clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom:18px;
    color:#1a1a1a;
    font-family:'BeaufortBold', sans-serif;
    letter-spacing:0.5px;
    text-shadow:1px 1px 3px rgba(173, 129, 99, 0.2);
    position:relative;
    z-index:2;
}

#evenements-cta p {
    font-size:clamp(1.05rem, 2vw, 1.2rem);
    color:#555;
    margin-bottom:32px;
    line-height:1.6;
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
    position:relative;
    z-index:2;
}

.btn-cta {
    display:inline-block;
    padding:18px 48px;
    background:linear-gradient(135deg, #AD8163 0%, #C7A48C 100%);
    color:#ffffff;
    text-decoration:none;
    text-transform:uppercase;
    font-family:'BeaufortBold', sans-serif;
    font-size:16px;
    font-weight:700;
    letter-spacing:1.2px;
    border-radius:50px;
    box-shadow:0 8px 25px rgba(173, 129, 99, 0.4);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:2px solid rgba(255, 255, 255, 0.3);
    position:relative;
    z-index:2;
    overflow:hidden;
}

.btn-cta::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition:left 0.5s ease;
}

.btn-cta:hover::before {
    left:100%;
}

.btn-cta:hover {
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 12px 35px rgba(173, 129, 99, 0.6);
    background:linear-gradient(135deg, #ffffff 0%, #fdfbf8 100%);
    border-color:#AD8163;
    color:#AD8163;
}

/* === RESPONSIVE ÉVÉNEMENTS === */
@media (min-width:1025px) {
    .evenements-grid {
        grid-template-columns:repeat(3, 1fr);
        gap:2.5rem;
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .evenements-grid {
        grid-template-columns:repeat(2, 1fr);
        gap:2rem;
    }
    
    #evenements-cta {
        padding:50px 25px;
        margin:50px 15px 30px;
    }
}


@media (max-width:480px) {
    .evenement-content h3 {
        font-size:1.25rem;
    }
    
    .evenement-info {
        padding:12px;
        gap:10px;
    }
    
    .btn-cta {
        padding:14px 35px;
        font-size:14px;
    }
}


/* Main de la page galerie */
body[data-page="Galerie"] main {
    background:#fafafa;
    padding:40px 20px;
}

/* Header de la galerie */
#galerie-header {
    text-align:center;
    padding:60px 20px;
    background:#F18818;
    color:#fff;
    margin-bottom:60px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0, 0, 0, 0.15);
}

#galerie-header h2 {
    font-family:'BeaufortBold', sans-serif;
    font-size:48px;
    margin:0 0 20px 0;
    position:relative;
    display:inline-block;
    color:#ffffff;
}

#galerie-header h2::after {
    content:'';
    position:absolute;
    bottom:-10px;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:4px;
    background:transparent;
    border-radius:2px;
}

#galerie-header p {
    font-family:'BeaufortLight', sans-serif;
    font-size:18px;
    line-height:1.8;
    max-width:700px;
    margin:30px auto 0;
}

/* Sections galerie */
#galerie-restaurant,
#galerie-plats,
#galerie-equipe {
    padding:60px 20px;
}

#galerie-restaurant h3,
#galerie-plats h3,
#galerie-equipe h3 {
    font-family:'BeaufortBold', sans-serif;
    font-size:36px;
    text-align:center;
    margin:0 0 40px 0;
    color:#000;
    position:relative;
    display:inline-block;
    width:100%;
}

#galerie-restaurant h3::after,
#galerie-plats h3::after,
#galerie-equipe h3::after {
    content:'';
    position:absolute;
    bottom:-10px;
    left:50%;
    transform:translateX(-50%);
    width:60px;
    height:3px;
    background:#B63737;
    border-radius:2px;
}

/* Grilles de photos */
.galerie-photos-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
    max-width:1400px;
    margin:0 auto;
}

.galerie-item {
    margin:0;
    background:linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,250,250,0.95));
    backdrop-filter:blur(15px);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0, 0, 0, 0.12);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:2px solid rgba(182, 55, 55, 0.15);
}

.galerie-item:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 20px 60px rgba(0, 0, 0, 0.25);
    border-color:rgba(182, 55, 55, 0.3);
}

.galerie-item img {
    width:100%;
    height:auto;
    display:block;
    transition:transform 0.4s ease;
}

.galerie-item:hover img {
    transform:scale(1.05);
}

.galerie-placeholder {
    width:100%;
    aspect-ratio:4/3;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#999;
    font-family:'BeaufortLight', sans-serif;
    font-size:14px;
    min-height:250px;
    position:relative;
}

.galerie-placeholder::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#B63737;
}

.galerie-item figcaption {
    padding:18px;
    font-family:'BeaufortLight', sans-serif;
    font-size:15px;
    color:#4a4a4a;
    font-weight:500;
    text-align:center;
    background:linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,250,250,0.95));
    line-height:1.6;
    transition:all 0.3s ease;
}

.galerie-item:hover figcaption {
    color:#B63737;
    font-weight:600;
}

/* Section CTA */
#galerie-cta {
    text-align:center;
    padding:80px 20px;
    background:#fafafa;
    color:#333;
    margin-top:60px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0, 0, 0, 0.15);
}

#galerie-cta h3 {
    font-family:'BeaufortBold', sans-serif;
    font-size:42px;
    margin:0 0 20px 0;
    color:#000;
}

#galerie-cta p {
    font-family:'BeaufortLight', sans-serif;
    font-size:18px;
    line-height:1.8;
    max-width:700px;
    margin:0 auto 40px;
    color:#555;
}

.btn-cta-galerie {
    display:inline-block;
    padding:18px 50px;
    background:#F18818;
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    font-family:'BeaufortBold', sans-serif;
    font-size:18px;
    letter-spacing:1.5px;
    border-radius:8px;
    box-shadow:0 4px 15px rgba(182, 55, 55, 0.4);
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-galerie:hover {
    transform:translateY(-3px);
    box-shadow:0 8px 25px rgba(182, 55, 55, 0.6);
    background:#B63737;
}

/* Responsive galerie */
@media (max-width:1024px) {
    #galerie-header {
        padding:3rem 1.5rem;
    }
    
    #galerie-header h2 {
        font-size:38px;
        margin-bottom:1rem;
    }
    
    #galerie-header p {
        font-size:18px;
        line-height:1.7;
    }
    
    #galerie-restaurant,
    #galerie-plats,
    #galerie-equipe {
        padding:2.5rem 1.5rem;
    }
    
    #galerie-restaurant h3,
    #galerie-plats h3,
    #galerie-equipe h3 {
        font-size:32px;
        margin-bottom:1.5rem;
    }
    
    .galerie-photos-grid {
        grid-template-columns:1fr;
        gap:30px;
    }
    
    #galerie-cta {
        padding:3rem 1.5rem;
    }
    
    #galerie-cta h3 {
        font-size:32px;
        margin-bottom:1rem;
    }
    
    #galerie-cta p {
        font-size:18px;
        margin-bottom:2rem;
    }
    
    .btn-cta-galerie {
        padding:16px 40px;
        font-size:18px;
    }
}

@media (min-width:768px) and (max-width:1023px) {
    .galerie-photos-grid {
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (min-width:1024px) {
    .galerie-photos-grid {
        grid-template-columns:repeat(3, 1fr);
    }
}

/* ============================================
   STYLES SPÉCIFIQUES PAGE ÉQUIPE
   ============================================ */

/* Main de la page Équipe */
body[data-page="Equipe"] main {
    background:#fafafa;
}

/* ============================================
   STYLES SPÉCIFIQUES PAGE PROFILS ÉQUIPE
   ============================================ */

/* Main de la page profils - Design moderne avec gradients */
body[data-page="Equipe-Profils"] main {
    background:linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    color:#ffffff;
    padding:3rem 1.5rem;
}

/* Article profil - Animation d'entrée */
body[data-page="Equipe-Profils"] #profil-membre {
    max-width:1000px;
    margin:0 auto;
    padding:0;
    background:transparent;
    animation:fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity:0;
        transform:translateY(30px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

/* Header profil - Carte moderne avec gradient noir/gris */
body[data-page="Equipe-Profils"] .profil-header {
    text-align:center;
    margin-bottom:3rem;
    padding:3rem 2rem;
    background:linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius:20px;
    box-shadow:0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position:relative;
    overflow:hidden;
    transform:translateY(0);
    transition:transform 0.4s ease, box-shadow 0.4s ease;
}

body[data-page="Equipe-Profils"] .profil-header:hover {
    transform:translateY(-5px);
    box-shadow:0 25px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Bordure animée en haut du header */
body[data-page="Equipe-Profils"] .profil-header::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(90deg, #6a6a6a 0%, #000000 25%, #6a6a6a 50%, #000000 75%, #6a6a6a 100%);
    background-size:200% 100%;
    animation:gradientSlide 3s ease infinite;
}

@keyframes gradientSlide {
    0%, 100% { background-position:0% 0%; }
    50% { background-position:100% 0%; }
}

/* Photo de profil avec effets */
body[data-page="Equipe-Profils"] .profil-header img {
    display:block;
    margin:0 auto 2rem;
    border:5px solid rgba(150, 150, 150, 0.5);
    border-radius:50%;
    box-shadow:0 10px 35px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(0, 0, 0, 0.15);
    transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width:220px;
    height:220px;
    object-fit:cover;
}

body[data-page="Equipe-Profils"] .profil-header:hover img {
    transform:scale(1.08) rotate(-3deg);
    box-shadow:0 15px 50px rgba(0, 0, 0, 0.7), 0 0 0 10px rgba(0, 0, 0, 0.25);
    border-color:#000000;
}

/* Nom et poste */
body[data-page="Equipe-Profils"] .profil-header h2 {
    color:#ffffff;
    font-size:2.8rem;
    font-weight:800;
    margin-bottom:1rem;
    text-shadow:2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(100, 100, 100, 0.3);
    letter-spacing:-0.5px;
}

body[data-page="Equipe-Profils"] .profil-header h3 {
    color:#cccccc;
    font-size:1.4rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:2px;
}

/* Sections de contenu - Cartes modernes avec effets 3D */
body[data-page="Equipe-Profils"] .profil-content {
    background:linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border:2px solid rgba(0, 0, 0, 0.15);
    border-radius:20px;
    padding:2.5rem;
    margin-bottom:2rem;
    box-shadow:0 10px 35px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow:hidden;
    position:relative;
}

/* Ligne animée en haut des cartes */
body[data-page="Equipe-Profils"] .profil-content::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg, #000000, #555555, #000000);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
}

body[data-page="Equipe-Profils"] .profil-content:hover::before {
    opacity:1;
}

/* Effet hover 3D sur les cartes */
body[data-page="Equipe-Profils"] .profil-content:hover {
    transform:translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow:0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(0, 0, 0, 0.2);
    border-color:rgba(0, 0, 0, 0.3);
}

/* Titres des sections */
body[data-page="Equipe-Profils"] .profil-content h3 {
    color:#000000;
    font-size:1.8rem;
    font-weight:800;
    margin-bottom:1.5rem;
    position:relative;
    padding-bottom:1rem;
}

/* Soulignement animé des titres */
body[data-page="Equipe-Profils"] .profil-content h3::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:60px;
    height:4px;
    background:linear-gradient(90deg, #000000, #555555);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Paragraphes */
body[data-page="Equipe-Profils"] .profil-content p {
    color:#333;
    line-height:1.8;
    font-size:1.1rem;
}

/* Listes avec puces personnalisées */
body[data-page="Equipe-Profils"] .profil-content ul {
    color:#444;
    line-height:1.9;
    font-size:1.05rem;
    list-style:none;
    padding-left:0;
}

body[data-page="Equipe-Profils"] .profil-content li {
    padding-left:2rem;
    margin-bottom:0.8rem;
    position:relative;
}

body[data-page="Equipe-Profils"] .profil-content li::before {
    content:'▸';
    position:absolute;
    left:0;
    color:#000000;
    font-weight:bold;
    font-size:1.2rem;
}

body[data-page="Equipe-Profils"] .profil-content li strong {
    color:#000000;
    font-weight:700;
}

/* Sections alternées avec bordure gauche noire */
body[data-page="Equipe-Profils"] #parcours,
body[data-page="Equipe-Profils"] #engagement {
    background:linear-gradient(135deg, rgba(230, 230, 230, 0.15) 0%, rgba(200, 200, 200, 0.25) 100%);
    border-left:6px solid #000000;
}

/* Effet décoratif circulaire pour sections alternées */
body[data-page="Equipe-Profils"] #parcours::after,
body[data-page="Equipe-Profils"] #engagement::after {
    content:'';
    position:absolute;
    top:-50%;
    right:-20%;
    width:300px;
    height:300px;
    background:radial-gradient(circle, rgba(100, 100, 100, 0.1) 0%, transparent 70%);
    border-radius:50%;
    pointer-events:none;
}

/* Navigation et wrapper */
.profil-navigation {
    text-align:center;
    margin-top:3rem;
    padding:2rem 0;
}

body[data-page="Equipe-Profils"] .back-to-top-wrapper {
    text-align:center;
    margin-top:2rem;
}

body[data-page="Equipe-Profils"] .back-to-top {
    display:none;
}

/* ============================================
   STYLES SPÉCIFIQUES PAGE MENTIONS LÉGALES
   ============================================ */

/* Main de la page mentions légales */
body[data-page="Mentions-Legales"] main {
    background:#fff;
}

body[data-page="Mentions-Legales"] article {
    max-width:900px;
    margin:0 auto;
    padding:6rem 2rem 3rem;
}

body[data-page="Mentions-Legales"] article > header {
    text-align:center;
    margin-bottom:3rem;
    padding:2.5rem 2rem;
    background:#B63737;
    border-radius:15px;
    box-shadow:0 8px 30px rgba(182, 55, 55, 0.3);
}

body[data-page="Mentions-Legales"] article > header h1 {
    color:white;
    font-size:2.5rem;
    margin-bottom:1rem;
    text-shadow:2px 2px 4px rgba(0,0,0,0.3);
}

body[data-page="Mentions-Legales"] article > header p {
    color:rgba(255,255,255,0.95);
    font-size:1.1rem;
}

/* Première section */
body[data-page="Mentions-Legales"] article > section:first-of-type {
    background:linear-gradient(to bottom right, #fff3e0 0%, white 100%);
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:10px;
    box-shadow:0 4px 20px rgba(241, 136, 24, 0.15);
    border-left:6px solid #F18818;
    transition:all 0.3s ease;
}

body[data-page="Mentions-Legales"] article > section:first-of-type:hover {
    transform:translateY(-5px);
    box-shadow:0 8px 30px rgba(241, 136, 24, 0.25);
}

body[data-page="Mentions-Legales"] article > section:first-of-type h2 {
    color:#F18818;
    font-size:1.6rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
}

body[data-page="Mentions-Legales"] article > section:first-of-type h2 span {
    background:#F18818;
    color:white;
    width:40px;
    height:40px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.4rem;
    box-shadow:0 4px 10px rgba(241, 136, 24, 0.4);
}

body[data-page="Mentions-Legales"] article > section:first-of-type > p {
    line-height:1.8;
    color:#333;
    margin-bottom:1.5rem;
}

body[data-page="Mentions-Legales"] article > section:first-of-type > div {
    background:#f8f9fa;
    padding:1.5rem;
    border-radius:8px;
    
}

body[data-page="Mentions-Legales"] article > section:first-of-type > div p {
    line-height:1.8;
    color:#333;
    margin:0;
}

/* Section role cookie */
body[data-page="Cookies"] #role-cookie {
    background:white;
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    border-top:0;
}

body[data-page="Cookies"] #role-cookie h2 {
    color:#000000;
    font-size:1.6rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
}

body[data-page="Cookies"] #role-cookie h2 span {
    background:transparent;
    color:white;
    width:35px;
    height:35px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.2rem;
}

body[data-page="Cookies"] #role-cookie p {
    line-height:1.8;
    color:#333;
    margin-bottom:1.5rem;
}

/* ============================================
   STYLES SPÉCIFIQUES PAGE DONNÉES PERSONNELLES
   ============================================ */

/* Main de la page donnés personnelles */
body[data-page="Donnees-Personnelles"] main {
    background:#fafafa;
}

body[data-page="Donnees-Personnelles"] article {
    max-width:900px;
    margin:0 auto;
    padding:6rem 2rem 3rem;
}

body[data-page="Donnees-Personnelles"] article > header {
    text-align:center;
    margin-bottom:3rem;
    padding:2.5rem 2rem;
    background:#2196f3;
    border-radius:15px;
    box-shadow:0 8px 30px rgba(33, 150, 243, 0.3);
}

body[data-page="Donnees-Personnelles"] article > header h1 {
    color:white;
    font-size:2.5rem;
    margin-bottom:1rem;
    text-shadow:2px 2px 4px rgba(0,0,0,0.3);
}

body[data-page="Donnees-Personnelles"] article > header p {
    color:rgba(255,255,255,0.95);
    font-size:1.1rem;
}

/* Première section */
body[data-page="Donnees-Personnelles"] article > section:first-of-type {
    background:linear-gradient(to bottom right, #e3f2fd 0%, white 100%);
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:10px;
    box-shadow:0 4px 20px rgba(33, 150, 243, 0.15);
    border-left:6px solid #2196f3;
    transition:all 0.3s ease;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type:hover {
    transform:translateY(-5px);
    box-shadow:0 8px 30px rgba(33, 150, 243, 0.25);
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type h2 {
    color:#1565c0;
    font-size:1.6rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type h2 span {
    background:#2196f3;
    color:white;
    width:40px;
    height:40px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.4rem;
    box-shadow:0 4px 10px rgba(33, 150, 243, 0.4);
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > p {
    line-height:1.8;
    color:#333;
    margin-bottom:1.5rem;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > p a {
    color:#B63737;
    font-weight:600;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > div {
    background:#f8f9fa;
    padding:1.5rem;
    border-radius:8px;
    
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > div p {
    line-height:1.8;
    color:#333;
    margin:0;
}

/* Section nature-donnees */
body[data-page="Donnees-Personnelles"] #nature-donnees {
    background:white;
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    border-top:0;
}

body[data-page="Donnees-Personnelles"] #nature-donnees h2 {
    color:#000000;
    font-size:1.6rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
}

body[data-page="Donnees-Personnelles"] #nature-donnees h2 span {
    background:transparent;
    color:white;
    width:35px;
    height:35px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.2rem;
}

/* ========== RESET ========== */

html {
    font-size:18px;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}
body {
    font-family:var(--font-secondary);
    color:var(--color-text);
    line-height:1.6;
    background-color:var(--color-white);
    overflow-x:hidden;
    max-width:100vw;
}
img, video, svg {
    max-width:100%;
    height:auto;
    display:block;
}


/* ============================================
   VARIABLES CSS (UNIFIÉ :root)
   ============================================ */


/* ============================================
   RESET ET BASE
   ============================================ */


html {
    font-size:18px;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body {
    font-family:var(--font-secondary);
    color:var(--color-text);
    line-height:1.6;
    background-color:var(--color-white);
    overflow-x:hidden;
    max-width:100vw;
}

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

table {
    width:100%;
    border-collapse:collapse;
}

a {
    color:var(--color-accent);
    text-decoration:none;
    transition:var(--transition);
}

a:hover,
a:focus {
    color:var(--color-primary);
    text-decoration:none;
}

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

/* ============================================
   HEADER
   ============================================ */
header[role="banner"] {
    background-color:var(--color-primary);
    color:var(--color-white);
    text-align:center;
    padding:var(--spacing-xl) var(--spacing-md);
    position:relative;
}

header img {
    margin:0 auto var(--spacing-md);
}

header h1 {
    font-size:2.8rem;
    font-weight:300;
    margin-bottom:var(--spacing-xs);
    letter-spacing:1px;
}

header p {
    font-size:1.25rem;
    color:rgba(255, 255, 255, 0.9);
    margin-bottom:var(--spacing-md);
}

/* Navigation principale */
header nav {
    border-top:1px solid rgba(255, 255, 255, 0.3);
    padding-top:var(--spacing-md);
    margin-top:var(--spacing-md);
}

header nav a {
    color:var(--color-white);
    margin:0 var(--spacing-sm);
    padding:var(--spacing-xs) var(--spacing-sm);
    font-size:1.1rem;
    transition:var(--transition);
}

header nav a:hover,
header nav a:focus {
    color:#000000;
    text-decoration:none;
}

header nav a[aria-current="page"] {
    font-weight:bold;
    border-bottom:2px solid var(--color-accent);
}

/* Menu hamburger mobile */
.menu-toggle {
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    padding:10px;
    position:absolute;
    top:20px;
    right:20px;
    z-index:1001;
    width:40px;
    height:40px;
    flex-direction:column;
    justify-content:space-around;
    align-items:center;
}

.menu-toggle span {
    display:block;
    width:30px;
    height:3px;
    background-color:#ffffff;
    transition:all 0.3s ease;
    border-radius:2px;
}

.menu-toggle:hover span {
    background-color:rgba(255, 255, 255, 0.8);
}

.menu-toggle.active span:nth-child(1) {
    transform:rotate(45deg) translateY(12px);
}

.menu-toggle.active span:nth-child(2) {
    opacity:0;
}

.menu-toggle.active span:nth-child(3) {
    transform:rotate(-45deg) translateY(-12px);
}

/* Overlay pour le menu mobile */
.menu-overlay {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0, 0, 0, 0.5);
    z-index:999;
    opacity:0;
    transition:opacity 0.3s ease;
}

.menu-overlay.active {
    display:block;
    opacity:1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
body:not([data-page="Contact"]):not([data-page="Evenements"]) main[role="main"] {
    max-width:1200px;
    margin:0 auto;
    padding:var(--spacing-xl) var(--spacing-md);
    background-color:var(--color-primary);
    color:#ffffff;
}

section {
    margin-bottom:var(--spacing-xl);
}

/* Titres de sections */
section h2 {
    font-size:2.3rem;
    color:var(--color-primary);
    border-bottom:3px solid var(--color-accent);
    padding-bottom:var(--spacing-sm);
    margin-bottom:var(--spacing-md);
}

section h3 {
    font-size:1.7rem;
    color:var(--color-primary);
    margin-bottom:var(--spacing-md);
}

/* ============================================
   PAGE ÉQUIPE - MEMBRES
   ============================================ */
#membres-equipe {
    background-color:var(--color-secondary);
    padding:var(--spacing-xl);
    border-radius:var(--border-radius);
}

#membres-equipe article {
    background:var(--color-white);
    padding:var(--spacing-lg);
    margin-bottom:var(--spacing-md);
    border-radius:var(--border-radius);
    box-shadow:var(--box-shadow);
    text-align:center;
    transition:var(--transition);
}

#membres-equipe article:hover {
    transform:translateY(-5px);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);
}

#membres-equipe article img {
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:50%;
    margin:0 auto var(--spacing-md);
    border:4px solid var(--color-accent);
}

#membres-equipe article h4 {
    font-size:1.5rem;
    color:var(--color-primary);
    margin-bottom:var(--spacing-xs);
}

#membres-equipe article h5 {
    font-size:1.15rem;
    color:var(--color-accent);
    font-weight:600;
    margin-bottom:var(--spacing-md);
}

#membres-equipe article a {
    display:inline-block;
    background-color:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-sm) var(--spacing-lg);
    border-radius:var(--border-radius);
    font-weight:bold;
    transition:var(--transition);
}

#membres-equipe article a:hover,
#membres-equipe article a:focus {
    background-color:var(--color-primary);
    text-decoration:none;
    transform:scale(1.05);
}

#membres-equipe hr {
    border:none;
    height:1px;
    background-color:var(--color-border);
    margin:var(--spacing-lg) 0;
}

/* ============================================
   PAGE NOS VALEURS
   ============================================ */
/* Header Nos Valeurs */
#valeurs-header {
    background:#F18818;
    color:white;
    text-align:center;
    padding:4rem 2rem;
    margin-bottom:3rem;
}

#valeurs-header h2 {
    font-size:3rem;
    margin-bottom:1rem;
    color:white;
}

#valeurs-header p {
    font-size:1.3rem;
    color:rgba(255, 255, 255, 0.9);
}

/* ===============================================
   BLOCKQUOTE / CITATIONS
   ============================================ */
blockquote {
    background:var(--color-secondary);
    
    padding:var(--spacing-lg);
    margin:var(--spacing-lg) 0;
    font-style:italic;
    color:var(--color-text-light);
}

/* ============================================
   ASIDE / COMPLÉMENTAIRE
   ============================================ */
aside[role="complementary"] {
    background:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-xl);
    border-radius:var(--border-radius);
    text-align:center;
}

aside h3 {
    color:var(--color-white);
    margin-bottom:var(--spacing-md);
}

aside a {
    display:inline-block;
    background-color:var(--color-white);
    color:var(--color-accent);
    padding:var(--spacing-sm) var(--spacing-xl);
    border-radius:var(--border-radius);
    font-weight:bold;
    margin-top:var(--spacing-md);
    transition:var(--transition);
}

aside a:hover,
aside a:focus {
    background:var(--color-primary);
    color:var(--color-white);
    text-decoration:none;
    transform:scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
footer[role="contentinfo"] {
    background:#000000;
    color:var(--color-white);
    padding:var(--spacing-xl) var(--spacing-md);
    text-align:center;
}

footer img {
    margin:0 auto var(--spacing-lg);
    opacity:0.8;
}

footer nav ul {
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:var(--spacing-md);
    margin-bottom:var(--spacing-lg);
}

footer nav a {
    color:var(--color-white);
    transition:var(--transition);
}

footer nav a:hover,
footer nav a:focus {
    color:var(--color-accent);
    text-decoration:none;
}

footer p {
    margin:var(--spacing-sm) 0;
    color:rgba(255, 255, 255, 0.8);
}

footer nav[aria-label="Mentions légales"] {
    margin-top:var(--spacing-lg);
    border-top:1px solid rgba(255, 255, 255, 0.3);
    padding-top:var(--spacing-md);
}

footer nav[aria-label="Mentions légales"] ul {
    gap:var(--spacing-sm);
}

footer nav[aria-label="Mentions légales"] a {
    font-size:1.05rem;
}

/* Responsive Footer Mobile */
@media (max-width:1024px) {
footer[role="contentinfo"] {
        padding:1.5rem 1rem;
    }
    
    footer img {
        width:120px;
        height:auto;
        margin-bottom:1.5rem;
    }
    
    /* Masquer la navigation principale (dupliqu e dans le menu hamburger) */
    footer nav[aria-label="Customer service"] {
        display:none;
    }
    
    footer p {
        font-size:1.05rem;
        margin:0.5rem 0;
    }
    
    footer nav[aria-label="Mentions légales"] {
        margin-top:1.5rem;
        padding-top:1.5rem;
    }
    
    footer nav[aria-label="Mentions légales"] ul {
        flex-direction:column;
        gap:0.5rem;
    }
    
    footer nav[aria-label="Mentions légales"] a {
        font-size:1rem;
        padding:0.5rem;
    }
.footer-social {
        margin:1.5rem 0;
    }
.footer-social a {
        width:50px;
        height:50px;
    }
.footer-social img {
        width:32px;
        height:32px;
    }
}

/* Footer Social (Instagram) */
.footer-social {
    margin:var(--spacing-lg) 0;
    text-align:center;
}
.footer-social a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:60px;
    height:60px;
    transition:transform 0.3s ease;
}

.footer-social a:hover {
    transform:scale(1.1);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-social img {
    width:40px;
    height:40px;
    margin:0;
}

/* Footer Partners */
.footer-partners {
    margin-top:var(--spacing-xl);
    padding-top:var(--spacing-lg);
    border-top:1px solid rgba(255, 255, 255, 0.3);
    text-align:center;
}

.footer-partners h3 {
    color:var(--color-white);
    font-size:1.1rem;
    margin-bottom:var(--spacing-md);
    text-transform:uppercase;
    letter-spacing:1px;
}

.partners-logos {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:var(--spacing-lg);
}

.partners-logos a {
    display:flex;
    align-items:center;
    justify-content:center;
    width:140px;
    height:80px;
    padding:10px;
    background:white;
    border-radius:8px;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);
}

.partners-logos a:hover {
    transform:translateY(-5px);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.2);
}

.partners-logos img {
    width:100%;
    height:100%;
    object-fit:contain;
    margin:0;
}

/* Responsive - Footer Partners */
@media (max-width:768px) {
.partners-logos {
        gap:var(--spacing-md);
    }
.partners-logos a {
        width:120px;
        height:70px;
    }
}

@media (max-width:480px) {
.footer-partners h3 {
        font-size:1rem;
    }
.partners-logos {
        flex-direction:column;
        gap:var(--spacing-sm);
    }
.partners-logos a {
        width:180px;
        height:90px;
    }
}

/* ============================================
   PAGE PROFIL INDIVIDUEL
   ============================================ */
.profil-header {
    text-align:center;
    margin-bottom:var(--spacing-xl);
}

.profil-content {
    padding:var(--spacing-xl);
    border-radius:var(--border-radius);
    margin-bottom:var(--spacing-lg);
}

.profil-content h3 {
    color:var(--color-primary);
    border-bottom:2px solid var(--color-accent);
    padding-bottom:var(--spacing-xs);
    margin-bottom:var(--spacing-md);
}

.profil-content ul {
    list-style-position:inside;
    padding-left:var(--spacing-md);
}

.profil-content li {
    margin-bottom:var(--spacing-xs);
}

/* ============================================
   RESPONSIVE - TABLETTE
   ============================================ */
@media (min-width:768px) {
    #membres-equipe {
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:var(--spacing-lg);
        padding:var(--spacing-xl);
    }
    
    #membres-equipe > h3,
    #membres-equipe > p {
        grid-column:1 / -1;
    }
    
    #membres-equipe hr {
        display:none;
    }
    
    footer nav ul {
        gap:var(--spacing-lg);
    }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width:1024px) {
    header h1 {
        font-size:3rem;
    }
    
    #membres-equipe {
        grid-template-columns:repeat(3, 1fr);
    }
    
    main[role="main"] {
        padding:var(--spacing-xl) var(--spacing-lg);
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width:1024px) {
    /* Header et Navigation */
    header[role="banner"] {
        padding:1.5rem 1rem;
    }
    
    header h1 {
        font-size:1.8rem;
        margin-bottom:0.5rem;
    }
    
    header p {
        font-size:1.1rem;
    }
    
    header img {
        max-width:200px;
        height:auto;
    }
    
    /* Menu Hamburger visible sur mobile */
    .menu-toggle {
        display:flex !important;
    }
    
    /* IMPORTANT :Cacher complètement la nav par défaut */
    header nav {
        display:none !important;
        border-top:none;
        padding-top:0;
        margin-top:0;
    }
    
    /* Navigation mobile - Menu latéral ROUGE par défaut */
    header nav.active {
        display:flex !important;
        position:fixed;
        top:0;
        right:0;
        width:320px;
        height:100vh;
        background-color:#B63737;
        flex-direction:column;
        padding:100px 25px 30px;
        box-shadow:-2px 0 10px rgba(0, 0, 0, 0.3);
        z-index:1000;
        overflow-y:auto;
        border-top:none;
        margin-top:0;
    }
    
    header nav a {
        display:block;
        padding:18px 22px;
        color:#ffffff;
        background-color:rgba(255, 255, 255, 0.1);
        border-radius:8px;
        text-align:left;
        font-size:1.15rem;
        margin-bottom:12px;
        
        transition:all 0.3s ease;
    }
    
    header nav a:hover,
    header nav a:focus {
        background-color:rgba(255, 255, 255, 0.2);
        
        transform:translateX(5px);
        text-decoration:none;
    }
    
    header nav a[aria-current="page"] {
        background-color:rgba(255, 255, 255, 0.3);
        font-weight:bold;
        
    }
    
    /* Forcer le style sidebar même pour la page Accueil header-hero */
    
    
    
    
    /* Image mobile pour le hero de la page d'accueil */
    
    
    /* Menu noir pour page Équipe */
    body[data-page="Equipe"] header nav.active,
body[data-page="Equipe-Profils"] header nav.active {
        background-color:#000000 !important;
    }
    
    body[data-page="Equipe"] header nav a,
body[data-page="Equipe-Profils"] header nav a {
        color:#ffffff !important;
        background-color:rgba(255, 255, 255, 0.1) !important;
    }
    
    body[data-page="Equipe"] header nav a:hover,
    body[data-page="Equipe"] header nav a:focus,
body[data-page="Equipe-Profils"] header nav a:hover,
body[data-page="Equipe-Profils"] header nav a:focus {
        background-color:rgba(255, 255, 255, 0.2) !important;
        
    }
    
    body[data-page="Equipe"] header nav a[aria-current="page"],
body[data-page="Equipe-Profils"] header nav a[aria-current="page"] {
        background-color:rgba(255, 255, 255, 0.3) !important;
        
    }    
    /* Page Nos Valeurs */
    #valeurs-header {
        padding:3rem 1.5rem;
    }
    
    #valeurs-header h2 {
        font-size:2.5rem;
    }
    
    #valeurs-header p {
        font-size:1.2rem;
    }
    
    .valeurs-grid {
        grid-template-columns:1fr;
        gap:2rem;
        padding:0 1rem;
    }
    
    .valeur-icon {
        width:70px;
        height:70px;
        font-size:2rem;
    }
    
    #notre-histoire {
        padding:3rem 1.5rem;
    }
    
    #notre-histoire h2 {
        font-size:2rem;
    }
    
    .histoire-content {
        padding:2rem 1.5rem;
    }
    
    .histoire-content p {
        font-size:1.1rem;
    }
    
    #nos-producteurs {
        padding:3rem 1.5rem;
    }
    
    #nos-producteurs h2 {
        font-size:2rem;
    }
    
    .producteurs-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
/* Main Content */
    main[role="main"] {
        padding:1rem;
    }
    
    section {
        padding:2rem 1.25rem;
        margin-bottom:2rem;
    }
    
    section h2 {
        font-size:2rem;
        margin-bottom:1.25rem;
    }
    
    section h3 {
        font-size:1.6rem;
        margin-bottom:1rem;
    }
    
    section p {
        font-size:1.15rem;
        line-height:1.7;
    }
    
    /* Page Accueil */
    body[data-page="Accueil"] #presentation {
        padding:2rem 1rem;
        margin:1.5rem auto;
    }
    
    body[data-page="Accueil"] #galerie .galerie-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
    body[data-page="Accueil"] #temoignages .temoignages-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
    /* Page Équipe */
body[data-page="Equipe"] #presentation-equipe {
        padding:2rem 1rem;
    }
body[data-page="Equipe"] #presentation-equipe h2 {
        font-size:2rem;
    }
body[data-page="Equipe"] #membres-equipe {
        padding:0 0.75rem;
    }
body[data-page="Equipe"] #membres-equipe article {
        padding:1.25rem;
    }
body[data-page="Equipe"] #membres-equipe article img {
        width:100px;
        height:100px;
    }
body[data-page="Equipe"] #membres-equipe article h4 {
        font-size:1.5rem;
        margin-bottom:0.5rem;
    }
body[data-page="Equipe"] #membres-equipe article p {
        font-size:1.1rem;
    }
body[data-page="Equipe"] #membres-equipe article a {
        padding:0.75rem 1.5rem;
        font-size:1.1rem;
    }
body[data-page="Equipe"] #valeurs-communes {
        padding:2rem 1rem;
    }
body[data-page="Equipe"] #recrutement {
        padding:2rem 1rem;
    }
    
    /* Page Equipe-Profils */
body[data-page="Equipe-Profils"] .profil-header img {
        width:150px;
        height:150px;
    }
body[data-page="Equipe-Profils"] .profil-header h2 {
        font-size:2rem;
    }
    
    
    /* Footer */
footer[role="contentinfo"] {
        padding:2.5rem 1.5rem;
    }
    
    footer img {
        max-width:150px;
    }
    
    footer nav ul {
        flex-direction:column;
        gap:1rem;
        text-align:center;
    }
    
    footer nav a {
        font-size:1.1rem;
        padding:0.75rem;
    }
    
    footer p {
        font-size:1rem;
        line-height:1.6;
    }
.footer-social a {
        width:50px;
        height:50px;
    }
.footer-social img {
        width:30px;
        height:30px;
    }
.footer-partners h3 {
        font-size:0.95rem;
    }
.partners-logos {
        flex-direction:column;
        gap:var(--spacing-sm);
    }
.partners-logos a {
        width:160px;
        height:80px;
    }
}


/* Section Présentation */
body[data-page="Accueil"] #presentation {
    background:linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(254,229,229,0.95) 100%);
    backdrop-filter:blur(10px);
    padding:4rem 2.5rem;
    margin:3rem auto;
    max-width:1200px;
    border-radius:20px;
    box-shadow:0 15px 50px rgba(182, 55, 55, 0.2);
    border:1px solid rgba(182, 55, 55, 0.2);
}

body[data-page="Accueil"] #presentation h2 {
    color:#000000;
    text-align:center;
    margin-bottom:2rem;
    font-size:2.5rem;
    font-weight:800;
    position:relative;
    display:inline-block;
    width:100%;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Accueil"] #presentation h2::after {
    content:'';
    position:absolute;
    bottom:-10px;
    left:50%;
    transform:translateX(-50%);
    width:120px;
    height:4px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:2px;
}

body[data-page="Accueil"] #presentation p {
    text-align:center;
    color:#4a4a4a;
    line-height:1.9;
    font-size:1.1rem;
    font-weight:500;
    max-width:800px;
    margin:0 auto 1.5rem;
}

body[data-page="Accueil"] .presentation-intro {
    font-size:1.15rem;
}

/* Section Galerie */
body[data-page="Accueil"] #galerie {
    padding:4rem 2rem;
    max-width:1400px;
    margin:3rem auto;
    background:linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,250,250,0.9) 100%);
    backdrop-filter:blur(10px);
    border-radius:20px;
    box-shadow:0 15px 50px rgba(0, 0, 0, 0.15);
    border:1px solid rgba(0, 0, 0, 0.1);
}

body[data-page="Accueil"] #galerie h2 {
    color:#000000;
    text-align:center;
    margin-bottom:3rem;
    font-size:2.8rem;
    font-weight:800;
    position:relative;
    display:inline-block;
    width:100%;
    text-shadow:1px 1px 3px rgba(0, 0, 0, 0.2);
}



body[data-page="Accueil"] #galerie h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:4px;
    background:#B63737;
    border-radius:2px;
}

body[data-page="Accueil"] .galerie-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2.5rem;
}

body[data-page="Accueil"] .galerie-grid figure {
    background:#ffffff;
    padding:1.5rem;
    min-height:280px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    box-shadow:0 8px 30px rgba(0, 0, 0, 0.08);
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position:relative;
    overflow:hidden;
}

/* ============================================
   STYLES SPÉCIFIQUES PAGE MENTIONS LÉGALES
   ============================================ */

/* Main de la page mentions légales */
body[data-page="Mentions-Legales"] main {
    background:#fafafa;
}

body[data-page="Mentions-Legales"] article {
    max-width:1000px;
    margin:0 auto;
    padding:6rem 2rem 3rem;
    background:linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255, 243, 224, 0.9) 100%);
    border-radius:24px;
    border:2px solid rgba(241, 136, 24, 0.18);
    box-shadow:0 15px 50px rgba(241, 136, 24, 0.13);
    position:relative;
    backdrop-filter:blur(10px);
}

body[data-page="Mentions-Legales"] article > header {
    text-align:center;
    margin-bottom:3rem;
    padding:2.5rem 2rem;
    background:linear-gradient(135deg, #F18818 0%, #ffb86b 100%);
    border-radius:18px;
    box-shadow:0 8px 30px rgba(241, 136, 24, 0.25);
    position:relative;
    overflow:hidden;
}

body[data-page="Mentions-Legales"] article > header h1 {
    color:#fff;
    font-size:2.5rem;
    margin-bottom:1rem;
    text-shadow:2px 2px 8px rgba(241, 136, 24, 0.25);
    letter-spacing:1px;
    font-weight:800;
    text-transform:uppercase;
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:2rem;
}
body[data-page="Mentions-Legales"] article > header h1::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:5px;
    background:linear-gradient(90deg, #F18818, #ffb86b);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(241, 136, 24, 0.25);
}

body[data-page="Mentions-Legales"] article > header p {
    color:rgba(255,255,255,0.97);
    font-size:1.1rem;
    font-style:italic;
    margin-bottom:0;
}

/* Première section */
body[data-page="Mentions-Legales"] article > section {
    background:linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255, 243, 224, 0.95) 100%);
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:16px;
    box-shadow:0 8px 30px rgba(241, 136, 24, 0.13);
    border-left:6px solid #F18818;
    border:2px solid rgba(241, 136, 24, 0.13);
    position:relative;
    overflow:hidden;
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter:blur(8px);
}

body[data-page="Mentions-Legales"] article > section:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 70px rgba(241, 136, 24, 0.22);
    border-color:rgba(241, 136, 24, 0.25);
}
body[data-page="Mentions-Legales"] article > section:first-of-type:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 70px rgba(241, 136, 24, 0.22);
    border-color:rgba(241, 136, 24, 0.25);
}

body[data-page="Mentions-Legales"] article > section:first-of-type h2 {
    color:#F18818;
    font-size:1.7rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:0.5px;
    text-shadow:1px 1px 3px rgba(241, 136, 24, 0.13);
}

body[data-page="Mentions-Legales"] article > section:first-of-type h2 span {
    background:linear-gradient(135deg, #F18818 0%, #ffb86b 100%);
    color:white;
    width:40px;
    height:40px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.4rem;
    box-shadow:0 4px 10px rgba(241, 136, 24, 0.25);
}

body[data-page="Mentions-Legales"] article > section:first-of-type > p {
    line-height:1.8;
    color:#333;
    margin-bottom:1.5rem;
}

body[data-page="Mentions-Legales"] article > section:first-of-type > div {
    background:rgba(255,255,255,0.85);
    padding:1.5rem;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(241, 136, 24, 0.07);
    border:1.5px solid rgba(241, 136, 24, 0.08);
}

body[data-page="Mentions-Legales"] article > section:first-of-type > div p {
    line-height:1.8;
    color:#333;
    margin:0;
}

/* Section role cookie */
body[data-page="Cookies"] #role-cookie {
    background:white;
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    border-top:0;
}

body[data-page="Cookies"] #role-cookie h2 {
    color:#000000;
    font-size:1.6rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
}

body[data-page="Cookies"] #role-cookie h2 span {
    background:transparent;
    color:white;
    width:35px;
    height:35px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.2rem;
}

body[data-page="Cookies"] #role-cookie p {
    line-height:1.8;
    color:#333;
    margin-bottom:1.5rem;
}

/* ============================================
   STYLES SPÉCIFIQUES PAGE DONNÉES PERSONNELLES
   ============================================ */

/* Main de la page donnés personnelles */
body[data-page="Donnees-Personnelles"] main {
    background:#fafafa;
}

body[data-page="Donnees-Personnelles"] article {
    max-width:900px;
    margin:0 auto;
    padding:6rem 2rem 3rem;
}

body[data-page="Donnees-Personnelles"] article > header {
    text-align:center;
    margin-bottom:3rem;
    padding:2.5rem 2rem;
    background:#2196f3;
    border-radius:15px;
    box-shadow:0 8px 30px rgba(33, 150, 243, 0.3);
}

body[data-page="Donnees-Personnelles"] article > header h1 {
    color:white;
    font-size:2.5rem;
    margin-bottom:1rem;
    text-shadow:2px 2px 4px rgba(0,0,0,0.3);
}

body[data-page="Donnees-Personnelles"] article > header p {
    color:rgba(255,255,255,0.95);
    font-size:1.1rem;
}

/* Première section */
body[data-page="Donnees-Personnelles"] article > section:first-of-type {
    background:linear-gradient(to bottom right, #e3f2fd 0%, white 100%);
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:10px;
    box-shadow:0 4px 20px rgba(33, 150, 243, 0.15);
    border-left:6px solid #2196f3;
    transition:all 0.3s ease;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type:hover {
    transform:translateY(-5px);
    box-shadow:0 8px 30px rgba(33, 150, 243, 0.25);
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type h2 {
    color:#1565c0;
    font-size:1.6rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type h2 span {
    background:#2196f3;
    color:white;
    width:40px;
    height:40px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.4rem;
    box-shadow:0 4px 10px rgba(33, 150, 243, 0.4);
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > p {
    line-height:1.8;
    color:#333;
    margin-bottom:1.5rem;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > p a {
    color:#B63737;
    font-weight:600;
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > div {
    background:#f8f9fa;
    padding:1.5rem;
    border-radius:8px;
    
}

body[data-page="Donnees-Personnelles"] article > section:first-of-type > div p {
    line-height:1.8;
    color:#333;
    margin:0;
}

/* Section nature-donnees */
body[data-page="Donnees-Personnelles"] #nature-donnees {
    background:white;
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    border-top:0;
}

body[data-page="Donnees-Personnelles"] #nature-donnees h2 {
    color:#000000;
    font-size:1.6rem;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
}

body[data-page="Donnees-Personnelles"] #nature-donnees h2 span {
    background:transparent;
    color:white;
    width:35px;
    height:35px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-right:1rem;
    font-size:1.2rem;
}

/* ========== RESET ========== */

html {
    font-size:18px;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}
body {
    font-family:var(--font-secondary);
    color:var(--color-text);
    line-height:1.6;
    background-color:var(--color-white);
    overflow-x:hidden;
    max-width:100vw;
}
img, video, svg {
    max-width:100%;
    height:auto;
    display:block;
}


/* ============================================
   VARIABLES CSS (UNIFIÉ :root)
   ============================================ */


/* ============================================
   RESET ET BASE
   ============================================ */
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    font-size:18px;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body {
    font-family:var(--font-secondary);
    color:var(--color-text);
    line-height:1.6;
    background-color:var(--color-white);
    overflow-x:hidden;
    max-width:100vw;
}

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

table {
    width:100%;
    border-collapse:collapse;
}

a {
    color:#ffffff;
    text-decoration:none;
    transition:var(--transition);
}

a:hover,
a:focus {
    color:var(--color-primary);
    text-decoration:none;
}

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

/* ============================================
   HEADER
   ============================================ */
header[role="banner"] {
    background-color:var(--color-primary);
    color:var(--color-white);
    text-align:center;
    padding:var(--spacing-xl) var(--spacing-md);
    position:relative;
}

header img {
    margin:0 auto var(--spacing-md);
}

header h1 {
    font-size:2.8rem;
    font-weight:300;
    margin-bottom:var(--spacing-xs);
    letter-spacing:1px;
}

header p {
    font-size:1.25rem;
    color:rgba(255, 255, 255, 0.9);
    margin-bottom:var(--spacing-md);
}

/* Navigation principale */
header nav {
    border-top:1px solid rgba(255, 255, 255, 0.3);
    padding-top:var(--spacing-md);
    margin-top:var(--spacing-md);
}

header nav a {
    color:var(--color-white);
    margin:0 var(--spacing-sm);
    padding:var(--spacing-xs) var(--spacing-sm);
    font-size:1.1rem;
    transition:var(--transition);
}

header nav a:hover,
header nav a:focus {
    color:#000000;
    text-decoration:none;
}

header nav a[aria-current="page"] {
    font-weight:bold;
    border-bottom:2px solid var(--color-accent);
}

/* Menu hamburger mobile */
.menu-toggle {
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    padding:10px;
    position:absolute;
    top:20px;
    right:20px;
    z-index:1001;
    width:40px;
    height:40px;
    flex-direction:column;
    justify-content:space-around;
    align-items:center;
}

.menu-toggle span {
    display:block;
    width:30px;
    height:3px;
    background-color:#ffffff;
    transition:all 0.3s ease;
    border-radius:2px;
}

.menu-toggle:hover span {
    background-color:rgba(255, 255, 255, 0.8);
}

.menu-toggle.active span:nth-child(1) {
    transform:rotate(45deg) translateY(12px);
}

.menu-toggle.active span:nth-child(2) {
    opacity:0;
}

.menu-toggle.active span:nth-child(3) {
    transform:rotate(-45deg) translateY(-12px);
}

/* Overlay pour le menu mobile */
.menu-overlay {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0, 0, 0, 0.5);
    z-index:999;
    opacity:0;
    transition:opacity 0.3s ease;
}

.menu-overlay.active {
    display:block;
    opacity:1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
body:not([data-page="Contact"]):not([data-page="Evenements"]) main[role="main"] {
    max-width:1200px;
    margin:0 auto;
    padding:var(--spacing-xl) var(--spacing-md);
    background-color:var(--color-primary);
    color:#ffffff;
}

section {
    margin-bottom:var(--spacing-xl);
}

/* Titres de sections */
section h2 {
    font-size:2.3rem;
    color:var(--color-primary);
    padding-bottom:var(--spacing-sm);
    margin-bottom:var(--spacing-md);
}

section h3 {
    font-size:1.7rem;
    color:#000000;
    margin-bottom:var(--spacing-md);
}

/* ============================================
   PAGE ÉQUIPE - MEMBRES
   ============================================ */
#membres-equipe {
    background-color:var(--color-secondary);
    padding:var(--spacing-xl);
    border-radius:var(--border-radius);
}

#membres-equipe article {
    background:var(--color-white);
    padding:var(--spacing-lg);
    margin-bottom:var(--spacing-md);
    border-radius:var(--border-radius);
    box-shadow:var(--box-shadow);
    text-align:center;
    transition:var(--transition);
}

#membres-equipe article:hover {
    transform:translateY(-5px);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);
}

#membres-equipe article img {
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:50%;
    margin:0 auto var(--spacing-md);
    border:4px solid var(--color-accent);
}

#membres-equipe article h4 {
    font-size:1.5rem;
    color:var(--color-primary);
    margin-bottom:var(--spacing-xs);
}

#membres-equipe article h5 {
    font-size:1.15rem;
    color:var(--color-accent);
    font-weight:600;
    margin-bottom:var(--spacing-md);
}

#membres-equipe article a {
    display:inline-block;
    background-color:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-sm) var(--spacing-lg);
    border-radius:var(--border-radius);
    font-weight:bold;
    transition:var(--transition);
}

#membres-equipe article a:hover,
#membres-equipe article a:focus {
    background-color:var(--color-primary);
    text-decoration:none;
    transform:scale(1.05);
}

#membres-equipe hr {
    border:none;
    height:1px;
    background-color:var(--color-border);
    margin:var(--spacing-lg) 0;
}

/* ============================================
   PAGE NOS VALEURS
   ============================================ */
/* Header Nos Valeurs */
#valeurs-header {
    background:#F18818;
    color:white;
    text-align:center;
    padding:4rem 2rem;
    margin-bottom:3rem;
}

#valeurs-header h2 {
    font-size:3rem;
    margin-bottom:1rem;
    color:white;
}

#valeurs-header p {
    font-size:1.3rem;
    color:rgba(255, 255, 255, 0.9);
}

/* ============================================
   BLOCKQUOTE / CITATIONS
   ============================================ */
blockquote {
    background:var(--color-secondary);
    
    padding:var(--spacing-lg);
    margin:var(--spacing-lg) 0;
    font-style:italic;
    color:var(--color-text-light);
}

/* ============================================
   ASIDE / COMPLÉMENTAIRE
   ============================================ */
aside[role="complementary"] {
    background:var(--color-accent);
    color:var(--color-white);
    padding:var(--spacing-xl);
    border-radius:var(--border-radius);
    text-align:center;
}

aside h3 {
    color:var(--color-white);
    margin-bottom:var(--spacing-md);
}

aside a {
    display:inline-block;
    background-color:var(--color-white);
    color:var(--color-accent);
    padding:var(--spacing-sm) var(--spacing-xl);
    border-radius:var(--border-radius);
    font-weight:bold;
    margin-top:var(--spacing-md);
    transition:var(--transition);
}

aside a:hover,
aside a:focus {
    background:var(--color-primary);
    color:var(--color-white);
    text-decoration:none;
    transform:scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
footer[role="contentinfo"] {
    background:#000000;
    color:var(--color-white);
    text-align:center;
}

footer img {
    margin:0 auto var(--spacing-lg);
    opacity:0.8;
}

footer nav ul {
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:var(--spacing-md);
    margin-bottom:var(--spacing-lg);
}

footer nav a {
    color:var(--color-white);
    transition:var(--transition);
}

footer nav a:hover,
footer nav a:focus {
    color:#AD8163;
    text-decoration:none;
}

footer p {
    margin:var(--spacing-sm) 0;
    color:rgba(255, 255, 255, 0.8);
}

footer nav[aria-label="Mentions légales"] {
    margin-top:var(--spacing-lg);
    border-top:1px solid rgba(255, 255, 255, 0.3);
    padding-top:var(--spacing-md);
}

footer nav[aria-label="Mentions légales"] ul {
    gap:var(--spacing-sm);
}

footer nav[aria-label="Mentions légales"] a {
    font-size:1.05rem;
}

/* Responsive Footer Mobile */
@media (max-width:1024px) {
footer[role="contentinfo"] {
        padding:1.5rem 1rem;
    }
    
    footer img {
        width:120px;
        height:auto;
        margin-bottom:1.5rem;
    }
    
    /* Masquer la navigation principale (dupliqu e dans le menu hamburger) */
    footer nav[aria-label="Customer service"] {
        display:none;
    }
    
    footer p {
        font-size:1.05rem;
        margin:0.5rem 0;
    }
    
    footer nav[aria-label="Mentions légales"] {
        margin-top:1.5rem;
        padding-top:1.5rem;
    }
    
    footer nav[aria-label="Mentions légales"] ul {
        flex-direction:column;
        gap:0.5rem;
    }
    
    footer nav[aria-label="Mentions légales"] a {
        font-size:1rem;
        padding:0.5rem;
    }
.footer-social {
        margin:1.5rem 0;
    }
.footer-social a {
        width:50px;
        height:50px;
    }
.footer-social img {
        width:32px;
        height:32px;
    }
}

/* Footer Social (Instagram) */
.footer-social {
    margin:var(--spacing-lg) 0;
    text-align:center;
}
.footer-social a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:60px;
    height:60px;
    transition:transform 0.3s ease;
}

.footer-social a:hover {
    transform:scale(1.1);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-social img {
    width:40px;
    height:40px;
    margin:0;
}

/* Footer Partners */
.footer-partners {
    margin-top:var(--spacing-xl);
    padding-top:var(--spacing-lg);
    border-top:1px solid rgba(255, 255, 255, 0.3);
    text-align:center;
}

.footer-partners h3 {
    color:var(--color-white);
    font-size:1.1rem;
    margin-bottom:var(--spacing-md);
    text-transform:uppercase;
    letter-spacing:1px;
}

.partners-logos {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:var(--spacing-lg);
}

.partners-logos a {
    display:flex;
    align-items:center;
    justify-content:center;
    width:140px;
    height:80px;
    padding:10px;
    background:white;
    border-radius:8px;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);
}

.partners-logos a:hover {
    transform:translateY(-5px);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.2);
}

.partners-logos img {
    width:100%;
    height:100%;
    object-fit:contain;
    margin:0;
}

/* Responsive - Footer Partners */
@media (max-width:768px) {
.partners-logos {
        gap:var(--spacing-md);
    }
.partners-logos a {
        width:120px;
        height:70px;
    }
}

@media (max-width:480px) {
.footer-partners h3 {
        font-size:1rem;
    }
.partners-logos {
        flex-direction:column;
        gap:var(--spacing-sm);
    }
}

/* Main Content */
body:not([data-page="Contact"]):not([data-page="Evenements"]) main[role="main"] {
    padding:1rem;
}

section {
    padding:2rem 1.25rem;
    margin-bottom:2rem;
}

section h2 {
    font-size:2rem;
    margin-bottom:1.25rem;
}

section h3 {
    font-size:1.6rem;
    margin-bottom:1rem;
}

section p {
    font-size:1.15rem;
    line-height:1.7;
}

/* Page Accueil */
body[data-page="Accueil"] #presentation {
    padding:2rem 1rem;
    margin:1.5rem auto;
}

body[data-page="Accueil"] #galerie .galerie-grid {
    grid-template-columns:1fr;
    gap:1.5rem;
}

body[data-page="Accueil"] #temoignages .temoignages-grid {
    grid-template-columns:1fr;
    gap:1.5rem;
}

/* Page Équipe */
body[data-page="Equipe"] #presentation-equipe
/* ============================================
   UTILITIES
   ============================================ */
.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;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    header nav,
    aside,
    footer nav {
        display:none;
    }
    
    a {
        text-decoration:none;
    }
    
    a[href]:after {
        content:" (" attr(href) ")";
    }
}/* ============================================
   RESPONSIVE FIX PAGE ACCUEIL
   Corrections basées sur l'approche de la page Équipe
   ============================================ */

/* TABLETTES ET MOBILE (max 1024px) */
@media (max-width:1024px) {
    /* Page Accueil - Sections */
    body[data-page="Accueil"] #presentation {
        padding:2rem 1.5rem;
        margin:2rem 1rem !important;
    }
    
    body[data-page="Accueil"] #presentation h2 {
        font-size:2rem;
    }
    
    body[data-page="Accueil"] #galerie {
        padding:2rem 1.5rem;
        margin:2rem 1rem !important;
    }
    
    body[data-page="Accueil"] #galerie h2 {
        font-size:2rem;
    }
    
    body[data-page="Accueil"] #galerie .galerie-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
    body[data-page="Accueil"] #temoignages {
        padding:2rem 1.5rem;
        margin:2rem 1rem !important;
    }
    
    body[data-page="Accueil"] #temoignages h2 {
        font-size:2rem;
    }
    
    body[data-page="Accueil"] #temoignages .temoignages-grid {
        grid-template-columns:1fr;
        gap:1.5rem;
    }
    
    body[data-page="Accueil"] .galerie-grid figure img {
        height:220px;
    }
    
    body[data-page="Accueil"] .temoignage-card {
        padding:1.5rem;
    }
    
    /* Ajustements des effets 3D pour tablette */
    body[data-page="Accueil"] .temoignage-card:hover {
        transform:translateY(-8px) perspective(1000px) rotateX(1deg);
    }
    
    body[data-page="Accueil"] .galerie-item:hover {
        transform:translateY(-8px) perspective(1000px) rotateX(1deg);
    }
}

/* MOBILE (max 480px) */
@media (max-width:480px) {
    body[data-page="Accueil"] #presentation,
    body[data-page="Accueil"] #galerie,
    body[data-page="Accueil"] #temoignages {
        padding:1.5rem 1rem;
        margin:1.5rem 0.5rem !important;
        border-radius:12px;
    }
    
    body[data-page="Accueil"] #presentation h2,
    body[data-page="Accueil"] #galerie h2,
    body[data-page="Accueil"] #temoignages h2 {
        font-size:1.75rem;
    }
    
    .section-label {
        font-size:0.75rem;
    }
    
    .separator-elegant {
        width:40px;
    }
    
    body[data-page="Accueil"] .galerie-grid figure img {
        height:200px;
    }
    
    body[data-page="Accueil"] .temoignage-card {
        padding:1.25rem 1rem;
    }
    
    .temoignage-stars {
        font-size:1rem;
    }
    
    /* Ajustements des effets 3D pour mobile */
    body[data-page="Accueil"] .temoignage-card:hover {
        transform:translateY(-5px);
        box-shadow:0 15px 40px rgba(0, 0, 0, 0.2);
    }
    
    body[data-page="Accueil"] .galerie-item:hover {
        transform:translateY(-5px);
        box-shadow:0 12px 30px rgba(0, 0, 0, 0.15);
    }
    
    body[data-page="Accueil"] main {
        padding:2rem 0.5rem;
    }
    
    .btn-galerie {
        padding:14px 35px;
        font-size:14px;
    }
}







/* ============================================
   GESTION DES NUMÉROS DE TÉLÉPHONE
   Desktop:texte simple non cliquable
   Mobile:lien cliquable
   ============================================ */

.phone-mobile {
    .fax-mobile {
        display:none;
    }
    display:none !important;
}

.phone-desktop {
    .fax-desktop {
        display:inline;
    }
    display:inline;
}

@media (max-width:768px) {
    .phone-mobile {
        display:inline;
    }
    .fax-mobile {
        display:inline !important;
    }
    body[data-page="Mentions-Legales"] .phone-mobile {
        color:#555 !important;
    }
    body[data-page="Mentions-Legales"] .fax-mobile {
        color:#555 !important;
    }
    .phone-desktop {
        display:none;
    }
    .fax-desktop {
        display:none;
    }
}
/* ============================================
   PAGES L GALES - DESIGN PROFESSIONNEL
   Mentions l gales, Donn es personnelles, Cookies
   ============================================ */

/* Styles communs aux pages l gales */
body[data-page="Mentions-Legales"] main,
body[data-page="Cookies"] main,
body[data-page="Donnees-Personnelles"] main {
    background:#fff;
}
body[data-page="Donnees-Personnelles"] main,
body[data-page="Cookies"] main {
    background:#ffffff;
    padding:0;
    min-height:100vh;
}

/* ============================================
   PAGES LÉGALES - Design professionnel
   ============================================ */

/* Container principal */
body[data-page="Mentions-Legales"],
body[data-page="Donnees-Personnelles"],
body[data-page="Cookies"] {
    background:#ffffff;
}

body[data-page="Mentions-Legales"] article,
body[data-page="Cookies"] article,
body[data-page="Donnees-Personnelles"] article {
    max-width:1000px;
    margin:0 auto;
    padding:6rem 2rem 3rem;
    background:linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245, 245, 245, 0.9) 100%);
    border-radius:24px;
    border:2px solid rgba(182, 55, 55, 0.10);
    box-shadow:0 15px 50px rgba(182, 55, 55, 0.10);
    position:relative;
    backdrop-filter:blur(10px);
}
body[data-page="Cookies"] article > header,
body[data-page="Donnees-Personnelles"] article > header {
    text-align:center;
    margin-bottom:3rem;
    padding:2.5rem 2rem;
    background:linear-gradient(135deg, #B63737 0%, #ffb86b 100%);
    border-radius:18px;
    box-shadow:0 8px 30px rgba(182, 55, 55, 0.13);
    position:relative;
    overflow:hidden;
}
body[data-page="Cookies"] article > header h1,
body[data-page="Donnees-Personnelles"] article > header h1 {
    color:#fff;
    font-size:2.5rem;
    margin-bottom:1rem;
    text-shadow:2px 2px 8px rgba(182, 55, 55, 0.15);
    letter-spacing:1px;
    font-weight:800;
    text-transform:uppercase;
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:2rem;
}
body[data-page="Mentions-Legales"] article > header h1::after,
body[data-page="Cookies"] article > header h1::after,
body[data-page="Donnees-Personnelles"] article > header h1::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:5px;
    background:linear-gradient(90deg, #B63737, #ffb86b);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(182, 55, 55, 0.13);
}
body[data-page="Cookies"] article > header p,
body[data-page="Donnees-Personnelles"] article > header p {
    color:rgba(255,255,255,0.97);
    font-size:1.1rem;
    font-style:italic;
    margin-bottom:0;
}
body[data-page="Cookies"] article > section,
body[data-page="Donnees-Personnelles"] article > section {
    background:linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(245, 245, 245, 0.95) 100%);
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:16px;
    box-shadow:0 8px 30px rgba(182, 55, 55, 0.10);
    border-left:6px solid #B63737;
    border:2px solid rgba(182, 55, 55, 0.10);
    position:relative;
    overflow:hidden;
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter:blur(8px);
}
body[data-page="Mentions-Legales"] article > section:hover,
body[data-page="Cookies"] article > section:hover,
body[data-page="Donnees-Personnelles"] article > section:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 70px rgba(182, 55, 55, 0.18);
    border-color:rgba(182, 55, 55, 0.18);
}
body[data-page="Donnees-Personnelles"] article,
body[data-page="Cookies"] article {
    max-width:1100px;
    margin:0 auto;
    padding:6rem 2rem 4rem;
}

/* En-têtes des pages légales */
body[data-page="Mentions-Legales"] #mentions-main-header,
body[data-page="Donnees-Personnelles"] #donnees-main-header,
body[data-page="Cookies"] #cookies-main-header {
    text-align:center;
    padding:5rem 2rem 3rem;
    margin-bottom:3rem;
    background:#B63737;
    position:relative;
    overflow:hidden;
    box-shadow:0 8px 32px rgba(182, 55, 55, 0.2);
}

body[data-page="Mentions-Legales"] #mentions-main-header::before,
body[data-page="Donnees-Personnelles"] #donnees-main-header::before,
body[data-page="Cookies"] #cookies-main-header::before {
    content:'';
    position:absolute;
    top:-50%;
    right:-10%;
    width:400px;
    height:400px;
    background:radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius:50%;
}

body[data-page="Mentions-Legales"] #mentions-main-header h1,
body[data-page="Donnees-Personnelles"] #donnees-main-header h1,
body[data-page="Cookies"] #cookies-main-header h1 {
    color:#ffffff;
    font-size:2.8rem;
    font-weight:700;
    margin-bottom:0.8rem;
    text-shadow:3px 3px 8px rgba(0,0,0,0.3), 0 0 20px rgba(0,0,0,0.2);
    letter-spacing:-0.5px;
    position:relative;
    z-index:1;
}

body[data-page="Mentions-Legales"] #mentions-main-header p,
body[data-page="Donnees-Personnelles"] #donnees-main-header p,
body[data-page="Cookies"] #cookies-main-header p {
    color:rgba(255, 255, 255, 0.95);
    font-size:1.15rem;
    font-weight:400;
    position:relative;
    z-index:1;
}

/* Badge de conformité RGPD */
body[data-page="Donnees-Personnelles"] #donnees-main-header::after {
    content:'✓ RGPD';
    position:absolute;
    top:20px;
    right:30px;
    background:rgba(139, 195, 74, 0.95);
    color:white;
    padding:0.6rem 1.2rem;
    border-radius:25px;
    font-size:0.9rem;
    font-weight:700;
    box-shadow:0 4px 12px rgba(0,0,0,0.2);
    z-index:10;
}

/* En-tête de l'article (masqué) */
body[data-page="Mentions-Legales"] article > header,
body[data-page="Donnees-Personnelles"] article > header,
body[data-page="Cookies"] article > header {
    display:none;
}

/* Sections */
body[data-page="Mentions-Legales"] article section,
body[data-page="Donnees-Personnelles"] article section,
body[data-page="Cookies"] article section {
    background:#ffffff;
    padding:2.5rem;
    margin-bottom:2rem;
    border-radius:16px;
    box-shadow:0 4px 20px rgba(0, 0, 0, 0.08);
    border-left:5px solid #B63737;
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position:relative;
}

body[data-page="Mentions-Legales"] article section:hover,
body[data-page="Donnees-Personnelles"] article section:hover,
body[data-page="Cookies"] article section:hover {
    box-shadow:0 8px 32px rgba(182, 55, 55, 0.15);
    transform:translateY(-4px);
    border-left-color:#8B4513;
}

/* Titre des sections h2 */
body[data-page="Mentions-Legales"] article section h2,
body[data-page="Donnees-Personnelles"] article section h2,
body[data-page="Cookies"] article section h2 {
    color:#2c3e50 !important;
    font-size:1.6rem !important;
    font-weight:700;
    margin-bottom:1.8rem;
    display:flex !important;
    align-items:center;
    padding-bottom:1.2rem;
    border-bottom:3px solid #f0f0f0 !important;
    background:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
    text-align:left !important;
}

body[data-page="Mentions-Legales"] article section h2 span,
body[data-page="Donnees-Personnelles"] article section h2 span,
body[data-page="Cookies"] article section h2 span {
    background:#B63737 !important;
    color:white !important;
    min-width:45px !important;
    width:45px !important;
    height:45px !important;
    border-radius:12px !important;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    margin-right:1.2rem;
    font-size:1.3rem !important;
    font-weight:700;
    box-shadow:0 6px 16px rgba(182, 55, 55, 0.4) !important;
    flex-shrink:0;
}

/* Sous-titres h3 */
body[data-page="Mentions-Legales"] article section h3,
body[data-page="Donnees-Personnelles"] article section h3,
body[data-page="Cookies"] article section h3 {
    color:#B63737;
    font-size:1.3rem;
    font-weight:700;
    margin:2.5rem 0 1.2rem;
    padding-left:1.2rem;
    display:flex;
    align-items:center;
    gap:0.5rem;
}

/* Paragraphes */
body[data-page="Mentions-Legales"] article section p,
body[data-page="Donnees-Personnelles"] article section p,
body[data-page="Cookies"] article section p {
    line-height:1.9;
    color:#555;
    margin-bottom:1.2rem;
    font-size:1.05rem;
}

body[data-page="Mentions-Legales"] article section p strong,
body[data-page="Donnees-Personnelles"] article section p strong,
body[data-page="Cookies"] article section p strong {
    color:#2c3e50;
    font-weight:700;
}

body[data-page="Mentions-Legales"] article section p a,
body[data-page="Donnees-Personnelles"] article section p a,
body[data-page="Cookies"] article section p a {
    color:#B63737 !important;
    font-weight:600 !important;
    text-decoration:none;
    border-bottom:2px solid transparent;
    transition:all 0.3s ease;
}

body[data-page="Mentions-Legales"] article section p a:hover,
body[data-page="Donnees-Personnelles"] article section p a:hover,
body[data-page="Cookies"] article section p a:hover {
    color:#8B4513 !important;
    border-bottom-color:#8B4513;
}

/* Listes */
body[data-page="Mentions-Legales"] article section ul,
body[data-page="Donnees-Personnelles"] article section ul,
body[data-page="Cookies"] article section ul {
    line-height:2;
    color:#555;
    margin:1.8rem 0 1.8rem 0;
    list-style:none;
    padding-left:0;
}

body[data-page="Mentions-Legales"] article section ul li,
body[data-page="Donnees-Personnelles"] article section ul li,
body[data-page="Cookies"] article section ul li {
    position:relative;
    padding-left:2.5rem;
    margin-bottom:0.8rem;
}

body[data-page="Mentions-Legales"] article section ul li::before,
body[data-page="Donnees-Personnelles"] article section ul li::before,
body[data-page="Cookies"] article section ul li::before {
    content:'✓';
    position:absolute;
    left:0.5rem;
    color:#B63737;
    font-weight:900;
    font-size:1.2rem;
}

/* Tableaux */
body[data-page="Mentions-Legales"] table,
body[data-page="Donnees-Personnelles"] table,
body[data-page="Cookies"] table {
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    margin:2rem 0;
    background:#ffffff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
}

body[data-page="Mentions-Legales"] table tr,
body[data-page="Donnees-Personnelles"] table tr,
body[data-page="Cookies"] table tr {
    border-bottom:1px solid #e8e8e8;
    transition:background 0.3s ease;
}

body[data-page="Mentions-Legales"] table tr:hover,
body[data-page="Donnees-Personnelles"] table tr:hover,
body[data-page="Cookies"] table tr:hover {
    background:#f8f8f8;
}

body[data-page="Mentions-Legales"] table tr:last-child,
body[data-page="Donnees-Personnelles"] table tr:last-child,
body[data-page="Cookies"] table tr:last-child {
    border-bottom:none;
}

body[data-page="Mentions-Legales"] table td,
body[data-page="Donnees-Personnelles"] table td,
body[data-page="Cookies"] table td {
    padding:1.2rem 1.5rem;
    color:#555;
    vertical-align:top;
}

body[data-page="Mentions-Legales"] table td:first-child,
body[data-page="Donnees-Personnelles"] table td:first-child,
body[data-page="Cookies"] table td:first-child {
    font-weight:700;
    color:#B63737;
    width:30%;
    background:rgba(182, 55, 55, 0.03);
}

/* Blocs d'information spéciaux */
body[data-page="Mentions-Legales"] article section > div,
body[data-page="Donnees-Personnelles"] article section > div,
body[data-page="Cookies"] article section > div {
    background:linear-gradient(135deg, #fff9f5 0%, #fef5f0 100%) !important;
    padding:1.8rem !important;
    border-radius:12px !important;
    border-left:5px solid #B63737 !important;
    margin:2rem 0;
    box-shadow:0 2px 12px rgba(182, 55, 55, 0.08) !important;
}

body[data-page="Donnees-Personnelles"] article section > div p,
body[data-page="Cookies"] article section > div p {
    color:#2c3e50 !important;
    margin:0;
    line-height:1.9;
    font-weight:500;
}

/* Bloc succès/sécurité vert */
body[data-page="Donnees-Personnelles"] article section div[style*="e8f5e9"] {
    background:linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
    border-left-color:#4caf50 !important;
}

body[data-page="Donnees-Personnelles"] article section div[style*="e8f5e9"] p {
    color:#2e7d32 !important;
}

/* Blocs warning jaune/orange */
body[data-page="Donnees-Personnelles"] article section div[style*="fff3e0"],
body[data-page="Donnees-Personnelles"] article section div[style*="fff8e1"] {
    background:linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
    border-left-color:#F18818 !important;
}

body[data-page="Donnees-Personnelles"] article section div[style*="fff3e0"] p,
body[data-page="Donnees-Personnelles"] article section div[style*="fff8e1"] p {
    color:#e65100 !important;
    font-weight:600;
}

/* Bloc bleu clair */
body[data-page="Donnees-Personnelles"] article section div[style*="e3f2fd"] {
    background:linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    border-left-color:#1976d2 !important;
}

body[data-page="Donnees-Personnelles"] article section div[style*="e3f2fd"] p {
    color:#1565c0 !important;
    font-weight:600;
}

/* Adresse */
body[data-page="Mentions-Legales"] address {
    font-style:normal;
    line-height:1.9;
    color:#555;
    background:#ffffff;
    padding:1.5rem;
    border-radius:10px;
    margin-top:1.5rem;
    border-left:0;
}

/* Crédits photos */
body[data-page="Mentions-Legales"] .credits-photo {
    background:#ffffff;
    padding:1.8rem;
    border-radius:12px;
    color:#555;
    line-height:1.9;
    font-size:0.98rem;
    margin-top:1.5rem;
    border-left:0;
}

/* Warning box */
body[data-page="Mentions-Legales"] .warning-box {
    background:linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding:1.8rem;
    border-radius:12px;
    border-left:5px solid #F18818;
    margin:2rem 0;
    box-shadow:0 2px 12px rgba(241, 136, 24, 0.15);
}

body[data-page="Mentions-Legales"] .warning-box p {
    color:#e65100;
    margin:0;
    font-weight:600;
    line-height:1.8;
}

/* Responsive */
@media (max-width:768px) {
    body[data-page="Mentions-Legales"] #mentions-main-header h1,
    body[data-page="Donnees-Personnelles"] #donnees-main-header h1,
    body[data-page="Cookies"] #cookies-main-header h1 {
        font-size:2rem !important;
    }
    
    body[data-page="Mentions-Legales"] article,
    body[data-page="Donnees-Personnelles"] article,
    body[data-page="Cookies"] article {
        padding:0 1rem 3rem;
    }
    
    body[data-page="Mentions-Legales"] article section,
    body[data-page="Donnees-Personnelles"] article section,
    body[data-page="Cookies"] article section {
        padding:1.8rem;
    }
    
    body[data-page="Mentions-Legales"] article section h2,
    body[data-page="Donnees-Personnelles"] article section h2,
    body[data-page="Cookies"] article section h2 {
        font-size:1.3rem !important;
        flex-direction:row;
        flex-wrap:wrap;
        align-items:center !important;
        text-align:left !important;
    }
    
    body[data-page="Mentions-Legales"] article section h2 span,
    body[data-page="Donnees-Personnelles"] article section h2 span,
    body[data-page="Cookies"] article section h2 span {
        width:40px !important;
        height:40px !important;
        min-width:40px !important;
        font-size:1.1rem !important;
    }
    
    body[data-page="Mentions-Legales"] table,
    body[data-page="Donnees-Personnelles"] table,
    body[data-page="Cookies"] table {
        display:block;
        overflow-x:auto;
    }
    
    body[data-page="Mentions-Legales"] table td,
    body[data-page="Donnees-Personnelles"] table td,
    body[data-page="Cookies"] table td {
        display:block;
        width:100% !important;
        padding:0.9rem 1.2rem;
    }
    
    body[data-page="Mentions-Legales"] table td:first-child,
    body[data-page="Donnees-Personnelles"] table td:first-child,
    body[data-page="Cookies"] table td:first-child {
        background:rgba(182, 55, 55, 0.08);
        font-weight:700;
        border-radius:8px 8px 0 0;
    }
    
    body[data-page="Mentions-Legales"] table tr,
    body[data-page="Donnees-Personnelles"] table tr,
    body[data-page="Cookies"] table tr {
        display:block;
        margin-bottom:1rem;
        border:1px solid #e8e8e8;
        border-radius:8px;
    }
    
    body[data-page="Donnees-Personnelles"] #donnees-main-header::after {
        top:12px;
        right:12px;
        font-size:0.8rem;
        padding:0.5rem 1rem;
    }
}
/* ===== 1. NAVIGATION MOBILE - CORRECTION PRIORITAIRE ===== */
@media (max-width:1024px) {
    /* Le menu hamburger doit toujours être visible */
    .menu-toggle {
        display:flex !important;
        position:fixed;
        top:20px;
        right:20px;
        z-index:1001;
        background:rgba(182, 55, 55, 0.95);
        padding:12px;
        border-radius:8px;
        box-shadow:0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Navigation cachée par défaut */
    header nav {
        display:none;
        position:fixed;
        top:0;
        right:0;
        width:320px;
        height:100vh;
        z-index:1000;
        overflow-y:auto;
        padding:100px 25px 30px;
        box-shadow:-2px 0 10px rgba(0, 0, 0, 0.3);
        background:#B63737;
    }
    
    /* Quand le menu est actif */
    header nav.active {
        display:flex !important;
        flex-direction:column;
    }
    
    /* Liens du menu mobile */
    header nav a {
        display:block !important;
        padding:18px 22px;
        margin-bottom:12px;
        border-radius:8px;
        font-size:1.15rem;
        color:#ffffff;
        background-color:rgba(255, 255, 255, 0.1);
        transition:all 0.3s ease;
    }
    
    header nav a:hover,
    header nav a:focus {
        background-color:rgba(255, 255, 255, 0.2);
        transform:translateX(5px);
    }
    
    header nav a[aria-current="page"] {
        background-color:rgba(255, 255, 255, 0.3);
        font-weight:bold;
    }
    
    /* Menu noir pour page Équipe */
    body[data-page="Equipe"] header nav,
body[data-page="Equipe-Profils"] header nav {
        background:#000000;
    }
    
    body[data-page="Equipe"] .menu-toggle,
body[data-page="Equipe-Profils"] .menu-toggle {
        background:rgba(0, 0, 0, 0.8);
    }
    
    /* Menu rouge pour page Accueil */
    body[data-page="Accueil"] header nav {
        background:#B63737;
    }
    
    body[data-page="Accueil"] .menu-toggle {
        background:rgba(182, 55, 55, 0.95);
    }
    
    /* Menu marron pour page Événements */
    body[data-page="Evenements"] header nav {
        background:#AD8163;
    }
    
    body[data-page="Evenements"] .menu-toggle {
        background:rgba(173, 129, 99, 0.95);
    }
    
    /* Overlay */
    .menu-overlay.active {
        display:block !important;
        position:fixed;
        top:0;
        left:0;
        right:0;
        bottom:0;
        background:rgba(0, 0, 0, 0.5);
        z-index:999;
    }
    
    /* Empêcher le scroll */
    body.menu-open {
        overflow:hidden !important;
    }
}

/* ===== 3. GALERIE & TÉMOIGNAGES - RESPONSIVE UNIFIÉ ===== */

/* Galerie Desktop */
@media (min-width:1025px) {
    body[data-page="Accueil"] .galerie-grid {
        grid-template-columns:repeat(4, 1fr) !important;
        gap:2rem;
    }
}

/* Galerie Tablette */
@media (max-width:1024px) and (min-width:769px) {
    body[data-page="Accueil"] .galerie-grid {
        grid-template-columns:repeat(2, 1fr) !important;
        gap:1.5rem;
    }
}

/* Galerie Mobile */
@media (max-width:768px) {
    body[data-page="Accueil"] .galerie-grid {
        grid-template-columns:1fr !important;
        gap:1.5rem;
    }
}

/* Témoignages Desktop */
@media (min-width:1025px) {
    body[data-page="Accueil"] .temoignages-grid {
        grid-template-columns:repeat(3, 1fr) !important;
        gap:2.5rem;
    }
}

/* Témoignages Tablette */
@media (max-width:1024px) and (min-width:769px) {
    body[data-page="Accueil"] .temoignages-grid {
        grid-template-columns:repeat(2, 1fr) !important;
        gap:2rem;
    }
}

/* Témoignages Mobile */
@media (max-width:768px) {
    body[data-page="Accueil"] .temoignages-grid {
        grid-template-columns:1fr !important;
        gap:1.5rem;
    }
}

/* ===== 4. TYPOGRAPHIE RESPONSIVE ===== */
@media (max-width:768px) {
    h1 {
        font-size:clamp(1.8rem, 5vw, 2.5rem) !important;
    }
    
    h2 {
        font-size:clamp(1.5rem, 4vw, 2rem) !important;
    }
    
    h3 {
        font-size:clamp(1.3rem, 3.5vw, 1.75rem) !important;
    }
    
    p, li {
        font-size:clamp(1rem, 2.5vw, 1.125rem);
        line-height:1.6;
    }
}

/* ===== 5. BOUTONS RESPONSIVE ===== */
@media (max-width:768px) {
    .btn-galerie,
    .btn-cta,
    .btn-contact {
        width:100%;
        max-width:320px;
        display:block;
        margin-left:auto;
        margin-right:auto;
    }
}

/* ===== 6. FOOTER MOBILE ===== */
@media (max-width:768px) {
footer[role="contentinfo"] {
        text-align:center;
    }
    
    footer nav ul {
        flex-direction:column;
        gap:0.5rem;
    }
.partners-logos {
        flex-direction:column;
        align-items:center;
        gap:1rem;
    }
}

/* ============================================
   PAGE CONTACT - DESIGN MODERNE & PROFESSIONNEL
   ============================================ */

/* IMPORTANT :Override COMPLET du main pour la page Contact */
body[data-page="Contact"] main[role="main"] {
    background:linear-gradient(135deg, #fdfbf8 0%, #fee5e5 30%, #B63737 70%, #d94848 100%) !important;
    color:#1a1a1a !important;
    padding:0 !important;
    max-width:100% !important;
    margin:0 auto !important;
    position:relative !important;
    overflow:hidden !important;
}

body[data-page="Contact"] main[role="main"]::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(90deg, #B63737 0%, #ffffff 25%, #B63737 50%, #ffffff 75%, #B63737 100%);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    z-index:1;
}

@keyframes gradientSlide {
    0%, 100% { background-position:0% 0%; }
    50% { background-position:100% 0%; }
}

body[data-page="Contact"] section {
    margin-bottom:0 !important;
    border:none !important;
}

body[data-page="Contact"] section h2,
body[data-page="Contact"] section h3 {
    border-bottom:none !important;
    padding-bottom:0 !important;
}

/* ============================================
   1. SECTION FORMULAIRE CONTACT
   ============================================ */

body[data-page="Contact"] #formulaire-contact {
    position:relative !important;
    background:linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 250, 0.95) 100%) !important;
    backdrop-filter:blur(15px) !important;
    padding:3.5rem 2.5rem !important;
    margin:-4rem auto 4rem !important;
    max-width:750px !important;
    border-radius:20px !important;
    box-shadow:0 20px 60px rgba(182, 55, 55, 0.25),
                0 0 0 2px rgba(182, 55, 55, 0.15) !important;
    z-index:10 !important;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow:hidden !important;
}

body[data-page="Contact"] #formulaire-contact::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg, #B63737, #ffffff, #B63737);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
}

body[data-page="Contact"] #formulaire-contact:hover::before {
    opacity:1;
}

body[data-page="Contact"] #formulaire-contact:hover {
    transform:translateY(-8px) perspective(1000px) rotateX(2deg);
    box-shadow:0 30px 80px rgba(182, 55, 55, 0.3),
                0 0 0 2px rgba(182, 55, 55, 0.25);
}

body[data-page="Contact"] #formulaire-contact h2 {
    color:#B63737;
    font-size:2.5rem;
    margin-bottom:0.75rem;
    text-align:center;
    font-weight:800;
    letter-spacing:-0.5px;
    position:relative;
    padding-bottom:2rem;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Contact"] #formulaire-contact h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:4px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(182, 55, 55, 0.3);
}

body[data-page="Contact"] .contact-form {
    display:flex;
    flex-direction:column;
    gap:1.75rem;
    margin-top:1rem;
}

body[data-page="Contact"] .form-group {
    display:flex;
    flex-direction:column;
    gap:0.625rem;
    position:relative;
}

body[data-page="Contact"] .form-group label {
    font-weight:700;
    color:#2c2c2c;
    font-size:0.875rem;
    text-transform:uppercase;
    letter-spacing:0.5px;
    transition:color 0.3s ease;
}

body[data-page="Contact"] .form-group:focus-within label {
    color:#B63737;
}

body[data-page="Contact"] .form-group input,
body[data-page="Contact"] .form-group textarea {
    padding:1.125rem 1.25rem;
    border:2px solid rgba(182, 55, 55, 0.2);
    border-radius:12px;
    font-size:1.05rem;
    font-family:var(--font-secondary);
    background:#ffffff;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color:#2c2c2c;
    font-weight:500;
}

body[data-page="Contact"] .form-group textarea {
    resize:vertical;
    min-height:150px;
}

body[data-page="Contact"] .form-group input:hover,
body[data-page="Contact"] .form-group textarea:hover {
    border-color:rgba(182, 55, 55, 0.4);
    transform:translateY(-2px);
    box-shadow:0 4px 15px rgba(182, 55, 55, 0.1);
}

body[data-page="Contact"] .form-group input:focus,
body[data-page="Contact"] .form-group textarea:focus {
    border-color:#B63737;
    outline:none;
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(182, 55, 55, 0.15),
                0 6px 20px rgba(182, 55, 55, 0.2);
    transform:translateY(-3px);
}

body[data-page="Contact"] .btn-contact {
    background:linear-gradient(135deg, #B63737 0%, #8e1a1a 100%);
    color:#ffffff;
    font-weight:800;
    border:2px solid transparent;
    border-radius:12px;
    padding:1.25rem 3rem;
    font-size:1.125rem;
    cursor:pointer;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-self:flex-end;
    text-transform:uppercase;
    letter-spacing:1px;
    box-shadow:0 8px 24px rgba(182, 55, 55, 0.4);
    position:relative;
    overflow:hidden;
}

body[data-page="Contact"] .btn-contact::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition:left 0.5s ease;
}

body[data-page="Contact"] .btn-contact:hover::before {
    left:100%;
}

body[data-page="Contact"] .btn-contact:hover {
    background:linear-gradient(135deg, #ffffff 0%, #fee5e5 100%);
    color:#B63737;
    border-color:#B63737;
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 15px 40px rgba(182, 55, 55, 0.5);
}

body[data-page="Contact"] .btn-contact:active {
    transform:translateY(-2px) scale(1.03);
}

body[data-page="Contact"] .form-success {
    background:linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color:#155724;
    border:2px solid #5cb85c;
    border-radius:12px;
    padding:1.25rem;
    margin-bottom:1.5rem;
    text-align:center;
    font-weight:700;
    font-size:1.05rem;
    box-shadow:0 4px 15px rgba(92, 184, 92, 0.2);
}

body[data-page="Contact"] .form-error {
    background:linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color:#721c24;
    border:2px solid #d9534f;
    border-radius:12px;
    padding:1.25rem;
    margin-bottom:1.5rem;
    text-align:center;
    font-weight:700;
    font-size:1.05rem;
    box-shadow:0 4px 15px rgba(217, 83, 79, 0.2);
}

/* ============================================
   2. SECTION CONTACT HEADER
   ============================================ */

body[data-page="Contact"] #contact-header {
    position:relative !important;
    text-align:center !important;
    padding:6rem 2rem 4rem !important;
    overflow:hidden !important;
    margin:0 !important;
    border:none !important;
    background:transparent !important;
}

body[data-page="Contact"] #contact-header h2 {
    position:relative;
    z-index:2;
    color:#ffffff;
    font-size:3.5rem;
    font-weight:800;
    margin:0 0 1rem 0;
    text-shadow:2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(182, 55, 55, 0.4);
    letter-spacing:-0.5px;
}

/* ============================================
   3. SECTION INFORMATIONS PRATIQUES
   ============================================ */

body[data-page="Contact"] #informations-pratiques {
    padding:5rem 2rem !important;
    background:linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 229, 229, 0.9) 100%) !important;
    position:relative !important;
    border:none !important;
    margin:0 !important;
    backdrop-filter:blur(10px) !important;
}

body[data-page="Contact"] #informations-pratiques h2 {
    text-align:center;
    font-size:2.75rem;
    color:#B63737;
    margin-bottom:1rem;
    font-weight:800;
    letter-spacing:-0.5px;
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:2.5rem;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Contact"] #informations-pratiques h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:5px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(182, 55, 55, 0.4);
}

body[data-page="Contact"] .info-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2.5rem;
    max-width:1300px;
    margin:2rem auto 0;
}

body[data-page="Contact"] .info-card {
    position:relative;
    text-align:center;
    background:linear-gradient(145deg, #ffffff 0%, #fffafa 100%);
    padding:3rem 2rem;
    border-radius:20px;
    box-shadow:0 10px 40px rgba(182, 55, 55, 0.12);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border:2px solid rgba(182, 55, 55, 0.15);
    overflow:hidden;
}

body[data-page="Contact"] .info-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg, #B63737, #ffffff, #B63737);
    background-size:200% 100%;
    animation:gradientSlide 4s ease infinite;
    opacity:0;
    transition:opacity 0.4s ease;
}

@keyframes gradientSlide {
    0%, 100% { background-position:0% 0%; }
    50% { background-position:100% 0%; }
}

body[data-page="Contact"] .info-card:hover::before {
    opacity:1;
}

body[data-page="Contact"] .info-card:hover {
    transform:translateY(-12px) perspective(1000px) rotateX(2deg);
    box-shadow:0 25px 70px rgba(182, 55, 55, 0.25);
    border-color:rgba(182, 55, 55, 0.3);
}

body[data-page="Contact"] .info-icon {
    width:90px;
    height:90px;
    margin:0 auto 2rem;
    background:linear-gradient(135deg, #B63737 0%, #d94848 100%);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:1.25rem;
    box-shadow:0 10px 30px rgba(182, 55, 55, 0.4);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position:relative;
    border:3px solid rgba(255, 255, 255, 0.3);
}

 body[data-page="Contact"] .info-icon::after {
    content:'';
    position:absolute;
    inset:-8px;
    border-radius:50%;
    background:linear-gradient(135deg, #B63737, #d94848);
    opacity:0;
    z-index:-1;
    transition:opacity 0.4s ease;
    filter:blur(10px);
}

body[data-page="Contact"] .info-card:hover .info-icon {
    transform:scale(1.15) rotate(-5deg);
    box-shadow:0 15px 40px rgba(182, 55, 55, 0.6);
}

body[data-page="Contact"] .info-card:hover .info-icon::after {
    opacity:0.5;
}

body[data-page="Contact"] .info-icon img {
    width:100%;
    height:100%;
    object-fit:contain;
    filter:brightness(0) invert(1);
    transition:transform 0.4s ease;
}

body[data-page="Contact"] .info-card:hover .info-icon img {
    transform:scale(1.1);
}

body[data-page="Contact"] .info-card h3 {
    font-size:1.6rem;
    color:#B63737;
    margin-bottom:1.25rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:0.5px;
    position:relative;
    padding-bottom:0.8rem;
}

body[data-page="Contact"] .info-card h3::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:50px;
    height:3px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:3px;
}

body[data-page="Contact"] .info-card p {
    color:#4a4a4a;
    font-size:1.125rem;
    line-height:1.8;
    font-weight:500;
}

body[data-page="Contact"] .info-card .phone-number-desktop {
    color:#B63737;
    font-size:1.5rem;
    font-weight:800;
    letter-spacing:1px;
}

body[data-page="Contact"] .btn-call-mobile {
    display:none;
    margin-top:1.25rem;
    padding:1rem 2rem;
    background:linear-gradient(135deg, #B63737 0%, #d94848 100%);
    color:#ffffff;
    text-decoration:none;
    border-radius:12px;
    font-weight:800;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:0 6px 20px rgba(182, 55, 55, 0.4);
    text-transform:uppercase;
    letter-spacing:0.5px;
    font-size:1rem;
    border:2px solid transparent;
    position:relative;
    overflow:hidden;
}

body[data-page="Contact"] .btn-call-mobile::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition:left 0.5s ease;
}

body[data-page="Contact"] .btn-call-mobile:hover::before {
    left:100%;
}

body[data-page="Contact"] .btn-call-mobile:hover {
    background:linear-gradient(135deg, #ffffff 0%, #fee5e5 100%);
    color:#B63737;
    border-color:#B63737;
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 10px 30px rgba(182, 55, 55, 0.5);
}

/* ============================================
   4. SECTION COMMENT NOUS TROUVER
   ============================================ */

body[data-page="Contact"] #comment-trouver {
    padding:5rem 2rem !important;
    background:linear-gradient(135deg, rgba(254, 250, 250, 0.95) 0%, rgba(254, 229, 229, 0.9) 100%) !important;
    position:relative !important;
    border:none !important;
    margin:0 !important;
    backdrop-filter:blur(10px) !important;
}

body[data-page="Contact"] #comment-trouver h2 {
    text-align:center;
    font-size:2.75rem;
    color:#B63737;
    margin-bottom:1rem;
    font-weight:800;
    letter-spacing:-0.5px;
    position:relative;
    display:inline-block;
    left:50%;
    transform:translateX(-50%);
    padding-bottom:2.5rem;
    text-shadow:1px 1px 3px rgba(182, 55, 55, 0.2);
}

body[data-page="Contact"] #comment-trouver h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:5px;
    background:linear-gradient(90deg, #B63737, #d94848);
    border-radius:3px;
    box-shadow:0 2px 10px rgba(182, 55, 55, 0.4);
}

body[data-page="Contact"] .map-container {
    max-width:1300px;
    margin:2rem auto 0;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(182, 55, 55, 0.2);
    border:3px solid rgba(182, 55, 55, 0.3);
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-page="Contact"] .map-container:hover {
    transform:translateY(-8px) perspective(1000px) rotateX(1deg);
    box-shadow:0 30px 80px rgba(182, 55, 55, 0.3);
    border-color:rgba(182, 55, 55, 0.5);
}

body[data-page="Contact"] .map-container iframe {
    width:100%;
    height:550px;
    border:0;
}

body[data-page="Contact"] .map-mobile {
    display:none;
}

body[data-page="Contact"] .map-desktop {
    display:block;
}

/* ============================================
   RESPONSIVE - TABLETTE (769px - 1024px)
   ============================================ */

@media (max-width:1024px) and (min-width:769px) {
    body[data-page="Contact"] #contact-header {
        padding:5rem 2rem 3.5rem;
    }
    
    body[data-page="Contact"] #contact-header h2 {
        font-size:3rem;
    }
    
    body[data-page="Contact"] #formulaire-contact {
        padding:3rem 2rem;
        margin:-3rem auto 3.5rem;
    }
    
    body[data-page="Contact"] #informations-pratiques,
    body[data-page="Contact"] #comment-trouver {
        padding:4rem 2rem;
    }
    
    body[data-page="Contact"] .info-grid {
        grid-template-columns:repeat(2, 1fr);
        gap:2rem;
    }
    
    body[data-page="Contact"] #informations-pratiques h2,
    body[data-page="Contact"] #comment-trouver h2 {
        font-size:2.5rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */

@media (max-width:768px) {
    /* Réduction des effets 3D pour mobile */
    body[data-page="Contact"] #formulaire-contact:hover,
    body[data-page="Contact"] .info-card:hover,
    body[data-page="Contact"] .map-container:hover {
        transform:translateY(-4px) !important;
    }
    
    /* Header */
    body[data-page="Contact"] #contact-header {
        padding:4rem 1.5rem 3rem;
    }
    
    body[data-page="Contact"] #contact-header h2 {
        font-size:2.5rem;
    }
    
    /* Formulaire */
    body[data-page="Contact"] #formulaire-contact {
        padding:2.5rem 1.75rem;
        margin:-2.5rem 1rem 3rem;
        border-radius:16px;
    }
    
    body[data-page="Contact"] #formulaire-contact h2 {
        font-size:2rem;
    }
    
    body[data-page="Contact"] .contact-form {
        gap:1.5rem;
    }
    
    body[data-page="Contact"] .btn-contact {
        width:100%;
        align-self:stretch;
        padding:1.125rem 2rem;
    }
    
    /* Informations Pratiques */
    body[data-page="Contact"] #informations-pratiques {
        padding:4rem 1.5rem;
    }
    
    body[data-page="Contact"] #informations-pratiques h2 {
        font-size:2.25rem;
        margin-bottom:0.75rem;
    }
    
    body[data-page="Contact"] .info-grid {
        grid-template-columns:1fr;
        gap:2rem;
        margin-top:2rem;
    }
    
    body[data-page="Contact"] .info-card {
        padding:2.5rem 1.5rem;
    }
    
    body[data-page="Contact"] .info-icon {
        width:80px;
        height:80px;
    }
    
    body[data-page="Contact"] .info-card h3 {
        font-size:1.5rem;
    }
    
    body[data-page="Contact"] .phone-number-desktop {
        display:none !important;
    }
    
    body[data-page="Contact"] .btn-call-mobile {
        display:inline-block;
    }
    
    /* Comment nous trouver */
    body[data-page="Contact"] #comment-trouver {
        padding:4rem 1.5rem;
    }
    
    body[data-page="Contact"] #comment-trouver h2 {
        font-size:2.25rem;
        margin-bottom:0.75rem;
    }
    
    body[data-page="Contact"] .map-container {
        margin-top:2rem;
        margin-bottom:2rem;
        border-width:2px;
    }
    
    body[data-page="Contact"] .map-container iframe {
        height:350px;
    }
    
    /* Boutons GPS Mobile */
    body[data-page="Contact"] .map-mobile {
        display:block;
    }
    
    body[data-page="Contact"] .map-desktop {
        display:none;
    }
    
    body[data-page="Contact"] .gps-buttons {
        display:flex;
        flex-direction:column;
        gap:1.25rem;
        max-width:500px;
        margin:0 auto;
        width:100%;
    }
    
    body[data-page="Contact"] .btn-gps {
        display:flex;
        align-items:center;
        justify-content:center;
        padding:1.25rem 1.5rem;
        gap:0.75rem;
        font-size:1.05rem;
        border-radius:12px;
        color:#ffffff;
        border:none;
        font-weight:700;
        text-decoration:none;
        transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow:0 6px 20px rgba(30, 180, 255, 0.18);
        text-transform:uppercase;
        letter-spacing:0.5px;
        min-width:180px;
        min-height:64px;
        background:#15cdff;
    }

    body[data-page="Contact"] .btn-gps.btn-waze {
        background:#15cdff;
        color:#fff;
        box-shadow:0 6px 20px rgba(21, 205, 255, 0.25);
    }

    body[data-page="Contact"] .btn-gps.btn-gmaps {
        background:linear-gradient(90deg, #fff 0%, #fff 100%);
        color:#222;
        box-shadow:0 6px 20px rgba(66, 133, 244, 0.13);
        border:2px solid #fff;
        position:relative;
        overflow:hidden;
    }
    body[data-page="Contact"] .btn-gps.btn-gmaps::before {
        content:'';
        position:absolute;
        left:0; top:0; right:0; height:7px;
        background:linear-gradient(90deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
        border-radius:12px 12px 0 0;
        z-index:1;
    }
    body[data-page="Contact"] .btn-gps.btn-gmaps > * {
        position:relative;
        z-index:2;
    }

    body[data-page="Contact"] .btn-gps.btn-gmaps:hover,
    body[data-page="Contact"] .btn-gps.btn-gmaps:active {
        background:linear-gradient(90deg, #fff 0%, #fff 100%);
        color:#111;
        box-shadow:0 8px 24px rgba(66, 133, 244, 0.18);
        border:2px solid #fff;
    }

    body[data-page="Contact"] .btn-gps.btn-waze:hover,
    body[data-page="Contact"] .btn-gps.btn-waze:active {
        background:linear-gradient(135deg, #0fa3c6 0%, #15cdff 100%);
        color:#fff;
        box-shadow:0 8px 24px rgba(21, 205, 255, 0.32);
    }
    }
    
    body[data-page="Contact"] .btn-gps:hover,
    body[data-page="Contact"] .btn-gps:active {
        background:linear-gradient(135deg, #8e1a1a 0%, #6b0f0f 100%);
        transform:translateY(-2px);
        box-shadow:0 8px 24px rgba(182, 55, 55, 0.4);
    }
    
    body[data-page="Contact"] .btn-gps img {
        width:40px;
        height:40px;
        object-fit:contain;
        border-radius:8px;
        display:block;
        margin:0 0 0 0;
        align-self:flex-start;
    }

/* ============================================
   RESPONSIVE - PETIT MOBILE (max 480px)
   ============================================ */

@media (max-width:480px) {
    body[data-page="Contact"] #contact-header {
        padding:3.5rem 1.25rem 2.5rem;
    }
    
    body[data-page="Contact"] #contact-header h2 {
        font-size:2rem;
    }
    
    body[data-page="Contact"] #formulaire-contact {
        padding:2rem 1.5rem;
        margin:-2rem 0.75rem 2.5rem;
    }
    
    body[data-page="Contact"] #formulaire-contact h2 {
        font-size:1.75rem;
    }
    
    body[data-page="Contact"] .form-group input,
    body[data-page="Contact"] .form-group textarea {
        padding:1rem 1.125rem;
        font-size:1rem;
    }
    
    body[data-page="Contact"] .btn-contact {
        padding:1rem 1.5rem;
        font-size:1rem;
    }
    
    body[data-page="Contact"] #informations-pratiques,
    body[data-page="Contact"] #comment-trouver {
        padding:3.5rem 1.25rem;
    }
    
    body[data-page="Contact"] #informations-pratiques h2,
    body[data-page="Contact"] #comment-trouver h2 {
        font-size:1.85rem;
        margin-bottom:0.5rem;
        padding-bottom:2rem;
    }
    
    body[data-page="Contact"] .info-grid {
        gap:1.75rem;
        margin-top:1.5rem;
    }
    
    body[data-page="Contact"] .info-card {
        padding:2rem 1.25rem;
        border-radius:16px;
    }
    
    body[data-page="Contact"] .info-icon {
        width:70px;
        height:70px;
        margin-bottom:1.5rem;
    }
    
    body[data-page="Contact"] .info-card h3 {
        font-size:1.3rem;
        margin-bottom:1rem;
    }
    
    body[data-page="Contact"] .info-card p {
        font-size:1rem;
    }
    
    body[data-page="Contact"] .map-container {
        border-radius:16px;
        margin-top:1.5rem;
    }
    
    body[data-page="Contact"] .map-container iframe {
        height:280px;
    }
    
    body[data-page="Contact"] .gps-buttons {
        gap:1rem;
        max-width:100%;
        width:100%;
        align-items:center;
        justify-content:center;
    }
    body[data-page="Contact"] .btn-gps {
        width:100%;
        max-width:400px;
        min-width:220px;
        margin:0 auto;
        padding:1.125rem 0.5rem;
        font-size:0.95rem;
        gap:0.875rem;
        box-sizing:border-box;
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:flex-start;
    }
    body[data-page="Contact"] .btn-gps img {
        width:32px;
        height:32px;
        min-width:32px;
        min-height:32px;
        display:block;
        margin:0 1rem 0 0;
        align-self:center;
        flex-shrink:0;
    }
    body[data-page="Contact"] .btn-gps span {
        flex:1 1 0;
        text-align:left;
        display:block;
    }
}

/* ============================================
   OVERRIDE FINAL - CONTACT PAGE (Priorité absolue)
   ============================================ */

/* Force l'override du main Contact dans TOUTES les media queries */
html body[data-page="Contact"] main[role="main"] {
    background:linear-gradient(180deg, #ffffff 0%, #fafafa 100%) !important;
    color:#2c2c2c !important;
    padding:0 !important;
    max-width:100% !important;
    margin:0 auto !important;
}

html body[data-page="Contact"] main[role="main"] section {
    margin-bottom:0 !important;
    border:none !important;
}

html body[data-page="Contact"] main[role="main"] section h2,
html body[data-page="Contact"] main[role="main"] section h3 {
    border-bottom:none !important;
    padding-bottom:0 !important;
}

/* Override toutes les media queries qui écrasent */
@media (max-width:1024px) {
    html body[data-page="Contact"] main[role="main"] {
        padding:0 !important;
    }
    
    html body[data-page="Contact"] section {
        padding:0 !important;
        margin-bottom:0 !important;
    }
}

@media (max-width:768px) {
    html body[data-page="Contact"] main[role="main"] {
        padding:0 !important;
    }
    
    html body[data-page="Contact"] section {
        padding:0 !important;
        margin-bottom:0 !important;
    }
}

/* ============================================
   PAGE NOS VALEURS - RESPONSIVE
   ============================================ */

@media (max-width:768px) {
    /* Réduction des effets 3D pour mobile */
    body[data-page="Nos-Valeurs"] .valeur-card:hover,
    body[data-page="Nos-Valeurs"] .producteur-card:hover,
    body[data-page="Nos-Valeurs"] .histoire-content:hover {
        transform:translateY(-4px) !important;
    }
    
    body[data-page="Nos-Valeurs"] #nos-valeurs {
        padding:4rem 1.5rem;
    }
    
    .valeurs-grid {
        grid-template-columns:1fr;
        gap:2rem;
    }
    
    .valeur-card {
        padding:2.5rem 1.5rem 2rem;
    }
    
    .valeur-card h4 {
        font-size:1.4rem;
    }
    
    body[data-page="Nos-Valeurs"] #notre-histoire,
    body[data-page="Nos-Valeurs"] #nos-producteurs {
        padding:4rem 1.5rem;
    }
    
    body[data-page="Nos-Valeurs"] #notre-histoire h2,
    body[data-page="Nos-Valeurs"] #nos-producteurs h2 {
        font-size:2.25rem;
    }
    
    .histoire-content {
        padding:2rem 1.5rem;
    }
    
    .producteurs-grid {
        grid-template-columns:1fr;
        gap:2rem;
    }
    
    .producteur-card {
        padding:2rem 1.5rem;
    }
}

@media (max-width:480px) {
    body[data-page="Nos-Valeurs"] #nos-valeurs {
        padding:3.5rem 1.25rem;
    }
    
    .valeur-card {
        padding:2rem 1.25rem;
    }
    
    .valeur-icon {
        width:75px;
        height:75px;
    }
    
    .valeur-icon img {
        width:48px;
        height:48px;
    }
    
    .valeur-card h4 {
        font-size:1.3rem;
    }
    
    body[data-page="Nos-Valeurs"] #notre-histoire,
    body[data-page="Nos-Valeurs"] #nos-producteurs {
        padding:3.5rem 1.25rem;
    }
    
    body[data-page="Nos-Valeurs"] #notre-histoire h2,
    body[data-page="Nos-Valeurs"] #nos-producteurs h2 {
        font-size:1.85rem;
        padding-bottom:2rem;
    }
    
    .histoire-content {
        padding:1.75rem 1.25rem;
    }
    
    .histoire-content p {
        font-size:1.05rem;
    }
    
    .producteur-card {
        padding:1.75rem 1.25rem;
    }
}