/* ==========================================================================
   PRIMEUR DE SCEAUX - Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Palette Naturelle & Authentique */
    
    /* Base Backgrounds */
    --color-bg: #F9F8F6; /* Blanc cassé légèrement chaud (coquille d'oeuf) */
    --color-bg-alt: #F2EFE9; /* Beige clair pierre */
    --color-bg-dark: #2C3632; /* Fond sombre pour footer/accents */
    --color-white: #FFFFFF;
    
    /* Verts - Végétal & Fraîcheur */
    --color-green: #2E5C46; /* Vert forêt profond - Principal */
    --color-green-dark: #1F4232; /* Vert très sombre */
    --color-green-light: #E6F0EB; /* Vert menthe très pâle */
    --color-green-vibrant: #4D8B31; /* Vert feuille vif (accent) */
    
    /* Oranges/Terres - Chaleur & Rusticité */
    --color-orange: #D97736; /* Orange terracotta - Secondaire */
    --color-orange-dark: #B55D24; /* Terracotta foncé */
    --color-orange-light: #FBEFE8; /* Pêche pâle */
    --color-sand: #E6DCCF; /* Sable (bordures, fonds subtils) */
    
    /* Accents Produits */
    --color-red-tomato: #D14D3C;
    --color-yellow-lemon: #F2C94C;
    --color-purple-eggplant: #5D4058;
    
    /* Text */
    --color-text: #2C3330; /* Gris anthracite teinté de vert */
    --color-text-light: #5E6963; /* Gris moyen teinté */
    --color-text-muted: #949E99; /* Gris clair */
    --color-text-inverse: #F9F8F6;
    
    /* Borders */
    --color-border: #E0DDD5;
    --color-border-light: #EDEBE6;
    
    /* Typography */
    --font-heading: 'Fraunces', serif; /* Serif moderne et expressif */
    --font-body: 'Outfit', sans-serif; /* Sans-serif géométrique et amical */
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem; /* Augmenté pour plus d'aération */
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Border radius - Plus organique */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;
    
    /* Shadows - Plus douces et diffuses */
    --shadow-sm: 0 2px 8px rgba(44, 54, 50, 0.04);
    --shadow-md: 0 8px 24px rgba(44, 54, 50, 0.06);
    --shadow-lg: 0 16px 48px rgba(44, 54, 50, 0.08);
    --shadow-colored: 0 12px 32px rgba(46, 92, 70, 0.15);
    
    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    
    /* Layout */
    --header-height: 80px;
    --mobile-bar-height: 80px;
    --container-max: 1320px;
    --container-padding: 6vw;
    --container-padding-mobile: 20px;
}

/* --------------------------------------------------------------------------
   Skip link (accessibilité + SEO)
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--container-padding);
    z-index: 10000;
    padding: 12px 24px;
    background: var(--color-green);
    color: var(--color-white);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: var(--space-md);
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 17px; /* Légèrement plus grand */
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232E5C46' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-orange);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600; /* Fraunces est naturellement gras, on allège un peu */
    line-height: 1.2;
    color: var(--color-green);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    font-weight: 700;
    font-variation-settings: "SOFT" 100, "WONK" 1;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 600;
}

h3 { 
    font-size: 1.5rem; 
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--container-padding-mobile);
    }
}

/* --------------------------------------------------------------------------
   Buttons - Formes plus organiques
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 50px; /* Pill shape complet */
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn svg {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: scale(1.1);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.9375rem;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
    border-color: var(--color-green);
    box-shadow: 0 4px 12px rgba(46, 92, 70, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-green-dark);
    border-color: var(--color-green-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 92, 70, 0.3);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-green);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-green-light);
    border-color: var(--color-green);
    color: var(--color-green-dark);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-text);
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(44, 54, 50, 0.3);
}

.btn-ghost:hover {
    background-color: rgba(46, 92, 70, 0.05);
    text-decoration-color: var(--color-green);
    color: var(--color-green);
}

/* --------------------------------------------------------------------------
   Chips & Badges
   -------------------------------------------------------------------------- */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.chips-vertical {
    flex-direction: column;
    align-items: flex-start;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9375rem;
    color: var(--color-text);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.chip svg {
    color: var(--color-orange); /* Accent orange pour les icônes */
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(224, 221, 213, 0.6);
    z-index: 1000;
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 2px 20px rgba(44, 54, 50, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    min-width: 0;
    flex-shrink: 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: -0.03em;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    white-space: nowrap;
    padding: var(--space-xs) 0;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green), var(--color-orange));
    border-radius: 1px;
    transition: width var(--transition-base);
}

