/* VARIABLES ET RESET */
:root {
    --noir: #000000;
    --noir-80: #333333;
    --noir-60: #666666;
    --noir-40: #999999;
    --noir-20: #CCCCCC;
    --noir-10: #E5E5E5;
    --noir-5: #F5F5F5;
    --blanc: #FFFFFF;
    --primary: #000000;
    --secondary: #1a1a1a;
    --accent: #333333;
    --light: #ffffff;
    --dark: #000000;
    --text: #000000;
    --text-light: #666666;
    --border: #e5e5e5;
    --radius: 12px;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #fff;
    color: #111;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}



/* ===== CONTAINERS ===== */
.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
}

/* ===== HEADER - STYLE  ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--primary); /* --primary */

    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


/* Ajustement de l'espacement de la navigation */
.desktop-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: auto; /* ← Pousse la nav vers la gauche */
 
}



.logo img {
    height: 170px;
    transition: var(--transition);
    filter: contrast(1.2);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--noir-60);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav a:hover,
.nav a.active {
    color: var(--noir);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--noir);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}


/* ===== HERO - STYLE BLANC & NOIR ÉLÉGANT ===== */
.hero {
    background: var(--light);
    color: var(--text);
    padding: 150px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
      background: var(--noir-20);  /* Gris clair */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}



.hero-text h1 {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary);
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 2rem 0;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.hero-instagram {
    margin-top: 1rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    padding: 16px 32px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.instagram-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: left 0.6s ease;
    z-index: -1;
}

.instagram-link:hover {
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.instagram-link:hover::before {
    left: 0;
}

.instagram-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.instagram-link:hover svg {
    transform: scale(1.1);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-armoni-hero img {
    height: 450px;
    width: auto;
    object-fit: contain;
    filter: contrast(1.3) brightness(0.9);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

/* ===== SEPARATOR BAR ===== */
.section-separator {
    width: 100%;
    height: 1px;
    background: var(--primary);
    margin: 60px 0;
    position: relative;
}

.section-separator::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--primary);
}



.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 70px 0;
}

.sidebar-item {
    padding: 20px 25px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
    color: var(--text);
    border: 2px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.sidebar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.03), transparent);
    transition: left 0.6s ease;
}

.sidebar-item:hover::before {
    left: 100%;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Indicateur visuel pour l'état actif */
.sidebar-item.active {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    position: relative;
}

.sidebar-item.active::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--light);
    border-radius: 50%;
}

/* Animation au survol */
.sidebar-item:hover {
    background: var(--primary);
    color: var(--light);
}


/* ===== RESPONSIVE - SIDEBAR ===== */
@media (max-width: 1024px) {
    .sidebar {
        position: static;
        width: 100%;
        order: -1;
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        padding: 0;
    }
    
    .sidebar-item {
        flex: 1;
        min-width: 180px;
        text-align: center;
        padding: 18px 20px;
    }
    
    .sidebar-item:hover {
        transform: translateY(-3px);
    }
    
    .sidebar-item.active::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .sidebar-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .sidebar-item {
        min-width: auto;
        text-align: left;
    }
}

/* ===== MAIN LAYOUT ===== */




.main-content {
    min-height: 100vh;
}

