/* Epicure Floriano - Styles CSS */

/* ── Fonts auto-hébergées (RGPD + perf) ── */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-300-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lora-400-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lora-400i-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/lora-500.woff2') format('woff2');
}

/* Design Variables - PREMIUM EDITION */
:root {
    /* Spacing - Augmenté pour plus de respiration */
    --spacing-xs: 0.75rem;    /* 12px */
    --spacing-sm: 1.5rem;     /* 24px */
    --spacing-md: 3rem;       /* 48px */
    --spacing-lg: 6rem;       /* 96px */
    --spacing-xl: 9rem;       /* 144px */
    --spacing-2xl: 12rem;     /* 192px */
    --section-padding: 8rem;  /* 128px - Plus généreux */
    
    /* Typography */
    --font-size-xs: 0.875rem;   /* 14px */
    --font-size-sm: 1rem;       /* 16px */
    --font-size-md: 1.125rem;   /* 18px */
    --font-size-lg: 1.25rem;    /* 20px */
    --font-size-xl: 1.5rem;     /* 24px */
    --font-size-2xl: 2rem;      /* 32px */
    --font-size-3xl: 3rem;      /* 48px */
    --font-size-4xl: 4rem;      /* 64px */
    --font-size-5xl: 5rem;      /* 80px */
    --font-size-6xl: 6rem;      /* 96px */
    
    /* Colors */
    --color-primary: #0f1b2d;
    --color-ivory: #FAF3E0;
    --color-camel: #C8A88A;
    --color-gold: #D4AF37;

    /* Premium Transitions - Courbes personnalisées */
    --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadow System */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
}

body {
    background-color: var(--color-ivory);
    color: var(--color-primary);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1 {
    font-family: 'Lora', serif;
    font-size: var(--font-size-6xl);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 2px;
}

h2 {
    font-family: 'Lora', serif;
    font-size: var(--font-size-4xl);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
}

h3 {
    font-family: 'Lora', serif;
    font-size: var(--font-size-2xl);
    font-weight: 400;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 300;
    line-height: 1.4;
    opacity: 0.9;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 300;
    line-height: 1.5;
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-4xl);
        letter-spacing: 1px;
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-md);
    }
}

.gold-text {
    color: var(--color-primary);
}

/* --- MENU PREMIUM --- */
header nav a, header button, #mobile-menu a {
    color: var(--color-ivory);
    transition: all 0.4s var(--ease-luxury);
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0%;
    height: 1px;
    background: var(--color-camel);
    transition: all 0.4s var(--ease-luxury);
    transform: translateX(-50%);
}

header nav a:hover::after {
    width: 100%;
}

header nav a:hover {
    color: var(--color-camel);
}
/* Neutralise les effets globaux sur le nouveau nav */
.ef-mainnav a,
.ef-subnav a {
    transition: color 0.2s ease !important;
}
.ef-subnav a::after {
    display: none !important;
}
/* --- FIN MENU PREMIUM --- */

.hero-bg {
    background-color: #0f1b2d;
    position: relative;
    border: 5mm solid #FAF3E0;
    box-sizing: border-box;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out, transform 7s ease-out;
    will-change: transform, opacity;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 38, 57, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(26, 38, 57, 0.5) 100%
    );
    z-index: 1;
    transition: all 0.6s var(--ease-luxury);
}

.hero-bg:hover::before {
    backdrop-filter: blur(0px);
    background: linear-gradient(
        135deg,
        rgba(26, 38, 57, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(26, 38, 57, 0.3) 100%
    );
}

.hero-bg > *:not(.hero-slide) {
    position: relative;
    z-index: 2;
}

.section-bg {
    background-color: var(--color-ivory);
}

/* BOUTONS PREMIUM */
.btn-gold {
    background-color: var(--color-ivory);
    color: var(--color-primary);
    transition: all 0.6s var(--ease-luxury);
    border: 1px solid var(--color-ivory);
    position: relative;
    overflow: hidden;
    font-weight: 400;
    letter-spacing: 0.15em;
    padding: 1rem 2.5rem;
}

.btn-gold::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.8s var(--ease-luxury);
}

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

.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-camel);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-luxury);
    z-index: -1;
}

.btn-gold:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-gold:hover {
    color: var(--color-ivory);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    letter-spacing: 0.2em;
    border-color: var(--color-camel);
}


/* ANIMATIONS PREMIUM */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury);
}

h2.fade-in {
    transition-delay: 0.3s;
    transform: translateY(60px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation stagger pour les éléments de grille */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }

/* CARDS PREMIUM */
.experience-card .overflow-hidden {
    border-radius: 0.5rem;
    position: relative;
}

.experience-card img {
    transition: all 0.8s var(--ease-luxury);
    filter: grayscale(0%) brightness(100%);
}

.experience-card:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: grayscale(0%) brightness(110%);
}