.logo:hover {
    color: var(--color-orange);
}

.logo:hover::after {
    width: 100%;
}

.header-sep {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
    flex-shrink: 0;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: var(--color-bg-alt);
    padding: 6px 8px;
    border-radius: 100px;
    flex-shrink: 0;
}

.nav-desktop a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 100px;
    letter-spacing: 0.01em;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-desktop a:hover {
    color: var(--color-green);
    background-color: rgba(255, 255, 255, 0.8);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.header-right .btn {
    min-width: 0;
}

/* Burger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--color-green);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-xl) var(--container-padding-mobile);
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
}

.nav-mobile.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.nav-mobile a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-green);
    padding: var(--space-sm) 0;
    border-bottom: 1px dashed var(--color-border);
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 var(--container-padding-mobile);
        gap: var(--space-md);
    }
    
    .nav-desktop,
    .header-right {
        display: none;
    }
    
    .header-sep {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* --------------------------------------------------------------------------
   Hero : photo du magasin seule, pleine largeur
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    margin-top: 0;
    padding-top: var(--header-height);
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

.hero-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

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

@media (min-width: 769px) {
    .hero-image {
        aspect-ratio: 21 / 9;
        max-height: 85vh;
    }
    .hero-image img {
        object-position: center center;
    }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-top: var(--space-md);
}

/* La boutique */
.section-boutique {
    background-color: var(--color-white);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-green);
    text-align: center;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.page-intro {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.boutique-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.boutique-image {
    position: relative;
}

.boutique-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-colored);
}

/* Déco image boutique */
.boutique-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--color-orange);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.boutique-content h2 {
    color: var(--color-green);
    font-size: 2.5rem;
}

.boutique-content .lead {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-orange-dark);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.boutique-content > p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .boutique-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .boutique-image {
        order: -1;
        margin: var(--space-lg);
    }
}

/* Produits - Style Carte Organique */
.section-produits {
    background-color: var(--color-bg);
}

.produits-banner {
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: var(--space-3xl);
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-md);
}

.produits-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 10s ease;
}

.produits-banner:hover img {
    transform: scale(1.05);
}

.produits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.card-produit {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-produit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--color-sand);
    transition: all var(--transition-base);
}

.card-produit:nth-child(1)::before { background-color: var(--color-green-vibrant); } /* Fruits */
.card-produit:nth-child(2)::before { background-color: var(--color-orange); } /* Légumes */
.card-produit:nth-child(3)::before { background-color: var(--color-yellow-lemon); } /* Miel */
.card-produit:nth-child(4)::before { background-color: var(--color-purple-eggplant); } /* Secs */

.card-produit:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-accent {
    display: none; /* Remplacé par le border-top */
}

.card-produit h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.375rem;
    color: var(--color-text);
}

.card-produit p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    font-family: var(--font-body);
}

/* Cercle déco derrière titre */
.card-produit h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-alt);
    border-radius: 50%;
    position: absolute;
    top: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    transition: transform var(--transition-base);
}

.card-produit:hover h3::after {
    transform: translateX(-50%) scale(1.5);
}

@media (max-width: 1024px) {
    .produits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .produits-grid {
        grid-template-columns: 1fr;
    }
}

/* Valeurs */
.section-valeurs {
    background-color: var(--color-white);
    padding: var(--space-4xl) 0;
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.card-valeur {
    text-align: center;
    padding: var(--space-xl);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-xl) var(--radius-sm) var(--radius-xl) var(--radius-sm);
    transition: var(--transition-base);
}

.card-valeur:hover {
    border-radius: var(--radius-sm) var(--radius-xl) var(--radius-sm) var(--radius-xl);
    background-color: var(--color-green-light);
    transform: translateY(-5px);
}

.card-valeur .card-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg) auto;
    box-shadow: var(--shadow-sm);
}

.card-valeur h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.card-valeur p {
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .valeurs-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Avis Google */
.section-avis {
    background-color: var(--color-green-dark);
    color: var(--color-white);
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.03) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(255,255,255,0.03) 0%, transparent 20%);
}

.section-avis .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.section-avis .section-header h2 {
    color: var(--color-white);
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    background-color: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
}

.stars {
    display: flex;
    gap: 2px;
}

