/* =============================================================
   LA PROMENADE — FEUILLE DE STYLE PRINCIPALE
   Boulangerie · Pâtisserie · Restaurant — Nax, Valais
   Version : 2.0 | Multilingue FR / DE / IT / EN
   ============================================================= */

/* =============================================
   CSS VARIABLES & RESET
============================================= */
:root {
    --primary:    #401e0e;
    --secondary:  #a67c52;
    --light:      #f5e9c8;
    --bg:         #ebdfc3;
    --white:      #ffffff;
    --shadow-sm:  0 4px 12px rgba(64,30,14,.08);
    --shadow-md:  0 8px 24px rgba(64,30,14,.14);
    --shadow-lg:  0 16px 40px rgba(64,30,14,.2);
    --radius:     14px;
    --transition: all .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Quicksand', sans-serif;
    color: #333;
    background-color: var(--bg);
    padding-top: 80px;
    direction: ltr;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =============================================
   NAVBAR
============================================= */
.navbar-custom {
    background: var(--white) !important;
    border-bottom: 1px solid rgba(64,30,14,.1);
    box-shadow: var(--shadow-sm);
    height: 80px;
}

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

.nav-link {
    font-weight: 600;
    font-size: .92rem;
    color: var(--primary) !important;
    transition: var(--transition);
    padding: .5rem .9rem !important;
    border-radius: 6px;
    letter-spacing: .3px;
}
.nav-link:hover  { color: var(--secondary) !important; background: rgba(64,30,14,.05); }
.nav-link.active {
    color: var(--white) !important;
    background: var(--primary);
}

.navbar-toggler { border: none; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23401e0e' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =============================================
   SÉLECTEUR DE LANGUE
============================================= */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light);
    border: 1.5px solid rgba(166,124,82,.4);
    border-radius: 8px;
    padding: .38rem .75rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: .82rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.lang-btn .lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--white);
    border: 1px solid rgba(166,124,82,.25);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    min-width: 140px;
    z-index: 9999;
    overflow: hidden;
}

.lang-dropdown.open { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .6rem 1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: var(--primary);
    cursor: pointer;
    transition: background .2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.lang-option:hover { background: var(--light); }
.lang-option.active { background: rgba(166,124,82,.12); font-weight: 700; }

.lang-option .flag { font-size: 1.15rem; }

/* =============================================
   HERO
============================================= */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(245,230,211,.88) 0%,
        rgba(220,197,160,.82) 60%,
        rgba(166,124,82,.55) 100%);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 5rem 1.5rem 4rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(166,124,82,.35);
    border-radius: 30px;
    padding: .35rem 1.1rem;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(6px);
    max-width: 90%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.hero-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.2rem, 10vw, 9rem);
    color: var(--primary);
    line-height: 1;
    margin-bottom: .6rem;
    text-shadow: 2px 3px 6px rgba(0,0,0,.12);
}

.hero-divider {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    margin: .8rem auto 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #5a3a1a;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-cta-row {
    margin-top: 2rem;
    display: flex;
    gap: .8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   BANDEAU HORAIRES
============================================= */
.horaires-band {
    background: var(--primary);
    color: var(--white);
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .5px;
}

.horaires-band .horaire-item {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.horaires-band .icon {
    font-size: 1.1rem;
    opacity: .85;
}

.horaires-band strong { color: var(--light); }
.horaires-band a { color: inherit; text-decoration: underline; }

/* =============================================
   SECTION HEADING (réutilisable)
============================================= */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading .label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: .5rem;
}

.section-heading h2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--primary);
    line-height: 1.1;
}

.section-heading .underline {
    width: 50px;
    height: 2px;
    background: var(--secondary);
    margin: .7rem auto 0;
    border-radius: 2px;
}

/* =============================================
   BOUTONS GLOBAUX
============================================= */
.btn-promenade {
    padding: .75rem 2rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-block;
    font-size: .95rem;
    letter-spacing: .3px;
    text-decoration: none;
}

.btn-promenade-primary {
    background: linear-gradient(135deg, var(--secondary), #8b6f47);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 14px rgba(166,124,82,.4);
}

.btn-promenade-primary:hover {
    background: linear-gradient(135deg, #8b6f47, #6b5637);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(64,30,14,.35);
}

.btn-promenade-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.6);
}

.btn-promenade-outline:hover {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

/* =============================================
   CTA SECTION
============================================= */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg,
        rgba(64,30,14,.92) 0%,
        rgba(100,52,22,.95) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: .5rem;
}

.cta-section p { opacity: .8; margin-bottom: 2rem; font-size: 1.05rem; }

/* =============================================
   FOOTER
============================================= */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, #5e2e14 100%);
    color: rgba(255,255,255,.85);
    padding: 3rem 2rem 2rem;
    text-align: center;
    margin-top: auto;
}

.footer p { margin: .4rem 0; font-size: .92rem; line-height: 1.8; }
.footer a  { color: var(--light); text-decoration: underline; transition: var(--transition); }
.footer a:hover { color: var(--white); }