/* ===== SERVICES ===== */
.service-section {
    margin-bottom: 100px;
    padding: 40px 0;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.service-title-group h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.service-description {
    margin: 30px 0;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

.service-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-text {
    color: var(--text);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===== PRÉSENTATION ===== */
.presentation-content {
    padding: 40px 0;
}

.text-block {
    margin-bottom: 40px;
}

.text-block p {
    margin-bottom: 25px;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

.highlight-text {
    font-weight: 500;
    margin: 30px 0;
    padding: 25px;
    background: transparent;
    border-radius: 0;
    border-left: 3px solid var(--primary);
    color: var(--primary);
    font-style: italic;
    letter-spacing: 0.3px;
}

/* ===== FONDATEUR ===== */
.fondateur-section {
    padding: 60px 0;
    background: #fafafa;
    border-radius: 0;
    margin: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fondateur-header h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.fondateur-content .text-block p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* ===== TARIFS ===== */
.tarif-section {
    margin: 100px 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.tarif-section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.tarif-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tarif-item-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 30px 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.tarif-item-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateX(10px);
    border-bottom-color: var(--primary);
}

.tarif-item-btn:last-child {
    border-bottom: none;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tarif-item-btn:hover .btn-arrow {
    transform: translateX(10px);
}




/* FOOTER - IDENTIQUE À L'ACCUEIL */
.footer {
    background: var(--noir);
    color: var(--blanc);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--noir-40), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-brand p {
    color: var(--noir-40);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--noir-40);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--noir-40);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--blanc);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--blanc);
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid var(--noir-80);
    padding-top: 30px;
    text-align: center;
    color: var(--noir-40);
    font-size: 0.8125rem;
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero .container { gap: 60px; }
    .hero-text h1 { font-size: 3.2rem; }
    .content-layout { grid-template-columns: 250px 1fr; gap: 60px; }
    .sidebar { width: 250px; }
    
    /* Augmenter la taille des images globales */
    .logo img { height: 50px; }
    .logo-armoni-hero img { height: 350px; }
}

@media (max-width: 1024px) {
    .hero { padding: 140px 0 60px; }
    .hero .container { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .hero-content { text-align: center; }
    
    /* Logo hero plus grand sur tablette */
    .logo-armoni-hero img { height: 320px; }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        margin: 60px auto;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        order: -1;
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sidebar-item {
        flex: 1;
        min-width: 180px;
        text-align: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .sidebar-item:hover {
        transform: translateY(-3px);
        border-left: none;
        border-bottom-color: var(--primary);
    }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    
    /* Taille logo header augmentée */
    .logo img { height: 55px; }
}

@media (max-width: 768px) {
    .header .container { padding: 15px 0; }
    
    /* Logo header encore plus grand sur mobile */
    .logo img { height: 60px; }
    
    /* Cacher le logo Armoni dans le hero sur mobile */
    .logo-armoni-hero { display: none; }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--light);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        margin: 5px 0;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { font-size: 1.1rem; margin: 1.5rem 0; }
    .instagram-link { padding: 14px 28px; }
    
    .service-title-group h2 { font-size: 2rem; }
    .service-header { flex-direction: column; align-items: flex-start; gap: 15px; }
}

@media (max-width: 640px) {
    .container { width: 95%; padding: 0 15px; }
    
    /* Logo header taille maximale sur petits écrans */
    .logo img { height: 65px; }
    
    .hero { padding: 120px 0 50px; }
    .hero-text h1 { font-size: 2.2rem; }
    
    /* Logo hero toujours caché */
    .logo-armoni-hero { display: none; }
    
    .sidebar-nav { flex-direction: column; }
    .sidebar-item { min-width: auto; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer { margin-top: 80px; padding: 60px 0 30px; }
    
    .content-layout { margin: 40px auto; gap: 40px; }
    
    .service-section { margin-bottom: 60px; padding: 30px 0; }
    .service-title-group h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text p { font-size: 1rem; }
    .instagram-link { padding: 12px 24px; font-size: 0.85rem; }
    
    /* Logo header taille finale sur très petits écrans */
    .logo img { height: 70px; }
    
    /* Logo hero toujours caché */
    .logo-armoni-hero { display: none; }
    
    .tarif-item-btn { padding: 25px 0; flex-direction: column; gap: 15px; text-align: center; }
    
    .service-description { font-size: 1rem; }
    .text-block p { font-size: 1rem; }
    
    .footer { padding: 50px 0 25px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text p { font-size: 1rem; }
    .instagram-link { padding: 12px 24px; font-size: 0.85rem; }
    
    .logo img { height: 100px; }
    
    /* Cacher le logo du hero sur mobile */
    .logo-armoni-hero { display: none; }
    
    .tarif-item-btn { padding: 25px 0; flex-direction: column; gap: 15px; text-align: center; }
    
    .service-description { font-size: 1rem; }
    .text-block p { font-size: 1rem; }
    
    .footer { padding: 50px 0 25px; }
}



.nav a.active::after {
    width: 100%;
}

/* ANIMATION AU SURVOL POUR TOUS LES LIENS */
.nav a:hover::after {
    width: 100%;
}


.nav a:hover,
.nav a.active {
    color: var(--noir);
}


@media (max-width: 1024px) {
    .sidebar-burger {
        display: flex;
    }
}


@media (max-width: 1024px) {
    .sidebar {
        position: static;
        width: 100%;
        order: -1;
        margin-bottom: 30px;
    }
    
    /* Menu burger pour mobile */
    .sidebar-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--light);
        border-radius: 8px;
    }
    
    .sidebar-nav.active {
        max-height: 800px;
    }
    
    .sidebar-item {
        flex: none;
        min-width: auto;
        text-align: left;
        border-left: none;
        border-bottom: 1px solid var(--border);
        padding: 15px 20px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .sidebar-item:hover {
        transform: none;
        border-left: none;
        border-bottom-color: var(--primary);
        background-color: rgba(0,0,0,0.02);
    }
    
    /* Bouton burger */
    .sidebar-burger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background: var(--light);
        border: 1px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        color: var(--dark);
        margin-bottom: 0;
    }
    
    .burger-icon {
        width: 20px;
        height: 16px;
        position: relative;
        transition: transform 0.3s ease;
    }
    
    .burger-icon span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--dark);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    
    .burger-icon span:nth-child(1) { top: 0; }
    .burger-icon span:nth-child(2) { top: 7px; }
    .burger-icon span:nth-child(3) { top: 14px; }
    
    .sidebar-burger.active .burger-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 7px;
    }
    
    .sidebar-burger.active .burger-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .sidebar-burger.active .burger-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 7px;
    }
}

