/* ===========================
   Police Another Day V2
   =========================== */
@font-face {
    font-family: 'Another Day V2';
    src: url('../fonts/AnotherDayV2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===========================
   Variables CSS
   =========================== */
:root {
    --primary-color: #8B6F47;
    --primary-dark: #6B5437;
    --secondary-color: #D4A574;
    --accent-color: #C29561;
    --dark-color: #2C2416;
    --light-color: #FAF8F5;
    --cream-color: #FFF8F0;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-brand: 'Another Day V2', cursive;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===========================
   Container
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo:hover {
    color: var(--primary-dark);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5d3a1a 0%, #3d2414 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L60 30 L80 30 L65 45 L70 65 L50 50 L30 65 L35 45 L20 30 L40 30 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-logo-bg {
    position: absolute;
    top: 30%;
    left: -5%;
    width: 60%;
    height: 80%;
    background-image: url('../images/logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    filter: brightness(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-brand);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--cream-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: linear-gradient(135deg, #d4a574 0%, #c19a6b 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    background: linear-gradient(135deg, #c19a6b 0%, #d4a574 100%);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.cupcake-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--white);
    margin-top: 0.5rem;
    animation: scrollLine 2s ease-in-out infinite;
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===========================
   Histoire Section
   =========================== */
.histoire {
    background: var(--light-color);
}

.histoire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.histoire-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.histoire-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.produits-list {
    margin-top: 2rem;
}

.produit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.produit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.histoire-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

/* ===========================
   Marchés Section
   =========================== */
.marches {
    background: var(--white);
}

.marches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.marche-card {
    background: var(--cream-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    width: 100%;
    max-width: 320px;
}

/* Flexbox uniquement pour les cartes de marchés standards */
.marche-card:not(.event-card):not(.permanent-card) {
    display: flex;
    flex-direction: column;
}

.marche-card:not(.event-card):not(.permanent-card) > *:last-child {
    margin-top: auto;
}

.marche-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* Override hover pour event et permanent cards */
.event-card:hover,
.permanent-card:hover {
    transform: translateY(-10px);
}

.marche-day {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.marche-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.marche-lieu {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.marche-horaires {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.clock-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

/* Mini Google Maps dans les cartes de marché */
.marche-map {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    z-index: 1;
}

.marche-map-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-top: 1rem;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    border: 2px dashed #ccc;
}

.marche-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.marche-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.marche-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Layout horizontal pour événements et permanents */
.event-card,
.permanent-card {
    display: flex !important;
    flex-direction: row !important;
    padding: 0 !important;
    min-height: 220px;
    text-align: left !important;
    overflow: hidden;
    max-width: none !important;
    width: 100% !important;
}

.card-map-section {
    flex: 0 0 320px;
    min-width: 320px;
}

.card-map-section .marche-map {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 15px 0 0 15px;
    border: none;
}

.card-content-section {
    flex: 1;
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.card-content-section h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--dark-color);
}

.card-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    row-gap: 0.6rem;
}

.card-info-grid p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.info-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.card-content-section .marche-day {
    margin-bottom: 0;
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 0.4rem 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card-content-section .marche-description {
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.event-card .marche-day {
    background: var(--secondary-color);
}

.event-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.permanent-card .marche-day {
    background: #27ae60;
}

.permanent-card:hover {
    border-color: #27ae60;
    transform: translateY(-5px);
}

/* Responsive pour cartes horizontales */
@media (max-width: 768px) {
    .event-card,
    .permanent-card {
        flex-direction: column !important;
        min-height: auto !important;
        text-align: center !important;
    }
    
    .card-map-section {
        flex: 0 0 200px;
        min-width: 100%;
        width: 100%;
    }
    
    .card-map-section .marche-map {
        border-radius: 15px 15px 0 0;
        height: 200px;
    }
    
    .card-content-section {
        padding: 1.5rem;
        width: 100%;
    }
    
    .card-content-section h3 {
        text-align: center;
    }
    
    .card-content-section .marche-day {
        align-self: center;
        margin: 0 auto 1rem;
    }
    
    .card-info-grid {
        grid-template-columns: 1fr;
    }
    
    .card-info-grid p {
        justify-content: center;
        text-align: center;
    }
    
    .card-content-section .marche-description {
        text-align: center;
    }
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
}

/* ===========================
   Événements & Permanents Sections
   =========================== */
.evenements, .permanents {
    background: var(--white);
}

.evenements {
    background: var(--light-color);
}

/* Force les grids des événements et permanents à s'afficher en colonne */
#evenementsGrid,
#permanentsGrid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: stretch;
}

#evenementsGrid .event-card,
#permanentsGrid .permanent-card {
    width: 100% !important;
    max-width: none !important;
}

/* ===========================
   Avis Clients Section
   =========================== */
.avis-clients {
    background: var(--cream-color);
    padding: 3rem 0;
}

.avis-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0 60px;
}

.avis-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.avis-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
    max-height: 350px;
}

.avis-card.active {
    display: block;
}

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

.avis-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.avis-stars svg {
    width: 20px;
    height: 20px;
}

.avis-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-style: italic;
    position: relative;
}

.avis-text::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: -30px;
    left: -10px;
    opacity: 0.3;
}

.avis-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.avis-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.avis-info {
    text-align: left;
}

.avis-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.2rem;
}

.avis-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.avis-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.avis-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.avis-nav svg {
    width: 20px;
    height: 20px;
}

.avis-prev {
    left: 0;
}

.avis-next {
    right: 0;
}

.avis-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.avis-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.avis-dot.active,
.avis-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.avis-cta {
    text-align: center;
}

.avis-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ===========================
   Réalisations Section
   =========================== */
.realisations {
    background: var(--light-color);
}

/* Filtres de catégories */
.galerie-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.galerie-filters .filter-btn {
    background: var(--white);
    border: 2px solid var(--cream-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-brown);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.galerie-filters .filter-btn:hover {
    background: var(--cream-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.galerie-filters .filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* Bouton voir plus */
.galerie-view-more {
    text-align: center;
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.galerie-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.5s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galerie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.galerie-description {
    color: var(--white);
    font-size: 0.95rem;
    text-align: center;
    max-width: 90%;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.galerie-item:hover .galerie-overlay {
    opacity: 1;
}

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

.galerie-btn {
    background: var(--white);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.galerie-btn svg {
    width: 30px;
    height: 30px;
}

.galerie-btn:hover {
    transform: scale(1.1);
    background: var(--cream-color);
}

.galerie-cta {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.galerie-cta p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: var(--white);
}

/* Contact Tabs */
.contact-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: var(--light-color);
    color: var(--text-dark);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.tab-btn:hover {
    background: var(--cream-color);
    border-color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--cream-color);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Forms */
.contact-form-wrapper,
.commande-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
}

.commande-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--cream-color);
    border-radius: 15px;
}

.commande-intro p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form,
.commande-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-label:hover {
    background: var(--cream-color);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.contact-form button,
.commande-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 0.3s ease-out;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    margin: 0 5px;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

.footer-credit {
    margin-top: 0.5rem !important;
    font-size: 0.85rem !important;
    opacity: 0.7;
}

.footer-credit a {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

.footer-credit a:hover {
    color: var(--white) !important;
    text-decoration: underline;
}

/* ===========================
   Lightbox
   =========================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: var(--white);
    color: var(--dark-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scrollLine {
    0% {
        height: 0;
    }
    50% {
        height: 40px;
    }
    100% {
        height: 0;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-color);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .histoire-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .image-decoration {
        display: none;
    }
    
    .marches-grid {
        grid-template-columns: 1fr;
    }
    
    /* Forcer les cartes événements et permanents en mode colonne sur tablette */
    .event-card,
    .permanent-card {
        flex-direction: column !important;
        min-height: auto !important;
    }
    
    .card-map-section {
        width: 100%;
        min-width: 100%;
        flex: 0 0 200px;
    }
    
    .card-map-section .marche-map {
        border-radius: 15px 15px 0 0;
    }
    
    .card-content-section {
        width: 100%;
        text-align: center;
    }
    
    .card-info-grid {
        grid-template-columns: 1fr;
    }
    
    .card-info-grid p {
        justify-content: center;
    }
    
    .galerie-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .galerie-grid {
        grid-template-columns: 1fr;
    }
    
    /* Avis Clients Responsive */
    .avis-carousel {
        padding: 0 50px;
    }
    
    .avis-card {
        padding: 2rem 1.5rem;
    }
    
    .avis-text {
        font-size: 1rem;
    }
    
    .avis-nav {
        width: 40px;
        height: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

/* ===========================
   Système d'Avis - Pop-up et Modal
   =========================== */

/* Notification pour laisser un avis */
.avis-prompt {
    position: fixed;
    bottom: -200px;
    right: 30px;
    max-width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9998;
    transition: bottom 0.4s ease;
}

.avis-prompt.show {
    bottom: 30px;
}

.avis-prompt-content {
    padding: 1.5rem;
    position: relative;
}

.avis-prompt-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.avis-prompt-close:hover {
    background: #f0f0f0;
    color: #333;
}

.avis-prompt h3 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.avis-prompt p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.avis-prompt-actions {
    display: flex;
    gap: 0.75rem;
}

.avis-prompt-actions button {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Modal d'avis */
.avis-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avis-modal.show {
    opacity: 1;
}

.avis-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.avis-modal.show .avis-modal-content {
    transform: translateY(0);
}

.avis-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.avis-modal-header h2 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin: 0;
    font-size: 1.8rem;
}

.avis-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.avis-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Formulaire d'avis */
.avis-form {
    padding: 2rem;
}

.avis-form .form-group {
    margin-bottom: 1.5rem;
}

.avis-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.avis-form input[type="text"],
.avis-form input[type="email"],
.avis-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.avis-form input:focus,
.avis-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.avis-form textarea {
    resize: vertical;
    min-height: 100px;
}

.avis-form small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.star-btn svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: #d0d0d0;
    stroke-width: 2;
    transition: var(--transition);
}

.star-btn:hover svg,
.star-btn.hover svg {
    fill: #ffed4e;
    stroke: #ffd700;
}

.star-btn.active svg {
    fill: #ffd700;
    stroke: #ffd700;
}

.rating-text {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Actions du formulaire */
.avis-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.avis-form-actions button {
    flex: 1;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Message de succès */
.avis-success-message {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10001;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transition: top 0.4s ease;
}

.avis-success-message.show {
    top: 30px;
}

.success-content svg {
    width: 60px;
    height: 60px;
    stroke: #4caf50;
    margin: 0 auto 1rem;
}

.success-content h3 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.success-content p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .avis-prompt {
        right: 15px;
        left: 15px;
        max-width: none;
    }

    .avis-prompt.show {
        bottom: 15px;
    }

    .avis-modal-header {
        padding: 1rem 1.5rem;
    }

    .avis-modal-header h2 {
        font-size: 1.4rem;
    }

    .avis-form {
        padding: 1.5rem;
    }

    .rating-input {
        justify-content: space-between;
    }

    .star-btn svg {
        width: 32px;
        height: 32px;
    }

    .avis-form-actions {
        flex-direction: column;
    }

    .avis-success-message {
        padding: 1.5rem;
    }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}