.footer-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: .5rem;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.15);
    margin: 1.5rem auto;
    max-width: 300px;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: .5rem 0;
}

.footer-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    transition: opacity .3s ease, transform .3s ease;
}

.footer-logos img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* =============================================
   CAROUSEL 1 — SPÉCIALITÉS (index.html)
============================================= */
.specialites-section { padding: 5rem 0 4rem; }

.carousel-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3.5rem;
    position: relative;
}

.carousel-slides {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
}

.carousel-slide {
    position: absolute;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: scale(.65);
    cursor: pointer;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
    pointer-events: auto;
    box-shadow:
        0 0 0 4px #e6d8b9,
        0 0 0 8px var(--secondary),
        0 0 0 13px #e6d8b9,
        var(--shadow-lg);
}

.carousel-slide.prev {
    opacity: .55;
    transform: translateX(-210px) scale(.78);
    z-index: 5;
    filter: brightness(.88);
    pointer-events: auto;
}

.carousel-slide.next {
    opacity: .55;
    transform: translateX(210px) scale(.78);
    z-index: 5;
    filter: brightness(.88);
    pointer-events: auto;
}

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

.product-names-container {
    position: relative;
    height: 60px;
    margin-top: 1.5rem;
}

.product-name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
    white-space: nowrap;
    background: rgba(255,255,255,.96);
    padding: .5rem 1.6rem;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(166,124,82,.35);
    font-weight: 600;
}

.product-name.active-product {
    opacity: 1;
    visibility: visible;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(166,124,82,.3);
    color: var(--primary);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 20;
    line-height: 1;
}

.carousel-button:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.carousel-button.prev { left: 0; }
.carousel-button.next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(166,124,82,.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

.swipe-hint {
    display: none;
    text-align: center;
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--secondary);
    opacity: .7;
}

/* =============================================
   SECTION À LA UNE (index.html)
============================================= */
.alune-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg) 0%, #e2d3b0 100%);
}

.alune-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.alune-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(166,124,82,.15);
    transition: var(--transition);
}

.alune-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.alune-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.alune-card:hover .alune-card-img { transform: scale(1.04); }

.alune-card-body { padding: 1.4rem; }

.alune-card-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(166,124,82,.1);
    border: 1px solid rgba(166,124,82,.3);
    border-radius: 20px;
    padding: .25rem .8rem;
    margin-bottom: .6rem;
}

.alune-card-title {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: .4rem;
}

.alune-card-desc {
    font-size: .9rem;
    color: #666;
    line-height: 1.6;
}

/* =============================================
   TÉMOIGNAGES (index.html)
============================================= */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #5e2e14 100%);
    color: var(--white);
}

.testimonials-section .section-heading h2 {
    color: #e2d3b1;
}

.testimonials-section .section-heading .label {
    color: #e2d3b1;
    opacity: .8;
}

.testimonials-section .section-heading .underline {
    background: #e2d3b1;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(166,124,82,.2);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(166,124,82,.15);
    position: absolute;
    top: .5rem;
    left: 1.2rem;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    color: var(--secondary);
    font-size: .95rem;
    margin-bottom: .4rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: .9rem;
}

.testimonial-date {
    font-size: .75rem;
    color: #999;
    margin-left: .5rem;
    font-weight: normal;
}

/* =============================================
   CAROUSEL 2 — GALERIE MENU (menu.html)
============================================= */
.menu-gallery-section { padding: 5rem 0; }

.carousel-wrapper-menu {
    width: 100%;
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    position: relative;
}

.carousel-menu {
    position: relative;
    width: 100%;
    padding: clamp(30px, 5vw, 50px) 0 clamp(40px, 6vw, 70px) 0;
}

.carousel-slides-menu {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(300px, 50vw, 500px);
}

.carousel-slide-menu {
    position: absolute;
    width: min(320px, 45vw);
    height: min(426px, 60vw);
    max-width: 320px;
    max-height: 426px;
    border-radius: clamp(12px, 2vw, 16px);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.7);
    border: clamp(3px, 0.6vw, 4px) solid #e6d8b9;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.carousel-slide-menu.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 10;
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(64, 30, 14, 0.35);
}

.carousel-slide-menu.prev {
    opacity: 0.6;
    transform: translateX(calc(-1 * min(200px, 25vw))) scale(0.85);
    z-index: 5;
    filter: brightness(0.9);
    border-color: #c0b299;
}

.carousel-slide-menu.next {
    opacity: 0.6;
    transform: translateX(min(200px, 25vw)) scale(0.85);
    z-index: 5;
    filter: brightness(0.9);
    border-color: #c0b299;
}

.carousel-slide-menu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.carousel-slide-menu:hover img { transform: scale(1.05); }

/* ─── Vignette image PNG dans le carousel ────────────────────────────────────────────────── */

/* Conteneur principal de la vignette */
.menu-thumb {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a0a03;
    position: relative;
}