/* Pour desktop - cacher le bouton burger */
.sidebar-burger {
    display: none;
}


/* ===== HEADER STYLES ===== */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}














/* ===== MENU MOBILE - CSS CORRIGÉ ===== */

/* Bouton burger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--noir);
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

/* Animation burger */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay menu mobile */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenu du menu */
.mobile-nav-content {
    padding: 120px 30px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav a {
    padding: 20px 25px;
    color: var(--noir);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--noir-10);
    transition: var(--transition);
    position: relative;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    background: var(--noir-5);
    padding-left: 35px;
}

.mobile-nav a:hover::before {
    height: 25px;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--noir);
    transition: height 0.3s ease;
}

/* Bouton fermeture */
.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--noir);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.mobile-nav-close:hover {
    background: var(--noir);
    transform: rotate(90deg);
}

/* Icône SVG */
.close-icon {
    width: 20px;
    height: 20px;
    stroke: var(--noir);
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke 0.3s ease;
}

.mobile-nav-close:hover .close-icon {
    stroke: var(--blanc);
}

/* Header du menu */
.mobile-nav-header {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--noir-10);
    text-align: left;
}

.mobile-nav-header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--noir);
}

/* Footer du menu */
.mobile-nav-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid var(--noir-10);
    font-size: 0.9rem;
    color: var(--noir-20);
    text-align: left;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .mobile-nav-content {
        padding: 100px 20px 30px;
    }
    
    .mobile-nav a {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .mobile-nav-close {
        top: 25px;
        right: 25px;
        width: 40px;
        height: 40px;
    }
    
    .mobile-nav-header .logo {
        font-size: 1.3rem;
    }
}















/* Footer du menu */
.mobile-nav-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid var(--noir-10);
    font-size: 0.9rem;
    color: var(--noir-20);
    text-align: left;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .mobile-nav-content {
        padding: 70px 20px 30px;
    }
    
    .mobile-nav a {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .mobile-nav-close {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }
    
    .mobile-nav-header .logo {
        font-size: 1.3rem;
    }
}









/* ===== NAVIGATION DESKTOP ===== */
.desktop-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--noir-60);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--noir);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--noir);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* --- Réparation : sidebar à gauche  --- */




/* ===== CORRECTION DU SIDEBAR STICKY ===== */
.content-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    margin: 80px 0;
    padding: 0;
    max-width: none;
    width: 100%;
}