.experience-card {
    position: relative;
    transition: all 0.6s var(--ease-luxury);
}

.experience-card::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity 0.6s var(--ease-luxury);
    pointer-events: none;
    border-radius: 0.5rem;
}

.experience-card:hover::after {
    opacity: 1;
    box-shadow: var(--shadow-xl);
}

.image-border {
    border: 5px solid var(--color-primary);
}

.form-field {
    background-color: transparent;
    border-style: solid;
    border-width: 6px;
    border-image-slice: 6;
    border-image-repeat: round;
    border-image-source: url("data:image/svg+xml,%3csvg width='15' height='15' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cg id='stitch'%3e%3cpath d='M-2.5,-2.5 l5,5 M-2.5,2.5 l5,-5' stroke='%23FAF3E0' stroke-width='1.5' /%3e%3c/g%3e%3c/defs%3e%3cuse href='%23stitch' x='7.5' y='2.5'/%3e%3cuse href='%23stitch' x='7.5' y='12.5'/%3e%3cuse href='%23stitch' x='2.5' y='7.5'/%3e%3cuse href='%23stitch' x='12.5' y='7.5'/%3e%3cuse href='%23stitch' x='2.5' y='2.5'/%3e%3cuse href='%23stitch' x='12.5' y='2.5'/%3e%3cuse href='%23stitch' x='2.5' y='12.5'/%3e%3cuse href='%23stitch' x='12.5' y='12.5'/%3e%3c/svg%3e");
    color: var(--color-primary);
}

.form-field::placeholder {
    color: rgba(26, 38, 57, 0.7);
}

.form-field:focus {
    outline: none;
    border-image: none;
    border: 2px solid var(--color-ivory);
}

/* NOUVEAUX STYLES POUR LES BAGUES DE CIGARES */
.cigar-band-frieze {
    height: 100px; /* Hauteur réduite pour mobile */
    background-image: url('../images_galerie/ac_cigares.webp');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    border-top: 5mm solid #FAF3E0;
    border-bottom: 5mm solid #FAF3E0;
}

@media (min-width: 768px) {
    .cigar-band-frieze {
        height: 150px; /* Hauteur originale pour les écrans plus grands */
    }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #C8A88A, #0f1b2d);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid #FAF3E0;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #FAF3E0;
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    margin-top: 20px;
    text-align: center;
}

/* Galerie Slider */
.bg-gold {
    background-color: #FAF3E0;
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    padding: 20px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #FAF3E0;
}

/* FAQ Animations */
.faq-button svg {
    transition: transform 0.3s ease;
}

.faq-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content.active {
    max-height: 200px;
}

/* Parallax Effects */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* HOVER EFFECTS PREMIUM */
.hover-scale {
    transition: all 0.6s var(--ease-luxury);
    position: relative;
}

.hover-scale::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.6s var(--ease-luxury);
    pointer-events: none;
}

.hover-scale:hover {
    transform: scale(1.03) translateY(-5px);
}

.hover-scale:hover::before {
    opacity: 1;
}

/* Member Login Modal */
#member-modal {
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(200, 168, 138, 0.95);
    border: 2px solid #0f1b2d;
}

/* Advanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Logo filters removed - using original logo files */
img[alt*="Logo"] {
    transition: filter 0.3s ease;
}

/* Alternative filter for logos */
.logo-ivory-filter {
    filter: 
        brightness(1.3)
        contrast(1.2)
        sepia(0.2)
        hue-rotate(30deg)
        saturate(0.9);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a1a;
        --text-primary: #FAF3E0;
    }
}

/* ========================================
   COLLECTION CARDS PREMIUM
   ======================================== */
.collection-card {
    position: relative;
    transition: all 0.6s var(--ease-luxury);
    background: rgba(200, 168, 138, 0.05);
    border: 1px solid rgba(200, 168, 138, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.1),
        transparent
    );
    transition: left 0.8s var(--ease-luxury);
}

.collection-card:hover::before {
    left: 100%;
}

.collection-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: rgba(200, 168, 138, 0.15);
    border-color: var(--color-camel);
}

.collection-card img {
    transition: all 0.6s var(--ease-luxury);
    filter: grayscale(0%) contrast(100%);
}

.collection-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(110%);
}

/* ========================================
   MEMBER CARDS PREMIUM
   ======================================== */
.member-card {
    position: relative;
    transition: all 0.6s var(--ease-luxury);
    overflow: hidden;
}