/* Zone image */
.menu-thumb-img-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a0a03;
    min-height: 0;
}

/* Image PNG — couvre toute la zone */
.menu-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.carousel-slide-menu:hover .menu-thumb-img {
    transform: scale(1.04);
}

/* Placeholder icone — visible si l'image est absente ou en erreur */
.menu-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #3a1a0a 0%, #6b3a1f 55%, #8b5e3c 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Afficher le placeholder si l'image est en erreur */
.menu-thumb-img-wrap.menu-thumb-error .menu-thumb-placeholder {
    opacity: 1;
}
.menu-thumb-img-wrap.menu-thumb-error .menu-thumb-img {
    opacity: 0;
}

.menu-thumb-placeholder i {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #e8c87a;
    filter: drop-shadow(0 2px 12px rgba(232,200,122,.5));
    transition: transform 0.3s;
}

.carousel-slide-menu:hover .menu-thumb-placeholder i {
    transform: scale(1.12);
}

/* Footer de la vignette : titre + numéro */
.menu-thumb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: rgba(10, 4, 1, 0.88);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(166,124,82,.3);
    flex-shrink: 0;
    z-index: 2;
}

.menu-thumb-label {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #f5e9c8;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-thumb-num {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(245,233,200,.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: 8px;
}

/* ─── Modale image plein écran ────────────────────────────────────────────────── */

/* Conteneur modale — centre l'image */
.modal-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
    padding: 12px 70px;
    box-sizing: border-box;
}

.carousel-button-menu {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(44px, 6vw, 56px);
    height: clamp(44px, 6vw, 56px);
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(166,124,82,.3);
    color: var(--primary);
    font-size: clamp(16px, 2.5vw, 22px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 20;
}

.carousel-button-menu:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button-menu.prev { left: clamp(0px, 2vw, 20px); }
.carousel-button-menu.next { right: clamp(0px, 2vw, 20px); }

.carousel-dots-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    border: 1px solid rgba(166,124,82,.2);
    box-shadow: var(--shadow-sm);
    width: fit-content;
    margin: 0 auto;
}

/* =============================================
   MODALE PLEIN ÉCRAN IMAGE (menu.html)
============================================= */

/* Overlay — couvre tout l'écran */
.modal-overlay-custom {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 2, 0.97);
    z-index: 10000;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}

.modal-overlay-custom.active { display: flex; }

/* Barre de contrôle en haut */
.modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
    min-height: 56px;
    background: rgba(20, 8, 2, 0.95);
    border-bottom: 1px solid rgba(166,124,82,.3);
    backdrop-filter: blur(8px);
    z-index: 10020;
    flex-shrink: 0;
}

.modal-topbar-title {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    color: #e8c87a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.modal-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.modal-topbar-btn,
.modal-close-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.85);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}

.modal-topbar-btn:hover,
.modal-close-custom:hover {
    background: rgba(255,255,255,.25);
    transform: scale(1.1);
    color: #fff;
}

/* Compteur dans la topbar */
.modal-counter-custom {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 0 4px;
}

/* Zone principale : nav + image + scrollbar */
.modal-content-custom {
    flex: 1;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

/* Conteneur scrollable verticalement */
.modal-image-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    min-height: 0;
    padding: 16px 70px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* Masquer la scrollbar native (visible via barre custom) */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
    scroll-behavior: smooth;
}
.modal-image-container::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Image PNG — pleine largeur dans la zone scrollable */
.modal-image-custom {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 60px rgba(0,0,0,.6);
    transition: opacity 0.25s ease;
    display: block;
    flex-shrink: 0;
}

/* ─── Barre de défilement personnalisée ─────────────────────────────────────────── */
.modal-scrollbar {
    position: absolute;
    right: 56px;   /* à gauche du bouton « suivant » */
    top: 12px;
    bottom: 12px;
    width: 6px;
    z-index: 10016;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Visible quand le contenu est scrollable */
.modal-scrollbar.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-scrollbar-track {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.12);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.modal-scrollbar-thumb {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 24px;
    background: rgba(232,200,122,.75);
    border-radius: 4px;
    cursor: grab;
    transition: background 0.2s;
    top: 0;
}

.modal-scrollbar-thumb:hover,
.modal-scrollbar-thumb.dragging {
    background: rgba(232,200,122,1);
    cursor: grabbing;
}

/* Boutons de navigation latéraux */
.modal-nav-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(20, 8, 2, 0.7);
    border: 1px solid rgba(166,124,82,.4);
    color: rgba(255,255,255,.85);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
    z-index: 10015;
    flex-shrink: 0;
}

.modal-nav-custom:hover {
    background: rgba(166,124,82,.5);
    transform: translateY(-50%) scale(1.1);
    color: #fff;
}

.modal-nav-custom.prev { left: 12px; }
.modal-nav-custom.next { right: 12px; }

body.modal-open { overflow: hidden; }