.sidebar {
    width: 280px;
    position: sticky;
    top: 200px; /* ← AUGMENTÉ SIGNIFICATIVEMENT pour compenser le header haut */
    left: 0;
    height: fit-content;
    margin-left: 0;
    padding-left: 0;
    z-index: 100;
}

/* Ajustement quand le header est scrolled */
.header.scrolled + .main-content .sidebar {
    top: 120px; /* ← Moins d'espace nécessaire quand le header est réduit */
}

/* Ajustements responsive */
@media (max-width: 1200px) {
    .sidebar {
        top: 180px;
    }
    
    .header.scrolled + .main-content .sidebar {
        top: 100px;
    }
}

@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        top: auto;
    }
}








/* Ajustement pour les écrans plus petits */
@media (max-width: 1200px) {
    .sidebar {
        top: 150px;
    }
}

@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        top: auto;
    }
}

/* Option alternative : réduire le top du header scrolled */
.header.scrolled {
    padding: 10px 0;
}

/* Ou augmenter le padding-top du hero */
.hero {
    padding: 160px 0 50px; /* ← Augmenté de 150px à 160px */
}


/* FORCER LE SIDEBAR À GAUCHE */
.container .content-layout {
    margin-left: -5% !important; /* Compense le width: 90% */
    padding-left: 0 !important;
    width: 105% !important; /* Étend au-delà du container */
}










/* CSS THEME PROFESSIONNEL  theme-toggle  */

.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 24px;
}

.theme-toggle-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
    letter-spacing: 0.5px;
}

.theme-toggle-label:hover {
    color: var(--text-primary);
}

.theme-toggle-slider-labeled {
    position: relative;
    width: 56px;
    height: 28px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.theme-toggle-slider-labeled::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(255, 255, 255, 0.8) inset;
    z-index: 2;
}

/* Icône soleil minimaliste */
.theme-toggle-slider-labeled::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    box-shadow: 
        0 0 0 1px rgba(245, 158, 11, 0.2),
        0 0 0 2px rgba(245, 158, 11, 0.1);
}

/* Rayons du soleil */
.theme-toggle-slider-labeled .sun-rays {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    opacity: 0.6;
}

.theme-toggle-slider-labeled .sun-rays::before,
.theme-toggle-slider-labeled .sun-rays::after {
    content: '';
    position: absolute;
    background: #f59e0b;
    border-radius: 1px;
}

.theme-toggle-slider-labeled .sun-rays::before {
    width: 2px;
    height: 12px;
    top: 0;
    left: 5px;
}

.theme-toggle-slider-labeled .sun-rays::after {
    width: 12px;
    height: 2px;
    top: 5px;
    left: 0;
}

/* Icône lune minimaliste */
.theme-toggle-slider-labeled .moon-crescent {
    position: absolute;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 50%;
    top: 50%;
    left: 8px;
    transform: translateY(-50%) scale(0);
    transition: all 0.4s ease;
    box-shadow: 
        inset -2px -2px 2px rgba(0, 0, 0, 0.1),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Thème sombre */
.dark-theme .theme-toggle-slider-labeled {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .theme-toggle-slider-labeled::before {
    transform: translateX(28px);
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.25),
        0 1px 2px rgba(255, 255, 255, 0.3) inset;
}

.dark-theme .theme-toggle-slider-labeled::after {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
}

.dark-theme .theme-toggle-slider-labeled .sun-rays {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
}

.dark-theme .theme-toggle-slider-labeled .moon-crescent {
    transform: translateY(-50%) scale(1);
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    box-shadow: 
        inset -2px -2px 2px rgba(0, 0, 0, 0.2),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4);
}

/* États interactifs */
.theme-toggle-slider-labeled:hover {
    transform: scale(1.02);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.12);
}

.dark-theme .theme-toggle-slider-labeled:hover {
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.25);
}

.theme-toggle-slider-labeled:active {
    transform: scale(0.98);
}

/* Animation de transition */
.theme-toggle-slider-labeled.changing {
    animation: elegant-pulse 0.6s ease;
}

@keyframes elegant-pulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.03); }
    50% { transform: scale(0.97); }
    75% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Accessibilité */