.member-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(200, 168, 138, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.6s var(--ease-luxury);
    pointer-events: none;
}

.member-card:hover::after {
    opacity: 1;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.member-card .member-photo {
    transition: all 0.6s var(--ease-luxury);
}

.member-card:hover .member-photo {
    transform: scale(1.08);
    border-color: var(--color-gold);
}

/* ========================================
   TYPOGRAPHY ENHANCEMENTS
   ======================================== */
p {
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.text-gold {
    color: var(--color-camel);
    font-weight: 500;
}

/* Titles avec effet underline au hover */
h2, h3 {
    position: relative;
    display: inline-block;
}

section h2 {
    transition: all 0.4s var(--ease-luxury);
}

section:hover h2 {
    letter-spacing: 0.05em;
}

/* ========================================
   SMOOTH SCROLL ENHANCEMENTS
   ======================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Pour le sticky header */
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }

    .collection-card:hover,
    .member-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* ========================================
   ACCESSIBILITY & FOCUS STATES
   ======================================== */
a:focus,
button:focus {
    outline: 2px solid var(--color-camel);
    outline-offset: 4px;
    transition: outline 0.3s var(--ease-luxury);
}

/* ========================================
   LOADING STATES
   ======================================== */
.loading-shimmer {
    background: linear-gradient(
        90deg,
        rgba(250, 243, 224, 0.1) 0%,
        rgba(200, 168, 138, 0.2) 50%,
        rgba(250, 243, 224, 0.1) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ========================================
   HEADER STYLE BREGUET — EPICURE FLORIANO
   ======================================== */

.ef-header {
    background-color: rgba(26, 38, 57, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid rgba(250, 243, 224, 0.08);
}

.ef-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2.5rem;
    min-height: 80px;
}

/* ── Centre wrap : brand au-dessus + nav en dessous ── */
.ef-center-wrap {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.6rem;
}
.ef-center-wrap .ef-brand {
    display: block;
    text-align: center;
}
.ef-center-wrap .ef-brand-name {
    font-size: 0.9rem;
    letter-spacing: 3px;
}
.ef-center-wrap .ef-brand-sub {
    font-size: 0.55rem;
    margin-top: 0.1rem;
}

/* ── Bouton MENU (gauche) ── */
.ef-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #FAF3E0;
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.25s ease;
    padding: 0;
}
.ef-menu-btn:hover { opacity: 1; }

/* ── Marque centrale ── */
.ef-brand {
    text-align: center;
    text-decoration: none;
    display: block;
}
.ef-brand-name {
    font-family: 'Lora', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #FAF3E0;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    display: block;
}
.ef-brand-sub {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(250, 243, 224, 0.5);
    letter-spacing: 0.1em;
    margin-top: 0.35rem;
    display: block;
}

/* ── Langue (droite) ── */
.ef-lang {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}
.ef-lang-sep {
    color: rgba(250, 243, 224, 0.25);
    font-size: 0.6rem;
}

/* ── Boutons de langue — styles communs à toutes les pages ── */
.lang-btn {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.lang-btn:hover { opacity: 1; }
.lang-btn.active { font-weight: 600; }

/* ── Overlay navigation plein écran ── */
.ef-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: #0f1b2d;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}
.ef-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.ef-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #FAF3E0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 0.5rem;
}
.ef-close-btn:hover { opacity: 1; }

.ef-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* Ligne de séparation décorative dans l'overlay */
.ef-nav-overlay-brand {
    font-family: 'Lora', serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(250, 243, 224, 0.3);
    margin-bottom: 3rem;
}

.ef-nav-link {
    font-family: 'Lora', serif;
    font-size: 2.1rem;
    font-weight: 300;
    color: #FAF3E0;
    letter-spacing: 3px;
    text-decoration: none;
    padding: 0.55rem 1.5rem;
    opacity: 0.75;
    transition: opacity 0.2s ease, color 0.2s ease;
    text-transform: uppercase;
    transform: translateZ(0);
    will-change: opacity, color;
    display: block;
}
.ef-nav-link:hover,
.ef-nav-link.ef-active { opacity: 1; color: #C8A88A; }

/* Sous-liens overlay (Chroniques, Le Carnet) */
.ef-nav-link.ef-nav-sub {
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    opacity: 0.45;
    padding: 0.2rem 1.5rem 0.2rem 2.8rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}
.ef-nav-link.ef-nav-sub:hover { opacity: 0.85; color: #C8A88A; }

/* Séparateur doré dans l'overlay */
.ef-nav-sep {
    width: 30px;
    height: 1px;
    background-color: rgba(200, 168, 138, 0.35);
    margin: 1.5rem auto;
}

/* ══ Navigation principale desktop ══ */

.ef-mainnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
}

.ef-mainnav-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(250, 243, 224, 0.65);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
    position: relative;
    transform: translateZ(0);
    will-change: color;
}
.ef-mainnav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #C8A88A;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}
.ef-mainnav-link:hover::after,
.ef-mainnav-link.ef-active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.ef-mainnav-link:hover { color: #FAF3E0; }
.ef-mainnav-link.ef-active { color: #FAF3E0; }
.ef-mainnav-ai { color: #C8A88A !important; }
.ef-mainnav-ai:hover { color: #d4b89a !important; }

.ef-sub-arrow {
    font-size: 0.4rem;
    opacity: 0.5;
    vertical-align: middle;
    margin-left: 0.2rem;
}

/* ── Sous-menu Collection ── */
.ef-has-sub {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Pont invisible qui comble le gap entre le lien et le dropdown */
.ef-has-sub::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -16px;
    right: -16px;
    height: 1.5rem;
}

.ef-subnav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(10, 18, 32, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(200, 168, 138, 0.18);
    border-top: 2px solid rgba(200, 168, 138, 0.45);
    padding: 0.8rem 0;
    min-width: 210px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.18s;
    z-index: 200;
}
.ef-has-sub:hover .ef-subnav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.ef-subnav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 1.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(250, 243, 224, 0.55);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.ef-subnav-link::before {
    content: "◆";
    font-size: 0.28rem;
    color: #C8A88A;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.ef-subnav-link:hover {
    color: #C8A88A;
    padding-left: 2rem;
}
.ef-subnav-link:hover::before { opacity: 1; }

/* ══ MÉGA-MENU FULL WIDTH ══ */

.ef-megamenu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(26, 38, 57, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(200, 168, 138, 0.25);
    border-bottom: 1px solid rgba(200, 168, 138, 0.1);
    padding: 2.5rem 5vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s 0.2s;
    will-change: opacity;
    z-index: 150;
}
.ef-megamenu.ef-mega-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0s;
}

/* ── Variante grille 6 colonnes (Collection) ── */
.ef-megamenu--grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* ── Variante simple (autres pages) ── */
.ef-megamenu--single {
    display: flex;
    justify-content: center;
}
.ef-megamenu--single .ef-mega-card {
    flex-direction: row !important;
    gap: 2.5rem;
    align-items: center;
    max-width: 560px;
    width: 100%;
}
.ef-megamenu--single .ef-mega-img {
    width: 220px !important;
    height: 160px !important;
    flex-shrink: 0;
}
.ef-megamenu--single .ef-mega-body {
    padding: 0 !important;
}

/* ── Carte commune ── */
.ef-mega-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}
.ef-mega-img {
    height: 170px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.78);
    transition: filter 0.3s ease;
}
.ef-mega-card:hover .ef-mega-img { filter: brightness(1); }

.ef-mega-body {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(8, 15, 28, 0.92);
    border-bottom: 1px solid rgba(200, 168, 138, 0.12);
}
.ef-megamenu--single .ef-mega-body {
    background: rgba(8, 15, 28, 0.92);
    padding: 1.2rem 1.5rem;
    border-bottom: none;
    border-left: 1px solid rgba(200, 168, 138, 0.15);
}

/* ── Textes ── */
.ef-mega-title {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FAF3E0;
    display: block;
}
.ef-mega-desc {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(250, 243, 224, 0.5);
    display: block;
}
.ef-mega-cta {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    color: #C8A88A;
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
    transition: letter-spacing 0.25s ease;
}
.ef-mega-card:hover .ef-mega-cta { letter-spacing: 0.3em; }

.ef-mega-points {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ef-mega-points li {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    font-weight: 300;
    color: rgba(250, 243, 224, 0.55);
    line-height: 1.5;
    padding-left: 0.9rem;
    position: relative;
}
.ef-mega-points li::before {
    content: '◆';
    font-size: 0.25rem;
    color: #C8A88A;
    position: absolute;
    left: 0;
    top: 0.3rem;
}

/* Masqué sur mobile */
@media (max-width: 900px) { .ef-megamenu { display: none !important; } }

/* ── Bouton CTA Candidature ── */
.ef-cta-btn {
    display: inline-block;
    border: 1px solid rgba(200, 168, 138, 0.45);
    color: #C8A88A;
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.55rem 1.4rem;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ef-cta-btn:hover {
    background: #C8A88A;
    color: #0f1b2d;
    border-color: #C8A88A;
}

/* Masqués sur mobile */
@media (max-width: 900px) {
    .ef-mainnav { display: none !important; }
    .ef-cta-btn { display: none !important; }
    .ef-brand { display: block !important; }
    /* Brand centré, taille réduite sur tablette/mobile */
    .ef-brand-name { font-size: 0.95rem !important; letter-spacing: 0.22em !important; }
    .ef-brand-sub  { font-size: 0.55rem !important; }
}

/* ── Responsive mobile ── */
@media (max-width: 640px) {
    .ef-header-inner {
        padding: 1rem 1.25rem;
        min-height: 64px;
    }
    .ef-brand-name { font-size: 1rem; letter-spacing: 2px; }
    .ef-brand-sub { font-size: 0.6rem; }
    .ef-lang svg { display: none; }
    .ef-nav-link { font-size: 1.5rem; letter-spacing: 2px; }

    /* Réduction padding global mobile */
    .section-padding { padding: 3rem 1.25rem !important; }
    h1 { font-size: clamp(1.8rem, 8vw, 4rem) !important; }
    h2 { font-size: clamp(1.4rem, 6vw, 2.5rem) !important; }

    /* Frises horizontales plus petites sur mobile */
    .cigar-band-frieze { height: 80px !important; }
}

/* ── Utilitaire global : éviter overflow horizontal ── */
* { box-sizing: border-box; }

/* ── Sprint 1 — Remplacement des inline onmouseover/onmouseout ── */

/* Gallery images — zoom au survol */
.gallery-img { transition: transform 0.8s ease; }
.gallery-img:hover { transform: scale(1.03); }

/* Formulaire — bordure camel au focus */
.form-field:focus { border-bottom-color: #C8A88A !important; }

/* CTA links/buttons — navy fill hover (collection, experience, index) */
a[style*="border: 1px solid #0f1b2d"]:hover,
button[style*="border: 1px solid #0f1b2d"]:hover {
    background-color: #0f1b2d !important;
    color: #FAF3E0 !important;
}

/* CTA links — camel fill hover (tous les univers) */
a[style*="border: 1px solid #C8A88A"]:hover {
    background-color: #C8A88A !important;
    color: #0f1b2d !important;
}

/* Footer links — opacity hover */
footer nav a:hover,
footer a[href^="mailto:"]:hover,
footer a[aria-label="Instagram"]:hover { opacity: 1 !important; }
img { max-width: 100%; height: auto; }

/* ── Sprint 2 — Mobile layouts ── */

/* Layout 2-colonnes éditorial (cigare Ch.II, sartorial Ch.II) */
.editorial-two-col {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: start;
}
@media (max-width: 900px) {
    .editorial-two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 5rem 2rem;
    }
}
@media (max-width: 640px) {
    .editorial-two-col {
        padding: 4rem 1.5rem;
        gap: 2.5rem;
    }
}

/* Sections avec padding horizontal élevé — réduction mobile */
@media (max-width: 768px) {
    .dark-section { padding: 4rem 1.5rem !important; }
    .editorial-section--wide { padding: 4rem 1.5rem !important; }
}
@media (max-width: 640px) {
    .editorial-section { padding: 4rem 1.5rem !important; }
}
/* ─── Bouton retour en haut ─────────────────────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    width: 2.75rem;
    height: 2.75rem;
    background: #0f1b2d;
    border: 1px solid #C8A88A;
    border-radius: 50%;
    color: #FAF3E0;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 900;
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background: #C8A88A;
    color: #0f1b2d;
}
@media (max-width: 640px) {
    #back-to-top {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
        bottom: 1rem;
        right: 0.75rem;
    }
}

/* ══════════════════════════════════════
   FOOTER — Epicure Floriano
   Inspiré : Kiton · LVMH · Brunello Cucinelli
   Niveau 1 : corps ivoire 4 colonnes
   Niveau 2 : barre basse navy
   ══════════════════════════════════════ */
.ef-footer-main { font-family: 'Lato', sans-serif; }

.ef-footer-body {
    background-color: #ffffff;
    padding: 5rem 4rem 4rem;
}
.ef-footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}
.ef-footer-col { display: flex; flex-direction: column; }
.ef-footer-heading {
    font-family: 'Lora', serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #0f1b2d;
    font-weight: 400;
    margin-bottom: 1.6rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #C8A88A;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: color 0.3s;
}
.ef-footer-heading:hover { color: #C8A88A; }
.ef-footer-link {
    display: block;
    font-family: 'Lora', serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(15,27,45,0.62);
    text-decoration: none;
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.ef-footer-link:hover { color: #C8A88A; }
.ef-footer-address {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: rgba(15,27,45,0.38);
    margin-top: 0.6rem;
    font-style: italic;
}

.ef-footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200,168,138,0.45), transparent);
}

.ef-footer-bottom {
    background-color: #0f1b2d;
    padding: 1.8rem 4rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.ef-footer-bottom .ef-footer-legal:last-child { text-align: right; }
.ef-footer-logo { height: 44px; opacity: 0.88; display: block; margin: 0 auto; }
.ef-footer-bottom a { display: flex; justify-content: center; align-items: center; }
.ef-footer-legal {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: rgba(250,243,224,0.38);
}
.ef-footer-legal a {
    color: rgba(250,243,224,0.38);
    text-decoration: none;
    transition: color 0.3s;
}
.ef-footer-legal a:hover { color: #C8A88A; }

@media (max-width: 900px) {
    .ef-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .ef-footer-body { padding: 4rem 2rem 3rem; }
    .ef-footer-bottom { padding: 1.5rem 2rem; }
}
@media (max-width: 560px) {
    .ef-footer-grid { grid-template-columns: 1fr; }
    .ef-footer-bottom { flex-direction: column; gap: 1.2rem; text-align: center; }
}

/* ═══════════════════════════════════════
   CHRONIQUES PAGE
═══════════════════════════════════════ */

/* Hero chronique du mois */
.chr-hero {
    background-color: #0f1b2d;
    padding: 7rem 4rem 5rem;
    position: relative;
    overflow: hidden;
}
.chr-hero::before {
    content: 'I';
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Lora', serif;
    font-size: 22rem;
    color: rgba(250,243,224,0.04);
    line-height: 1;
    pointer-events: none;
}
.chr-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}
.chr-edition-tag {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #C8A88A;
    margin-bottom: 2rem;
    display: block;
}
.chr-hero-title {
    font-family: 'Lora', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    color: #FAF3E0;
    line-height: 1.08;
    margin-bottom: 2rem;
}
.chr-hero-intro {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(250,243,224,0.62);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 3rem;
}
.chr-univers-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 3rem;
}
.chr-univers-tag {
    font-family: 'Lato', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250,243,224,0.5);
    border: 1px solid rgba(250,243,224,0.18);
    padding: 0.35rem 0.85rem;
}
.chr-cta {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FAF3E0;
    text-decoration: none;
    border-bottom: 1px solid #C8A88A;
    padding-bottom: 0.2rem;
    transition: color 0.3s;
}
.chr-cta:hover { color: #C8A88A; }

/* Section Les Signaux */
.chr-signaux {
    background-color: #FAF3E0;
    padding: 6rem 4rem;
}
.chr-signaux-inner { max-width: 1100px; margin: 0 auto; }
.chr-section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #C8A88A;
    margin-bottom: 0.6rem;
    display: block;
}
.chr-section-title {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #0f1b2d;
    margin-bottom: 0.5rem;
}
.chr-section-sub {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(15,27,45,0.5);
    margin-bottom: 3rem;
}

/* Filtres univers */
.chr-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3.5rem;
}
.chr-filter-btn {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(15,27,45,0.5);
    background: transparent;
    border: 1px solid rgba(15,27,45,0.18);
    padding: 0.45rem 1.1rem;
    cursor: pointer;
    transition: all 0.25s;
}
.chr-filter-btn:hover,
.chr-filter-btn.active {
    background: #0f1b2d;
    color: #FAF3E0;
    border-color: #0f1b2d;
}

/* Grille signaux */
.chr-signaux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.chr-signal-card {
    background: #fff;
    border: 1px solid rgba(15,27,45,0.07);
    border-top: 2px solid transparent;
    padding: 0;
    overflow: hidden;
    transition: border-top-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.chr-signal-card:hover {
    border-top-color: #C8A88A;
    box-shadow: 0 4px 24px rgba(15,27,45,0.09);
}

/* ── Image signal ── */
.chr-signal-img-wrap {
    position: relative;
    height: 155px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2639 0%, #0f1b2d 100%);
    flex-shrink: 0;
}
.chr-signal-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.chr-signal-card:hover .chr-signal-img { transform: scale(1.05); }
.chr-signal-img-fade {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 55px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

/* ── Contenu texte ── */
.chr-signal-content { padding: 1.4rem 1.6rem 1.6rem; }
.chr-signal-univers {
    font-family: 'Lato', sans-serif;
    font-size: 0.52rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C8A88A;
    margin-bottom: 0.8rem;
    display: block;
}
.chr-signal-title {
    font-family: 'Lora', serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: #0f1b2d;
    line-height: 1.45;
    margin-bottom: 0.7rem;
}
.chr-signal-body {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    color: rgba(15,27,45,0.56);
    line-height: 1.65;
    margin-bottom: 1rem;
}
.chr-signal-date {
    font-family: 'Lato', sans-serif;
    font-size: 0.54rem;
    letter-spacing: 0.15em;
    color: rgba(15,27,45,0.3);
}

/* Section Archives */
.chr-archives {
    background-color: #0f1b2d;
    padding: 6rem 4rem;
}
.chr-archives-inner { max-width: 1100px; margin: 0 auto; }
.chr-archives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.chr-archive-card {
    border: 1px solid rgba(250,243,224,0.1);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s;
    text-decoration: none;
    display: block;
}
.chr-archive-card:hover { border-color: #C8A88A; }

/* Image couverture */
.chr-archive-img-wrap {
    position: relative;
    overflow: hidden;
    height: 175px;
}
.chr-archive-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.chr-archive-card:hover .chr-archive-img { transform: scale(1.05); }
.chr-archive-img-fade {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #0f1b2d);
}
.chr-archive-img-logo {
    position: absolute; bottom: 0.5rem; right: 0.6rem;
    width: 32px; opacity: 0.55;
}

/* Corps texte */
.chr-archive-body { padding: 1.6rem 1.8rem 1.8rem; }
.chr-archive-num {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 400;
    color: rgba(250,243,224,0.12);
    line-height: 1;
    margin-bottom: 0.8rem;
}
.chr-archive-title {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #FAF3E0;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.chr-archive-date {
    font-family: 'Lato', sans-serif;
    font-size: 0.56rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250,243,224,0.3);
}

/* Responsive */
@media (max-width: 900px) {
    .chr-hero { padding: 5rem 2rem 4rem; }
    .chr-signaux { padding: 4rem 2rem; }
    .chr-archives { padding: 4rem 2rem; }
    .chr-signaux-grid { grid-template-columns: repeat(2, 1fr); }
    .chr-archives-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .chr-signaux-grid { grid-template-columns: 1fr; }
    .chr-archives-grid { grid-template-columns: 1fr; }
    .chr-hero-title { font-size: 2.6rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — CORRECTIONS GLOBALES EPICURE FLORIANO
   ══════════════════════════════════════════════════════════ */

/* ── Anti-overflow : sur les sections, pas sur html/body (préserve sticky) ── */
img, video, iframe, svg { max-width: 100%; }
section, header, footer, main, div { max-width: 100%; }

/* ── Heritage section padding responsive ── */
@media (max-width: 768px) {
    .heritage-container { padding: 0 1.5rem !important; }
    #galerie h2          { font-size: 1.9rem !important; }
}

/* ── Philosophie (philo-grid) → stack mobile ── */
@media (max-width: 768px) {
    .philo-grid {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }
    .philo-img { min-height: 65vw !important; }
    .philo-text { padding: 2.5rem 1.5rem !important; }
    .philo-text h3 { font-size: 1.5rem !important; }
}

/* ── Section rejoindre (1fr 1fr navy) → stack mobile ── */
@media (max-width: 768px) {
    #membre {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }
    #membre > div { padding: 4rem 1.5rem !important; }
    #membre > div:last-child { min-height: 60vw; }
}

/* ── Hero univers — breadcrumb + padding mobile ── */
@media (max-width: 768px) {
    .breadcrumb { display: none !important; }
}
@media (max-width: 640px) {
    .univers-hero { min-height: 100svh; padding-top: 2rem; }
    .editorial-section { padding: 3.5rem 1.25rem !important; }
    .editorial-section--wide { padding: 3.5rem 1.25rem !important; }
}

/* ── Art de Vivre grid → 1 col mobile ── */
@media (max-width: 768px) {
    .idx-artdevivre-grid {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }
    .idx-artdevivre-grid > div:first-child {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
    .idx-artdevivre-grid > div:last-child {
        min-height: 55vw !important;
    }
}

/* ── Piliers grid (collection cards) → responsive ── */
@media (max-width: 900px) {
    .piliers-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
    .piliers-grid { grid-template-columns: 1fr !important; }
}

/* ── Two-col hero blocks (Expérience / Membres) ── */
@media (max-width: 768px) {
    .grid.md\:grid-cols-2 { grid-template-columns: 1fr !important; }
    .grid.md\:grid-cols-2 > div { min-height: 60vw !important; }
}

/* ── Galerie instants du cercle ── */
@media (max-width: 560px) {
    #galerie > div[style*="1fr 1fr"] { grid-template-columns: 1fr !important; }
    #galerie > div > div[style*="70vh"] img { height: 60vw !important; }
    #galerie > div > div[style*="50vh"] img { height: 55vw !important; }
}

/* ── Tablet large (≤ 900px) ── */
@media (max-width: 900px) {
    /* Grilles membres → 2 colonnes */
    .distingues-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .fondateurs-grid  { grid-template-columns: repeat(2, 1fr) !important; }

    /* Paddings sections */
    .distingues-section { padding: 5rem 1.5rem !important; }
    .fondateurs-section { padding: 5rem 1.5rem !important; }

    /* Header logo : caché en dessous de 900px */
    .ef-header-inner img[alt="Logo Epicure Floriano"] { display: none !important; }
    .ef-header-inner { gap: 1rem !important; padding: 1rem 1.5rem !important; }

    /* ef-lang compact */
    .ef-lang { gap: 0.5rem !important; }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
    /* ── Hero section ── */
    .hero-bg .container     { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .hero-bg h1             { font-size: clamp(1.9rem, 9vw, 3rem) !important; letter-spacing: 1px !important; }
    .hero-bg p              { font-size: clamp(0.95rem, 4.2vw, 1.25rem) !important; line-height: 1.55 !important; }
    .hero-bg .float-animation { height: 4.5rem !important; }
    .hero-bg .mb-16         { margin-bottom: 2rem !important; }
    .hero-bg .mb-12         { margin-bottom: 1.5rem !important; }
    .hero-bg .px-12         { padding-left: 2rem !important; padding-right: 2rem !important; }

    /* ── Grilles membres → 1 colonne ── */
    .distingues-grid        { grid-template-columns: 1fr !important; max-width: 400px; margin-left: auto; margin-right: auto; }
    .fondateurs-grid        { grid-template-columns: 1fr !important; max-width: 380px; margin-left: auto; margin-right: auto; }

    /* ── Paddings réduits ── */
    .distingues-section     { padding: 4rem 1.25rem !important; }
    .fondateurs-section     { padding: 4rem 1.25rem !important; }

    /* ── Carte membre — textes ── */
    .memb-cover__name       { font-size: 1.3rem !important; }
    .memb-cover__role       { font-size: 0.6rem !important; letter-spacing: 0.12em !important; }

    /* ── Header mobile : cacher logo ovale, garder burger + brand + lang ── */
    .ef-header-inner img[alt="Logo Epicure Floriano"] { display: none !important; }
    .ef-lang                { gap: 0.35rem !important; }
    /* Hamburger bien visible sur mobile */
    .ef-menu-btn { opacity: 1 !important; }
    /* Header inner compact */
    .ef-header-inner { gap: 0.5rem !important; padding: 0.9rem 1rem !important; }

    /* ── Titles généraux ── */
    .section-title          { font-size: clamp(1.6rem, 7vw, 2.8rem) !important; }
    .section-eyebrow        { font-size: 0.62rem !important; letter-spacing: 0.18em !important; }
}

/* ── Pages univers — images fixes et grilles ── */
@media (max-width: 768px) {
    /* Images à hauteur fixe dans sections éditoriales */
    .editorial-section--wide img,
    .editorial-section img,
    .dark-section img {
        height: auto !important;
        max-height: 70vw !important;
        width: 100% !important;
    }
    /* Sections éditorial large — padding */
    .editorial-section--wide { padding: 4rem 1.25rem !important; }
    .dark-section             { padding: 4rem 1.5rem !important; }
}

@media (max-width: 640px) {
    /* Grilles 2 colonnes inline sans classe → stack */
    .ecoles-grid   { grid-template-columns: 1fr !important; }
    .savoirs-grid  { grid-template-columns: 1fr !important; gap: 2rem !important; }

    /* Collection sartorial — image portrait adaptée */
    .editorial-section--wide img[alt*="Naples"],
    .editorial-section--wide img[alt*="Savile"],
    .editorial-section--wide img[alt*="Atelier"] {
        max-height: 55vw !important;
    }

    /* Carousel flèches — toujours visibles */
    .chr-carousel-btn { display: flex !important; }

    /* Grilles éditoriales 2-col → 1 col mobile */
    .univ-editorial-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Cards signaux hauteur image réduite */
    .chr-signal-img-wrap { height: 120px !important; }
}

/* ── Petit mobile (≤ 430px) ── */
@media (max-width: 430px) {
    .distingues-grid        { max-width: 100% !important; }
    .fondateurs-grid        { max-width: 100% !important; }
    .distingues-section     { padding: 3rem 1rem !important; }
    .fondateurs-section     { padding: 3rem 1rem !important; }
    .hero-bg h1             { font-size: clamp(1.6rem, 8.5vw, 2.4rem) !important; }
    .ef-brand-name          { font-size: 0.85rem !important; }
}

/* ══════════════════════════════════════
   ACCESSIBILITÉ — Mouvement réduit
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .gallery-img,
    .hover-scale,
    .experience-card img,
    .parallax {
        transition: none !important;
        transform: none !important;
    }
}
