/* =====================================================================
   Podium 89 — feuille de style du nouveau design (octobre 2026)
   ===================================================================== */

@font-face {
    font-family: 'Lexend';
    src: url('fonts/Lexend-VariableFont_wght.woff2') format('woff2'),
         url('fonts/Lexend-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --red: #C71429;
    --red-dark: #A50F22;
    --red-light: #FF5A6B;
    --ink: #17171A;
    --text: #33333A;
    --muted: #5C5C62;
    --grey: #F4F3F0;
    --line: #E7E6E3;
    --white: #FFFFFF;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 6px 20px rgba(20, 20, 22, .06);
    --shadow-md: 0 24px 60px rgba(20, 20, 22, .12);
    --wrap: 1320px;
    --gutter: 32px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrapper { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }


/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
    cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(199, 20, 41, .28); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 12px 28px rgba(80, 0, 10, .25); }
.btn-white:hover { color: var(--red); }
.link-arrow { font-size: 15px; font-weight: 600; color: var(--red); text-decoration: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #ECEBE8; }
.header-inner { display: flex; align-items: center; gap: 12px 28px; min-height: 84px; }
#logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
#logo img { width: 56px; height: 56px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 20px; font-weight: 700; }
.logo-text small { font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

#menu { flex: 1; }
#menu .navigation { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }
#menu .navigation a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
#menu .navigation a:hover { color: var(--red); }
#menu .navigation .active a { color: var(--red); border-bottom-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-tel svg { color: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 1340px) {
    .header-tel { display: none; }
    #menu .navigation { gap: 0 18px; }
}
@media (max-width: 980px) {
    .header-inner { flex-wrap: wrap; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
    .nav-toggle {
        display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 16px;
        border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
    .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bar::before { top: -5px; } .nav-toggle-bar::after { top: 5px; }
    .header-actions { order: 3; width: 100%; display: none; padding-bottom: 12px; }
    #menu { order: 2; width: 100%; flex-basis: 100%; display: none; }
    .nav-open #menu, .nav-open .header-actions { display: flex; }
    #menu .navigation { flex-direction: column; gap: 0; width: 100%; padding: 8px 0; }
    #menu .navigation li { border-top: 1px solid var(--line); }
    #menu .navigation a { width: 100%; min-height: 50px; border-bottom: 0; }
    .header-actions .btn { flex: 1; }
    .header-tel { display: inline-flex; }
}

/* ---------- En-têtes de page ---------- */
.hero { position: relative; }
.hero-home { padding: 20px 20px 0; }
.hero-frame {
    position: relative; max-width: 1400px; margin: 0 auto; min-height: 640px;
    border-radius: var(--radius-xl); overflow: hidden; background: var(--ink); display: flex; align-items: flex-end;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,16,.9) 0%, rgba(14,14,16,.6) 45%, rgba(14,14,16,.12) 85%); }
.hero-body { position: relative; width: 100%; padding: 120px clamp(28px, 5vw, 80px) 150px; color: #fff; }
.pill {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 12px;
    font-size: 14px; font-weight: 500; line-height: 1.4; color: #fff;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--red-light); }
.hero-title { margin: 0; max-width: 860px; color: #fff; font-size: clamp(44px, 6.6vw, 96px); line-height: .98; letter-spacing: -.04em; }
.hero-lead { margin: 26px 0 0; max-width: 540px; color: #E4E4E7; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.facts {
    position: relative; z-index: 2; max-width: 1160px; margin: -84px auto 0; padding: 8px;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.fact { padding: 24px 28px; display: flex; flex-direction: column; gap: 4px; }
.fact + .fact { border-left: 1px solid #EEEDEA; }
.fact b { font-size: 38px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.fact b.red { color: var(--red); }
.fact span { font-size: 14px; line-height: 1.4; color: var(--muted); }
@media (max-width: 880px) { .fact + .fact { border-left: 0; border-top: 1px solid #EEEDEA; } }

.hero-page { padding: 36px 0 0; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: inherit; }
.hero-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--red); }
.eyebrow-light { color: #FFD3D8; }
.page-title { margin: 0; font-size: clamp(44px, 6.4vw, 88px); line-height: .96; letter-spacing: -.04em; }
.hero-photo { border-radius: var(--radius-xl); overflow: hidden; height: clamp(300px, 40vw, 560px); background: var(--line); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.hero-duo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); display: block; }

.hero-band { padding: 20px 20px 0; }
.hero-band-frame { position: relative; max-width: 1400px; margin: 0 auto; min-height: 400px; border-radius: var(--radius-xl); overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; }
.hero-band-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-band-body { position: relative; width: 100%; padding: 64px clamp(28px, 5vw, 80px) 56px; color: #fff; }
.hero-band .breadcrumb, .hero-band .breadcrumb a { color: #D4D4D8; }
.hero-band .page-title { color: #fff; }

/* ---------- Mise en page du contenu ---------- */
.container-content { padding: 88px 0 104px; }
#content { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
#content > #full { grid-column: 1 / -1; }
#aside { display: flex; flex-direction: column; gap: 20px; }
#aside:empty { display: none; }
.index #content { grid-template-columns: minmax(0, 1fr); }
.index #aside { display: none; }
.index .container-content { padding: 112px 0; }
@media (max-width: 1020px) { #content { grid-template-columns: minmax(0, 1fr); } }

/* Titres de section */
.section { padding: 112px 0; }
.section-grey { background: var(--grey); }
.section-head { margin-bottom: 44px; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.section-title { margin: 0; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.035em; }
.section-lead { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Ancien titre de contenu (pages sans en-tête visuel) */
#article > header h1, #full > header h1 { margin: 0 0 32px; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -.035em; }

/* ---------- Texte issu de la base (prose) ---------- */
#article .content, #full .content, #full { color: var(--text); }
#article .content p, #full p { margin: 0 0 18px; }
#article .content a, #full a { color: var(--red); text-underline-offset: 3px; }
#article .content h2, #full h2 { font-size: 26px; margin: 36px 0 14px; }
#article .content h3, #full h3 { font-size: 21px; margin: 28px 0 12px; }
#article .content ul, #full ul { padding-left: 22px; }
#article .content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
#article .content iframe { border: 0; border-radius: var(--radius-lg); }
#article .content div[style*="56.25%"] { border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-md); margin: 12px 0 8px; }

/* Accueil : bloc « Le lieu » */
.index #article { max-width: 940px; margin: 0 auto; }
.index #article .content { font-size: 19px; line-height: 1.75; }
.index #article .content hr { display: none; }
.index #article .content > br { display: none; }

/* Pages salles : texte en base, le bandeau « homologation » devient un encart */
.salle-podium89 #article .content h2, .salle-rotonde #article .content h2, .salle-99 #article .content h2 {
    display: inline-block; margin: 8px 0 24px; padding: 10px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; color: var(--ink); background: var(--grey);
}
.salle-podium89 #article .content > p:first-child, .salle-rotonde #article .content > p:first-child, .salle-99 #article .content > p:first-child {
    font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.45; color: var(--ink); letter-spacing: -.01em;
}

/* ---------- Galerie photos (f_imgGal) ---------- */
.img-gal-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.img-gal { margin: 0; }
.img-gal a { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; background: var(--line); }
.img-gal img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.img-gal a:hover img { transform: scale(1.05); }
.img-gal .zoom-content { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 99px; background: rgba(255,255,255,.92); opacity: 0; transition: opacity .2s; }
.img-gal .zoom-content::before { content: ""; position: absolute; left: 12px; top: 11px; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 99px; }
.img-gal .zoom-content::after { content: ""; position: absolute; left: 25px; top: 25px; width: 2px; height: 7px; background: var(--ink); transform: rotate(-45deg); }
.img-gal a:hover .zoom-content, .img-gal a:focus .zoom-content { opacity: 1; }

/* ---------- Colonne latérale ---------- */
.card { background: var(--grey); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--ink); }
.facts-list { list-style: none; margin: 0 0 8px; padding: 0; font-size: 15px; }
.facts-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #E2E1DD; }
.facts-list li:last-child { border-bottom: 0; }
.facts-list span { color: var(--muted); }
.facts-list b { color: var(--ink); text-align: right; }
.salle-mini { display: flex; align-items: center; gap: 16px; padding: 8px; border-radius: var(--radius-md); background: #fff; text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.salle-mini:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.salle-mini img { width: 96px; height: 68px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.salle-mini span { display: flex; flex-direction: column; line-height: 1.3; }
.salle-mini b { font-size: 16px; }
.salle-mini small { font-size: 14px; font-weight: 600; color: var(--red); }
.card-dark { background: var(--ink); color: #fff; }
.card-dark .card-title { color: #fff; }
.contact-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #2E2E33; color: #fff; text-decoration: none; font-size: 15px; }
.contact-line:last-child { border-bottom: 0; }
.contact-line span { color: #A1A1A8; }
.contact-line b { overflow-wrap: anywhere; text-align: right; }
.contact-line:hover b { color: var(--red-light); }

/* ---------- Accueil : salles ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card-salle { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card-salle:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(20,20,22,.14); color: var(--ink); }
.card-salle-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.card-salle-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card-salle:hover .card-salle-img img { transform: scale(1.04); }
.badge { position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.3; }
.card-salle-body { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 30px; }
.card-salle-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.card-salle-text { font-size: 16px; line-height: 1.6; color: #4A4A50; }

/* ---------- Accueil : programme ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.split-intro { flex: 1 1 320px; max-width: 420px; }
.split-intro .section-title { margin-bottom: 20px; }
.split-intro .section-lead { margin-bottom: 28px; }
.events { flex: 999 1 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.event { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 20px; background: var(--grey); }
.event-date { flex-shrink: 0; width: 76px; height: 84px; border-radius: var(--radius-md); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; color: var(--ink); }
.event-date b { font-size: 28px; font-weight: 700; }
.event-date small { font-size: 12px; color: var(--muted); }
.event-body { display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.event-body b { font-size: 17px; color: var(--ink); }
.event-body span { font-size: 14px; color: var(--muted); }
.event-next { background: var(--red); }
.event-next .event-date { color: var(--red); }
.event-next .event-date small { color: var(--red); }
.event-next .event-body b { color: #fff; }
.event-next .event-body span { color: #FFD9DD; }

/* ---------- Accueil : fresques ---------- */
.fresques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fresque { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.fresque-wide { grid-column: 1 / -1; aspect-ratio: auto; height: clamp(220px, 24vw, 340px); }
.fresque img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fresque figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
@media (max-width: 860px) { .fresques { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .events { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Accueil : appel à l'action ---------- */
.section-cta { padding: 112px 0; }
.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(40px, 5vw, 80px); border-radius: var(--radius-xl); background: var(--red); color: #fff; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.cta-band::before { right: -120px; top: -120px; width: 420px; height: 420px; background: rgba(255,255,255,.07); }
.cta-band::after { right: 120px; bottom: -180px; width: 300px; height: 300px; background: rgba(0,0,0,.08); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .section-title { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 18px; color: #FFE3E6; }
.cta-band p a { color: #fff; font-weight: 600; text-decoration: none; }

/* ---------- Calendrier ---------- */
.calendrier #article .programme-2026 {
    max-width: none; margin: 0 0 48px; padding: clamp(24px, 4vw, 40px);
    font-family: inherit; border-radius: var(--radius-lg); background: var(--grey); box-shadow: none;
}
.calendrier #article .programme-2026 .title { font-size: clamp(28px, 3vw, 38px); margin: 0 0 6px; }
.calendrier #article .programme-2026 .subtitle span { color: var(--red); }
.calendrier #article .contact-box, .calendrier #article .infos-col { background: #fff; border-radius: var(--radius-md); }
.calendrier #article .programme-2026 hr { display: none; }
.calendrier #article .content > hr { display: none; }
.calendrier #article .content > h2 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 4px; }
.calendrier #article center { display: block; }
#calendrierTable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; text-align: left; margin-top: 20px; }
#calendrierTable thead th { padding: 14px 16px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--ink); border: 0; }
#calendrierTable thead th:first-child { border-radius: 12px 0 0 12px; }
#calendrierTable thead th:last-child { border-radius: 0 12px 12px 0; }
#calendrierTable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
#calendrierTable td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
#calendrierTable tr.row-even td, #calendrierTable tr.row-odd td { background: transparent; }
#calendrierTable tr.highlight td { background: #FDEBED; color: var(--ink); font-weight: 500; }
#calendrierTable tr.highlight td:first-child { color: var(--red); box-shadow: inset 4px 0 0 var(--red); }
#calendrierTable .tableborder { font-size: inherit; border: 0; background: none !important; }
@media (max-width: 760px) {
    #calendrierTable thead { display: none; }
    #calendrierTable, #calendrierTable tbody, #calendrierTable tr, #calendrierTable td { display: block; width: 100%; }
    #calendrierTable tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
    #calendrierTable td { padding: 2px 0; border: 0; white-space: normal !important; }
    #calendrierTable tr.highlight { background: #FDEBED; border-radius: 12px; padding: 14px; }
    #calendrierTable tr.highlight td { background: transparent; box-shadow: none; }
}

/* Anciennes classes du tableau (conservées pour compatibilité) */
.highlight { font-weight: 500; }

/* ---------- Contact ---------- */
.contact-wrapper { max-width: none; margin: 0; padding: 0; }
.contact-wrapper > h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 38px); }
.contact-wrapper p.intro { margin: 0 0 28px; color: var(--muted); }
form.contact-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); background: var(--grey); border-radius: var(--radius-xl); }
form.contact-form .form-row { display: flex; flex-wrap: wrap; gap: 18px; }
form.contact-form .form-group { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
form.contact-form label { font-size: 14px; font-weight: 500; color: var(--ink); }
form.contact-form input, form.contact-form select, form.contact-form textarea {
    width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid #DCDBD7; border-radius: 14px; background: #fff;
    font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
}
form.contact-form textarea { min-height: 150px; padding: 14px 16px; resize: vertical; }
form.contact-form input:focus, form.contact-form select:focus, form.contact-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(199,20,41,.15); }
form.contact-form .form-actions { text-align: right; }
form.contact-form .btn, .contact-wrapper .btn-primary { min-height: 56px; padding: 0 34px; border-radius: 999px; border: 0; background: var(--red); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 24px rgba(199,20,41,.28); }
form.contact-form .btn:hover { background: var(--red-dark); }
.contact-wrapper > p:last-child { color: var(--muted); }
.alert { padding: 18px 22px; margin-bottom: 20px; border-radius: var(--radius-md); font-size: 16px; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert-success { background: #E8F5EC; border: 1px solid #BFE3CB; color: #14532D; }
.alert-error { background: #FDEBED; border: 1px solid #F5C2C8; color: #7F1020; }
.alert-strong { margin: 10px 0 0; font-weight: 600; }

/* ---------- Mentions légales / RGPD ---------- */
#full { max-width: 860px; margin: 0 auto; font-size: 16px; }
#full > h1 { font-size: clamp(36px, 4.6vw, 56px); margin: 0 0 32px; }
#full p[style*="justify"] { text-align: left !important; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #B9B9BE; font-size: 15px; line-height: 1.6; }
.site-footer .wrapper { padding-top: 28px; padding-bottom: 28px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin: 0; font-size: 13px; }
.footer-bottom a { color: #B9B9BE; }

/* ---------- Petits écrans ---------- */
@media (max-width: 720px) {
    :root { --gutter: 20px; }
    body { font-size: 16px; }
    .hero-home, .hero-band { padding: 12px 12px 0; }
    .hero-frame { min-height: 560px; border-radius: var(--radius-lg); }
    .hero-body { padding: 96px 24px 128px; }
    .hero-band-frame { min-height: 320px; border-radius: var(--radius-lg); }
    .hero-band-body { padding: 48px 24px 40px; }
    .facts { margin: -72px 12px 0; }
    .section, .section-cta, .index .container-content { padding: 80px 0; }
    .container-content { padding: 56px 0 80px; }
    .hero-photo, .cta-band { border-radius: var(--radius-lg); }
    .event-date { width: 64px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}




/* Calendrier : tableau sur toute la largeur, colonne latérale en dessous */
.calendrier #content { grid-template-columns: minmax(0, 1fr); }
.contact #article .content > hr { display: none; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9000; max-width: 720px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px;
    background: var(--ink); color: #E4E4E7; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,.35);
    font-size: 15px; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 320px; margin: 0; }
.cookie-banner a { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { min-height: 44px; border-color: #fff; color: #fff; }
.cookie-banner .btn:hover { background: #fff; color: var(--ink); }
.footer-links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
#full h2 { font-size: 22px; margin: 36px 0 12px; }
#full code { font-size: .9em; background: var(--grey); padding: 1px 6px; border-radius: 6px; }

/* ---------- Visionneuse de photos (js/podium.js) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 64px 72px; background: rgba(14, 14, 16, .92); }
.lightbox[hidden] { display: none; }
.lightbox-ouverte, .lightbox-ouverte body { overflow: hidden; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lightbox-image { display: block; max-width: min(1100px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #000; }
.lightbox-legende { color: #fff; font-size: 15px; text-align: center; }
.lightbox-compteur { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; text-align: center; font-size: 13px; color: #A1A1A8; }
.lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font: inherit; font-size: 34px; line-height: 1; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,.28); }
.lightbox button[hidden] { display: none; }
.lightbox-fermer { top: 16px; right: 16px; font-size: 30px; }
.lightbox-prec { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-suiv { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
    .lightbox { padding: 64px 12px 72px; }
    .lightbox-prec, .lightbox-suiv { top: auto; bottom: 12px; transform: none; }
    .lightbox-compteur { bottom: 28px; }
}

/* ---------- Menu : sous-menu « Nos salles » ---------- */
#menu .has-submenu { position: relative; }
.submenu-toggle {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
    border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
}
.submenu-toggle:hover { color: var(--red); }
.submenu-toggle svg { transition: transform .2s; }
#menu .has-submenu.active > .submenu-toggle { color: var(--red); border-bottom-color: var(--red); }
.submenu {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 50%; z-index: 60;
    min-width: 230px; background: #fff; border: 1px solid #ECEBE8; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* passage de la souris */
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu, .has-submenu.open > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-submenu:hover > .submenu-toggle svg, .has-submenu.open > .submenu-toggle svg { transform: rotate(180deg); }
#menu .navigation .submenu a { display: flex; width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; border-bottom: 0; color: var(--ink); white-space: nowrap; }
#menu .navigation .submenu a:hover { background: var(--grey); color: var(--red); }
#menu .navigation .submenu .active a { background: #FDEBED; color: var(--red); }
#demande { scroll-margin-top: 110px; }

@media (max-width: 980px) {
    #menu .has-submenu { position: static; }
    .submenu-toggle { width: 100%; min-height: 50px; border-bottom: 0; cursor: default; }
    .submenu-toggle svg { display: none; }
    #menu .has-submenu.active > .submenu-toggle { border-bottom: 0; }
    .submenu, .has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu, .has-submenu.open > .submenu {
        position: static; opacity: 1; visibility: visible; transform: none; transition: none;
        min-width: 0; padding: 0 0 8px 14px; border: 0; border-radius: 0; box-shadow: none; background: none;
    }
    .submenu::before { display: none; }
    #menu .navigation .submenu li { border-top: 0; }
    #menu .navigation .submenu a { min-height: 44px; padding: 8px 12px; }
}

/* ---------- Plan d'accès ---------- */
.plan-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--grey); aspect-ratio: 16 / 10; }
.plan-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted);
    background: radial-gradient(circle at 50% 40%, #fff 0, var(--grey) 70%); }
.plan-map-placeholder svg { color: var(--red); }
#article .plan-map-placeholder p { margin: 0; max-width: 420px; }
#article .plan-map-placeholder .plan-map-title { color: var(--ink); font-weight: 700; font-size: 18px; }
.plan-map-placeholder .btn { margin-top: 6px; }
#article .plan-map-placeholder a.btn-red { color: #fff; }
.plan-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0 !important; }
.plan-map { margin-bottom: 28px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan-card p { margin: 0 !important; line-height: 1.6; }
.plan-card .adresse { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.plan-gps { font-size: 14px; color: var(--muted); }
.plan-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.plan-actions .btn, .plan-card > .btn { width: 100%; text-decoration: none; }
#article .plan-actions a.btn-red, #article .plan-card a.btn-red { color: #fff; }
#article .plan-card a.btn-outline { color: var(--ink); }
#article .plan-card a.btn-outline:hover { color: #fff; }
@media (max-width: 640px) { .plan-map { aspect-ratio: 4 / 5; } }
.seo-h1 { display: none; }