.theme-toggle-slider-labeled:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Version mobile */
@media (max-width: 768px) {
    .theme-toggle-container {
        margin-left: 16px;
        gap: 12px;
    }
    
    .theme-toggle-slider-labeled {
        width: 52px;
        height: 26px;
    }
    
    .theme-toggle-slider-labeled::before {
        width: 20px;
        height: 20px;
    }
    
    .dark-theme .theme-toggle-slider-labeled::before {
        transform: translateX(26px);
    }
}
















/* CSS BANNER / SLIDER */


.hero-banner {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 20, 20, 0.6) 0%,
    rgba(20, 20, 20, 0.4) 100%
  );
  z-index: 0;
  pointer-events: none;
}



.hero-text-banner h1 {
  color: #ffffff !important;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  text-align: center;
}

.hero-text-banner h2 {
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.hero-text-banner {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.hero-nav.left { left: 2rem; }
.hero-nav.right { right: 2rem; }

.hero-nav:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.hero-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-nav:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Indicateurs de slide */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-indicator.active {
  background-color: #fff;
  transform: scale(1.2);
}

.hero-indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-banner {
    height: 400px;
  }
  
  .hero-text-banner h1 {
    font-size: 3.2rem;
  }
  
  .hero-text-banner h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 800px) {
  .hero-banner {
    height: 320px;
  }
  
  .hero-text-banner h1 {
    font-size: 2.5rem;
  }
  
  .hero-text-banner h2 {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  
  .hero-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    padding: 0.8rem;
  }
  
  .hero-nav.left { left: 1rem; }
  .hero-nav.right { right: 1rem; }
  
  .hero-indicators {
    bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    height: 280px;
  }
  
  .hero-text-banner h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-text-banner h2 {
    font-size: 0.9rem;
  }
  
  .hero-nav {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    padding: 0.7rem;
  }
  
  .hero-indicators {
    bottom: 1rem;
  }
  
  .hero-indicator {
    width: 10px;
    height: 10px;
  }
}

/* Support du mode réduit de mouvement */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.3s ease;
  }
  
  .hero-nav {
    transition: none;
  }
  
  .hero-nav:hover {
    transform: translateY(-50%);
  }
}

/* Amélioration de l'accessibilité */
.hero-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-indicator:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Support des navigateurs plus anciens */
@supports not (backdrop-filter: blur(10px)) {
  .hero-nav {
    background-color: rgba(0, 0, 0, 0.6);
  }
}















/* ===== TRAITEUR FEATURES ===== */
.traiteur-features {
    margin-top: 3rem;
}

.traiteur-feature-item {
    border-top: 1px solid #000;
    padding: 2rem 0;
    transition: 0.2s ease;
}

.traiteur-feature-item:last-child {
    border-bottom: 1px solid #000;
}

.traiteur-feature-item[data-type="text"] {
    cursor: default;
}

.traiteur-feature-item[data-type="pdf"],
.traiteur-feature-item[data-type="gallery"] {
    cursor: pointer;
}

.traiteur-feature-item[data-type="pdf"]:hover,
.traiteur-feature-item[data-type="gallery"]:hover {
    background: #fafafa;
}

.traiteur-feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.traiteur-feature-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.traiteur-feature-dot {
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.traiteur-feature-title {
    font-size: 1.125rem;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.traiteur-feature-arrow {
    font-size: 1.25rem;
    color: #000;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.traiteur-feature-item:hover .traiteur-feature-arrow {
    opacity: 1;
}

.feature-text-content p {
    color: #000;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* PDF Card */
.pdf-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.traiteur-feature-item:hover .pdf-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pdf-card-inner {
    padding: 1.5rem;
}

.pdf-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pdf-card-icon svg {
    width: 32px;
    height: 32px;
}

.pdf-card-info {
    flex: 1;
}

.pdf-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    margin: 0 0 0.25rem 0;
}

.pdf-card-subtitle {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

.pdf-card-preview {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pdf-preview-sheet {
    background: #fff;
    border: 1px solid #000;
    border-radius: 2px;
    padding: 1rem;
    min-height: 120px;
}

.pdf-preview-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pdf-preview-line {
    height: 12px;
    background: #000;
    width: 100%;
}

.pdf-preview-line.short {
    width: 70%;
}

.pdf-preview-line.shorter {
    width: 50%;
}

.pdf-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.875rem;
    color: #000;
    font-weight: 500;
}

.pdf-card-action svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.traiteur-feature-item:hover .pdf-card-action svg {
    transform: translateX(4px);
}


/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.98;
}

.modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* PDF Modal amélioré */
.pdf-modal .modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #000;
    background: #fff;
    position: relative;
    z-index: 10;
}

.modal-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pdf-modal .modal-header-content h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #000;
    transition: opacity 0.2s ease;
}

