/* =========================================================================
   THÈME « ORCHESTRE CLASSIQUE »
   Direction : éditorial et raffiné, esprit programme de concert gravé.
   Palette ivoire / encre, accent or patiné. Titres en Cormorant Garamond.
   Les couleurs passent par des variables CSS pour pouvoir être ajustées
   facilement (et, plus tard, pilotées depuis l'administration).
   ========================================================================= */

:root {
    --ivoire:        #f6f1e7;  /* fond principal, ton papier */
    --ivoire-fonce:  #ebe3d3;
    --encre:         #1c1a17;  /* texte principal, presque noir chaud */
    --encre-douce:   #4a443c;
    --or:            #a8842c;  /* accent : or patiné */
    --or-clair:      #c9a85a;
    --bordeaux:      #6b2230;  /* accent secondaire profond */
    --titre-accent:  var(--or);  /* accent des titres : surchargé en mode tout-noir */
    --ligne:         #d8cdb8;

    --police-titre:  'Cormorant Garamond', Georgia, serif;
    --police-texte:  'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--ivoire);
    /* Texture papier discrète par dégradés superposés */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(168,132,44,0.04), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(107,34,48,0.03), transparent 40%);
    color: var(--encre);
    font-family: var(--police-texte);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--bordeaux); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--or); }

/* ---------------- En-tête ---------------- */
.site-header {
    border-bottom: 1px solid var(--ligne);
    background: var(--ivoire);
    position: sticky; top: 0; z-index: 10;
}
.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 1.1rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--encre); }
.brand-mark { font-size: 1.8rem; color: var(--or); line-height: 1; }
.brand-text { font-family: var(--police-titre); font-size: 1.25rem; line-height: 1.05; }
.brand-text em { font-style: italic; font-size: .8rem; color: var(--encre-douce); letter-spacing: .04em; }

.main-nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
    font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
    color: var(--encre-douce); font-weight: 500; white-space: nowrap;
}
.main-nav a:hover { color: var(--encre); }
.main-nav .nav-login {
    border: 1px solid var(--or); color: var(--or);
    padding: .4rem .9rem; border-radius: 2px;
}
.main-nav .nav-login:hover { background: var(--or); color: var(--ivoire); }

/* --- Menus déroulants (sous-menus) --- */
.nav-deroulant { position: relative; display: inline-block; }
.nav-deroulant .nav-parent { display: inline-flex; align-items: center; gap: .25rem; cursor: pointer; }
.nav-fleche { font-size: .7em; transition: transform .2s ease; }
.nav-deroulant:hover .nav-fleche { transform: rotate(180deg); }
.nav-sousmenu {
    position: absolute; top: 100%; left: 0; min-width: 190px;
    background: var(--ivoire, #f6f1e7); border: 1px solid var(--ligne, #d8cdb8);
    border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: .4rem 0; margin-top: .3rem; z-index: 100;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-deroulant:hover .nav-sousmenu,
.nav-deroulant:focus-within .nav-sousmenu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-sousmenu a {
    display: block; padding: .5rem 1.1rem; text-transform: none;
    letter-spacing: normal; font-size: .82rem; white-space: nowrap;
}
.nav-sousmenu a:hover { background: rgba(168,132,44,.12); color: var(--bordeaux, #6b2230); }
/* Petite zone tampon pour ne pas perdre le survol entre parent et sous-menu. */
.nav-deroulant .nav-sousmenu::before {
    content: ""; position: absolute; top: -.5rem; left: 0; right: 0; height: .5rem;
}

/* ---------------- Contenu ---------------- */
.site-main { min-height: 60vh; }

.hero {
    max-width: 1100px; margin: 0 auto; padding: 5rem 1.5rem 3rem;
    text-align: center;
}
.hero .eyebrow {
    font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
    color: var(--or); margin-bottom: 1.2rem;
}
.hero h1 {
    font-family: var(--police-titre); font-weight: 500;
    font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05;
    letter-spacing: -0.01em;
}
/* Accent des titres selon le thème choisi (classe sur <html>). */
.theme-accent .hero h1 em,
.theme-accent .page-hero h1 em,
.theme-accent .section h2 em,
.theme-accent .carte h3 em { font-style: italic; color: var(--or); }
.theme-mono .hero h1 em,
.theme-mono .page-hero h1 em,
.theme-mono .section h2 em,
.theme-mono .carte h3 em { font-style: italic; color: var(--encre); }
/* Repli si aucune classe de thème (sécurité). */
.hero h1 em { font-style: italic; color: var(--or); }
.hero .lead {
    max-width: 620px; margin: 1.6rem auto 0; font-size: 1.1rem;
    color: var(--encre-douce); font-weight: 300;
}
.ornement {
    margin: 2.4rem auto 0; width: 180px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--or), transparent);
    position: relative;
}
.ornement::after {
    content: '\266B'; /* double croche */
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ivoire); padding: 0 .8rem;
    color: var(--or); font-size: 1.1rem;
}
.ornement.sans-note { display: none; }

.section { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.section h2 {
    font-family: var(--police-titre); font-weight: 600;
    font-size: 2rem; margin-bottom: 1rem;
}

.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 1.6rem; margin-top: 2rem; justify-content: center; }
.carte-large { grid-column: span 2; }
.carte-grande { grid-column: span 2; grid-row: span 2; }
@media (max-width: 680px) { .carte-large, .carte-grande { grid-column: span 1; grid-row: span 1; } }

/* Friction basique contre la copie d'images (réglage Paramètres). */
body.images-protegees img { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }

/* --- Présentation de la salle sur la page concert --- */
.presentation-salle { margin: 2rem 0; }
.presentation-salle h2 { margin-bottom: 1rem; }
.galerie-salle {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
    margin-bottom: 1.5rem;
}
.galerie-salle figure { margin: 0; }
.galerie-salle img {
    width: 100%; height: 160px; object-fit: cover; border-radius: 6px; display: block;
    box-shadow: 0 3px 12px rgba(0,0,0,.1);
}
.galerie-salle figcaption {
    font-size: .82rem; color: var(--encre-douce); margin-top: .3rem; text-align: center;
}
.plan-salle img { max-width: 100%; border: 1px solid var(--ligne); border-radius: 6px; }
.plan-salle .hint { font-size: .82rem; color: var(--encre-douce); margin-top: .3rem; }

/* Petit bouton d'accès au plan, à côté de la saisie des numéros de place. */
.btn-plan {
    background: var(--ivoire-fonce); border: 1px solid var(--ligne); border-radius: 5px;
    padding: .35rem .55rem; cursor: pointer; font-size: 1rem; line-height: 1;
}
.btn-plan:hover { background: var(--ligne); }

/* Places déjà réservées (mode numéroté). */
.places-prises {
    margin-top: 1.5rem; padding: 1rem 1.2rem;
    background: var(--ivoire-fonce); border: 1px solid var(--ligne); border-radius: 6px;
}
.places-prises h3 { margin: 0 0 .4rem; font-size: 1rem; }
.places-prises p { margin: 0; font-size: .9rem; color: var(--encre-douce); }

/* Plan de salle agrandi (superposition plein écran). */
.fenetre-plan {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.85); align-items: center; justify-content: center;
    padding: 2rem; cursor: zoom-out;
}
.fenetre-plan img { max-width: 100%; max-height: 90vh; border-radius: 6px; cursor: default; }
.fermer-plan {
    position: absolute; top: 1rem; right: 1.5rem; color: #fff;
    font-size: 2rem; cursor: pointer; line-height: 1;
}