/* Responsive modale */
@media (max-width: 600px) {
    .modal-topbar { height: 48px; min-height: 48px; padding: 0 12px; }
    .modal-topbar-title { font-size: 1.2rem; }
    .modal-topbar-btn, .modal-close-custom { width: 36px; height: 36px; font-size: 14px; }
    .modal-nav-custom { width: 40px; height: 40px; font-size: 16px; }
    .modal-nav-custom.prev { left: 4px; }
    .modal-nav-custom.next { right: 4px; }
}

/* =============================================
   PAGE À PROPOS — SECTIONS SPÉCIFIQUES
============================================= */
.histoire-section { padding: 5rem 0; background: var(--bg); }

.histoire-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
}

.histoire-image-wrap img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: 80% center;
    display: block;
    transition: transform .6s ease;
}

.histoire-image-wrap:hover img { transform: scale(1.03); }

.histoire-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: var(--light);
    font-family: 'Great Vibes', cursive;
    font-size: 1.4rem;
    padding: .6rem 1.4rem;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
}

.histoire-text h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.histoire-text p {
    color: #555;
    margin-bottom: 1.1rem;
    font-size: .97rem;
}

.histoire-text .highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    border-left: 3px solid var(--secondary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.chiffres-section {
    background: var(--primary);
    padding: 4rem 2rem;
    color: var(--white);
}

.chiffre-item { text-align: center; padding: 1rem; }

.chiffre-number {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--light);
    line-height: 1;
    display: block;
}

.chiffre-label {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .8;
    margin-top: .5rem;
    display: block;
}

.chiffre-divider {
    width: 1px;
    background: rgba(255,255,255,.2);
    align-self: stretch;
}

.valeurs-section {
    padding: 5rem 0;
    background: var(--light);
}

/* Paragraphe introductif des sections (équipe, valeurs) */
.section-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #5a3e2b;
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: .88;
}

/* ─── Nos Valeurs — Cartes avec image ovale pleine largeur + contour dégradé ──────────────── */
.valeur-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0 0 2rem 0;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(166,124,82,.15);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valeur-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* Conteneur de l'image carrée — pleine largeur de la carte */
.valeur-img-wrapper {
    width: 100%;
    padding: 0;
    display: block;
    position: relative;
}

/* Carré avec flou sur les bords */
.valeur-img-oval {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    background: #f5e9c8;
    box-shadow: 0 4px 20px rgba(166,124,82,.2);
    transition: box-shadow 0.35s, transform 0.35s;
}

/* Flou sur les 4 bords via pseudo-élément superposé */
.valeur-img-oval::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        /* bord haut */
        linear-gradient(to bottom,  rgba(255,255,255,.75) 0%, transparent 28%),
        /* bord bas */
        linear-gradient(to top,     rgba(255,255,255,.75) 0%, transparent 28%),
        /* bord gauche */
        linear-gradient(to right,   rgba(255,255,255,.75) 0%, transparent 22%),
        /* bord droit */
        linear-gradient(to left,    rgba(255,255,255,.75) 0%, transparent 22%);
    z-index: 2;
    transition: opacity 0.35s;
}

.valeur-card:hover .valeur-img-oval::after {
    opacity: .5;
}

.valeur-card:hover .valeur-img-oval {
    box-shadow: 0 8px 32px rgba(166,124,82,.35);
    transform: scale(1.02);
}

/* Image — prend toute la largeur du carré */
.valeur-img-oval img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.valeur-card:hover .valeur-img-oval img {
    transform: scale(1.06);
}

/* Fallback : si pas d'image, affiche l'icône */
.valeur-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--secondary);
}

/* Titre et texte — avec padding latéral */
.valeur-card h4 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: .6rem;
    margin-top: 1.2rem;
    padding: 0 1.2rem;
}

.valeur-card p {
    font-size: .9rem;
    color: #666;
    line-height: 1.6;
    padding: 0 1.2rem;
    flex: 1;
}

.timeline-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(245,233,200,.4), rgba(220,197,160,.4));
}

.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--secondary), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-content {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(166,124,82,.2);
    position: relative;
}

.timeline-item:nth-child(odd)  .timeline-content { margin-right: calc(50% + 1.5rem); }
.timeline-item:nth-child(even) .timeline-content { margin-left:  calc(50% + 1.5rem); }

.timeline-content h4 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: .4rem;
}

.timeline-content p { font-size: .9rem; color: #666; line-height: 1.6; }

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--light);
    font-weight: 700;
    font-size: .82rem;
    padding: .35rem .9rem;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
    top: 1.2rem;
    letter-spacing: .5px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--bg);
    top: 3.4rem;
    z-index: 3;
}

.equipe-section {
    padding: 5rem 0;
    background: var(--light);
}

.equipe-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(166,124,82,.15);
    transition: var(--transition);
    height: 100%;
}

.equipe-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.equipe-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid var(--light);
    box-shadow: 0 0 0 3px var(--secondary);
    margin: 0 auto 1.2rem;
    display: block;
    transition: transform .4s ease;
}

