/* ==========================================================================
   Studio Bocal — feuille de style du site public (maquette C « Grand écran photo »)
   Les couleurs sont des variables : un thème = un jeu de variables.
   Les photos ne sont jamais modifiées par le thème (toujours en couleur).
   ========================================================================== */

/* ── Thème « orange » (par défaut, couleurs du logo) ───────────────────── */
:root {
  --accent: #f29a26;        /* orange du logo */
  --accent-fonce: #b86a0a;  /* orange lisible en petit texte sur fond clair */
  --clair: #fce4cc;         /* crème du logo */
  --fond: #fff6ec;          /* fond de page */
  --encre: #24160a;         /* texte et fonds sombres */
  --sur-accent: #24160a;    /* texte posé sur la couleur d'accent (boutons, étiquettes) */
  --pied-fond: #0f0a05;     --pied-texte: #f3e6d6;
  --logo-fond: #f29a26;     /* couleur posée derrière le tracé du logo */
  --attenue: #6e5238;       /* texte secondaire */
  --sur-sombre: #fbe8d6;    /* texte courant sur fond sombre */
  --voile: 36, 22, 10;      /* teinte des voiles posés sur les photos (R, V, B) */

  --bande-fond: var(--accent);   --bande-texte: var(--encre);   --bande-chiffre: var(--encre);
  --final-fond: var(--accent);   --final-texte: var(--encre);   --final-prix: var(--encre);
  --final-btn-fond: var(--encre); --final-btn-texte: var(--clair);
  --eq2-fond: var(--accent);
  --qui-a: var(--accent-fonce);  --qui-b: var(--encre);
}

/* ── Thème « noir & blanc », l'orange en simple touche ─────────────────── */
[data-theme="noir-blanc"] {
  --pied-fond: #0b0b0b;    --pied-texte: #e6e6e6;   --logo-fond: #0b0b0b;
  --accent-fonce: #a85f06;
  --clair: #f4f4f2;
  --fond: #ffffff;
  --encre: #0b0b0b;
  --attenue: #5a5a5a;
  --sur-sombre: #e6e6e6;
  --voile: 11, 11, 11;

  --bande-fond: #0b0b0b;   --bande-texte: #ffffff;   --bande-chiffre: var(--accent);
  --final-fond: #0b0b0b;   --final-texte: #ffffff;   --final-prix: var(--accent);
  --final-btn-fond: var(--accent); --final-btn-texte: #0b0b0b;
  --eq2-fond: #f4f4f2;
  --qui-a: #0b0b0b;        --qui-b: var(--accent-fonce);
}

/* ── Thème « bistrot » : bordeaux, laiton et vert bouteille, comme le bar du studio ── */
[data-theme="bistrot"] {
  --accent: #c9a24a;       --accent-fonce: #7a1f2b;  --sur-accent: #1f2a22;
  --clair: #f3e6d0;        --fond: #faf4ea;          --encre: #1f3a2e;
  --attenue: #5b5346;      --sur-sombre: #f3e6d0;    --voile: 31, 58, 46;
  --bande-fond: #7a1f2b;   --bande-texte: #f3e6d0;   --bande-chiffre: #e3c67c;
  --final-fond: #7a1f2b;   --final-texte: #f3e6d0;   --final-prix: #e3c67c;
  --final-btn-fond: #c9a24a; --final-btn-texte: #1f2a22;
  --eq2-fond: #efe2c8;     --qui-a: #7a1f2b;         --qui-b: #1f3a2e;
  --pied-fond: #14261e;    --pied-texte: #f3e6d0;    --logo-fond: #7a1f2b;
}

/* ── Thème « régie » : bleu nuit et rouge « à l'antenne » ─────────────── */
[data-theme="regie"] {
  --accent: #ff5a66;       --accent-fonce: #c1121f;  --sur-accent: #0b1220;
  --clair: #e8ecf1;        --fond: #f7f9fb;          --encre: #0e1a2b;
  --attenue: #4a5768;      --sur-sombre: #dfe6ee;    --voile: 14, 26, 43;
  --bande-fond: #0e1a2b;   --bande-texte: #ffffff;   --bande-chiffre: #ff6b76;
  --final-fond: #0e1a2b;   --final-texte: #ffffff;   --final-prix: #ff6b76;
  --final-btn-fond: #ff5a66; --final-btn-texte: #0b1220;
  --eq2-fond: #e8ecf1;     --qui-a: #0e1a2b;         --qui-b: #c1121f;
  --pied-fond: #08111d;    --pied-texte: #dfe6ee;    --logo-fond: #0e1a2b;
}

/* ── Thème « terracotta » : terre cuite et sable, chaleureux ───────────── */
[data-theme="terracotta"] {
  --accent: #e07a5f;       --accent-fonce: #a63f2a;  --sur-accent: #2b2118;
  --clair: #f5e6d3;        --fond: #fbf5ee;          --encre: #2b2118;
  --attenue: #6b5a4a;      --sur-sombre: #f5e6d3;    --voile: 43, 33, 24;
  --bande-fond: #e07a5f;   --bande-texte: #2b2118;   --bande-chiffre: #2b2118;
  --final-fond: #e07a5f;   --final-texte: #2b2118;   --final-prix: #2b2118;
  --final-btn-fond: #2b2118; --final-btn-texte: #f5e6d3;
  --eq2-fond: #f5e6d3;     --qui-a: #a63f2a;         --qui-b: #2b2118;
  --pied-fond: #1c150f;    --pied-texte: #f5e6d3;    --logo-fond: #c8553d;
}

/* ── Thème « forêt » : vert profond et or ──────────────────────────────── */
[data-theme="foret"] {
  --accent: #d4a017;       --accent-fonce: #7d5c06;  --sur-accent: #14281d;
  --clair: #eef3e6;        --fond: #f8faf4;          --encre: #14281d;
  --attenue: #4d5b4f;      --sur-sombre: #e6eede;    --voile: 20, 40, 29;
  --bande-fond: #14281d;   --bande-texte: #ffffff;   --bande-chiffre: #f0c240;
  --final-fond: #14281d;   --final-texte: #ffffff;   --final-prix: #f0c240;
  --final-btn-fond: #d4a017; --final-btn-texte: #14281d;
  --eq2-fond: #eef3e6;     --qui-a: #14281d;         --qui-b: #7d5c06;
  --pied-fond: #0c1a12;    --pied-texte: #e6eede;    --logo-fond: #14281d;
}

/* ── Thème « ocean » ── */
[data-theme="ocean"] {
  --accent: #38b6ff;       --accent-fonce: #0b63b0;  --sur-accent: #06203a;
  --clair: #e3f2fd;        --fond: #f6fbff;          --encre: #06203a;
  --attenue: #46627d;      --sur-sombre: #dcecfb;    --voile: 6, 32, 58;
  --bande-fond: #0b63b0;   --bande-texte: #ffffff;   --bande-chiffre: #ffffff;
  --final-fond: #06203a;   --final-texte: #ffffff;   --final-prix: #38b6ff;
  --final-btn-fond: #38b6ff; --final-btn-texte: #06203a;
  --eq2-fond: #e3f2fd;     --qui-a: #0b63b0;         --qui-b: #06203a;
  --pied-fond: #031526;    --pied-texte: #dcecfb;    --logo-fond: #0b63b0;
}