.rating-text {
    font-size: 0.9375rem;
    color: var(--color-white);
    font-weight: 500;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.card-avis {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.card-avis:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.avis-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
}

.avis-text {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    font-style: italic;
    font-family: var(--font-heading);
}

.avis-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.avis-cta .btn-ghost {
    color: var(--color-white);
    text-decoration-color: rgba(255, 255, 255, 0.5);
}

.avis-cta .btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    text-decoration-color: var(--color-white);
}

@media (max-width: 1024px) {
    .avis-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Galerie */
.section-galerie {
    background-color: var(--color-white);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.galerie-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.galerie-large {
    grid-column: span 2;
    grid-row: span 2;
}

.galerie-large img {
    aspect-ratio: auto;
    height: 100%;
}

.galerie-carousel {
    display: none;
}

@media (max-width: 768px) {
    .galerie-grid {
        display: none;
    }
    
    .galerie-carousel {
        display: block;
        overflow: hidden;
        position: relative;
    }
    
    .carousel-track {
        display: flex;
        transition: transform 0.3s ease;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        padding: 0 var(--space-sm);
    }
    
    .carousel-slide img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: var(--radius-lg);
    }
    
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: var(--space-sm);
        margin-top: var(--space-lg);
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--color-border);
        cursor: pointer;
        transition: all var(--transition-fast);
        border: none;
        padding: 0;
    }
    
    .carousel-dot.active {
        background-color: var(--color-green);
        transform: scale(1.2);
    }
}

/* Horaires */
.section-horaires {
    background-color: var(--color-bg);
}

.horaires-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.horaires-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: var(--space-xl);
}

.horaires-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border-light);
}

.horaires-table tr:last-child td {
    border-bottom: none;
}

.horaires-table td:first-child {
    font-weight: 600;
    color: var(--color-green-dark);
    font-family: var(--font-heading);
    font-size: 1.125rem;
}

.horaires-table td:last-child {
    text-align: right;
    color: var(--color-text-light);
    font-variant-numeric: tabular-nums;
}

.horaires-table tr.ferme td:last-child {
    color: var(--color-orange);
    font-weight: 500;
}

.horaires-note {
    text-align: center;
    padding: var(--space-lg);
    background-color: var(--color-green-light);
    border-radius: var(--radius-lg);
    color: var(--color-green-dark);
}

.horaires-note a {
    color: var(--color-green);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* Accès */
.section-acces {
    background-color: var(--color-white);
}

.acces-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: center;
}

.acces-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.info-block h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-green);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.info-block p {
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

.map-container {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--color-bg-alt);
    border: 4px solid var(--color-white);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .acces-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        aspect-ratio: 1 / 1;
    }
}

/* FAQ */
.section-faq {
    background-color: var(--color-bg);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-green-dark);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-orange);
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 var(--space-lg) var(--space-lg) var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

/* Forme vague haut du footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: var(--color-bg);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    display: block;
    font-size: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.footer-brand a {
    color: var(--color-green-light);
    font-weight: 600;
}

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

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-bar-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border-light);
    padding: 12px var(--container-padding-mobile);
    gap: var(--space-md);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-bar .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.9rem;
    height: 100%;
}

@media (max-width: 1024px) {
    .mobile-sticky-bar {
        display: flex;
    }
    
    body {
        padding-bottom: var(--mobile-bar-height);
    }
}

/* --------------------------------------------------------------------------
   Header Left & Status Badge
   -------------------------------------------------------------------------- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: var(--font-body);
}

.status-badge.open {
    background-color: var(--color-green-light);
    color: var(--color-green-dark);
    border-color: rgba(46, 92, 70, 0.25);
}

.status-badge.closed {
    background-color: var(--color-orange-light);
    color: var(--color-orange-dark);
    border-color: rgba(217, 119, 54, 0.25);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.status-badge.open .status-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@media (max-width: 1024px) {
    .status-badge {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: var(--color-white);
    color: var(--color-green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background-color: var(--color-green);
    color: var(--color-white);
    transform: translateY(-4px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .back-to-top {
        bottom: calc(var(--mobile-bar-height) + 16px);
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Today's row highlight in hours table
   -------------------------------------------------------------------------- */
.horaires-table tr.today {
    background-color: var(--color-green-light);
    border-radius: var(--radius-sm);
}

/* Astuce pour border-radius sur tr */
.horaires-table tr.today td:first-child {
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
    color: var(--color-green);
}

.horaires-table tr.today td:last-child {
    border-top-right-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    color: var(--color-green);
    font-weight: 700;
}