.equipe-card:hover .equipe-avatar { transform: scale(1.05); }

.equipe-name {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: .2rem;
}

.equipe-role {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: .7rem;
}

.equipe-bio { font-size: .88rem; color: #666; line-height: 1.6; }

.localisation-section { padding: 5rem 0; background: var(--bg); }

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.info-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(166,124,82,.15);
}

.info-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.info-row:last-child { margin-bottom: 0; }

.info-icon {
    font-size: 1.4rem;
    width: 40px;
    flex-shrink: 0;
    text-align: center;
    padding-top: .1rem;
}

.info-text strong {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: .9rem;
    margin-bottom: .2rem;
}

.info-text span {
    font-size: .88rem;
    color: #666;
    line-height: 1.5;
}

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

.info-text a:hover { color: var(--secondary); text-decoration: underline; }

.map-link {
    text-align: center;
    margin-top: 1rem;
}

.map-link a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.map-link a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* =============================================
   PAGE CONTACT — SECTIONS SPÉCIFIQUES
============================================= */
.contact-section { padding: 5rem 0; background: var(--bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    border: 1px solid rgba(166,124,82,.15);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item:last-child { margin-bottom: 0; }

.info-icon-contact {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light), #f0e1c0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(166,124,82,.25);
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.info-content p {
    margin-bottom: 0.2rem;
    color: #555;
    font-size: 0.95rem;
}

.info-content a {
    color: #555;
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover { color: var(--secondary); }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(64,30,14,.1);
}

/* ─── Icônes réseaux sociaux ─────────────────────────────────────────────── */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

/* Carré extérieur avec coins arrondis — effet carte 3D */
.social-square-3d {
    width: 80px;
    height: 88px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px 10px;
    background: linear-gradient(160deg, #fdf8f0 0%, #f5ead8 55%, #e8d5b5 100%);
    box-shadow:
        0 4px 12px rgba(100, 60, 20, .22),
        0 1px 3px rgba(100, 60, 20, .15),
        inset 0 1px 0 rgba(255, 255, 255, .85),
        inset 0 -1px 0 rgba(100, 60, 20, .08);
    border: 1px solid rgba(166, 124, 82, .2);
    transition:
        box-shadow .3s ease,
        transform .3s cubic-bezier(.34,1.56,.64,1),
        background .3s ease;
    position: relative;
    overflow: hidden;
}

/* Reflet lumineux en haut du carré */
.social-square-3d::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

/* Cercle intérieur contenant le logo */
.social-circle-3d {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow:
        0 2px 6px rgba(100, 60, 20, .2),
        inset 0 1px 2px rgba(255, 255, 255, .9),
        inset 0 -1px 2px rgba(100, 60, 20, .1);
    border: 1px solid rgba(166, 124, 82, .15);
    padding: 8px;
    transition: box-shadow .25s ease, transform .25s ease;
    flex-shrink: 0;
}

/* Nom du réseau sous le cercle */
.social-label {
    font-size: .65rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .75;
    line-height: 1;
    white-space: nowrap;
    transition: opacity .25s ease;
}

.social-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.12));
    transition: transform .25s ease;
}

/* ─── États hover ─── */
.social-link:hover {
    transform: translateY(-5px) scale(1.04);
}

.social-link:hover .social-square-3d {
    box-shadow:
        0 10px 24px rgba(100, 60, 20, .3),
        0 3px 8px rgba(100, 60, 20, .18),
        inset 0 1px 0 rgba(255, 255, 255, .9),
        inset 0 -1px 0 rgba(100, 60, 20, .1);
    background: linear-gradient(160deg, #ffffff 0%, #faeedd 55%, #e8d5b5 100%);
}

.social-link:hover .social-circle-3d {
    box-shadow:
        0 4px 10px rgba(100, 60, 20, .25),
        inset 0 1px 3px rgba(255, 255, 255, .95);
}

.social-link:hover .social-img {
    transform: scale(1.12);
}

.social-link:hover .social-label {
    opacity: 1;
    color: var(--secondary);
}

/* ─── État actif (clic) ─── */
.social-link:active {
    transform: translateY(-1px) scale(.97);
}

.social-link:active .social-square-3d {
    box-shadow:
        0 2px 6px rgba(100, 60, 20, .25),
        inset 0 2px 5px rgba(100, 60, 20, .12);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(166,124,82,.15);
}

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

.form-label {
    display: block;
    font-weight: 700;
    font-size: .88rem;
    color: var(--primary);
    margin-bottom: .5rem;
    letter-spacing: .3px;
}

.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid rgba(166,124,82,.3);
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: .95rem;
    color: #333;
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(166,124,82,.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    width: 100%;
    padding: .9rem;
    background: linear-gradient(135deg, var(--secondary), #8b6f47);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    letter-spacing: .3px;
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b6f47, #6b5637);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(64,30,14,.35);
}

.btn-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: .9rem;
    display: none;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    display: block;
}

.form-message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    display: block;
}