/* ── Thème « violet » ── */
[data-theme="violet"] {
  --accent: #b98cff;       --accent-fonce: #6a35c9;  --sur-accent: #1d0f3a;
  --clair: #efe6ff;        --fond: #faf7ff;          --encre: #1d0f3a;
  --attenue: #5b4d78;      --sur-sombre: #ece2ff;    --voile: 29, 15, 58;
  --bande-fond: #6a35c9;   --bande-texte: #ffffff;   --bande-chiffre: #ffffff;
  --final-fond: #1d0f3a;   --final-texte: #ffffff;   --final-prix: #b98cff;
  --final-btn-fond: #b98cff; --final-btn-texte: #1d0f3a;
  --eq2-fond: #efe6ff;     --qui-a: #6a35c9;         --qui-b: #1d0f3a;
  --pied-fond: #120824;    --pied-texte: #ece2ff;    --logo-fond: #6a35c9;
}

/* ── Thème « rose » ── */
[data-theme="rose"] {
  --accent: #ff6fa5;       --accent-fonce: #c2185b;  --sur-accent: #2a0d1a;
  --clair: #ffe3ee;        --fond: #fff7fa;          --encre: #2a0d1a;
  --attenue: #6e4a59;      --sur-sombre: #ffe3ee;    --voile: 42, 13, 26;
  --bande-fond: #c2185b;   --bande-texte: #ffffff;   --bande-chiffre: #ffffff;
  --final-fond: #2a0d1a;   --final-texte: #ffffff;   --final-prix: #ff6fa5;
  --final-btn-fond: #ff6fa5; --final-btn-texte: #2a0d1a;
  --eq2-fond: #ffe3ee;     --qui-a: #c2185b;         --qui-b: #2a0d1a;
  --pied-fond: #1a0810;    --pied-texte: #ffe3ee;    --logo-fond: #c2185b;
}

/* ── Thème « turquoise » ── */
[data-theme="turquoise"] {
  --accent: #2dd4bf;       --accent-fonce: #0b7d70;  --sur-accent: #05302b;
  --clair: #dff7f3;        --fond: #f5fcfb;          --encre: #05302b;
  --attenue: #3f625d;      --sur-sombre: #dff7f3;    --voile: 5, 48, 43;
  --bande-fond: #0b7d70;   --bande-texte: #ffffff;   --bande-chiffre: #ffffff;
  --final-fond: #05302b;   --final-texte: #ffffff;   --final-prix: #2dd4bf;
  --final-btn-fond: #2dd4bf; --final-btn-texte: #05302b;
  --eq2-fond: #dff7f3;     --qui-a: #0b7d70;         --qui-b: #05302b;
  --pied-fond: #03201c;    --pied-texte: #dff7f3;    --logo-fond: #07665b;
}

/* ── Thème « citron » ── */
[data-theme="citron"] {
  --accent: #ffd60a;       --accent-fonce: #8a6d00;  --sur-accent: #1a1a1a;
  --clair: #fff6c7;        --fond: #fffdf2;          --encre: #1a1a1a;
  --attenue: #55524a;      --sur-sombre: #f4f1e4;    --voile: 26, 26, 26;
  --bande-fond: #ffd60a;   --bande-texte: #1a1a1a;   --bande-chiffre: #1a1a1a;
  --final-fond: #ffd60a;   --final-texte: #1a1a1a;   --final-prix: #1a1a1a;
  --final-btn-fond: #1a1a1a; --final-btn-texte: #ffd60a;
  --eq2-fond: #ffd60a;     --qui-a: #8a6d00;         --qui-b: #1a1a1a;
  --pied-fond: #101010;    --pied-texte: #f4f1e4;    --logo-fond: #1a1a1a;
}

/* ── Thème « electrique » ── */
[data-theme="electrique"] {
  --accent: #ffd23f;       --accent-fonce: #1f3fd1;  --sur-accent: #0a1a5c;
  --clair: #e2e8ff;        --fond: #f5f7ff;          --encre: #0a1a5c;
  --attenue: #4a5688;      --sur-sombre: #e2e8ff;    --voile: 10, 26, 92;
  --bande-fond: #1f3fd1;   --bande-texte: #ffffff;   --bande-chiffre: #ffd23f;
  --final-fond: #0a1a5c;   --final-texte: #ffffff;   --final-prix: #ffd23f;
  --final-btn-fond: #ffd23f; --final-btn-texte: #0a1a5c;
  --eq2-fond: #e2e8ff;     --qui-a: #1f3fd1;         --qui-b: #0a1a5c;
  --pied-fond: #06103a;    --pied-texte: #e2e8ff;    --logo-fond: #1f3fd1;
}


/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--fond); color: var(--encre); font: 16px/1.65 Archivo, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.label { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-fonce); margin-bottom: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 4px; z-index: 100; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; gap: .5em; padding: 1em 1.7em; font-weight: 700; border-radius: 4px; transition: background .2s, color .2s; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn-accent { background: var(--accent); color: var(--sur-accent); }
.btn-accent:hover { background: var(--clair); color: var(--encre); }
.btn-dark { background: var(--final-btn-fond); color: var(--final-btn-texte); }
.btn-dark:hover { filter: brightness(1.25); }