.modal-btn:hover {
    opacity: 0.6;
}

.download-btn {
    border: 1px solid #000;
    padding: 0.5rem 1rem;
}

.pdf-modal .modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

.pdf-viewer-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#pdfViewer {
    width: 100%;
    height: 100%;
    border: none;
}

/* Gallery Modal amélioré */
.gallery-modal .modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #000;
    background: #fff;
    position: relative;
    z-index: 10;
}

.gallery-modal .modal-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-modal .modal-header-content h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-header-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.gallery-counter {
    font-size: 0.75rem;
    color: #000;
    font-weight: 400;
}

.close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 50%;
}

.gallery-modal .modal-body {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}




.gallery-nav {
    width: 40px;
    height: 40px;
    background: #ffffff; /* fond blanc par défaut */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 10;
    border: none;  
    box-shadow: none; 
    transition: background-color 0.2s ease;
}

/* Applique la couleur noire à TOUT le SVG et ses éléments */
.gallery-nav svg {
    width: 14px;   
    height: 14px;  
    fill: #000000 !important;
    color: #000000 !important;
}

.gallery-nav:hover svg {
    fill: #ffffff !important;
    color: #ffffff !important;
}



.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .traiteur-feature-item {
        padding: 1.5rem 0;
    }
    
    .traiteur-feature-title {
        font-size: 1rem;
    }
    
    .pdf-card-inner,
    .gallery-card-inner {
        padding: 1.25rem;
    }
    
    .gallery-card-grid {
        gap: 0.375rem;
    }
    
    .pdf-modal .modal-header,
    .gallery-modal .modal-header {
        padding: 1.25rem;
    }
    
    .gallery-modal .modal-body {
        padding: 1.25rem;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        position: absolute;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .gallery-nav.prev {
        left: 0.5rem;
    }
    
    .gallery-nav.next {
        right: 0.5rem;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .traiteur-feature-item {
        padding: 1.25rem 0;
    }
    
    .traiteur-feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .traiteur-feature-arrow {
        align-self: flex-end;
    }
    
    .pdf-card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .pdf-card-preview {
        padding: 1rem;
    }
    
    .gallery-modal .modal-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-header-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 38px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.active .modal-content {
    animation: fadeIn 0.3s ease;
}





/* Overlay Menu Mobile - Agrandi */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-nav-content {
    padding: 120px 40px 40px; /* Plus d'espace en haut */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espacement augmenté entre les liens */
}

.mobile-nav a {
    padding: 20px 25px; /* Liens plus grands */
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px; /* Texte plus grand */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(0, 0, 0, 0.05);
    padding-left: 35px; /* Effet de décalage */
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px; /* Ligne plus épaisse */
    height: 0;
    background: #000;
    transition: height 0.3s ease;
}

.mobile-nav a:hover::before,
.mobile-nav a.active::before {
    height: 25px; /* Plus long */
}

/* Bouton fermeture plus grand */
.mobile-nav-close {
    position: absolute;
    top: 30px; /* Positionné plus bas */
    right: 30px; /* Plus éloigné du bord */
    width: 45px; /* Plus large */
    height: 45px; /* Plus haut */
    background: transparent;
    border: 2px solid #000; /* Bordure plus épaisse */
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: #000;
    transform: rotate(90deg);
}

.mobile-nav-close::before,
.mobile-nav-close::after {
    content: '';
    position: absolute;
    width: 22px; /* Croix plus grande */
    height: 3px; /* Plus épaisse */
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover::before,
.mobile-nav-close:hover::after {
    background: #fff;
}

.mobile-nav-close::before {
    transform: rotate(45deg);
}

.mobile-nav-close::after {
    transform: rotate(-45deg);
}

/* Responsive pour mobile overlay */
@media (max-width: 480px) {
    .mobile-nav-content {
        padding: 100px 25px 30px;
    }
    
    .mobile-nav a {
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .mobile-nav-close {
        top: 25px;
        right: 25px;
        width: 40px;
        height: 40px;
    }
    
    .mobile-nav-close::before,
    .mobile-nav-close::after {
        width: 20px;
    }
}






/* PDV VIEWER */
.pdf-viewer {
    pointer-events: auto !important;
}

/* Empêcher tout élément dans l'iframe de passer en fullscreen */
.pdf-viewer * {
    max-height: 100% !important;
    max-width: 100% !important;
}

/* Overlay pour intercepter les clics */
.pdf-modal .modal-content {
    position: relative;
}

.pdf-viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pdf-viewer-wrapper {
    width: 100%;
    height: 100%;
    overflow: auto;
    position: relative;
}

#pdfViewer {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Empêcher le contexte menu sur l'iframe */
#pdfViewer {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Option: Si le PDF s'ouvre encore en fullscreen, ajoutez ce wrapper transparent */
.pdf-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Mais gardez les contrôles accessibles */
.pdf-viewer-controls {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}




















/* CORRECTION DU CSS DE LA GALERIE */

/* 1. GALLERY CARD STYLES - Version avec une seule image */
.gallery-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.traiteur-feature-item:hover .gallery-card {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-card-inner {
    padding: 1.5rem;
}

/* Conteneur pour l'image unique */
.gallery-card-image-container {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Image unique (remplace la grille) */
.gallery-card-single-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-single-image {
    transform: scale(1.05);
}

/* Badge "1 image" */
.gallery-image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 1;
}

.gallery-card-info {
    margin-bottom: 1.5rem;
}

.gallery-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    margin: 0 0 0.25rem 0;
}

.gallery-card-subtitle {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
    margin: 0;
}

.gallery-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.875rem;
    color: #000;
    font-weight: 500;
}

.gallery-card-action svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.traiteur-feature-item:hover .gallery-card-action svg {
    transform: translateX(4px);
}

/* MASQUER COMPLÈTEMENT L'ANCIENNE GRILLE */
.gallery-card-grid,
.gallery-grid-item,
.gallery-grid-item.more-overlay,
.more-count {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. CORRECTION DU MODAL DE GALERIE */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.gallery-modal .modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1001;
    max-width: 1200px;
    width: 95%;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

/* HEADER FIXE */
.gallery-modal .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: white;
    flex-shrink: 0;
}

.modal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gallery-counter {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

/* CORPS AVEC STRUCTURE FIXE */
.gallery-modal .modal-body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* CONTENEUR PRINCIPAL POUR L'IMAGE */
.gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    min-height: 0; /* Important pour le flex */
}

/* VIEWER RESPONSIVE */
.gallery-viewer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galleryImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#galleryImage.zoomed {
    cursor: zoom-out;
    transform: scale(1.5);
}

/* BOUTONS DE NAVIGATION ABSOLUS ET FIXES */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease;
}



.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
}