/* CAPTCHA */
/* ─── CAPTCHA BOULANGERIE — Responsive ──────────────────────────────────────── */

.captcha-section {
    background: linear-gradient(135deg, rgba(245,233,200,.6), rgba(235,223,195,.8));
    border: 1.5px dashed rgba(166,124,82,.5);
    border-radius: 12px;
    padding: clamp(0.8rem, 3vw, 1.4rem);
    margin-bottom: 1.4rem;
    /* Empêche tout débordement horizontal */
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.captcha-title {
    font-size: clamp(0.78rem, 2.5vw, 0.9rem);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: .4rem;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.captcha-subtitle {
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    color: #777;
    text-align: center;
    margin-bottom: .8rem;
    line-height: 1.4;
}

/* Wrapper pour le scale sur très petits écrans */
.captcha-grid-wrapper {
    width: 100%;
    overflow: hidden;
}

.captcha-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.3rem, 1.5vw, 0.6rem);
    margin-bottom: .8rem;
    width: 100%;
    box-sizing: border-box;
}

.captcha-piece {
    background: var(--white);
    border: 2px solid rgba(166,124,82,.3);
    border-radius: clamp(6px, 2vw, 10px);
    padding: clamp(0.3rem, 2vw, 0.7rem);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Taille minimale tactile (44px recommandé WCAG) */
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
}

.captcha-piece:hover { border-color: var(--secondary); background: var(--light); }

.captcha-piece.valid {
    border-color: #16a34a;
    background: #f0fdf4;
}

.captcha-piece-content {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    transition: transform .3s ease;
    display: block;
    line-height: 1;
    /* Empêche le texte de sortir de la pièce */
    overflow: hidden;
}