/* ── En-tête fixe ──────────────────────────────────────────────────────── */
.top { position: fixed; top: 18px; left: 0; right: 0; z-index: 30; }
.bar { display: flex; align-items: center; gap: 24px; background: var(--clair); border-radius: 10px; padding: 0 12px 0 0; min-height: 62px; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(0,0,0,.45); }
/* Le logo occupe toute sa zone : un bloc de la couleur du thème sur toute la hauteur de la barre */
.brand { align-self: stretch; display: flex; align-items: center; background: var(--logo-fond); padding: 8px 20px; }
.brand img { height: 44px; width: auto; }
.bar nav { display: flex; gap: 26px; font-weight: 600; font-size: .92rem; margin: 0 auto; }
.bar nav a:hover { color: var(--accent-fonce); }
.bar-cta { padding: .8em 1.4em; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 11px 9px; }
.burger span { display: block; height: 3px; background: var(--encre); border-radius: 2px; margin-bottom: 6px; transition: transform .2s, opacity .2s; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Grande image d'accueil ────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: 130px; display: flex; align-items: flex-end; color: var(--clair); background: rgb(var(--voile)); overflow: hidden; }
.hero-img, .live-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--voile), .9) 0%, rgba(var(--voile), .6) 45%, rgba(var(--voile), .15) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; padding-bottom: 80px; }
.hero .label { color: var(--accent); }
.hero h1 { font-size: clamp(2.8rem, min(6.5vw, 10vh), 6.4rem); max-width: 12ch; }   /* limité aussi par la hauteur de l'écran : tout tient sans défiler sur un ordinateur portable */
/* Écrans d'ordinateur peu hauts (portables, fenêtre réduite) : espacements resserrés pour que boutons et tarif restent visibles */
@media (min-width: 981px) and (max-height: 860px) {
  .hero.hero { padding-top: 96px; }   /* .hero.hero : passe devant la règle .hero { padding-top: 110px } plus bas dans le fichier */
  .hero-in { padding-bottom: 36px; }
  .hero-txt { margin: 14px 0 20px; font-size: 1.05rem; }
  .badge { padding: 16px 22px; }
}
.hero h1 span { color: var(--accent); display: block; }   /* la partie en couleur est toujours sur sa propre ligne */
.hero-txt { max-width: 520px; font-size: 1.15rem; margin: 22px 0 30px; color: var(--sur-sombre); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.badge { background: var(--accent); color: var(--sur-accent); padding: 22px 26px; border-radius: 8px; min-width: 220px; }
.badge b { font-size: 2.6rem; font-weight: 900; display: block; line-height: 1; }

/* ── Bande de chiffres ─────────────────────────────────────────────────── */
.band { background: var(--bande-fond); color: var(--bande-texte); }
/* Chiffres clés : les blocs sont centrés dans la bande, quel que soit leur nombre, et le texte est centré dans chaque bloc */
.band-in { display: flex; flex-wrap: wrap; justify-content: center; }
.band-in > div { flex: 1 1 0; min-width: 150px; max-width: 260px; padding: 26px 14px; text-align: center; border-left: 2px solid rgba(127,127,127,.3); }
.band-in > div:first-child { border-left: 0; }
.band b { font-size: 2.2rem; font-weight: 900; display: block; line-height: 1.1; color: var(--bande-chiffre); }

/* ── Sections ──────────────────────────────────────────────────────────── */
/* Espacement entre sections : chaque section apporte l'espace SOUS elle, jamais au-dessus.
   Ainsi l'écart reste identique quel que soit l'ordre choisi dans l'admin.
   Seule exception : après un bloc pleine largeur (image d'accueil, bande de chiffres, régie live),
   la section suivante reprend de l'air au-dessus. */
:root { --espace: 110px; }
.sec { padding: 0 0 var(--espace); }
.hero + .sec, .band + .sec, .live + .sec, main > .sec:first-child { padding-top: var(--espace); }
.h2-sec { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-bottom: 38px; }

.intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.intro h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.intro p { color: var(--attenue); font-size: 1.08rem; margin-bottom: 16px; }

/* Mosaïque des prestations */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 300px; gap: 16px; }
.tile { position: relative; border-radius: 10px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; background: rgb(var(--voile)); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(var(--voile), .88)); }
.tile .t { position: relative; z-index: 1; padding: 24px 26px; width: 100%; }
.tile h3 { font-size: 1.7rem; }
.tile p { font-size: .93rem; color: var(--sur-sombre); margin-top: 6px; max-width: 44ch; }
.tile .k { position: absolute; top: 18px; left: 18px; z-index: 1; background: var(--accent); color: var(--sur-accent); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .35em .8em; border-radius: 3px; }
.s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; }
.s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }

/* Régie live */
.live { position: relative; padding: var(--espace) 0; color: var(--clair); background: rgb(var(--voile)); overflow: hidden; }
.live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--voile), .94), rgba(var(--voile), .7)); }
.live-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.live .label { color: var(--accent); }
.live h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.live h2 span { color: var(--accent); }
.live-txt { margin-top: 18px; color: var(--sur-sombre); }
.plat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.plat span { border: 1.5px solid var(--accent); color: var(--accent); padding: .35em .9em; border-radius: 3px; font-weight: 700; font-size: .82rem; }
.panel { background: var(--clair); color: var(--encre); border-radius: 10px; padding: 34px; }
.panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.panel li { padding: 9px 0; border-bottom: 1px solid rgba(127,127,127,.25); font-size: .94rem; font-weight: 500; }

/* Équipement */
.eq { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--encre); border-radius: 10px; overflow: hidden; }
.eq > div { padding: 40px; }
.eq > div + div { background: var(--eq2-fond); border-left: 2px solid var(--encre); }
.eq h3 { font-size: 2.2rem; margin-bottom: 12px; }
.eq li { padding: 9px 0; border-bottom: 1px solid rgba(127,127,127,.3); font-weight: 500; }

/* Galeries */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 28px 14px; scrollbar-width: thin; }
.strip figure { flex: 0 0 380px; height: 460px; border-radius: 10px; overflow: hidden; scroll-snap-align: start; position: relative; }
.grid-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-gal figure { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.strip img, .grid-gal img { width: 100%; height: 100%; object-fit: cover; }
figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--accent); color: var(--sur-accent); font-weight: 700; font-size: .82rem; padding: .35em .8em; border-radius: 3px; }