/* BOUTON DE ZOOM FIXE */
.gallery-zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.gallery-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* MINIATURES FIXES EN BAS */
.gallery-thumbnails {
    flex-shrink: 0;
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    height: 100px;
}

.gallery-thumb {
    min-width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.gallery-thumb.active {
    border-color: #000;
}

.gallery-thumb:hover {
    border-color: #666;
}






















/* Style pour la section Cuisine avec image de fond FIXE */
.tarif-section.cuisine-section {
    position: relative;
    padding: 60px 0;
    margin: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: transparent;
    overflow: hidden;
}

/* Image de fond FIXE qui ne bouge pas */
.section-bg-image {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 650px;
    background-image: url('../images/Illustrations/chef-white-black-and-white-joint.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none; /* Empêche toute interaction */
    transition: none !important; /* Bloque toute animation */
}

/* Overlay pour lisibilité */
.tarif-section.cuisine-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.98) 40%, 
        rgba(255, 255, 255, 0.92) 60%, 
        rgba(255, 255, 255, 0.85) 80%);
    z-index: 1;
    pointer-events: none;
}

/* Contenu au-dessus de l'image */
.tarif-section-content {
    position: relative;
    z-index: 2;
    max-width: 600px; /* Limite la largeur pour laisser voir l'image */
}