.rotation-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: clamp(12px, 3vw, 16px);
    height: clamp(12px, 3vw, 16px);
    background: rgba(166,124,82,.2);
    border-radius: 50%;
    font-size: clamp(0.45rem, 1.2vw, 0.55rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .5rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.captcha-progress {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 700;
    color: var(--primary);
}

.captcha-reset {
    font-size: clamp(0.7rem, 2vw, 0.78rem);
    font-weight: 600;
    color: var(--secondary);
    background: none;
    border: 1px solid rgba(166,124,82,.4);
    border-radius: 6px;
    padding: .3rem .7rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Quicksand', sans-serif;
    white-space: nowrap;
    /* Zone de tap suffisante */
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.captcha-reset:hover { background: var(--light); }

.captcha-message {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 600;
    text-align: center;
    margin-top: .4rem;
    min-height: 1.2em;
    line-height: 1.4;
}

.captcha-message.success { color: #16a34a; }
.captcha-message.error   { color: #dc2626; }

/* ─── Responsive captcha — tablette (≤ 768px) ──────────────────────────────── */
@media (max-width: 768px) {
    .captcha-section { padding: 1rem; }
    .captcha-piece-content { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* ─── Responsive captcha — mobile (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {
    .captcha-section { padding: 0.8rem 0.6rem; }
    .captcha-grid {
        gap: 0.35rem;
    }
    .captcha-piece {
        border-radius: 8px;
        padding: 0.4rem;
    }
    .captcha-piece-content { font-size: clamp(1.6rem, 9vw, 2rem); }
    .captcha-status { gap: 0.5rem; }
}

/* ─── Responsive captcha — très petit mobile (≤ 360px) ─────────────────────── */
@media (max-width: 360px) {
    .captcha-grid {
        gap: 0.25rem;
    }
    .captcha-piece {
        padding: 0.3rem;
        border-radius: 6px;
        min-width: 40px;
        min-height: 40px;
    }
    .captcha-piece-content { font-size: 1.5rem; }
    .rotation-badge { display: none; }
}

/* BARRE DE PROGRESSION */
.progress-container { margin: 1rem 0; }

.progress-bar-custom {
    height: 28px;
    background: rgba(166,124,82,.15);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(166,124,82,.3);
    margin-bottom: .8rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), #8b6f47);
    border-radius: 14px;
    transition: width .5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    padding: 0 .5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(166,124,82,.3);
    border: 2px solid rgba(166,124,82,.4);
    transition: var(--transition);
}

.step-dot.active { background: var(--secondary); border-color: var(--secondary); }
.step-dot.completed { background: #16a34a; border-color: #16a34a; }

.step-label {
    font-size: .7rem;
    color: #888;
    font-weight: 600;
}

.success-message-container {
    display: none;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(245,233,200,.5), rgba(235,223,195,.8));
    border-radius: var(--radius);
    border: 2px solid rgba(166,124,82,.3);
}

.success-icon { font-size: 3rem; margin-bottom: 1rem; }

.success-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: .8rem;
}

.success-text {
    font-size: .95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.success-button {
    background: linear-gradient(135deg, var(--secondary), #8b6f47);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: .75rem 2rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.success-button:hover {
    background: linear-gradient(135deg, #8b6f47, #6b5637);
    transform: translateY(-2px);
}

.map-section {
    padding: 4rem 0;
    background: var(--light);
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =============================================
   PAGE AVIS — SECTIONS SPÉCIFIQUES
============================================= */
.global-rating {
    background: rgba(166,124,82,.08);
    border-radius: 60px;
    padding: 1.5rem 2rem;
    max-width: 450px;
    margin: 0 auto 3rem auto;
    border: 1px dashed var(--secondary);
    backdrop-filter: blur(4px);
}

.global-stars {
    font-size: 2rem;
    color: #e6b422;
    letter-spacing: 6px;
    line-height: 1.2;
}

.global-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: .4rem 0 .2rem;
}

.global-sub {
    font-size: .82rem;
    color: #888;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 992px) {
    .alune-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .timeline::before { left: 24px; transform: none; }
    .timeline-item,
    .timeline-item:nth-child(even) { flex-direction: column; padding-left: 60px; gap: 0; }
    .timeline-item:nth-child(odd)  .timeline-content,
    .timeline-item:nth-child(even) .timeline-content { margin: 0; }
    .timeline-year { left: 0; transform: none; }
    .timeline-dot  { left: 17px; transform: none; top: 3.4rem; }
}

@media (max-width: 768px) {
    body { padding-top: 72px; }
    .hero-section { min-height: 400px; }
    .hero-overlay { padding: 3rem 1rem; }
    .horaires-band { gap: 1rem; font-size: .82rem; }
    .carousel-slide { width: 210px; height: 210px; }
    .carousel-slide.prev { transform: translateX(-145px) scale(.76); }
    .carousel-slide.next { transform: translateX(145px)  scale(.76); }
    .carousel-button { width: 44px; height: 44px; font-size: 18px; }
    .swipe-hint { display: block; }
    .alune-grid { grid-template-columns: 1fr; }
    .histoire-image-wrap img { height: 280px; }
    .map-embed iframe { height: 300px; }
    .contact-info-card, .contact-form-card { padding: 1.8rem; }
    .carousel-slide-menu.active { transform: scale(1.05); }
    .modal-nav-custom.prev { left: 15px; }
    .modal-nav-custom.next { right: 15px; }
    .modal-close-custom { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 18px; }
}

@media (max-width: 480px) {
    .carousel-slide { width: 170px; height: 170px; }
    .carousel-slide.prev { transform: translateX(-115px) scale(.72); }
    .carousel-slide.next { transform: translateX(115px)  scale(.72); }
    .carousel-button { width: 38px; height: 38px; font-size: 16px; }
    .alune-grid { grid-template-columns: 1fr; }
    .info-item { flex-direction: column; gap: 0.8rem; text-align: center; }
    .info-icon-contact { margin: 0 auto; }
    .social-links { justify-content: center; }
    .equipe-avatar { width: 70%; height: 150px; }
    /* captcha : géré par les media queries dédiées ci-dessus */
}

@media (min-width: 1600px) {
    .carousel-slide-menu { width: 380px; height: 506px; }
    .carousel-slide-menu.prev { transform: translateX(-240px) scale(0.85); }
    .carousel-slide-menu.next { transform: translateX(240px) scale(0.85); }
    .carousel-slides-menu { min-height: 600px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* =============================================
   ACCESSIBILITÉ — SKIP LINK
   Lien d'évitement pour lecteurs d'écran
============================================= */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 99999;
    background: var(--primary);
    color: var(--white);
    padding: .75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: top .2s ease;
    font-family: 'Quicksand', sans-serif;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* =============================================
   ACCESSIBILITÉ — FOCUS VISIBLE
   Contour de focus visible pour navigation clavier
============================================= */
:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* Supprimer l'outline par défaut uniquement pour les clics souris */
:focus:not(:focus-visible) {
    outline: none;
}

/* =============================================
   ACCESSIBILITÉ — TEXTE POUR LECTEURS D'ÉCRAN
   Classe utilitaire sr-only (screen reader only)
============================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================
   ACCESSIBILITÉ — CONTRASTE ÉLEVÉ
   Support du mode contraste élevé Windows
============================================= */
@media (forced-colors: active) {
    .btn-promenade-primary,
    .btn-promenade-outline,
    .btn-promenade-dark {
        border: 2px solid ButtonText;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .timeline-year,
    .timeline-dot {
        forced-color-adjust: none;
    }
}

/* =============================================
   BADGE GOOGLE AVIS — Section testimonials
   Harmonisé avec le design La Promenade
============================================= */

/* Wrapper centré */
.google-rating-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Badge principal */
.google-rating-badge {
    display: inline-flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(64,30,14,.25);
    border: 1px solid rgba(245,233,200,.35);
    transition: var(--transition);
}

.google-rating-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(64,30,14,.35);
}

/* Lien cliquable */
.google-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid rgba(245,233,200,.2);
    transition: var(--transition);
}

.google-badge-link:hover {
    background: rgba(255,255,255,.22);
}

/* Logo Google */
.google-logo {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}

/* Corps du badge */
.google-badge-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

/* Ligne supérieure : label + score */
.google-badge-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.google-badge-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245,233,200,.75);
    font-family: 'Quicksand', sans-serif;
}

.google-badge-score {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2d3b1;
    font-family: 'Quicksand', sans-serif;
    line-height: 1;
}

/* Étoiles dynamiques */
.google-badge-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

/* ★ Étoiles Google — système barre de progression proportionnelle */

/* Conteneur d'une étoile */
.lp-star {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
}

/* Nouvelle étoile en barre de progression */
.lp-star-progress {
    position: relative;
    display: inline-block;
    font-size: 1.35rem;
    line-height: 1;
    width: 1.35rem;
    height: 1.35rem;
    overflow: hidden;
}

/* Fond de l'étoile (grisé) */
.lp-star-progress .lp-star-bg {
    display: block;
    color: rgba(245,233,200,.25);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 1;
}

/* Remplissage de l'étoile (doré) — largeur proportionnelle à la note */
.lp-star-progress .lp-star-fill {
    display: block;
    color: #f5c842;
    text-shadow: 0 1px 4px rgba(245,200,66,.5);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
    /* Transition douce pour les mises à jour dynamiques */
    transition: width .4s cubic-bezier(.4,0,.2,1);
}

/* Compatibilité avec l'ancien système (si utilisé ailleurs) */
.lp-star-full  { color: #f5c842; text-shadow: 0 1px 3px rgba(245,200,66,.4); }
.lp-star-empty { color: rgba(245,233,200,.25); }
.lp-star-half  { position: relative; color: rgba(245,233,200,.25); }
.lp-star-half::before {
    content: '★';
    position: absolute;
    left: 0; top: 0;
    width: 50%;
    overflow: hidden;
    color: #f5c842;
    text-shadow: 0 1px 3px rgba(245,200,66,.4);
}

/* Nombre d'avis */
.google-badge-count {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(245,233,200,.65);
    font-family: 'Quicksand', sans-serif;
    letter-spacing: .3px;
    border-top: 1px solid rgba(245,233,200,.15);
    padding-top: 3px;
    width: 100%;
}

/* CTA sous le badge */
.google-rating-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Bouton clair pour fond sombre */
.btn-promenade-light {
    background: rgba(245,233,200,.15);
    color: #e2d3b1;
    border: 2px solid rgba(245,233,200,.45);
    backdrop-filter: blur(6px);
}

.btn-promenade-light:hover {
    background: rgba(245,233,200,.28);
    color: var(--white);
    border-color: rgba(245,233,200,.75);
    transform: translateY(-2px);
}

/* =============================================
   STYLES DASHBOARD — Section Note Google
============================================= */

/* Icône section Google (jaune/or) */
.section-icon.google {
    background: linear-gradient(135deg, #f9a825, #f5c842);
    color: #fff;
}

/* Aperçu badge dans le Dashboard */
.google-badge-preview {
    background: linear-gradient(135deg, var(--primary) 0%, #5e2e14 100%);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(166,124,82,.2);
}

.google-badge-inner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    border-radius: 20px;
    border: 1px solid rgba(245,233,200,.2);
}

.google-badge-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.google-badge-score {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2d3b1;
    font-family: 'Quicksand', sans-serif;
    line-height: 1;
}

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

.google-badge-count {
    font-size: .8rem;
    color: rgba(245,233,200,.65);
    font-family: 'Quicksand', sans-serif;
    border-top: 1px solid rgba(245,233,200,.15);
    padding-top: 3px;
}

.badge-preview-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245,233,200,.5);
    font-family: 'Quicksand', sans-serif;
}

/* Champs Google */
.google-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Wrapper input + slider */
.score-input-wrap {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.score-input {
    max-width: 140px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
}

/* Slider de note */
.score-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.score-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #f5c842 0%, #f5c842 88%, #e0e0e0 88%);
    outline: none;
    cursor: pointer;
    transition: background .2s;
}

.score-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--secondary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(64,30,14,.3);
    transition: transform .2s;
}

.score-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.score-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    color: #999;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    padding: 0 2px;
}

/* =============================================
   PAGE À PROPOS — Hero spécifique
   Évite le chevauchement eyebrow / titre
============================================= */
body.page-about .hero-section {
    min-height: 600px;
}
body.page-about .hero-overlay {
    padding: 7rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
body.page-about .hero-eyebrow {
    font-size: .78rem;
    letter-spacing: 2.5px;
    margin-bottom: 2rem;
}
body.page-about .hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    body.page-about .hero-section { min-height: 480px; }
    body.page-about .hero-overlay { padding: 5rem 1rem 3rem; }
    body.page-about .hero-eyebrow { font-size: .72rem; letter-spacing: 2px; margin-bottom: 1.5rem; }
    body.page-about .hero-title { font-size: clamp(2.5rem, 7vw, 5rem); }
}