/* Pour qui ? */
.who { font-size: clamp(1.5rem, 3.4vw, 2.8rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.35; }
.who span:nth-child(odd) { color: var(--qui-a); }
.who span:nth-child(even) { color: var(--qui-b); }
.who span:not(:last-child)::after { content: " / "; color: rgba(127,127,127,.45); }
.who-note { margin-top: 18px; color: var(--attenue); font-size: 1.08rem; }

/* Réservation */
.final { background: var(--final-fond); color: var(--final-texte); border-radius: 14px; padding: 70px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.final .label { color: inherit; opacity: .85; }
.final h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.final p { margin: 16px 0 28px; font-weight: 500; max-width: 56ch; }
.final-price { color: var(--final-prix); }
.final-price small { color: var(--final-texte); display: block; }
.final-price b { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 900; line-height: 1; }

/* Adresse, contact, accès */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cols b { display: block; margin-bottom: 6px; }
.cols a:hover, .lnk { color: var(--accent-fonce); }
.lnk { font-weight: 700; }

/* Pages de texte (mentions légales…) */
main > .sec.page-texte { padding-top: 150px; }
.page-texte h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 34px; }
.prose p, .prose ul { margin-bottom: 18px; color: var(--attenue); }
.prose h2 { font-size: 1.6rem; margin: 38px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a:not(.btn) { color: var(--accent-fonce); text-decoration: underline; }

/* ── Pied de page ──────────────────────────────────────────────────────── */
.foot { background: var(--pied-fond); color: var(--pied-texte); padding: 40px 0; font-size: .9rem; }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 40px; width: auto; border-radius: 6px; background: var(--logo-fond); outline: 1px solid rgba(255,255,255,.18); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a:hover { color: var(--accent); }
.copy { opacity: .7; width: 100%; }

/* ── Écrans moyens et mobiles ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .burger { display: block; }
  .bar { flex-wrap: wrap; gap: 0 12px; }
  .bar nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; margin: 0; padding: 0 16px 6px; }
  .bar nav a { padding: 13px 4px; border-top: 1px solid rgba(127,127,127,.25); font-size: 1rem; }
  .menu-ouvert .bar nav { display: flex; }
  .bar-cta { order: 2; }
  .intro, .live-in, .final, .eq { grid-template-columns: 1fr; }
  .intro { gap: 26px; }
  .eq > div + div { border-left: 0; border-top: 2px solid var(--encre); }
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile { grid-column: auto; }
  .grid-gal { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
  .final { padding: 40px 26px; }
  :root { --espace: 70px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .strip { padding: 0 18px 14px; }
  .strip figure { flex-basis: 80%; height: 340px; }
  .grid-gal { grid-template-columns: 1fr; }
  .panel ul { grid-template-columns: 1fr; }
  .panel, .eq > div { padding: 26px 22px; }
  .hero-in { padding-bottom: 50px; }
  .badge { width: 100%; }
  .band-in > div { flex: 0 0 50%; min-width: 0; max-width: 50%; }
  .band-in > div:nth-child(odd) { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── Formulaire de réservation ─────────────────────────────────────────── */
.resa { grid-column: 1 / -1; background: var(--fond); color: var(--encre); border-radius: 10px; padding: 36px; }
.resa fieldset { border: 0; margin-bottom: 26px; }
.resa legend { font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 14px; padding: 0; }
.champs { display: grid; gap: 16px; margin-bottom: 16px; }
.c2 { grid-template-columns: 1fr 1fr; }
.c4 { grid-template-columns: repeat(4, 1fr); }
.resa label { display: block; font-weight: 600; font-size: .92rem; }
.resa label em, .resa-envoi em { font-style: normal; color: var(--accent-fonce); }
.resa label small { display: block; font-weight: 400; color: var(--attenue); margin-top: 3px; }
.resa input:not([type=checkbox]), .resa select, .resa textarea {
  display: block; width: 100%; margin-top: 6px; padding: .75em .9em; font: inherit; font-weight: 400; color: var(--encre);
  background: #fff; border: 1.5px solid rgba(127,127,127,.55); border-radius: 6px; min-height: 48px;
}
.resa textarea { resize: vertical; min-height: 120px; }
.resa input:focus, .resa select:focus, .resa textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--encre); }
.resa [aria-invalid="true"] { border-color: #b3261e; background: #fff5f4; }
.resa .err { display: block; color: #b3261e; font-weight: 600; font-size: .85rem; margin-top: 5px; }
.options { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.options-titre { font-weight: 600; font-size: .92rem; width: 100%; }
.coche { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.coche input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-fonce); flex: none; }
.options .coche { border: 1.5px solid rgba(127,127,127,.45); border-radius: 6px; padding: .55em .9em; background: #fff; }
.consent { margin: 4px 0 6px; }
.consent a { color: var(--accent-fonce); text-decoration: underline; }
.resa-envoi { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.resa-envoi small { color: var(--attenue); flex: 1 1 260px; }
.resa-alerte { background: #fff5f4; border: 1.5px solid #b3261e; color: #8c1d18; border-radius: 6px; padding: 14px 16px; font-weight: 600; margin-bottom: 24px; }
.resa-ok h3 { font-size: 1.8rem; margin-bottom: 12px; }
.resa-ok p { margin: 0 0 10px; font-weight: 400; max-width: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 980px) { .c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .resa { padding: 24px 18px; } .c2, .c4 { grid-template-columns: 1fr; } .resa-envoi .btn { width: 100%; justify-content: center; } }

/* ── Plan du studio ────────────────────────────────────────────────────── */
.plan { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: center; }
.plan-img { background: #fff; border: 2px solid var(--encre); border-radius: 10px; padding: 14px; overflow: hidden; }
.plan-img img { width: 100%; height: auto; }
.plan dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(127,127,127,.3); }
.plan dt { color: var(--attenue); }
.plan dd { font-weight: 900; text-align: right; }
.plan-infos p { margin-top: 18px; color: var(--attenue); }
@media (max-width: 980px) { .plan { grid-template-columns: 1fr; gap: 24px; } }

/* ── Périodes de la demande ────────────────────────────────────────────── */
.periode { border: 1.5px solid rgba(127,127,127,.4); border-radius: 8px; padding: 18px 18px 14px; margin-bottom: 14px; background: rgba(127,127,127,.05); }
.periode-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.btn-lien { background: none; border: 0; padding: 6px 2px; font: inherit; font-weight: 700; color: var(--accent-fonce); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn-lien:hover { color: var(--encre); }
.detail-coche { margin-top: 2px; }
.jours { margin-top: 14px; display: grid; gap: 8px; }
.jours[hidden], .btn-lien[hidden], .conflits[hidden] { display: none; }
.jour { display: grid; grid-template-columns: minmax(130px, 1fr) 130px 130px; gap: 10px; align-items: center; }
.jour span:first-child { font-weight: 600; font-size: .92rem; }
.jour input { margin-top: 0 !important; min-height: 42px !important; }
.jour .err { grid-column: 1 / -1; margin-top: 0; }
.conflits { margin-top: 14px; background: #fff5f4; border: 1.5px solid #b3261e; color: #8c1d18; border-radius: 6px; padding: 12px 14px; font-weight: 600; }

.jour.pris span:first-child { color: #b3261e; }
.jour.pris input { border-color: #b3261e !important; background: #fff5f4 !important; }
@media (max-width: 600px) { .jour { grid-template-columns: 1fr 1fr; } .jour span:first-child { grid-column: 1 / -1; } .periode { padding: 14px 12px 10px; } }

/* ── Plan du studio aux couleurs du thème ──────────────────────────────────
   Le plan d'origine est dessiné en orange. Dans les autres thèmes, on ne garde que son tracé
   (passé en noir sur blanc), et la couleur du thème transparaît à travers : le plan suit ainsi
   le thème sans qu'il faille le redessiner. C'est un schéma, pas une photo : les photos, elles,
   ne sont jamais modifiées. */
/* (remplacé par le plan en deux calques, plus bas) */

/* ── Plaquette PDF : boutons de téléchargement ─────────────────────────── */
.hero-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ligne { background: rgba(255,255,255,.08); color: inherit; border: 2px solid currentColor; padding: calc(1em - 2px) calc(1.7em - 2px); }
.btn-ligne:hover { background: var(--clair); color: var(--encre); border-color: var(--clair); }
.ico-pdf { font-weight: 900; }
/* Bouton « Visiter le studio en 3D » de la section Plan */
.plan-infos .plan-visite { margin-top: 26px; }
.btn-visite3d svg { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.plaquette-bloc { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--clair); border-radius: 10px; padding: 24px 28px; }
.plaquette-bloc p { max-width: 62ch; color: var(--attenue); }
.plaquette-bloc p strong { color: var(--encre); }
.foot-plaquette { font-weight: 700; color: var(--accent); }
@media (max-width: 600px) { .hero-boutons .btn { width: 100%; justify-content: center; } .plaquette-bloc .btn { width: 100%; justify-content: center; } }

/* ── Pas d'effet « rebond » aux bords de la page ───────────────────────────
   Par défaut, le navigateur laisse la page s'étirer puis revenir quand on fait défiler au-delà du bord
   (surtout au pavé tactile et sur mobile). On fige la page : elle s'arrête net. */
html, body { overscroll-behavior: none; }
html { overflow-x: clip; }                    /* aucun défilement horizontal de la page entière */
.strip { overscroll-behavior-x: contain; }    /* la galerie défile seule, sans entraîner la page */

/* ── Réseaux sociaux : logos cliquables (en-tête, bloc contact, pied de page) ── */
.reseaux { display: flex; align-items: center; gap: 14px; }
.reseaux-liste { display: flex; align-items: center; gap: 10px; }
.reseau { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: inherit; transition: background .2s, color .2s, transform .2s; }
.reseau svg { width: 21px; height: 21px; display: block; }
.reseau:hover, .reseau:focus-visible { background: var(--accent); color: var(--sur-accent, #fff); transform: translateY(-2px); }
.reseaux-bar { gap: 0; margin-right: -12px; }
.reseaux-bar .reseaux-liste { gap: 2px; }
.reseaux-bar .reseau { width: 36px; height: 36px; }
.reseaux-bar .reseau svg { width: 19px; height: 19px; }
.reseaux-infos { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(128,128,128,.25); flex-wrap: wrap; }
.reseaux-infos .reseau { border: 1.5px solid currentColor; width: 46px; height: 46px; }
.reseaux-infos .reseau:hover, .reseaux-infos .reseau:focus-visible { border-color: var(--accent); }
.reseaux-pied .reseau { background: rgba(255,255,255,.1); }
.reseaux-pied .reseau:hover, .reseaux-pied .reseau:focus-visible { background: var(--accent); }
@media (max-width: 980px) { .reseaux-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .reseau { transition: none; } .reseau:hover { transform: none; } }
/* ── Plan du studio en deux calques ──────────────────────────────────────────
   Le calque de base (gris) est fondu sur la couleur du thème : les murs, les textes et les meubles
   prennent cette couleur, le blanc reste blanc. Le calque des couleurs (fond vert, écrans, lampes)
   est posé par-dessus sans être modifié : le fond vert reste vert dans tous les thèmes. */
.plan-calques { position: relative; padding: 0; background: var(--accent-fonce); isolation: isolate; }
.plan-calques .plan-base { display: block; mix-blend-mode: screen; }
.plan-calques .plan-couleurs { position: absolute; inset: 0; width: 100%; height: 100%; }
/* ── Pastilles numérotées sur le plan : au survol (ou au toucher), une bulle montre la photo du lieu ── */
.plan-zone { position: relative; }
.plan-points { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.plan-point { position: absolute; left: 50%; top: 50%; width: 0; height: 0; visibility: hidden; }
.plan-point.place { visibility: visible; }
.plan-pastille { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; background: var(--accent); color: var(--sur-accent); font: inherit; font-weight: 900; font-size: .92rem; line-height: 1; cursor: pointer; pointer-events: auto; box-shadow: 0 3px 10px rgba(0,0,0,.4); transition: transform .15s; }
.plan-point:hover .plan-pastille, .plan-pastille:focus-visible { transform: scale(1.18); outline: 3px solid var(--encre); outline-offset: 2px; }
.plan-bulle { position: absolute; bottom: 30px; left: -150px; width: 300px; background: #fff; color: var(--encre); border-radius: 10px; overflow: hidden; box-shadow: 0 14px 40px -8px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none; z-index: 5; text-align: left; }
.plan-point:hover .plan-bulle, .plan-point:focus-within .plan-bulle { opacity: 1; visibility: visible; transform: none; }
.plan-point:hover, .plan-point:focus-within { z-index: 6; }
.plan-bulle img { display: block; width: 100%; height: 190px; object-fit: cover; }
.plan-bulle strong { display: block; padding: 10px 14px 2px; font-size: .98rem; }
.plan-bulle span { display: block; padding: 0 14px; font-size: .88rem; color: var(--attenue); }
.plan-bulle strong:last-child, .plan-bulle span:last-child { padding-bottom: 12px; }
.plan-point.vers-bas .plan-bulle { bottom: auto; top: 30px; }
.plan-point.vers-droite .plan-bulle { left: -24px; }
.plan-point.vers-gauche .plan-bulle { left: auto; right: -24px; }
@media (max-width: 600px) { .plan-pastille { left: -15px; top: -15px; width: 30px; height: 30px; font-size: .9rem; border-width: 2px; } .plan-bulle { width: 230px; left: -115px; } .plan-bulle img { height: 140px; } }
@media (prefers-reduced-motion: reduce) { .plan-bulle, .plan-pastille { transition: none; } }
/* Créneau indisponible : message en haut du bloc « Vos dates », et période concernée signalée sur place */
.resa .conflits { margin: 0 0 16px; display: flex; gap: 12px; align-items: flex-start; border-left-width: 6px; }
.resa .conflits::before { content: "!"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #b3261e; color: #fff; font-weight: 900; line-height: 1; }
.periode.indispo { border-color: #b3261e; background: #fff5f4; }
.periode.indispo input[type=date] { border-color: #b3261e !important; }
.periode-indispo { margin: 10px 0 2px; color: #8c1d18; font-weight: 700; font-size: .92rem; }
.periode-indispo[hidden] { display: none; }/* Caché tant qu'aucun créneau demandé n'est indisponible (la règle précédente l'affichait même vide) */
.resa .conflits[hidden] { display: none; }

/* Menu du haut : réparti sur toute la largeur disponible de la barre, texte plus grand (grands écrans seulement) */
@media (min-width: 981px) {
  .bar nav { flex: 1; justify-content: space-evenly; gap: 10px; font-size: 1.06rem; margin: 0 12px; }
  .bar nav a { padding: 8px 6px; }
}
@media (min-width: 981px) and (max-width: 1180px) { .bar nav { font-size: .98rem; } }

/* ══ DÉBUT — Barre de menu pleine largeur, fixée tout en haut (remplace le menu flottant) ═══════════════
   Par défaut : fond plein aux couleurs du thème. Sur la grande photo d'accueil, tant qu'on n'a pas défilé,
   la barre devient transparente (classe « sur-photo » posée par site.js) pour laisser la photo pleine.
   Pour revenir au menu flottant : supprimer ce bloc jusqu'à « FIN — Barre de menu pleine largeur ». */
.top { top: 0; background: var(--clair); box-shadow: 0 6px 22px -14px rgba(0,0,0,.55); transition: background .3s, box-shadow .3s; }
.top > .wrap { max-width: none; padding: 0; }
.bar { border-radius: 0; background: transparent; box-shadow: none; min-height: 72px; padding: 0 22px 0 0; overflow: visible; }
.brand { padding: 10px 26px; }
.brand img { height: 48px; }
.bar nav a, .reseaux-bar .reseau { transition: color .3s; }

/* Sur la photo d'accueil, en haut de page : barre transparente, textes clairs */
html.sur-photo .top { background: linear-gradient(180deg, rgba(var(--voile), .72) 0%, rgba(var(--voile), .35) 70%, rgba(var(--voile), 0) 100%); box-shadow: none; }
html.sur-photo .bar nav a, html.sur-photo .reseaux-bar .reseau { color: #fff; }
html.sur-photo .bar nav a:hover { color: var(--accent); }
html.sur-photo .burger span { background: #fff; }
html.sur-photo body.menu-ouvert .top { background: var(--clair); transition: none; }
html.sur-photo body.menu-ouvert .bar nav a { color: var(--encre); }
html.sur-photo body.menu-ouvert .burger span { background: var(--encre); }

/* La photo d'accueil et les pages de texte démarrent sous la barre */
.hero { padding-top: 110px; }
main > .sec.page-texte { padding-top: 130px; }
@media (max-width: 980px) {
  .bar { padding-right: 10px; min-height: 64px; }
  .brand { padding: 8px 16px; }
  .brand img { height: 42px; }
}
/* ══ FIN — Barre de menu pleine largeur ══════════════════════════════════════════════════════════════ */

/* Bouton « remonter en haut » : apparaît en bas à droite après avoir fait défiler un bon moment */
.haut { position: fixed; right: 20px; bottom: 20px; z-index: 25; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent); color: var(--sur-accent); box-shadow: 0 8px 22px -8px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, filter .2s; }
.haut svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.haut.visible { opacity: 1; visibility: visible; transform: none; }
.haut:hover { filter: brightness(1.08); }
.haut:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
@media (max-width: 600px) { .haut { right: 14px; bottom: 14px; width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .haut { transition: none; } }

/* ══ DÉBUT — Animations de la page d'accueil ═══════════════════════════════════════════════════════
   Activées par site.js (classe « anim » sur <html>) seulement si le visiteur n'a pas demandé à réduire
   les animations dans son système. Sans script, tout s'affiche normalement, sans animation.
   Pour les retirer : supprimer ce bloc jusqu'à « FIN — Animations » et le bloc correspondant de site.js. */

/* 1. Ouverture « plateau » : travelling lent sur la photo, titre mot par mot, voyant REC */
html.anim .hero-img { animation: travelling 14s cubic-bezier(.2, .6, .3, 1) both; transform-origin: 60% 45%; }
@keyframes travelling { from { transform: scale(1.14); } to { transform: scale(1); } }
html.anim .hero h1 .mot { color: inherit; display: inline-block; }   /* ne pas hériter du style de la partie en couleur */
html.anim .hero .mot { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.25s + var(--i) * .16s); }
html.anim .hero.pret .mot { opacity: 1; transform: none; }
html.anim .hero .label, html.anim .hero .hero-txt, html.anim .hero .hero-boutons, html.anim .hero .badge { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
html.anim .hero.pret .label { opacity: 1; transform: none; transition-delay: .1s; }
html.anim .hero.pret .hero-txt { opacity: 1; transform: none; transition-delay: .9s; }
html.anim .hero.pret .hero-boutons { opacity: 1; transform: none; transition-delay: 1.1s; }
html.anim .hero.pret .badge { opacity: 1; transform: none; transition-delay: 1.3s; }
.rec { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(0,0,0,.45);
  color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .2em; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #e3242b; }
html.anim .rec i { animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(227,36,43,.6); } 50% { opacity: .35; box-shadow: 0 0 0 6px rgba(227,36,43,0); } }

/* 2. Apparition des blocs au défilement */
html.anim .a-reveler { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * .1s); }
html.anim .a-reveler.vu { opacity: 1; transform: none; }

/* 3. Chiffres (le défilement des nombres est fait par site.js) : largeur fixe des chiffres, pas de tremblement */
.band b { font-variant-numeric: tabular-nums; }

/* 4. Survols vivants */
.tile img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.09); }
.tile .t { transition: transform .45s ease; }
.tile:hover .t { transform: translateY(-8px); }
.tile .k { transition: transform .35s ease; }
.tile:hover .k { transform: translateY(-3px) rotate(-2deg); }
.grid-gal figure img, .strip figure img { transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.grid-gal figure:hover img { transform: scale(1.07); filter: brightness(1.06) saturate(1.08); }
.strip figure:hover img { transform: none; filter: none; }   /* galerie qui défile : ni zoom ni arrêt au survol */
.btn-accent, .btn-ligne { position: relative; overflow: hidden; }
.btn-accent::after, .btn-ligne::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); pointer-events: none; }
html.anim .btn-accent:hover::after, html.anim .btn-ligne:hover::after { animation: reflet .7s ease; }
@keyframes reflet { to { left: 130%; } }
html.anim .plan-pastille::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--accent); animation: respire 2.6s ease-out infinite; animation-delay: calc(var(--n, 0) * .4s); pointer-events: none; }
@keyframes respire { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

/* 5. Galerie en bande (« Ça tourne au Bocal ») : défilement automatique de droite à gauche, en boucle,
      sans arrêt ni zoom au survol. Les photos sont doublées par site.js pour que la boucle soit continue. */
html.anim .strip.defile { overflow: hidden; scroll-snap-type: none; padding-left: 0; padding-right: 0; }
html.anim .strip.defile .strip-piste { display: flex; gap: 14px; width: max-content; animation: bande var(--duree, 60s) linear infinite; }
html.anim .strip.defile figure { scroll-snap-align: none; }
@keyframes bande { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }

/* 6. « Pour qui ? » : les métiers défilent lentement en trois bandeaux pleine largeur, en sens alternés (construits par site.js).
      La liste d'origine (.who) reste lue par les lecteurs d'écran ; les bandeaux leur sont cachés. */
html.anim .sec-qui.bandeaux .who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qui-rangs { display: grid; gap: 4px; margin: 4px 0 0; }
.qui-rang { overflow: hidden; white-space: nowrap; font-size: clamp(2rem, 5.4vw, 4.6rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.18; }
.qui-rang .piste { display: inline-flex; width: max-content; animation: qui-gauche var(--duree, 90s) linear infinite; }
.qui-rang.inverse .piste { animation-name: qui-droite; }
.qui-rang span { padding-right: .5em; }
.qui-rang span::after { content: "✦"; color: var(--accent); font-size: .45em; vertical-align: .55em; margin-left: .5em; }
.qui-rang span:nth-child(odd) { color: var(--qui-a); }
.qui-rang span:nth-child(even) { color: var(--qui-b); }
.qui-rang.contour span { color: transparent; -webkit-text-stroke: 2px var(--qui-a); }
.qui-rang:nth-child(3) span:nth-child(odd) { color: var(--qui-b); }    /* 3e ligne : couleurs inversées par rapport à la 1re */
.qui-rang:nth-child(3) span:nth-child(even) { color: var(--qui-a); }
@keyframes qui-gauche { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes qui-droite { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  .tile img, .tile .t, .tile .k, .grid-gal figure img, .strip figure img { transition: none; }
  .tile:hover img, .grid-gal figure:hover img, .strip figure:hover img { transform: none; }
}
/* ══ FIN — Animations ══════════════════════════════════════════════════════════════════════════════ */

/* Formulaire de réservation : estimation indicative du prix (remplie par reservation.js) */
.resa-estimation { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; border-left: 5px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); line-height: 1.45; }
.resa-estimation strong { display: block; font-size: 1.15rem; font-weight: 900; }
.resa-estimation span { display: block; font-size: .92rem; color: var(--attenue); }
.resa-estimation[hidden] { display: none; }

/* ══ DÉBUT — Retouches graphiques du 22/11/2026 (pour un rendu moins « modèle standard ») ═════════════
   Quatre retouches choisies sur la maquette maquettes/retouches.html. Chacune est indépendante :
   pour revenir en arrière sur l'une d'elles, supprimer son paragraphe (ou tout le bloc jusqu'à « FIN »). */

/* 1. Sur-titres : le petit mot en capitales espacées disparaît quand le titre dit déjà la même chose.
      (Le champ « sur-titre » reste dans l'admin ; il n'est simplement plus affiché au-dessus d'un titre.) */
.sec .label:has(+ h2),
.final .label { display: none; }
/* ceux qui restent (photo d'accueil, régie live, composition de la régie) deviennent une simple ligne de texte */
.label { letter-spacing: 0; text-transform: none; font-size: 1.02rem; font-weight: 700; }
/* « Pour qui ? » est le seul titre de sa section : il devient un vrai titre, comme les autres */
.sec-qui .label { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--encre); margin-bottom: 26px; }

/* 2. Étiquettes : moins de pastilles jaunes posées sur les photos */
/* prestations : « Inclus / Sur devis / En option » en simple mention soulignée */
.tile .k { background: none; color: #fff; padding: 0 0 4px; border-radius: 0; border-bottom: 2px solid var(--accent); top: 22px; left: 26px; font-size: .78rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.tile:hover .k { transform: none; }
/* plateformes de diffusion : une ligne de texte au lieu de sept cadres */
.plat { gap: 0; }
.plat span { border: 0; padding: 0; border-radius: 0; color: var(--sur-sombre); font-size: 1rem; }
.plat span:not(:last-child)::after { content: "·"; margin: 0 .6em; color: var(--accent); }
/* voyant REC : le point rouge et le mot, sans la pastille autour */
.rec { background: none; padding: 0; border-radius: 0; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
/* références : le nom passe SOUS la photo, comme une légende de générique */
.grid-gal { row-gap: 26px; }
.grid-gal figure { aspect-ratio: auto; overflow: visible; border-radius: 0; display: flex; flex-direction: column; }
.grid-gal figure img { flex: none; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; }
.grid-gal figure:hover img { transform: none; }
.grid-gal figcaption { position: static; background: none; color: var(--encre); padding: 10px 0 0; border-radius: 0; font-size: 1rem; line-height: 1.3; }

/* 3. Finitions : plus de reflet qui balaie les boutons au survol
      (les flèches « → » des boutons ont été retirées dans app/render.php ; les points en fin de titre se retirent dans l'admin) */
.btn-accent::after,
.btn-ligne::after { display: none; }

/* 4. Signature télé : un filet « mire de barres » au-dessus de la bande de chiffres et du pied de page */
.band,
.foot { border-top: 6px solid; border-image: linear-gradient(90deg,
  #c0c0c0 0 14.286%, #c0c000 14.286% 28.571%, #00c0c0 28.571% 42.857%, #00c000 42.857% 57.143%,
  #c000c0 57.143% 71.429%, #c00000 71.429% 85.714%, #0000c0 85.714% 100%) 1; }
/* ══ FIN — Retouches graphiques du 22/11/2026 ═════════════════════════════════════════════════════ */

/* ── Présentation (« Le studio ») : chapô, photo panoramique, suite du texte sur deux colonnes ─────────
   Le premier paragraphe (le « chapô ») est en grand, en face du titre. La photo, facultative, occupe toute
   la largeur en bandeau 3 × 1 ; elle est rognée par l'affichage, un peu plus à droite qu'à gauche
   (réglage « object-position », choisi pour la vue panoramique du bistrot et du plateau). */
.intro p.chapo { font-size: 1.42rem; line-height: 1.45; font-weight: 500; color: var(--encre); margin-bottom: 0; }
.intro-pano { margin-top: 48px; }
.intro-pano img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: 30% 50%; border-radius: 10px; }
.intro-pano figcaption { position: static; background: none; color: var(--encre); padding: 10px 0 0; border-radius: 0; font-size: .95rem; font-weight: 700; }
.intro-suite { columns: 2; column-gap: 70px; margin-top: 36px; }
.intro-suite p { color: var(--attenue); font-size: 1.08rem; margin-bottom: 16px; break-inside: avoid; }
@media (max-width: 980px) {
  .intro-pano { margin-top: 30px; }
  .intro-pano img { aspect-ratio: 16 / 9; object-position: 55% 50%; }   /* téléphone : cadrage sur les banquettes et le plateau */
  .intro-suite { columns: 1; margin-top: 26px; }
}
@media (max-width: 600px) { .intro p.chapo { font-size: 1.22rem; } }

/* ── Références : photo cliquable, ouverte en grand dans une visionneuse (site.js) ───────────────────── */
.grid-gal a.zoom { display: block; position: relative; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.grid-gal a.zoom img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.grid-gal a.zoom:hover img { transform: scale(1.04); filter: brightness(1.05); }
/* petite loupe en coin, visible au survol ou au clavier */
.grid-gal a.zoom::after { content: ""; position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 20px no-repeat; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; }
.grid-gal a.zoom:hover::after, .grid-gal a.zoom:focus-visible::after { opacity: 1; transform: none; }
.grid-gal a.zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: none) { .grid-gal a.zoom::after { opacity: .9; transform: none; width: 32px; height: 32px; background-size: 17px; } }   /* écran tactile : la loupe reste visible */

.visionneuse { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .94); color: #f2f2f2; overscroll-behavior: contain; }
.visionneuse[open] { display: flex; align-items: center; justify-content: center; }
.visionneuse::backdrop { background: transparent; }
.vis-cadre { margin: 0; flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 12px 18px; min-width: 0; }
.vis-cadre img { display: block; max-width: 100%; max-height: calc(100% - 44px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px -20px rgba(0,0,0,.8); }
.vis-cadre figcaption { position: static; background: none; color: inherit; border-radius: 0; padding: 14px 0 0; display: flex; gap: 18px; align-items: baseline; font-size: 1rem; font-weight: 700; text-align: center; }
.vis-compte { color: #9a9a9a; font-weight: 500; font-size: .9rem; font-variant-numeric: tabular-nums; }
.visionneuse button { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.visionneuse button:hover { background: var(--accent); color: var(--sur-accent); }
.visionneuse button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visionneuse button[hidden] { display: none; }
.visionneuse svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vis-prec { margin-left: 18px; } .vis-suiv { margin-right: 18px; }
.vis-fermer { position: absolute; top: 14px; right: 14px; z-index: 1; }
html.vis-ouverte { overflow: hidden; }
@media (max-width: 700px) {
  /* téléphone : flèches en bas, de part et d'autre, pour laisser toute la largeur à la photo */
  .vis-cadre { padding: 60px 8px 86px; }
  .vis-prec, .vis-suiv { position: absolute; bottom: 18px; margin: 0; }
  .vis-prec { left: 18px; } .vis-suiv { right: 18px; }
  .vis-cadre figcaption { flex-direction: column; gap: 4px; padding-left: 70px; padding-right: 70px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .grid-gal a.zoom img, .grid-gal a.zoom::after { transition: none; } .grid-gal a.zoom:hover img { transform: none; } }


/* ══ DÉBUT — Formulaire de demande en trois étapes (22/11/2026) ════════════════════════════════════
   Présentation allégée : des questions en guise de titres, des « touches » à enfoncer pour le type de projet
   et les options, des champs soulignés au lieu de cadres, société et SIRET repliés.
   reservation.js n'affiche qu'une étape à la fois (classe « par-etapes » sur le formulaire) ;
   sans script, les trois blocs s'affichent l'un sous l'autre et le formulaire fonctionne quand même. */
form.resa fieldset { margin-bottom: 34px; }
form.resa legend { font-size: 1.75rem; line-height: 1.15; margin-bottom: 18px; }
form.resa legend:focus { outline: none; }
/* champs soulignés au lieu de cadres (la zone de texte libre garde son cadre) */
form.resa input:not([type=checkbox]):not([type=radio]) { background: transparent; border: 0; border-bottom: 2px solid rgba(127,127,127,.55); border-radius: 0; padding-left: 0; padding-right: 0; min-height: 44px; }
form.resa input:not([type=checkbox]):not([type=radio]):focus { outline: none; border-bottom-color: var(--encre); box-shadow: 0 2px 0 var(--encre); }
form.resa input[aria-invalid="true"]:not([type=checkbox]):not([type=radio]) { border-bottom-color: #b3261e; background: #fff5f4; }
form.resa .court { max-width: 220px; }
/* période : plus de boîte dans la boîte ; son titre et « Retirer » n'apparaissent que s'il y en a plusieurs */
form.resa .periode { border: 0; background: none; padding: 0; margin-bottom: 10px; }
form.resa .periode + .periode { border-top: 1px solid rgba(127,127,127,.35); padding-top: 16px; margin-top: 18px; }
form.resa .periode-tete:has(.retirer-periode[hidden]) { display: none; }
form.resa .periode.indispo { border: 1.5px solid #b3261e; border-radius: 8px; background: #fff5f4; padding: 14px 16px 10px; }
/* « touches » à enfoncer : type de projet (une seule) et options (plusieurs) */
.touches { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.touche { position: relative; display: block; }
form.resa .touche input[type] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.touche span { display: block; padding: .6em 1.05em; border: 1.5px solid rgba(127,127,127,.5); border-radius: 6px; background: #fff; font-weight: 600; font-size: .95rem; transition: background .15s, color .15s, border-color .15s; }
.touche:hover span { border-color: var(--encre); }
.touche input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.touche input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
form.resa .options-titre { display: block; width: auto; margin-top: 4px; }
form.resa .options-titre em { font-style: normal; color: var(--accent-fonce); }
/* société et SIRET, repliés */
.replie { margin-bottom: 14px; }
.replie summary { cursor: pointer; font-weight: 700; color: var(--accent-fonce); text-decoration: underline; text-underline-offset: 3px; margin: 4px 0 14px; list-style: none; width: fit-content; }
.replie summary::-webkit-details-marker { display: none; }
.replie summary::before { content: "+ "; }
.replie[open] summary::before { content: "– "; }
.replie summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Les étapes (construites par reservation.js) */
.etapes { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin: 0 0 30px; padding: 0; }
.etapes button { display: block; width: 100%; font: inherit; text-align: left; background: none; border: 0; border-top: 4px solid rgba(127,127,127,.3); padding: 12px 0 0; cursor: pointer; color: var(--attenue); font-weight: 600; font-size: .9rem; }
.etapes button b { display: block; font-size: 1.25rem; font-weight: 900; letter-spacing: -.02em; }
.etapes button.fait { border-top-color: var(--encre); color: var(--encre); }
.etapes button[aria-current="step"] { border-top-color: var(--accent-fonce); color: var(--encre); }
.etapes button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
form.resa.par-etapes fieldset.etape { margin-bottom: 8px; }
form.resa.par-etapes fieldset.etape[hidden] { display: none; }
.resa-envoi .retour { background: none; border: 0; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--encre); padding: 10px 4px; }
.resa-envoi .retour:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.resa-envoi [hidden] { display: none; }
@media (max-width: 600px) {
  form.resa legend { font-size: 1.45rem; }
  .etapes { gap: 6px; }
  .etapes button { font-size: .78rem; }
  .etapes button b { font-size: .98rem; }
}
/* ══ FIN — Formulaire de demande en trois étapes ══════════════════════════════════════════════════ */

/* Formulaire : proposition de la prochaine période libre, sous une période indisponible (reservation.js) */
.periode-proposition { margin: 8px 0 18px; padding: 12px 14px; border-radius: 8px; background: #fff; border-left: 4px solid var(--accent); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.periode-proposition[hidden] { display: none; }
.periode-proposition p { margin: 0; color: var(--encre); font-size: .95rem; flex: 1 1 280px; }
.periode-proposition .prendre-dates { padding: 4px 0; }

/* Formulaire : étape 4, fiche de rappel de la saisie (construite par reservation.js) */
.recap[hidden] { display: none; }
.final .recap-intro { color: var(--attenue); margin: 0 0 18px; max-width: none; font-weight: 400; }
.recap-bloc { background: #fff; border-radius: 8px; padding: 16px 18px 6px; margin-bottom: 12px; border: 1px solid rgba(127,127,127,.25); }
.recap-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.recap-tete h3 { font-size: 1.1rem; letter-spacing: -.01em; }
.recap-tete .btn-lien { padding: 2px 0; }
.recap dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 2px 16px; padding: 8px 0; border-top: 1px solid rgba(127,127,127,.2); }
.recap dt { color: var(--attenue); font-size: .92rem; }
.recap dd { grid-column: 2; font-weight: 600; overflow-wrap: anywhere; }
.recap .recap-message dd { font-weight: 400; white-space: pre-line; }
form.resa .recap ~ .consent { margin-top: 18px; }
@media (max-width: 600px) {
  .recap dl > div { grid-template-columns: 1fr; }
  .recap dd { grid-column: 1; }
  .etapes button { font-size: .7rem; }
  .etapes button b { font-size: .84rem; }
}
/* Étapes : la ligne « Étape 2 sur 4 · … » ne sert que sur téléphone ; les barres restent cliquables */
.etape-ou { display: none; }
@media (max-width: 600px) {
  .etapes { grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 10px; }
  .etapes button { font-size: 0; padding-top: 0; height: 22px; }
  .etapes button b { font-size: 0; }
  form.resa .etape-ou { display: block; margin: 0 0 22px; font-weight: 700; font-size: .92rem; color: var(--attenue); max-width: none; }
}