.tarif-section-header {
    margin-bottom: 40px;
}

.tarif-section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0; /* Retirer la marge existante si conflit */
}

/* Les boutons peuvent avoir des effets hover sans affecter l'image */
.tarif-item-btn {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.tarif-item-btn:hover {
    transform: translateX(8px);
    background-color: rgba(0, 0, 0, 0.02);
}

/* L'image reste parfaitement immobile pendant tous les hovers */
.tarif-section.cuisine-section:hover .section-bg-image,
.tarif-item-btn:hover ~ .section-bg-image,
.tarif-section.cuisine-section *:hover ~ .section-bg-image {
    transform: translateY(-50%); /* Reste fixe */
    opacity: 0.7; /* Opacité constante */
}











/* Image visible SEULEMENT sur grands écrans (1400px et +) */
@media (min-width: 1400px) {
    .section-bg-image {
        display: block; /* Assure qu'elle est visible */
        right: 10px;
        width: 450px;
        height: 650px;
        opacity: 0.7;
    }
    
    .tarif-section-content {
        max-width: 600px;
    }
}

/* Entre 1200px et 1399px - On supprime */
@media (max-width: 1399px) and (min-width: 1200px) {
    .section-bg-image {
        display: none; /* SUPPRIME l'image */
    }
    
    .tarif-section-content {
        max-width: 100%;
    }
}

/* Entre 1111px et 1199px - On supprime aussi */
@media (max-width: 1199px) and (min-width: 1024px) {
    .section-bg-image {
        display: none; /* SUPPRIME l'image */
    }
    
    .tarif-section-content {
        max-width: 100%;
    }
}

/* 1023px et moins - On supprime (tablette) */
@media (max-width: 1023px) {
    .section-bg-image {
        display: none; /* SUPPRIME l'image sur tablette */
    }
    
    .tarif-section-content {
        max-width: 100%;
    }
    
    .tarif-section.cuisine-section::before {
        background: linear-gradient(90deg, 
            rgba(255, 255, 255, 1) 0%, 
            rgba(255, 255, 255, 0.98) 30%, 
            rgba(255, 255, 255, 0.95) 100%);
    }
}






/* Style pour la section Salle avec image de fond FIXE */
.tarif-section.salle-section {
    position: relative;
    padding: 60px 0;
    margin: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: transparent;
    overflow: hidden;
}

/* Image de fond spécifique pour la section Salle */
.salle-bg-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background-image: url('../images/Illustrations/serveur.webp'); /* Remplace par ton image */
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
    transition: none !important;
}

/* Overlay pour lisibilité - style différent pour varier */
.tarif-section.salle-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.96) 40%, 
        rgba(255, 255, 255, 0.90) 60%, 
        rgba(255, 255, 255, 0.82) 80%);
    z-index: 1;
    pointer-events: none;
}

/* Adaptation pour la section salle */
.tarif-section.salle-section .tarif-section-title {
    color: #2c3e50; /* Couleur différente pour varier */
}

/* Responsive pour la section salle - même logique */
@media (min-width: 1400px) {
    .salle-bg-image {
        display: block;
        width: 400px;
        height: 500px;
    }
}

@media (max-width: 1399px) {
    .salle-bg-image {
        display: none;
    }
    
    .tarif-section.salle-section::before {
        background: linear-gradient(90deg, 
            rgba(255, 255, 255, 1) 0%, 
            rgba(255, 255, 255, 0.98) 30%, 
            rgba(255, 255, 255, 0.95) 100%);
    }
}

/* Ajuste aussi la version desktop si tu veux */
@media (min-width: 1400px) {
    .salle-bg-image {
        width: 280px;
        height: 280px;
        right: 90px; /* PLUS À GAUCHE (pas collé au bord) */
    }
}