/* --- Sélecteur visuel de places numérotées --- */
.selecteur-places { margin: 1rem 0; }

.grille-sieges { display: flex; flex-direction: column; gap: .45rem; overflow-x: auto; padding-bottom: .4rem; }
.rangee-sieges { display: flex; align-items: center; gap: .6rem; }
.rangee-nom {
    min-width: 4.5rem; text-align: right; font-weight: 600; color: var(--encre-douce);
    font-size: .85rem; flex-shrink: 0;
}
.rangee-cases { display: flex; gap: .3rem; }

.siege {
    width: 32px; height: 32px; border-radius: 6px 6px 3px 3px;
    border: 1px solid #c9bfa9; background: #fff; color: var(--encre);
    font-size: .68rem; cursor: pointer; padding: 0; line-height: 1;
    transition: transform .08s, background .12s;
    flex-shrink: 0;
}
.siege:hover:not(:disabled) { transform: scale(1.12); border-color: var(--or); }
.siege-choisi { background: var(--or, #a8842c); color: #fff; border-color: var(--or); font-weight: 600; }
.siege-pris { background: #b23b3b; color: #f5dddd; border-color: #9b2c2c; cursor: not-allowed; text-decoration: line-through; }
.siege-bloque { background: #e8963c; color: #fff; border-color: #cf7d24; cursor: help; }
.siege-choisi-autre { background: #e3d3a8; color: #7a6222; border-color: #cbb46e; }
.tarif-actif { outline: 2px solid var(--or, #a8842c); outline-offset: 2px; border-radius: 8px; }
.puces-places { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.puce-place { background: var(--or, #a8842c); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 10px; }
.btn-choisir-places { border: 1px dashed var(--or, #a8842c); background: #fdfaf2; color: #7a6222;
    border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: .82rem; }
.btn-choisir-places:hover { background: #f6efdc; }
.bandeau-tarif-actif { background: #fdf6e3; border: 1px solid #e4d5a8; border-radius: 8px;
    padding: .5rem .8rem; font-size: .88rem; margin-bottom: .6rem; }

/* Sièges positionnés sur le plan */
.plan-avec-sieges { position: relative; display: inline-block; max-width: 100%; }
.plan-avec-sieges img { max-width: 100%; display: block; border: 1px solid var(--ligne); border-radius: 6px; }
.calque-sieges { position: absolute; inset: 0; }
.siege-plan, .siege-sur-plan {
    position: absolute; transform: translate(-50%, -50%);
    width: 24px; height: 24px; font-size: .62rem;
}
.siege-plan:hover:not(:disabled),
.siege-sur-plan:hover:not(:disabled) { transform: translate(-50%, -50%) scale(1.25); z-index: 5; }

.legende-sieges {
    display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: .8rem;
    font-size: .82rem; color: var(--encre-douce);
}
/* Légende du sélecteur de places : grande et lisible, en carte. */
.legende-places {
    display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center;
    margin-top: 1.1rem; padding: .8rem 1.1rem;
    background: #faf7ef; border: 1px solid var(--ligne, #d8cdb8); border-radius: 10px;
    font-size: .95rem; color: var(--encre);
}
.legende-places span { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
.legende-places .siege.exemple {
    width: 22px; height: 22px; cursor: default; pointer-events: none;
    display: inline-block; flex-shrink: 0;
}
.legende-places .siege.exemple:hover { transform: none; }
.legende-sieges .pastille {
    display: inline-block; width: 14px; height: 14px; border-radius: 4px;
    vertical-align: -2px; margin-right: .3rem; border: 1px solid #c9bfa9;
}
.pastille-libre { background: #fff; }
.pastille-choisie { background: var(--or, #a8842c); border-color: var(--or); }
.pastille-prise { background: #d8d2c4; }

/* Compte à rebours du panier (places bloquées) */
.compte-a-rebours {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff8ea; border: 1px solid var(--or, #a8842c); border-radius: 8px;
    padding: .5rem .9rem; font-size: .9rem; color: var(--encre);
}
.compte-a-rebours strong { color: var(--or, #a8842c); font-variant-numeric: tabular-nums; }
.compte-a-rebours.rebours-bientot { background: #fbeaea; border-color: #c86a6a; }
.compte-a-rebours.rebours-bientot strong { color: #9b2c2c; }

/* Bannière "nouvelle adresse" (Admin → Accueil). Couleurs et taille pilotées
   depuis l'admin — seule la mise en page est ici. */
.bandeau-nouvelle-adresse {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem;
    padding: .8rem 1.4rem; text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
/* Variante « centrée » : bandeau étroit détaché, plutôt que pleine largeur. */
.bandeau-nouvelle-adresse.bna-centree {
    max-width: 900px; margin: 1rem auto 0; border-radius: 10px;
}
.bna-icone { font-size: 1.25em; }
.bna-bouton {
    background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5);
    padding: .35rem .9rem; border-radius: 20px; font-size: .88em; cursor: pointer;
    transition: background .2s ease;
}
.bna-bouton:hover { background: rgba(255,255,255,.35); }
.carte {
    background: var(--ivoire-fonce); border: 1px solid var(--ligne);
    padding: 1.6rem; border-radius: 3px;
    transition: transform .25s ease, box-shadow .25s ease;
    /* Repère de positionnement pour le badge (« Nouveau », « Complet »…). */
    position: relative;
}
.carte:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,26,23,0.08); }
.carte h3 { font-family: var(--police-titre); font-size: 1.4rem; margin-bottom: .5rem; }
.carte p { font-size: .95rem; color: var(--encre-douce); }

/* Badge d'une tuile : couleurs et coin définis dans l'administration,
   appliqués en style en ligne par TuileStyleHelper. */
.carte-badge {
    position: absolute; z-index: 2;
    padding: .28rem .7rem; border-radius: 999px;
    font-size: .74rem; font-weight: 700; letter-spacing: .02em;
    line-height: 1.3; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    pointer-events: none;   /* ne gêne pas le clic sur la tuile */
}

/* Une tuile ronde ou carrée doit centrer son contenu : sans cela, le texte
   se colle en haut et déborde de la zone visible. */
.carte[style*="border-radius:50%"] .carte-contenu,
.carte[style*="aspect-ratio:1/1"] .carte-contenu {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    height: 100%; text-align: center;
}
.carte[style*="border-radius:50%"] { padding: 1.2rem; overflow: hidden; }
.carte[style*="border-radius:50%"] h3 { font-size: 1.15rem; }

/* ---------------- Pied de page ---------------- */
.site-footer { border-top: 1px solid var(--ligne); margin-top: 4rem; padding: 2.5rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand { font-family: var(--police-titre); font-size: 1.3rem; }
.footer-meta { font-size: .82rem; color: var(--encre-douce); margin-top: .5rem; }
.footer-credit { font-size: .74rem; color: var(--encre-douce); opacity: .7; margin-top: 1.4rem; padding-bottom: .4rem; }
.footer-credit a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; transition: opacity .15s; display: inline-flex; align-items: center; gap: .4rem; }
.footer-credit-lien:has(.nl-credit) { border-bottom: none; }
.footer-credit:hover { opacity: 1; }
.footer-credit-logo { height: 16px; width: auto; vertical-align: middle; }

.nl-credit {
    display: inline-flex; flex-direction: column; vertical-align: middle;
    --nl-circle: 26px; --nl-gap: 7px; --nl-title: 14px; --nl-sub: 10px;
    --nl-flag: 11px;
}
.nl-credit.nl-petit { --nl-circle: 20px; --nl-gap: 5px; --nl-title: 11px; --nl-sub: 8px; --nl-flag: 9px; }
.nl-credit.nl-grand { --nl-circle: 36px; --nl-gap: 9px; --nl-title: 20px; --nl-sub: 13px; --nl-flag: 14px; }

/* Le bloc logo (cercle + NuageLand + drapeau) : ligne figée, ne s'élargit
   jamais à cause du sous-titre (qui vit en dehors de ce bloc). */
.nl-credit-bloc { display: inline-flex; align-items: center; gap: var(--nl-gap); }
.nl-credit-circle {
    width: var(--nl-circle); height: var(--nl-circle); border-radius: 50%;
    background: linear-gradient(135deg, #2f7bff, #7fc8ff);
    display: inline-flex; justify-content: center; align-items: center;
    font-size: calc(var(--nl-circle) * 0.42); font-weight: 700; color: #fff; flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(47,123,255,0.3);
}
.nl-credit-title {
    position: relative; font-size: var(--nl-title); font-weight: 700; color: #2f7bff;
    padding-right: calc(var(--nl-flag) + 2px); white-space: nowrap; line-height: 1.1;
}
.nl-credit-flag {
    position: absolute; top: calc(var(--nl-flag) * -0.45); right: 0;
    width: var(--nl-flag); height: var(--nl-flag); background: #d80000; border-radius: 2px;
    display: inline-flex; justify-content: center; align-items: center;
    color: #fff; font-size: calc(var(--nl-flag) * 0.8); font-weight: 900; line-height: 0;
}
/* Sous-titre : 2e ligne, calé sous le « N » de NuageLand (décalage = cercle +
   gap). Il déborde vers la droite s'il est long, sans toucher au bloc logo. */
.nl-credit-sub {
    font-size: var(--nl-sub); color: #6B6B6B; line-height: 1.2;
    margin-left: calc(var(--nl-circle) + var(--nl-gap));
    margin-top: 1px; white-space: nowrap;
}
.nl-credit-sub.nl-sub-left { text-align: left; }
.nl-credit-sub.nl-sub-center { text-align: center; }
.nl-credit-sub.nl-sub-right { text-align: right; }
.footer-credit a:has(.nl-credit) { border-bottom: none; }
.footer-credit-lien:has(.nl-credit) { border-bottom: none; }
.footer-credit .nl-credit-title { color: #2f7bff; }
.footer-credit .nl-credit-sub { color: #6B6B6B; }

/* ---------------- Page d'erreur ---------------- */
.erreur {
    max-width: 640px; margin: 0 auto; padding: 6rem 1.5rem; text-align: center;
}
.erreur .note-cassee { font-size: 5rem; color: var(--or); line-height: 1; }
.erreur h1 { font-family: var(--police-titre); font-size: 2.6rem; margin: 1rem 0 .6rem; }
.erreur p { color: var(--encre-douce); }
.erreur .retour {
    display: inline-block; margin-top: 1.8rem; border: 1px solid var(--or);
    color: var(--or); padding: .6rem 1.4rem; border-radius: 2px;
}
.erreur .retour:hover { background: var(--or); color: var(--ivoire); }

/* ---------------- Sélecteur de langue ---------------- */
.lang-switch { display: inline-flex; gap: .4rem; align-items: center; }
.lang-switch a {
    font-size: .72rem; color: var(--encre-douce); padding: .15rem .35rem;
    border-radius: 2px; letter-spacing: .04em;
}
.lang-switch a.actif { color: var(--or); font-weight: 600; }
.lang-switch a:hover { color: var(--encre); }

/* ---------------- Tuiles avec image de fond ---------------- */
.carte-image {
    position: relative; overflow: hidden; color: var(--ivoire);
    background-image:
        linear-gradient(rgba(20,18,15,var(--overlay,0.3)), rgba(20,18,15,var(--overlay,0.3))),
        var(--bg);
    background-size: cover; background-position: center;
    border: none; min-height: 200px; display: flex; align-items: flex-end;
}
.carte-image h3 { color: #fff; }
.carte-image p { color: rgba(255,255,255,0.9); }

/* Contenu enrichi (HTML) d'une tuile : images adaptées, centrage respecté. */
.tuile-texte { font-size: .92rem; line-height: 1.5; }
.tuile-texte img { max-width: 100%; height: auto; border-radius: 4px; margin: .4rem 0; }
.tuile-texte p { margin: .4rem 0; }
.tuile-texte :last-child { margin-bottom: 0; }
.carte-contenu { position: relative; z-index: 1; }
.carte-date { font-size: .9rem; font-style: italic; margin-top: .4rem; }
.carte-places {
    display: inline-block; margin-top: .6rem; font-size: .82rem;
    background: var(--or); color: var(--ivoire); padding: .25rem .7rem; border-radius: 20px;
}
.carte-image .carte-places { background: rgba(168,132,44,0.95); }

/* ---------------- Bannière des pages dynamiques ---------------- */
.page-hero {
    position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center;
    background-image:
        linear-gradient(rgba(20,18,15,var(--overlay,0.35)), rgba(20,18,15,var(--overlay,0.35))),
        var(--bg);
    background-size: cover; background-position: center;
}
.page-hero-inner { text-align: center; color: var(--ivoire); }
.page-hero h1 { font-family: var(--police-titre); font-size: clamp(2.4rem, 5vw, 3.8rem); color: #fff; font-weight: 500; }

/* ---------------- Contenu de page (HTML de l'éditeur) ---------------- */
.page-contenu { max-width: 820px; }
.page-contenu h2, .page-contenu h3 { font-family: var(--police-titre); margin: 1.4rem 0 .6rem; }
.page-contenu p { margin-bottom: 1rem; }
.page-contenu img { max-width: 100%; height: auto; border-radius: 3px; }
.page-contenu figure { margin: 1.5rem 0; }
.page-contenu iframe { max-width: 100%; }

/* ---------------- Blocs de contenu (pages composées par blocs) ---------------- */
.page-blocs { display: flex; flex-direction: column; gap: 2rem; }
.bloc-texte-riche h2, .bloc-texte-riche h3 { font-family: var(--police-titre); margin: 0 0 .6rem; }
.bloc-texte-riche p { margin-bottom: 1rem; }

.bloc-mis-en-avant {
    display: block; text-decoration: none;
    background: linear-gradient(135deg, var(--ivoire), var(--ivoire-fonce));
    border: 1px solid var(--ligne); border-radius: 12px; padding: 1.3rem 1.6rem;
}
.bloc-mis-en-avant-ligne { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bloc-mis-en-avant-titre {
    font-family: var(--police-titre); font-size: 1.4rem; font-weight: 600; color: var(--bordeaux);
    display: flex; align-items: center; gap: .5rem;
}
.bloc-mis-en-avant-texte { margin: .3rem 0 0; color: var(--encre-douce); font-size: .95rem; }
.bloc-mis-en-avant-cta { color: var(--or); font-weight: 600; white-space: nowrap; }
.bloc-mis-en-avant-image { max-width: 120px; border-radius: 8px; flex-shrink: 0; }

.bloc-image-texte { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.bloc-image-texte.alignement-droite .bloc-image-texte-image { order: 2; }
.bloc-image-texte-image img { width: 100%; height: auto; border-radius: 8px; }
.bloc-image-texte-texte h3 { font-family: var(--police-titre); margin-bottom: .6rem; }
.bloc-image-texte-texte p { color: var(--encre-douce); }
@media (max-width: 680px) {
    .bloc-image-texte { grid-template-columns: 1fr; }
    .bloc-image-texte.alignement-droite .bloc-image-texte-image { order: 0; }
}

.bloc-separateur { text-align: center; padding: .5rem 0; }
.bloc-separateur h2 {
    font-family: var(--police-titre); font-size: 1.7rem; color: var(--titre-accent);
    display: inline-block; position: relative; padding: 0 1.2rem;
}
.bloc-separateur h2::before, .bloc-separateur h2::after {
    content: ""; position: absolute; top: 50%; width: 40px; height: 1px; background: var(--ligne);
}
.bloc-separateur h2::before { right: 100%; }
.bloc-separateur h2::after { left: 100%; }

/* ---------------- Formulaire de contact (page dédiée + bloc intégrable) ---------------- */
.form-public .champ-pub { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form-public label { font-weight: 600; margin-bottom: .35rem; color: var(--encre); }
.form-public input, .form-public textarea {
    padding: .7rem .9rem; border: 1px solid var(--ligne, #d8cdb8);
    border-radius: 7px; font-size: 1rem; font-family: inherit;
    background: #fff; color: var(--encre);
}
.form-public input:focus, .form-public textarea:focus {
    outline: none; border-color: var(--or, #a8842c);
}
.bloc-formulaire-contact { max-width: 640px; margin: 0 auto; }
.bloc-formulaire-contact h2 { font-family: var(--police-titre); margin-bottom: 1rem; }

/* ---------------- Grille musiciens (bloc intégrable) ---------------- */
/* Titre du bloc : centré par défaut, mais le réglage d'alignement du bloc
   (gauche / centre / droite / justifie) prend le dessus s'il est défini. */
.bloc-grille-musiciens h2 { font-family: var(--police-titre); margin-bottom: 1.4rem; text-align: center; }
.bloc-grille-musiciens.alignement-gauche h2 { text-align: left; }
.bloc-grille-musiciens.alignement-droite h2 { text-align: right; }
.bloc-grille-musiciens.alignement-centre h2 { text-align: center; }
.bloc-grille-musiciens.alignement-justifie h2 { text-align: center; }
.grille-musiciens-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.5rem; }
.musicien-carte { text-align: center; }
.musicien-carte img {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    margin: 0 auto .7rem; display: block; box-shadow: 0 3px 12px rgba(0,0,0,.1);
}
.musicien-carte-initiale {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto .7rem;
    background: linear-gradient(135deg, #e8dcc0, #d4c4a0);
    display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff;
}
.musicien-carte h3 { margin: 0; font-size: 1.02rem; }
.musicien-carte-instrument { color: var(--or); font-size: .88rem; margin: .2rem 0; }
.musicien-carte-bio { font-size: .83rem; color: var(--encre-douce); margin: .4rem 0 0; }

/* Cartes cliquables (grille musiciens -> fiche individuelle) */
a.musicien-carte-lien {
    display: block; text-decoration: none; color: inherit;
    border-radius: 10px; padding: .6rem; margin: -.6rem;
    transition: background .15s ease, transform .15s ease;
}
a.musicien-carte-lien:hover { background: var(--ivoire, #f6f1e7); transform: translateY(-2px); }

/* Fiche individuelle d'un musicien */
.fiche-retour { display: inline-block; margin-bottom: 1.6rem; color: var(--or); text-decoration: none; font-size: .92rem; }
.fiche-retour:hover { text-decoration: underline; }

.fiche-musicien.fiche-photo-centree { text-align: center; }
.fiche-musicien.fiche-photo-centree .fiche-musicien-photo-zone { margin: 0 auto 1.2rem; display: flex; justify-content: center; }

.fiche-musicien.fiche-photo-gauche,
.fiche-musicien.fiche-photo-droite {
    display: flex; gap: 2rem; align-items: flex-start; text-align: left;
}
.fiche-musicien.fiche-photo-droite { flex-direction: row-reverse; }
.fiche-musicien.fiche-photo-gauche .fiche-musicien-photo-zone,
.fiche-musicien.fiche-photo-droite .fiche-musicien-photo-zone { flex-shrink: 0; }
@media (max-width: 560px) {
    .fiche-musicien.fiche-photo-gauche, .fiche-musicien.fiche-photo-droite {
        flex-direction: column; align-items: center; text-align: center;
    }
}

.fiche-musicien-initiale {
    background: linear-gradient(135deg, #e8dcc0, #d4c4a0);
    display: flex; align-items: center; justify-content: center; font-size: 3.2rem; color: #fff;
}
.fiche-musicien-badge { color: #a8842c; font-weight: 600; font-size: .95rem; margin: .3rem 0; }
.fiche-musicien-instrument { color: var(--or); font-weight: 500; font-size: 1.1rem; margin: .3rem 0; }
.fiche-musicien-section { color: var(--encre-douce); font-size: .9rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .05em; }
.fiche-musicien-bio { color: var(--encre-douce); line-height: 1.7; text-align: left; margin-top: 1.4rem; }

/* ---------------- Billetterie ---------------- */
.flash-ok { background:#eef6ef; border:1px solid #bfe0c9; color:#2e7d52; padding:.7rem 1rem; border-radius:4px; margin-bottom:1.4rem; }
.flash-err { background:#fbeaea; border:1px solid #e6c4c4; color:#9b2c2c; padding:.7rem 1rem; border-radius:4px; margin-bottom:1.4rem; }

.concerts-liste { display:flex; flex-direction:column; gap:1rem; }
.concert-carte {
    display:flex; align-items:center; gap:1.4rem; background:var(--ivoire-fonce);
    border:1px solid var(--ligne); border-radius:4px; padding:1.2rem 1.4rem;
    color:var(--encre); transition:transform .2s, box-shadow .2s;
}
.concert-carte:hover { transform:translateX(4px); box-shadow:0 8px 20px rgba(28,26,23,0.08); color:var(--encre); }
.concert-date { text-align:center; min-width:64px; border-right:1px solid var(--ligne); padding-right:1.2rem; }
.concert-date .jour { display:block; font-family:var(--police-titre); font-size:2.2rem; line-height:1; color:var(--or); }
.concert-date .mois { display:block; font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--encre-douce); }
.concert-info { flex:1; }
.concert-info h3 { font-family:var(--police-titre); font-size:1.5rem; }
.concert-info p { font-size:.9rem; color:var(--encre-douce); }
.concert-info .lieu { font-style:italic; }
.concert-fleche { font-size:1.4rem; color:var(--or); }

.lieu-detail { margin-bottom:.6rem; }
.plan-salle { margin:1.4rem 0; }
.plan-salle img { max-width:100%; border:1px solid var(--ligne); border-radius:4px; }

.tarifs { display:flex; flex-direction:column; gap:.8rem; }
.tarif-ligne {
    display:grid; grid-template-columns:1fr 100px auto; align-items:center; gap:1rem;
    background:var(--ivoire-fonce); border:1px solid var(--ligne); border-radius:4px; padding:1rem 1.2rem;
}
.tarif-nom strong { font-family:var(--police-titre); font-size:1.2rem; }
.tarif-prix { text-align:right; color:var(--or); font-weight:500; font-size:1.05rem; }
.tarif-min { display:block; font-size:.78rem; color:var(--encre-douce); font-style:italic; }
.tarif-actions { display:flex; align-items:center; gap:.5rem; }
.tarif-actions .qte { width:64px; padding:.4rem; border:1px solid var(--ligne); border-radius:3px; }
.tarif-actions .places { width:160px; padding:.4rem; border:1px solid var(--ligne); border-radius:3px; }
.btn-ajouter { background:var(--or); color:var(--ivoire); border:none; padding:.5rem 1rem; border-radius:3px; cursor:pointer; }
.btn-ajouter:hover { background:#8c6d22; }

.panier-table { width:100%; border-collapse:collapse; }
.panier-table th, .panier-table td { text-align:left; padding:.7rem; border-bottom:1px solid var(--ligne); }
.panier-table tfoot td { border-top:2px solid var(--ligne); border-bottom:none; }
.lien-suppr { background:none; border:none; color:var(--bordeaux); cursor:pointer; text-decoration:underline; font-size:.85rem; }

.btn-principal { display:inline-block; background:var(--or); color:var(--ivoire); padding:.7rem 1.4rem; border-radius:3px; border:none; cursor:pointer; text-decoration:none; }
.btn-principal:hover { background:#8c6d22; color:var(--ivoire); }

/* Bouton d'enregistrement mis en valeur (Mon compte, formulaires publics).
   Volontairement plus visible que .btn, sans être démesuré. */
.btn-enregistrer {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--or); color: var(--ivoire); border: none;
    padding: .7rem 1.4rem; border-radius: 8px; cursor: pointer;
    font-size: .98rem; font-weight: 600; text-decoration: none;
    box-shadow: 0 4px 14px rgba(168,132,44,.30);
    transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-enregistrer:hover {
    background: #8c6d22; color: var(--ivoire); transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(168,132,44,.40);
}
.btn-enregistrer:active { transform: translateY(0); }
.btn-enregistrer::before { content: "\1F4BE"; font-size: 1rem; }
.btn-sec { display:inline-block; border:1px solid var(--ligne); color:var(--encre); padding:.7rem 1.4rem; border-radius:3px; text-decoration:none; }

.form-paiement .champ-pub { margin-bottom:1rem; }
.form-paiement label { display:block; margin-bottom:.3rem; font-weight:500; }
.form-paiement input[type=text], .form-paiement input[type=email] { width:100%; padding:.6rem; border:1px solid var(--ligne); border-radius:4px; }
.prestataires { display:flex; flex-direction:column; gap:.6rem; }
.prestataire-choix { display:flex; align-items:center; gap:.6rem; padding:.8rem 1rem; border:1px solid var(--ligne); border-radius:4px; cursor:pointer; }
.prestataire-choix:hover { border-color:var(--or); }

/* ---------------- Bouton de déconnexion dans le menu ---------------- */
.nav-logout-form { display: inline; margin: 0; }
.nav-logout {
    background: none; border: none; cursor: pointer;
    font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--encre-douce); font-weight: 500; font-family: inherit; padding: 0;
}
.nav-logout:hover { color: var(--bordeaux); }

/* Tuiles : largeur de colonne plafonnée dans la règle .cartes plus haut. */

/* ---------------- Icône panier dans le menu ---------------- */
.panier-icone { position: relative; font-size: 1.2rem; text-decoration: none; }
.panier-compteur {
    position: absolute; top: -8px; right: -10px;
    background: var(--bordeaux); color: #fff; font-size: .68rem;
    min-width: 18px; height: 18px; line-height: 18px; text-align: center;
    border-radius: 9px; padding: 0 4px; font-weight: 600;
}

/* ---------------- Adaptation mobile (responsive) ---------------- */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .main-nav { flex-wrap: wrap; gap: 1rem; width: 100%; }
    .hero { padding: 3rem 1.2rem 2rem; }
    .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .concert-carte { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .concert-date { border-right: none; border-bottom: 1px solid var(--ligne); padding-right: 0; padding-bottom: .8rem; }
    .tarif-ligne { grid-template-columns: 1fr; justify-items: start; gap: .5rem; }
    .tarif-prix { text-align: left; }
    .tarif-actions { flex-wrap: wrap; }
    .section, .page-contenu { padding-left: 1.2rem; padding-right: 1.2rem; }
    table.panier-table { font-size: .85rem; }
}

/* La barre de défilement n'apparaît que si le contenu dépasse réellement
   la hauteur de l'écran (comportement standard, pas de hauteur forcée). */
html { scrollbar-gutter: stable; }

/* ---------------- Bannière d'accueil avec image de fond ---------------- */
.hero.hero-image {
    background-image:
        linear-gradient(rgba(20,18,15,var(--overlay,0.35)), rgba(20,18,15,var(--overlay,0.35))),
        var(--bg);
    background-size: cover; background-position: center;
    color: var(--ivoire); border-radius: 0;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
}
.hero.hero-image h1, .hero.hero-image .lead { color: #fff; }
.hero.hero-image .eyebrow { color: var(--or-clair); }
/* Sur une image, la double-croche décorative n'a pas de fond crème et passe en doré clair. */
.hero.hero-image .ornement::after { background: transparent; color: var(--or-clair); }

/* Logo personnalisé dans l'en-tête */
.brand-logo { max-height: 52px; width: auto; display: block; }

/* Nom de l'utilisateur connecté dans l'en-tête public */
.nav-user { color: var(--texte-doux, #6b665d); font-size: .9rem; margin-right: .6rem; }

/* === Page « Mon compte » === */
.compte-wrap { max-width: 880px; margin: 0 auto; padding: 3rem 1.2rem 4rem; }
.compte-entete { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.8rem; }
.compte-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--or); color: var(--ivoire);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 600; flex-shrink: 0;
}
.compte-nom { margin: 0; font-size: 1.6rem; }
.compte-sous { margin: .2rem 0 0; color: #8a7f6a; }
.compte-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 680px) { .compte-grille { grid-template-columns: 1fr; } }
.compte-carte {
    background: #fffdf7; border: 1px solid var(--ligne, #e7dcc4);
    border-radius: 14px; padding: 1.5rem;
    box-shadow: 0 4px 18px rgba(107,34,48,.05);
}
.compte-carte h2 {
    margin: 0 0 1rem; font-size: 1.12rem; color: var(--bordeaux, #6b2230);
    display: flex; align-items: center; gap: .5rem;
}
.compte-flash-err { background: #fbeaea; border-color: #e6c4c4; color: #9b2c2c; }

/* --- Carte « Ma photo » (validation par un responsable) --- */
.compte-photo-carte { margin-bottom: 1.2rem; border-left: 4px solid var(--or, #a8842c); }
.photo-zone { display: flex; align-items: flex-start; gap: 1.6rem; flex-wrap: wrap; }
.photo-actuelle { text-align: center; flex: 0 0 auto; }
.photo-ronde {
    width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--ligne, #e7dcc4); display: block;
}
.photo-initiales {
    display: flex; align-items: center; justify-content: center;
    background: #f3ecdb; color: var(--bordeaux, #6b2230);
    font-size: 2rem; font-weight: 600;
}
.photo-attente-img { border-color: var(--or, #a8842c); border-style: dashed; }
.photo-etat { font-size: .78rem; color: #8a7f6a; margin-top: .45rem; }
.photo-etat-attente { color: #9b6b1a; font-weight: 600; }
.photo-actions { flex: 1 1 260px; min-width: 240px; }
.photo-form { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.photo-champ { display: flex; flex-direction: column; gap: .3rem; width: 100%; }
.photo-champ span { font-size: .85rem; color: #6b5f48; }
.photo-champ input[type="file"] {
    padding: .5rem; border: 1.5px solid var(--ligne, #d8cdb8);
    border-radius: 8px; background: #fff; font-size: .88rem; width: 100%;
}
.photo-info { font-size: .84rem; color: #6b5f48; margin: .7rem 0 0; line-height: 1.5; }
.btn-sec-compte {
    background: none; border: 1px solid var(--ligne, #d8cdb8); color: var(--encre, #3a352d);
    padding: .5rem 1rem; border-radius: 8px; cursor: pointer; font-size: .88rem;
}
.btn-sec-compte:hover { border-color: var(--or, #a8842c); }
.btn-suppr-photo {
    background: none; border: 1px solid #e0c0c0; color: #9b2c2c;
    padding: .45rem .9rem; border-radius: 8px; cursor: pointer; font-size: .84rem;
}
.btn-suppr-photo:hover { background: #9b2c2c; color: #fff; }
.compte-infos { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0; }
.compte-infos dt { color: #8a7f6a; font-size: .9rem; }
.compte-infos dd { margin: 0; }
.compte-acces { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.compte-bientot { color: #8a7f6a; font-size: .9rem; font-style: italic; }
.compte-vide { color: #8a7f6a; margin-bottom: 1rem; }
.compte-table { width: 100%; border-collapse: collapse; }
.compte-table th, .compte-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--ivoire-fonce); }
.compte-table th { color: #8a7f6a; font-weight: 500; font-size: .85rem; }
.btn.petit { padding: 5px 10px; font-size: .82rem; }

/* === Pages d'authentification (inscription) === */
.auth-wrap { max-width: 540px; margin: 0 auto; padding: 3rem 1.2rem 4rem; }
.auth-carte {
    background: #fff; border: 1px solid var(--ivoire-fonce);
    border-radius: 12px; padding: 2rem 2.2rem;
    box-shadow: 0 4px 20px rgba(80,60,20,.06);
}
.auth-entete { text-align: center; margin-bottom: 1.4rem; }
.auth-mark { font-size: 2rem; color: var(--or); display: block; }
.auth-entete h2 { margin: .4rem 0 .3rem; }
.auth-entete p { color: #8a7f6a; font-size: .92rem; margin: 0; }
.auth-section { font-size: .95rem; color: var(--or); margin: 1.4rem 0 .6rem; border-bottom: 1px solid var(--ivoire-fonce); padding-bottom: .3rem; }
.auth-facultatif { color: #a99f8a; font-weight: 400; font-size: .82rem; }
.req { color: #c0392b; }
.auth-newsletter, .compte-newsletter { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 .4rem; color: #6b5f48; font-size: .92rem; cursor: pointer; }
.auth-btn { width: 100%; margin-top: 1.2rem; }
.auth-bas { text-align: center; margin-top: 1.2rem; color: #8a7f6a; }
.auth-erreur { background: #fbeaea; border: 1px solid #e6c4c4; color: #9b2c2c; padding: .7rem 1rem; border-radius: 6px; margin-bottom: 1rem; }

/* Grille à deux colonnes (formulaires publics) */
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 520px) { .grille-2 { grid-template-columns: 1fr; } }

/* Indicateur de complexité du mot de passe (public) */
.mdp-regles { display: flex; flex-wrap: wrap; gap: .35rem .8rem; margin-top: .4rem; }
.mdp-regles span { font-size: .78rem; color: #a99f8a; position: relative; padding-left: 16px; }
.mdp-regles span::before { content: "\25CB"; position: absolute; left: 0; }
.mdp-regles span.regle-ok { color: #2e7d32; }
.mdp-regles span.regle-ok::before { content: "\2713"; }
.mdp-rouge { color: #c0392b !important; }
.mdp-vert { color: #2e7d32 !important; }

/* Message de confirmation dans Mon compte */
.compte-flash { background: #eaf5ea; border: 1px solid #c4e0c4; color: #2e7d32; padding: .7rem 1rem; border-radius: 6px; margin-bottom: 1.2rem; }

/* Champs de formulaire (pages compte / inscription) */
.compte-carte .champ, .auth-carte .champ { margin-bottom: 1rem; }
.compte-carte .champ label, .auth-carte .champ label { display: block; font-size: .85rem; color: #6b5f48; margin-bottom: .25rem; }
.compte-carte .champ input, .compte-carte .champ select,
.auth-carte .champ input, .auth-carte .champ select {
    width: 100%; padding: .55rem .7rem; border: 1px solid var(--ivoire-fonce);
    border-radius: 6px; font-size: .95rem; background: #fff; box-sizing: border-box;
}
.compte-carte .champ input:focus, .auth-carte .champ input:focus,
.compte-carte .champ select:focus, .auth-carte .champ select:focus {
    outline: none; border-color: var(--or);
}
.compte-carte .champ input:disabled { background: #f4f0e8; color: #9a8f78; }

/* Permissions du staff affichées dans « Mon compte » (lecture seule) */
.perms-roles { display: flex; flex-wrap: wrap; gap: 1rem; }
.perms-roles .perm-groupe {
    border: 1px solid #E2DCD0; border-radius: 8px; padding: .7rem 1rem;
    min-width: 200px; background: #fff;
}
.perms-roles .perm-groupe h4 { margin: 0 0 .4rem; color: #8a7f6a; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.perms-roles .perm-groupe ul { list-style: none; margin: 0; padding: 0; }
.perms-roles .perm-groupe li { color: #4a4438; font-size: .88rem; padding: .12rem 0; }

/* === Bibliothèque des lettres d'information === */
.nl-recherche { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 2rem; }
.nl-recherche input[type="search"] {
    flex: 1; min-width: 220px; padding: .7rem 1rem; border: 1px solid var(--gris-bord, #e2dcd0);
    border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.nl-reset { color: var(--encre-douce, #8a8474); font-size: .9rem; text-decoration: none; }
.nl-reset:hover { text-decoration: underline; }
.nl-vide { color: var(--encre-douce, #8a8474); text-align: center; padding: 2rem 0; }

.nl-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.nl-item {
    display: block; text-decoration: none; color: inherit; background: #fff;
    border: 1px solid var(--gris-bord, #e2dcd0); border-radius: 12px; padding: 1.4rem 1.5rem;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.nl-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,26,23,0.08); border-color: var(--or, #b8923d); }
.nl-date { color: var(--or, #b8923d); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.nl-item h3 { font-family: var(--police-titre, Georgia, serif); font-size: 1.3rem; margin: 0 0 .5rem; color: var(--encre, #2c2a26); }
.nl-item p { font-size: .92rem; color: var(--encre-douce, #6b665d); line-height: 1.55; margin: 0 0 .8rem; }
.nl-lire { color: var(--or, #b8923d); font-size: .9rem; font-weight: 500; }

/* Article d'une lettre */
.nl-article { max-width: 760px; }
.nl-article h1 { font-family: var(--police-titre, Georgia, serif); margin: .3rem 0 1.5rem; }
.nl-contenu { font-size: 1.05rem; line-height: 1.7; color: var(--encre, #2c2a26); }
.nl-contenu img { max-width: 100%; height: auto; border-radius: 8px; }

/* ===== Pied de page : partenaires (thème clair) ===== */
.footer-sponsors {
    border-top: 1px solid var(--ligne);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--ligne);
}
.footer-sponsors-titre {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--or);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-sponsors-liste {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.footer-sponsor-lien {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.footer-sponsor-nom {
    color: var(--encre-douce);
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
.footer-sponsor-lien:hover .footer-sponsor-nom { color: var(--or); }
.footer-sponsor-logo {
    max-height: 40px;
    max-width: 110px;
    object-fit: contain;
    opacity: .85;
    transition: opacity .2s, transform .2s;
}
.footer-sponsor-lien:hover .footer-sponsor-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== Réseaux sociaux (pied de page, thème clair) ===== */
.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: .8rem 0;
}
.footer-social-lien {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--encre-douce);
    background: rgba(0,0,0,.04);
    transition: color .2s, background .2s, transform .2s;
}
.footer-social-lien:hover { transform: translateY(-2px); color: #fff; }
.footer-social-lien[aria-label="Instagram"]:hover { background: #E1306C; }
.footer-social-lien[aria-label="Facebook"]:hover  { background: #1877F2; }
.footer-social-lien[aria-label="YouTube"]:hover    { background: #FF0000; }

/* ---------------- Icônes contact/réseaux réutilisables (Musiciens, Comité) ---------------- */
.icone-reseau {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    color: var(--encre-douce); background: rgba(0,0,0,.04);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.icone-reseau:hover { transform: translateY(-2px); color: #fff; }
.icone-reseau.reseau-facebook:hover  { background: #1877F2; }
.icone-reseau.reseau-instagram:hover { background: #E1306C; }
.icone-reseau.reseau-linkedin:hover  { background: #0A66C2; }
.icone-reseau.reseau-mail:hover      { background: var(--bordeaux); }
.icone-reseau.reseau-web:hover       { background: var(--or); }

/* Grille de sélection des places (rangées sans plan) */
.grille-rangees { display: flex; flex-direction: column; gap: .35rem; margin-top: .4rem; }
.grille-rangees .ligne-rangee { display: flex; align-items: center; gap: .3rem; }
.grille-rangees .nom-rangee {
    min-width: 2.4rem; font-weight: 600; color: var(--encre-douce); font-size: .8rem;
}
