/* Polices auto-hébergées (licence SIL Open Font License, voir CREDITS.md) : aucune requête vers Google. */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/barlow-condensed-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/bungee-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/bungee-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rye';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/rye-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rye';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/rye-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
   ICE QUBE — Feuille de style unique
   Direction : « Garage atomique 1958 » + « Tableau indicateur » de stade.
   Couleurs du logo (marine #25305F, rouge #E21F36) sur papier crème.

   01 Jetons             08 Bons de travail (cartes)
   02 Base               09 Tableau indicateur
   03 Mise en page       10 Étapes, témoignages, photos
   04 Typo et étiquettes 11 Galerie, vidéo, dialogues
   05 Boutons            12 FAQ, formulaires, texte long
   06 En-tête            13 Boutique (js/catalogue.js)
   07 Héros              14 Pied de page, barre d'appel
                         15 Mouvement, impression
   ===================================================================== */

/* 01 — JETONS -------------------------------------------------------- */
:root {
    --navy: #25305f;
    --navy-900: #1a2249;
    --navy-950: #111737;
    --red: #e21f36;
    --red-700: #b8162b;
    --cream: #f6efe1;
    --cream-2: #ece1cb;
    --paper: #fffaf1;
    --ink: #1b1e2e;
    --ink-2: #4b506a;
    --line: rgba(37, 48, 95, 0.16);
    --aqua: #5fc6c0;
    --board: #12251e;
    --board-2: #1a3a2e;
    --amber: #ffc23d;
    --chrome: linear-gradient(180deg, #f5f7fa 0%, #cdd2db 42%, #8b94a6 52%, #dfe3ea 100%);

    --f-sign: "Bungee", "Arial Black", sans-serif;
    --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
    --f-west: "Rye", Georgia, serif;

    --fs-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
    --fs-base: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
    --fs-lg: clamp(1.18rem, 1.08rem + 0.45vw, 1.4rem);
    --fs-h3: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem);
    --fs-h2: clamp(2.1rem, 1.55rem + 2.4vw, 3.6rem);
    --fs-h1: clamp(2.7rem, 1.7rem + 4.6vw, 5.6rem);

    --gutter: clamp(1rem, 0.5rem + 2.2vw, 2rem);
    --wrap: 1200px;
    --section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
    --radius: 14px;
    --header-h: 74px;
    --shadow: 6px 6px 0 var(--navy);
    --shadow-sm: 4px 4px 0 var(--navy);
    --shadow-soft: 0 22px 44px -24px rgba(17, 23, 55, 0.55);

    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --spark: url("/assets/ui/spark.svg");
}

/* 02 — BASE ---------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background-color: var(--cream);
    background-image: var(--grain);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    overflow-x: clip;
}

img,
svg,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
}

p {
    margin: 0 0 1em;
}

sup {
    font-size: 0.55em;
    line-height: 0;
    vertical-align: super;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.45em;
    font-family: var(--f-head);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.05; }
h4 { font-size: var(--fs-lg); line-height: 1.1; }

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

.skip-link {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 300;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* 03 — MISE EN PAGE -------------------------------------------------- */
.wrap {
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin-inline: auto;
}

.wrap--narrow {
    width: min(100% - 2 * var(--gutter), 800px);
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--section);
}

.section--paper {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.section--sand {
    background-color: var(--cream-2);
    background-image: var(--grain);
}

.section--navy {
    background:
        radial-gradient(ellipse 60% 70% at 100% 0%, rgba(226, 31, 54, 0.18), transparent 70%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(95, 198, 192, 0.12), transparent 70%),
        var(--navy-900);
    color: var(--cream);
}

.section--navy p,
.section--navy li {
    color: rgba(246, 239, 225, 0.82);
}

.section-head {
    max-width: 780px;
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--center .kicker {
    justify-content: center;
}

.split {
    display: grid;
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
    align-items: center;
}

@media (min-width: 900px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }

    .split--wide-left {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .split--reverse > :first-child {
        order: 2;
    }
}

.grid {
    display: grid;
    gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
}

@media (min-width: 640px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.split--top {
    align-items: start;
}

.board--narrow {
    max-width: 640px;
}

.board-grid--3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.partner-logo {
    width: auto;
    max-height: 80px;
    margin-bottom: 1rem;
}

/* Bandes de course rétro : marine / crème / rouge */
.stripes {
    height: 18px;
    background: linear-gradient(180deg, var(--navy) 0 33%, var(--cream) 33% 50%, var(--red) 50% 83%, var(--cream) 83%);
}

/* Couture de baseball */
.stitch {
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M4 3l6 4-6 4M14 3l6 4-6 4' fill='none' stroke='%23e21f36' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px 14px repeat-x;
}

/* 04 — TYPO ET ÉTIQUETTES -------------------------------------------- */
.kicker {
    display: flex;
    align-items: center;
    gap: 0.55em;
    margin-bottom: 1rem;
    font-family: var(--f-sign);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
}

/* Étincelle : SVG effilé, dégradé avec reflet et halo discret */
.kicker::before {
    content: "";
    flex: none;
    width: 1.1em;
    height: 1.1em;
    background: linear-gradient(135deg, #fff 0%, currentColor 38%, currentColor 68%, rgba(0, 0, 0, 0.35) 100%);
    -webkit-mask: var(--spark) center / contain no-repeat;
    mask: var(--spark) center / contain no-repeat;
    filter: drop-shadow(0 0 3px color-mix(in srgb, currentColor 55%, transparent));
}

.section--navy .kicker,
.page-hero .kicker {
    color: var(--amber);
}

.kicker--cream {
    color: var(--cream) !important;
}

.lead {
    font-size: var(--fs-lg);
    line-height: 1.5;
    color: var(--ink-2);
}

.section--navy .lead {
    color: rgba(246, 239, 225, 0.85);
}

.western {
    font-family: var(--f-west);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
}

.accent {
    color: var(--red);
}

.fine {
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--ink-2);
}

/* Plaque émaillée */
.plate {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.45em 0.95em;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 4px var(--cream), 0 2px 0 rgba(0, 0, 0, 0.15);
    color: var(--cream);
    font-family: var(--f-sign);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plate--red {
    background: var(--red);
    box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 4px var(--cream);
}

.plate-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

/* Médaillon chromé (remplace l'ancienne étoile) :
   anneau en dégradé conique, face marine profonde, reflet de verre. */
.medal {
    position: relative;
    width: 136px;
    aspect-ratio: 1;
    padding: 7px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, #f6f8fb, #a3acbd 18%, #eef1f6 34%, #7c8699 52%, #f3f5f9 68%, #9aa3b5 84%, #f6f8fb);
    box-shadow: 0 0 0 2px var(--navy), 0 18px 34px -14px rgba(17, 23, 55, 0.7);
}

.medal-face {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.25rem;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #3b4c92 0%, var(--navy) 38%, var(--navy-950) 100%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), inset 0 -10px 18px rgba(0, 0, 0, 0.45);
    color: var(--cream);
    text-align: center;
}

/* Reflet de verre */
.medal-face::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: 6%;
    height: 42%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.medal strong {
    font-family: var(--f-sign);
    font-size: 1.85rem;
    line-height: 1;
    color: var(--amber);
    text-shadow: 0 0 12px rgba(255, 194, 61, 0.55);
}

.medal span {
    max-width: 9ch;
    font-family: var(--f-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.05;
    text-transform: uppercase;
}

/* Liste à étoiles */
.checks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checks li {
    position: relative;
    padding-left: 1.7em;
    margin-bottom: 0.55em;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 1em;
    height: 1em;
    background: linear-gradient(135deg, #ff9aa6 0%, var(--red) 45%, var(--red-700) 100%);
    -webkit-mask: var(--spark) center / contain no-repeat;
    mask: var(--spark) center / contain no-repeat;
}

.section--navy .checks li::before,
.board .checks li::before {
    background: linear-gradient(135deg, #fff3cf 0%, var(--amber) 45%, #c8901c 100%);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 0.3em 0.85em;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jump {
    color: var(--navy);
}

.jump a {
    text-decoration: none;
}

.jump li:hover {
    background: var(--navy);
    color: var(--cream);
}

/* 05 — BOUTONS ------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 50px;
    padding: 0.7em 1.5em;
    border: 2.5px solid var(--navy);
    border-radius: 999px;
    background: var(--paper);
    color: var(--navy);
    font-family: var(--f-head);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--navy);
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--navy);
}

.btn--red {
    background: var(--red);
    color: #fff;
}

.btn--red:hover {
    background: #ee2b42;
}

.btn--navy {
    background: var(--navy);
    color: var(--cream);
}

.section--navy .btn {
    border-color: var(--cream);
    box-shadow: 4px 4px 0 var(--red);
}

.section--navy .btn:hover {
    box-shadow: 6px 6px 0 var(--red);
}

.btn--sm {
    min-height: 42px;
    padding: 0.5em 1.05em;
    font-size: 1.02rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.more {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    font-family: var(--f-head);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--red);
}

.more .icon {
    transition: transform 0.15s ease;
}

.more:hover .icon {
    transform: translateX(4px);
}

.section--navy .more {
    color: var(--amber);
}

/* 06 — EN-TÊTE ------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    color: var(--cream);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 6px;
    background: linear-gradient(180deg, transparent 0 50%, var(--red) 50%), var(--chrome);
    background-size: 100% 100%, 100% 50%;
    background-repeat: no-repeat;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: none;
    text-decoration: none;
}

.brand img {
    width: 52px;
    height: 52px;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--cream), 3px 3px 0 2px var(--red);
}

.brand-text {
    display: grid;
    line-height: 1;
}

.brand-text strong {
    font-family: var(--f-sign);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 4px;
    font-family: var(--f-head);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--aqua);
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a:not(.btn) {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 999px;
    font-family: var(--f-head);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-menu a:not(.btn):hover {
    background: rgba(246, 239, 225, 0.1);
}

.nav-menu a[aria-current="page"] {
    background: var(--cream);
    color: var(--navy);
}

.nav-menu-call {
    display: none;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lang-link {
    display: grid;
    place-items: center;
    min-width: 46px;
    min-height: 42px;
    border: 2px solid rgba(246, 239, 225, 0.4);
    border-radius: 999px;
    font-family: var(--f-sign);
    font-size: 0.8rem;
    text-decoration: none;
}

.lang-link:hover {
    border-color: var(--cream);
}

.nav-call {
    border-color: var(--cream);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid rgba(246, 239, 225, 0.4);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 22px;
    height: 2.5px;
    margin-inline: auto;
    border-radius: 2px;
    background: var(--cream);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bars {
    position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before {
    top: -7px;
}

.nav-toggle-bars::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1179.98px) {
    .nav-toggle {
        display: block;
    }

    .nav-tools {
        margin-left: auto;
    }

    .nav-call {
        display: none;
    }

    .nav-menu {
        position: fixed;
        inset: calc(var(--header-h) + 6px) 0 0;
        z-index: 99;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.2rem var(--gutter) 6rem;
        background:
            radial-gradient(ellipse 80% 50% at 100% 100%, rgba(226, 31, 54, 0.25), transparent 70%),
            var(--navy-950);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .nav-open .nav-menu {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-menu a:not(.btn) {
        padding: 0.85rem 0.4rem;
        border-bottom: 1px solid rgba(246, 239, 225, 0.12);
        border-radius: 0;
        font-size: 1.75rem;
    }

    .nav-menu a[aria-current="page"] {
        background: transparent;
        color: var(--amber);
    }

    .nav-menu-call {
        display: inline-flex;
        align-self: flex-start;
        border-color: var(--cream);
    }

    .nav-open body {
        overflow: hidden;
    }
}

@media (min-width: 1180px) {
    .nav-menu-contact {
        display: none;
    }
}

@media (max-width: 400px) {
    .brand-text small {
        display: none;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }
}

/* 07 — HÉROS --------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 6vw, 7rem);
    isolation: isolate;
}

/* Boomerangs et étoiles atomiques en arrière-plan */
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -12%;
    top: -18%;
    width: 70%;
    aspect-ratio: 1.4;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(95, 198, 192, 0.22), transparent 65%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    background: linear-gradient(180deg, var(--navy) 0 33%, var(--cream) 33% 50%, var(--red) 50% 83%, var(--cream) 83%);
}

.hero-grid {
    display: grid;
    gap: clamp(2.5rem, 1.5rem + 4vw, 4rem);
    align-items: center;
}

@media (min-width: 980px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-tag {
    margin-bottom: 0.6rem;
    font-family: var(--f-west);
    font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem);
    color: var(--red);
}

.hero h1 {
    color: var(--navy);
}

/* Le slogan « comme dans l'temps » : la signature d'Ice Qube */
.hero .slogan {
    font-size: clamp(3rem, 1.8rem + 5.6vw, 6.4rem);
    line-height: 0.92;
}

.hero .slogan .accent {
    display: block;
    font-family: var(--f-west);
    font-size: 0.78em;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
}

.hero-sub {
    margin: 0 0 0.6rem;
    font-family: var(--f-head);
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--navy);
}

.hero h1 .accent {
    display: inline-block;
    color: var(--red);
}

.hero .lead {
    max-width: 40ch;
}

.hero-meta {
    margin-top: 2rem;
    color: var(--navy);
}

/* ---------------------------------------------------------------------
   SCÈNE D'ACCUEIL (inc/scene.php) : ranch, ville, glace parfaite
   --------------------------------------------------------------------- */
.scene-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: clamp(700px, 96vh, 960px);
    overflow: hidden;
    background: #121a48;
    color: var(--cream);
    isolation: isolate;
}

.scene-art {
    position: absolute;
    inset: 0;
    z-index: -2;
}

/* Jour (scène A) par défaut; nuit (scène B) si l'appareil est en mode sombre,
   ou si le visiteur l'a choisi avec le bouton (html[data-scene]). */
.scene-art--night,
.scene-toggle .scene-toggle-sun {
    display: none;
}

html[data-scene="night"] .scene-art--day,
html[data-scene="night"] .scene-toggle .scene-toggle-moon {
    display: none;
}

html[data-scene="night"] .scene-art--night {
    display: block;
}

html[data-scene="night"] .scene-toggle .scene-toggle-sun {
    display: grid;
}

html[data-scene="night"] .scene-hero {
    background: #04071a;
}

@media (prefers-color-scheme: dark) {
    html:not([data-scene="day"]) .scene-art--day,
    html:not([data-scene="day"]) .scene-toggle .scene-toggle-moon {
        display: none;
    }

    html:not([data-scene="day"]) .scene-art--night {
        display: block;
    }

    html:not([data-scene="day"]) .scene-toggle .scene-toggle-sun {
        display: grid;
    }

    html:not([data-scene="day"]) .scene-hero {
        background: #04071a;
    }
}

/* Photo de fond (inc/media.php) + animations par-dessus */
.scene-photo,
.scene-photo img,
.scene-fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.scene-photo img {
    object-fit: cover;
}

/* La couche d'animations a les proportions de l'image et suit le même recadrage
   (object-fit: cover + point focal) : les effets restent sur la glace et les projecteurs. */
.scene-art {
    container-type: size;
    overflow: hidden;
}

.scene-fx {
    --fx-w: max(100cqw, 100cqh * var(--ratio, 1.7778));
    --fx-h: max(100cqh, 100cqw / var(--ratio, 1.7778));
    inset: auto;
    left: calc((100cqw - var(--fx-w)) * var(--fx, 0.5));
    top: calc((100cqh - var(--fx-h)) * var(--fy, 0.6));
    width: var(--fx-w);
    height: var(--fx-h);
    overflow: hidden;
    pointer-events: none;
}

/* Voile pour la lisibilité du texte en haut, et profondeur en bas */
.scene-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(9, 12, 38, 0.6) 0%, rgba(9, 12, 38, 0.18) 45%, rgba(9, 12, 38, 0) 62%, rgba(9, 12, 38, 0.22) 100%);
}

/* Reflet qui glisse sur la glace (le tiers inférieur de l'image) */
.fx-sheen {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 31%;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.38) 50%, transparent 58%) 0 0 / 260% 100% no-repeat;
    -webkit-mask: linear-gradient(transparent, #000 40%);
    mask: linear-gradient(transparent, #000 40%);
    mix-blend-mode: screen;
    animation: fx-sheen 9s ease-in-out infinite;
}

@keyframes fx-sheen {
    0% { background-position: 130% 0; }
    65%, 100% { background-position: -130% 0; }
}

/* Éclats de lumière (étincelle SVG blanche, halo) */
.fx-glint {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    background: #fff;
    -webkit-mask: var(--spark) center / contain no-repeat;
    mask: var(--spark) center / contain no-repeat;
    filter: drop-shadow(0 0 6px rgba(255, 236, 190, 0.95));
    opacity: 0;
    animation: fx-glint 4.6s ease-in-out var(--d) infinite;
}

@keyframes fx-glint {
    0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    45% { opacity: 1; transform: scale(1) rotate(20deg); }
    60% { opacity: 0; transform: scale(0.5) rotate(30deg); }
}

/* Halos qui respirent : projecteurs, phare et lune la nuit, soleil le jour */
.fx-halo {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: clamp(70px, 9cqw, 150px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 250, 230, 0.55), rgba(220, 240, 255, 0.18) 38%, transparent 68%);
    mix-blend-mode: screen;
    animation: fx-breathe 5.5s ease-in-out var(--d) infinite;
}

.fx-halo--sun {
    width: clamp(90px, 12cqw, 200px);
    background: radial-gradient(circle, rgba(255, 246, 208, 0.7), rgba(255, 220, 140, 0.18) 40%, transparent 68%);
}

@keyframes fx-breathe {
    0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .scene-fx * {
        animation: none !important;
    }

    .fx-glint {
        opacity: 0.7;
    }

    .fx-halo {
        opacity: 0.8;
        transform: translate(-50%, -50%);
    }
}

/* Bouton soleil / lune : petit médaillon chromé */
.scene-toggle {
    position: absolute;
    z-index: 2;
    top: 1.1rem;
    right: var(--gutter);
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 4px;
    border: 0;
    border-radius: 50%;
    background: conic-gradient(from 200deg, #f6f8fb, #a3acbd 18%, #eef1f6 34%, #7c8699 52%, #f3f5f9 68%, #9aa3b5 84%, #f6f8fb);
    box-shadow: 0 0 0 2px var(--navy), 0 10px 22px -10px rgba(5, 8, 30, 0.8);
    cursor: pointer;
}

.scene-toggle > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #3b4c92, var(--navy-950));
}

.scene-toggle-moon .icon {
    color: #e9edf7;
}

.scene-toggle-sun .icon {
    color: var(--amber);
}

.scene-toggle .icon {
    width: 22px;
    height: 22px;
}

.scene-toggle:hover {
    transform: rotate(-12deg);
}

.scene-toggle {
    transition: transform 0.3s ease;
}

.scene {
    width: 100%;
    height: 100%;
}

/* Voile discret derrière le texte, pour la lisibilité */
.scene-copy {
    position: static;
    padding-block: clamp(2.2rem, 1.5rem + 3vw, 4.5rem) 2rem;
    text-align: center;
}

.scene-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 0;
    width: min(1100px, 130%);
    height: 120%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at 50% 40%, rgba(9, 12, 38, 0.55), rgba(9, 12, 38, 0) 65%);
}

.scene-copy .plate-row {
    justify-content: center;
}

.scene-hero .slogan {
    margin-bottom: 0.35em;
    color: var(--cream);
    font-size: clamp(2.8rem, 1.6rem + 5vw, 6rem);
    line-height: 0.92;
    text-shadow: 0 4px 24px rgba(5, 8, 30, 0.6);
}

.scene-hero .slogan .accent {
    display: block;
    font-family: var(--f-west);
    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.08;
    text-transform: none;
    color: #ff5a6e;
    text-shadow: 0 0 22px rgba(226, 31, 54, 0.55), 0 3px 0 rgba(5, 8, 30, 0.45);
}

.scene-hero .hero-sub {
    color: var(--cream);
    text-shadow: 0 2px 14px rgba(5, 8, 30, 0.7);
}

.scene-hero .lead {
    max-width: 46ch;
    margin-inline: auto;
    color: rgba(246, 239, 225, 0.9);
    text-shadow: 0 2px 12px rgba(5, 8, 30, 0.8);
}

.scene-hero .btn-row {
    justify-content: center;
    margin-top: 1.4rem;
}

.scene-hero .btn:not(.btn--red) {
    border-color: var(--cream);
}

/* Mini tableau indicateur posé sur la glace */
.mini-board {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(1.5rem, 4vh, 3rem);
    display: flex;
    gap: 0.5rem;
    padding: 1.1rem 0.8rem 0.7rem;
    border-radius: 14px;
    background: var(--board);
    box-shadow: inset 0 0 0 2px #0b1712, inset 0 0 0 4px #6f7787, 0 18px 40px -16px rgba(5, 8, 30, 0.8);
}

.mini-board::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.45rem;
    width: 70%;
    height: 6px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--amber) 0 2px, transparent 2.5px) 0 0 / 14px 6px repeat-x;
    filter: drop-shadow(0 0 3px rgba(255, 194, 61, 0.8));
}

.mini-score {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    min-width: 88px;
    padding: 0.5rem 0.4rem;
    border-radius: 8px;
    background: var(--board-2);
}

.mini-score .score-value {
    font-size: 1.7rem;
}

.mini-score .score-label {
    font-size: 0.78rem;
}

/* Chiffres qui défilent (js/site.js) */
.roll-digit {
    display: inline-block;
    height: 1.05em;
    overflow: hidden;
    vertical-align: top;
}

.roll-strip {
    display: flex;
    flex-direction: column;
    transition: transform 1.8s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.roll-strip span {
    height: 1.05em;
    line-height: 1.05;
}

@media (max-width: 760px) {
    .scene-hero {
        min-height: 0;
        padding-bottom: clamp(360px, 95vw, 470px);
    }

    .scene-art {
        top: auto;
        height: clamp(420px, 112vw, 540px);
    }

    .scene-copy::before {
        top: -10%;
    }

    .mini-board {
        position: relative;
        right: auto;
        bottom: auto;
        align-self: center;
        margin-top: 1.4rem;
    }

    .mini-score {
        min-width: 0;
        padding-inline: 0.5rem;
    }

    .mini-score .score-value {
        font-size: 1.35rem;
    }
}

/* Animations de la scène */
.sc-sheen {
    animation: sc-sheen 9s ease-in-out infinite;
}

@keyframes sc-sheen {
    0% { transform: skewX(-18deg) translateX(0); }
    60%, 100% { transform: skewX(-18deg) translateX(2300px); }
}

.sc-tw {
    animation: sc-twinkle 3.2s ease-in-out infinite alternate;
}

.sc-tw1 { animation-delay: -1.1s; }
.sc-tw2 { animation-delay: -2.3s; animation-duration: 4.1s; }

@keyframes sc-twinkle {
    to { opacity: 0.25; }
}

.sc-blink {
    animation: sc-blink 2s steps(1) infinite;
}

@keyframes sc-blink {
    50% { opacity: 0.15; }
}

.sc-mill > g {
    animation: sc-spin 16s linear infinite;
}

@keyframes sc-spin {
    to { transform: rotate(360deg); }
}

.sc-beam1,
.sc-beam2 {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: sc-sweep 11s ease-in-out infinite alternate;
}

.sc-beam2 {
    animation-delay: -5s;
}

@keyframes sc-sweep {
    from { transform: rotate(-9deg); }
    to { transform: rotate(9deg); }
}

.sc-aurora {
    animation: sc-aurora 16s ease-in-out infinite alternate;
}

@keyframes sc-aurora {
    to { transform: translateX(-60px) translateY(10px); opacity: 0.32; }
}

.sc-reflect {
    animation: sc-ripple 4.5s ease-in-out infinite alternate;
}

@keyframes sc-ripple {
    to { opacity: 0.55; }
}

.sc-window {
    animation: sc-twinkle 5s ease-in-out infinite alternate;
}

.sc-zam {
    animation: sc-drive 48s linear -15s infinite;
}

@keyframes sc-drive {
    from { transform: translateX(-340px); }
    to { transform: translateX(1960px); }
}

@media (prefers-reduced-motion: reduce) {
    .scene * {
        animation: none !important;
    }

    .sc-zam {
        transform: translateX(980px);
    }

    .roll-strip {
        transition: none;
    }
}

/* Cadre « téléviseur atomique » */
.screen {
    position: relative;
    justify-self: center;
    width: min(100%, 520px);
}

.screen-frame {
    position: relative;
    padding: 14px;
    border-radius: 34px;
    background: var(--chrome);
    box-shadow: var(--shadow-soft), 8px 8px 0 var(--navy);
}

.screen-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    border: 3px solid var(--navy);
}

.screen-caption {
    margin-top: 0.9rem;
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    color: var(--ink-2);
}

.screen .medal {
    position: absolute;
    right: -30px;
    top: -44px;
}

@media (max-width: 560px) {
    .screen .medal {
        right: -4px;
        top: -54px;
        width: 112px;
        padding: 6px;
    }

    .screen .medal strong {
        font-size: 1.5rem;
    }

    .screen .medal span {
        font-size: 0.7rem;
    }
}

/* Héros des pages intérieures */
.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.8rem) clamp(3rem, 2rem + 4vw, 5rem);
    background:
        radial-gradient(ellipse 50% 80% at 95% 10%, rgba(226, 31, 54, 0.28), transparent 70%),
        radial-gradient(ellipse 40% 70% at 0% 110%, rgba(95, 198, 192, 0.18), transparent 70%),
        var(--navy-900);
    color: var(--cream);
    isolation: isolate;
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    background: linear-gradient(180deg, var(--navy) 0 33%, var(--cream) 33% 50%, var(--red) 50% 83%, var(--cream) 83%);
}

.page-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem);
}

.page-hero .lead {
    max-width: 55ch;
    color: rgba(246, 239, 225, 0.86);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(246, 239, 225, 0.65);
}

.crumbs li + li::before {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-right: 0.45rem;
    background: linear-gradient(135deg, #ff9aa6, var(--red));
    -webkit-mask: var(--spark) center / contain no-repeat;
    mask: var(--spark) center / contain no-repeat;
}

.crumbs a {
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--cream);
}

/* 08 — BONS DE TRAVAIL (cartes) -------------------------------------- */
.order {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 0 1.5rem;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 1.2rem;
    border-bottom: 2px dashed var(--line);
    border-radius: 11px 11px 0 0;
    background: var(--cream-2);
    font-family: var(--f-sign);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
}

.order-head span:last-child {
    color: var(--red);
}

.spark {
    display: inline-block;
    width: 1.05em;
    height: 1.05em;
    background: linear-gradient(135deg, #ff9aa6 0%, var(--red) 45%, var(--red-700) 100%);
    -webkit-mask: var(--spark) center / contain no-repeat;
    mask: var(--spark) center / contain no-repeat;
}

.order-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.3rem 1.3rem 0;
}

.order-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--navy);
    color: var(--cream);
    box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 5px var(--cream);
}

.order-icon .icon {
    width: 26px;
    height: 26px;
}

.order h3 {
    color: var(--navy);
}

.order p {
    color: var(--ink-2);
}

.order .checks {
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
}

.order .more {
    align-self: flex-start;
    margin-top: auto;
}

a.order {
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.order:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--navy);
}

/* Carte photo */
.photo-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.photo-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 2.5px solid var(--navy);
}

.photo-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.3rem;
}

.photo-card-body h3 {
    color: var(--navy);
}

.photo-card-body .plate {
    align-self: flex-start;
    margin-bottom: 0.8rem;
}

.photo-card-body p {
    color: var(--ink-2);
}

.photo-card-body .more {
    align-self: flex-start;
    margin-top: auto;
}

a.photo-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--navy);
}

/* Photo encadrée */
.framed {
    margin: 0;
    overflow: hidden;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.framed img {
    width: 100%;
    object-fit: cover;
}

.framed figcaption {
    padding: 0.7rem 1rem;
    border-top: 2px dashed var(--line);
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
}

/* Encadré d'avis (OEM, marques) */
.notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.4rem;
    border: 2.5px solid var(--navy);
    border-left-width: 10px;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
}

.notice .icon {
    width: 30px;
    height: 30px;
    color: var(--red);
}

.notice strong {
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--f-head);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
}

.notice p {
    margin: 0;
    color: var(--ink-2);
}

.tm {
    margin-top: 1.5rem;
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--ink-2);
}

/* 09 — TABLEAU INDICATEUR -------------------------------------------- */
.board {
    position: relative;
    padding: 2.1rem clamp(1rem, 0.5rem + 2vw, 2rem) clamp(1rem, 0.5rem + 2vw, 2rem);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(255, 255, 255, 0.08), transparent 60%),
        var(--board);
    box-shadow: inset 0 0 0 3px #0b1712, inset 0 0 0 6px #6f7787, var(--shadow-soft), 8px 8px 0 var(--navy);
    color: var(--cream);
}

/* Rangée d'ampoules */
.board::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.85rem;
    width: min(70%, 420px);
    height: 8px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--amber) 0 3px, transparent 3.5px) 0 0 / 20px 8px repeat-x;
    filter: drop-shadow(0 0 4px rgba(255, 194, 61, 0.8));
}

.board-title {
    margin: 0.4rem 0 1.4rem;
    font-family: var(--f-west);
    font-size: var(--fs-lg);
    text-align: center;
    color: var(--amber);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 820px) {
    .board-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0.6rem;
    border: 1px solid rgba(246, 239, 225, 0.14);
    border-radius: 8px;
    background: var(--board-2);
    text-align: center;
}

.score-value {
    min-width: 3.2ch;
    padding: 0.18em 0.35em;
    border-radius: 6px;
    background: #07110d;
    font-family: var(--f-sign);
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
    line-height: 1.05;
    color: var(--amber);
    text-shadow: 0 0 14px rgba(255, 194, 61, 0.65);
}

.score-label {
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
    color: rgba(246, 239, 225, 0.85);
}

/* Voyant d'état (ambre, clignotement lent) */
.status-led {
    display: inline-block;
    width: 0.62em;
    height: 0.62em;
    margin-right: 0.5em;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 8px 2px rgba(255, 194, 61, 0.7);
    vertical-align: 0.05em;
    animation: led 2.4s ease-in-out infinite;
}

@keyframes led {
    50% {
        opacity: 0.35;
        box-shadow: 0 0 2px 0 rgba(255, 194, 61, 0.3);
    }
}

/* Panneau « bientôt » à la place d'une photo */
.soon {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.5rem;
    aspect-ratio: 16 / 10;
    border-bottom: 2.5px solid var(--navy);
    background:
        radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, 0.1), transparent 60%),
        var(--board);
    color: var(--cream);
    text-align: center;
}

.soon-value {
    padding: 0.1em 0.45em;
    border-radius: 6px;
    background: #07110d;
    font-family: var(--f-sign);
    font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
    color: var(--amber);
    text-shadow: 0 0 14px rgba(255, 194, 61, 0.6);
}

.soon-label {
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Fiche technique façon tableau */
.board-spec {
    margin: 0;
}

.board-spec div {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.8fr) 1.4fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed rgba(246, 239, 225, 0.2);
}

.board-spec div:last-child {
    border-bottom: 0;
}

.board-spec dt {
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber);
}

.board-spec dd {
    margin: 0;
    color: var(--cream);
}

/* 10 — ÉTAPES, TÉMOIGNAGES ------------------------------------------- */
.steps {
    display: grid;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1080px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.steps li {
    position: relative;
    padding: 1.4rem 1.3rem 1.3rem;
    border-top: 4px solid var(--navy);
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--red);
    box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5px var(--cream);
    color: #fff;
    font-family: var(--f-sign);
    font-size: 1.3rem;
}

.steps h3 {
    font-size: 1.55rem;
    color: var(--navy);
}

.steps p {
    margin: 0;
    color: var(--ink-2);
}

.section--navy .steps li {
    border-top-color: var(--amber);
}

.section--navy .steps h3 {
    color: var(--cream);
}

.section--navy .steps p {
    color: rgba(246, 239, 225, 0.8);
}

.quote {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 2.2rem 1.5rem 1.4rem;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.quote::before {
    content: "“";
    position: absolute;
    top: -0.45em;
    left: 0.35em;
    padding: 0 0.12em;
    background: var(--cream);
    font-family: var(--f-west);
    font-size: 4.6rem;
    line-height: 1;
    color: var(--red);
}

.quote p {
    font-size: var(--fs-lg);
    line-height: 1.45;
    color: var(--ink);
}

.quote footer {
    margin-top: auto;
    font-family: var(--f-head);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
}

.quote footer small {
    display: block;
    font-weight: 600;
    color: var(--ink-2);
}

/* Anecdote racontée à la première personne */
.story h2 {
    color: var(--navy);
}

.story-sign {
    font-family: var(--f-west);
    font-size: 1.2rem;
    color: var(--red);
}

/* Bloc d'appel final */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    border: 3px solid var(--navy);
    border-radius: 24px;
    background:
        repeating-linear-gradient(-45deg, transparent 0 18px, rgba(0, 0, 0, 0.06) 18px 36px),
        var(--red);
    box-shadow: 10px 10px 0 var(--navy);
    color: #fff;
    isolation: isolate;
}

.cta-band::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -40px;
    bottom: -40px;
    width: 220px;
    aspect-ratio: 1;
    background: url("/assets/ui/rings.svg") center / contain no-repeat;
    opacity: 0.28;
}

.cta-band h2 {
    max-width: 18ch;
    color: #fff;
}

.cta-band p {
    max-width: 52ch;
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.92);
}

.cta-band .btn {
    border-color: var(--navy);
}

.cta-band .btn--navy {
    border-color: var(--cream);
}

.cta-phone {
    display: inline-block;
    margin-top: 0.4rem;
    font-family: var(--f-sign);
    font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem);
    text-decoration: none;
    color: #fff;
}

/* Logos de marques en texte (aucun logo de fabricant) */
.brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brands li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem 1.1rem;
    border: 2px solid var(--navy);
    border-radius: 12px;
    background: var(--paper);
}

.brands strong {
    font-family: var(--f-head);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
}

.brands span {
    font-size: 0.9rem;
    color: var(--ink-2);
}

.brands .is-main {
    background: var(--navy);
}

.brands .is-main strong,
.brands .is-main span {
    color: var(--cream);
}

/* 11 — GALERIE, VIDÉO, DIALOGUES ------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 760px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1080px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery a {
    position: relative;
    display: block;
    overflow: hidden;
    border: 2.5px solid var(--navy);
    border-radius: 12px;
    background: var(--navy);
}

.gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery a:hover img {
    transform: scale(1.06);
}

.gallery span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.8rem 0.7rem 0.6rem;
    background: linear-gradient(transparent, rgba(17, 23, 55, 0.92));
    font-family: var(--f-head);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
}

.video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: #000;
    box-shadow: var(--shadow);
}

.video button {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}

.video button img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.video-play {
    position: relative;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 6px #fff, 0 0 0 10px rgba(226, 31, 54, 0.35);
    color: #fff;
}

.video-play .icon {
    width: 34px;
    height: 34px;
    margin-left: 5px;
    fill: currentColor;
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

dialog {
    max-width: min(94vw, 1100px);
    max-height: 92vh;
    padding: 0;
    border: 3px solid var(--navy);
    border-radius: 18px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

dialog::backdrop {
    background: rgba(17, 23, 55, 0.86);
}

.dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 2.5px solid var(--navy);
    border-radius: 50%;
    background: var(--paper);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox img {
    width: auto;
    max-height: calc(92vh - 3.6rem);
    margin-inline: auto;
}

.lightbox p {
    margin: 0;
    padding: 0.8rem 1rem;
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Carte d'affaires 3D (inc/bizcard.php, js/site.js) — style « Rodéo sur glace » */
.bizcard {
    width: min(94vw, 960px);
    padding: clamp(1.2rem, 0.8rem + 2vw, 2.4rem);
    overflow: auto;
}

.bc-layout {
    display: grid;
    gap: clamp(1.2rem, 0.8rem + 2vw, 2.4rem);
    align-items: center;
}

@media (min-width: 860px) {
    .bc-layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    }
}

.bc-stage {
    perspective: 1600px;
}

.bc-card {
    position: relative;
    display: grid;
    max-width: 540px;
    margin-inline: auto;
    border-radius: 18px;
    outline-offset: 6px;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
    cursor: pointer;
}

.bc-card.is-flipped {
    transform: rotateY(180deg);
}

.bc-face {
    position: relative;
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: clamp(1.1rem, 0.8rem + 1.4vw, 1.7rem);
    overflow: hidden;
    border-radius: 18px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 0 0 1px rgba(37, 48, 95, 0.18), 0 26px 50px -24px rgba(17, 23, 55, 0.7);
}

/* Recto : papier crème, filet marine et rouge, coin de givre réel */
.bc-front {
    background:
        linear-gradient(90deg, var(--navy) 0 7px, var(--red) 7px 11px, transparent 11px),
        linear-gradient(105deg, #fffdf8 0%, #fbf7ee 62%, rgba(251, 247, 238, 0.6) 100%),
        var(--tx-frost) right center / 70% auto no-repeat,
        #fbf7ee;
    background:
        linear-gradient(90deg, var(--navy) 0 7px, var(--red) 7px 11px, transparent 11px),
        linear-gradient(105deg, #fffdf8 0%, #fbf7ee 62%, rgba(251, 247, 238, 0.6) 100%),
        var(--tx-frost-set) right center / 70% auto no-repeat,
        #fbf7ee;
    padding-left: calc(clamp(1.1rem, 0.8rem + 1.4vw, 1.7rem) + 11px);
    color: var(--ink);
}

.bc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.bc-logo {
    width: clamp(84px, 60px + 6vw, 118px);
    height: auto;
}

.bc-photo {
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(78px, 60px + 4vw, 104px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ice), 0 10px 20px -10px rgba(17, 23, 55, 0.6);
}

.bc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-monogram {
    font-family: var(--f-head);
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--ice-2);
}

.bc-id {
    margin-top: auto;
    padding-top: 1rem;
}

.bc-name {
    margin: 0;
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    line-height: 1;
    color: var(--navy);
}

.bc-title {
    margin: 0.35rem 0 0;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--red);
    font-family: var(--f-head);
    font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.08rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.bc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.bc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.6rem;
    border-radius: 7px;
    font-family: var(--f-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.bc-badge .icon {
    flex: none;
    width: 15px;
    height: 15px;
}

.bc-badge--leather {
    background: var(--leathergrain), linear-gradient(180deg, #9b6739, var(--leather-2));
    color: var(--stitch);
}

.bc-badge--ice {
    background: var(--ice-2);
    box-shadow: inset 0 0 0 1px rgba(79, 159, 198, 0.55);
    color: var(--navy);
}

.bc-badge--navy {
    background: var(--navy);
    color: var(--cream);
}

.bc-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0.7rem 0 0;
    font-size: 0.78rem;
    color: var(--ink-2);
}

.bc-hint .icon {
    width: 15px;
    height: 15px;
}

/* Verso : vraie glace sombre, code QR sur tuile blanche */
.bc-back {
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transform: rotateY(180deg);
    background:
        linear-gradient(180deg, rgba(26, 34, 73, 0.84), rgba(16, 21, 52, 0.94)),
        var(--tx-ice) center / cover,
        var(--navy);
    background:
        linear-gradient(180deg, rgba(26, 34, 73, 0.84), rgba(16, 21, 52, 0.94)),
        var(--tx-ice-set) center / cover,
        var(--navy);
    color: var(--cream);
    text-align: center;
}

.bc-qr {
    width: min(100%, 200px);
    aspect-ratio: 1;
    border-radius: 14px;
    background: #fff;
}

.bc-qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.bc-back .bc-qr {
    width: clamp(150px, 42%, 200px);
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.7);
}

.bc-back-text {
    margin: 0;
    font-family: var(--f-head);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ice);
}

.bc-back-url {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(246, 239, 225, 0.75);
}

/* Reflet de glace qui glisse lentement sur la carte */
.bc-sheen {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 48%, rgba(223, 243, 251, 0.25) 52%, transparent 62%) 0 0 / 260% 100% no-repeat;
    mix-blend-mode: soft-light;
    animation: bc-sheen 7s ease-in-out infinite;
}

.bc-back .bc-sheen {
    mix-blend-mode: screen;
    opacity: 0.35;
}

@keyframes bc-sheen {
    0% { background-position: 140% 0; }
    55%, 100% { background-position: -140% 0; }
}

.bc-face > *:not(.bc-sheen) {
    position: relative;
    z-index: 2;
}

/* Colonne d'actions */
.bc-desk-qr {
    display: none;
}

@media (min-width: 860px) {
    .bc-desk-qr {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.2rem;
        padding: 0.9rem;
        border: 1px solid rgba(37, 48, 95, 0.18);
        border-radius: 14px;
        background: #fff;
    }

    .bc-desk-qr .bc-qr {
        flex: none;
        width: 128px;
    }

    .bc-desk-qr p {
        margin: 0;
        font-size: 0.95rem;
        color: var(--ink-2);
    }
}

.bc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.bc-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 58px;
    padding: 0.7rem 0.9rem;
    border: 2px solid var(--navy);
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    font-family: var(--f-head);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.bc-action .icon {
    flex: none;
    width: 22px;
    height: 22px;
}

.bc-action:hover {
    background: var(--ice-2);
    transform: translateY(-1px);
}

.bc-action--main {
    grid-column: 1 / -1;
    border-color: var(--red);
    background: var(--red);
    color: #fff;
    font-size: 1.15rem;
}

.bc-action--main:hover {
    background: var(--red-700);
}

.bc-action:focus-visible,
.bc-card:focus-visible {
    outline: 3px solid var(--ice-3);
}

.bc-status {
    min-height: 1.4em;
    margin: 0.6rem 0 0;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
}

@media (max-width: 480px) {
    .bc-face {
        min-height: 0;
    }

    .bc-badge {
        font-size: 0.74rem;
    }

    .bc-action {
        font-size: 0.92rem;
        letter-spacing: 0.03em;
    }
}

/* Réduire les animations : pas de reflet, retournement instantané */
@media (prefers-reduced-motion: reduce) {
    .bc-sheen {
        display: none;
    }

    .bc-card,
    .bc-action {
        transition: none;
    }
}
/* 12 — FAQ, FORMULAIRES, TEXTE LONG ---------------------------------- */
.faq details {
    margin-bottom: 1rem;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.3rem;
    font-family: var(--f-head);
    font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-family: var(--f-body);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details > div {
    padding: 0 1.3rem 1.2rem;
    color: var(--ink-2);
}

.faq details > div p:last-child {
    margin-bottom: 0;
}

.form {
    display: grid;
    gap: 1.1rem;
    padding: clamp(1.2rem, 0.8rem + 2vw, 2.2rem);
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

@media (min-width: 700px) {
    .form {
        grid-template-columns: 1fr 1fr;
    }

    .form .full {
        grid-column: 1 / -1;
    }
}

.form-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: -0.2rem 0 0.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px dashed var(--line);
    font-family: var(--f-sign);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    font-family: var(--f-head);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.7rem 0.9rem;
    border: 2px solid var(--navy);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(226, 31, 54, 0.18);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.status {
    padding: 1rem 1.2rem;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    font-weight: 600;
}

.status--ok {
    background: #e2f3e6;
}

.status--err {
    background: #fde4e6;
}

.contact-lines {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-lines li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.contact-lines .icon {
    width: 28px;
    height: 28px;
    color: var(--red);
}

.contact-lines small {
    display: block;
    font-family: var(--f-head);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.contact-lines a,
.contact-lines strong,
.contact-lines button {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--f-head);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: left;
    text-decoration: none;
    color: var(--navy);
    cursor: pointer;
}

.contact-lines button {
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 4px;
}

.prose {
    font-size: 1.1rem;
    line-height: 1.75;
}

.prose h2 {
    margin-top: 1.7em;
    font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem);
    color: var(--navy);
}

.prose h3 {
    margin-top: 1.4em;
    font-size: 1.5rem;
    color: var(--navy);
}

.prose a {
    color: var(--red);
}

.prose > :first-child {
    margin-top: 0;
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--navy);
}

.post-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 2.5px solid var(--navy);
}

.post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.2rem 1.3rem 1.4rem;
}

.post-card .plate {
    align-self: flex-start;
    margin-bottom: 0.9rem;
}

.post-card h3 {
    font-size: 1.6rem;
    color: var(--navy);
}

.post-card p {
    color: var(--ink-2);
}

.post-card .more {
    align-self: flex-start;
    margin-top: auto;
}

/* 13 — BOUTIQUE (classes de js/catalogue.js) ------------------------- */
.shop-tools {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: clamp(1rem, 0.7rem + 1.4vw, 1.6rem);
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.shop-departments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-department {
    min-height: 44px;
    padding: 0.45rem 1.15rem;
    border: 2.5px solid var(--navy);
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    font-family: var(--f-head);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.shop-department.is-active {
    background: var(--navy);
    color: var(--cream);
}

.shop-controls {
    display: grid;
    gap: 0.8rem;
}

@media (min-width: 700px) {
    .shop-controls {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .shop-controls {
        grid-template-columns: 1.8fr repeat(4, 1fr);
    }
}

.shop-controls [hidden] {
    display: none;
}

.shop-filter-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: var(--fs-sm);
    color: var(--ink-2);
}

.shop-filter-footer p {
    max-width: 75ch;
    margin: 0;
}

.shop-reset {
    border: 0;
    background: none;
    font-weight: 600;
    color: var(--red);
    text-decoration: underline;
    cursor: pointer;
}

.shop-results {
    margin-bottom: 1rem;
    font-family: var(--f-head);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
    gap: 1.25rem;
}

.shop-product {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.shop-photo {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-bottom: 2px dashed var(--line);
    background: #fff;
}

.shop-photo > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.8rem;
}

.shop-photo img.shop-image-fallback,
.shop-placeholder img {
    width: 64px;
    height: 64px;
    padding: 0;
    opacity: 0.5;
}

.shop-placeholder {
    display: grid;
    place-items: center;
    gap: 0.4rem;
    font-family: var(--f-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.shop-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--navy);
    color: var(--cream);
    font-family: var(--f-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
}

.shop-card-body h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--navy);
}

.shop-card-body p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-2);
}

.shop-sku {
    font-family: var(--f-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink-2);
}

.shop-compat-note {
    font-size: 0.85rem !important;
    font-weight: 600;
}

.shop-card-badge {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.12rem 0.6rem;
    border: 1.5px solid var(--navy);
    border-radius: 999px;
    font-family: var(--f-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.shop-price,
.shop-price-amount {
    font-family: var(--f-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
}

.shop-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    min-height: 46px;
    padding: 0.5rem 1.1rem;
    border: 2.5px solid var(--navy);
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-family: var(--f-head);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--navy);
}

.shop-primary:disabled {
    background: #d6d0c3;
    color: #5b584f;
    cursor: not-allowed;
    box-shadow: none;
}

.shop-wide {
    width: 100%;
}

.shop-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.shop-order-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .shop-order-grid {
        grid-template-columns: 1fr 1.3fr;
    }
}

.shop-order-grid--single {
    grid-template-columns: minmax(0, 860px) !important;
}

.shop-order-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    border: 2.5px solid var(--navy);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.shop-order-card h3 {
    margin: 0;
    color: var(--navy);
}

.shop-order-card p {
    color: var(--ink-2);
}

.shop-step {
    font-family: var(--f-sign);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--red);
}

.shop-mini-summary {
    padding: 0.8rem;
    border: 1.5px dashed var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 0.92rem;
    white-space: pre-line;
}

.shop-hint,
.shop-note {
    font-size: var(--fs-sm);
    color: var(--ink-2);
}

.shop-failure {
    color: var(--red-700);
    font-weight: 600;
}

.shop-floating {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
}

@media (max-width: 760px) {
    .shop-floating {
        bottom: calc(66px + 1rem);
    }
}

.shop-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(17, 23, 55, 0.75);
}

.shop-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    display: flex;
    flex-direction: column;
    width: min(100vw, 430px);
    border-left: 3px solid var(--navy);
    background: var(--cream);
    color: var(--ink);
}

.shop-drawer[hidden],
.shop-drawer-backdrop[hidden] {
    display: none;
}

.shop-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.3rem;
    border-bottom: 2.5px solid var(--navy);
    background: var(--navy);
    color: var(--cream);
}

.shop-drawer-head h2 {
    margin: 0;
    font-size: 1.8rem;
}

.shop-icon-button {
    width: 44px;
    height: 44px;
    border: 2px solid var(--cream);
    border-radius: 50%;
    background: transparent;
    color: var(--cream);
    cursor: pointer;
}

.shop-drawer-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.3rem;
}

.shop-drawer-bottom {
    padding: 1rem 1.3rem;
    border-top: 2.5px solid var(--navy);
    font-size: var(--fs-sm);
}

.shop-cart-row {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1.5px dashed var(--line);
}

.shop-cart-title {
    display: block;
}

.shop-cart-sku {
    font-size: 0.8rem;
    color: var(--ink-2);
}

.shop-qty {
    display: inline-flex;
    margin-top: 0.4rem;
    overflow: hidden;
    border: 2px solid var(--navy);
    border-radius: 999px;
}

.shop-qty button {
    width: 38px;
    border: 0;
    background: var(--paper);
    cursor: pointer;
}

.shop-qty input {
    width: 48px;
    border: 0;
    border-inline: 2px solid var(--navy);
    text-align: center;
}

.shop-remove {
    display: block;
    margin-top: 0.3rem;
    border: 0;
    background: none;
    color: var(--red);
    text-decoration: underline;
    cursor: pointer;
}

/* 14 — PIED DE PAGE, BARRE D'APPEL ----------------------------------- */
.site-footer {
    background: var(--navy-950);
    color: rgba(246, 239, 225, 0.78);
    font-size: 0.98rem;
}

.site-footer > .stitch {
    background-color: var(--navy-950);
}

.footer-cta {
    display: grid;
    gap: 0.4rem 2rem;
    align-items: center;
    padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem);
    border-bottom: 1px solid rgba(246, 239, 225, 0.12);
}

@media (min-width: 900px) {
    .footer-cta {
        grid-template-columns: auto 1fr auto;
    }
}

.footer-cta-title {
    margin: 0;
    font-family: var(--f-west);
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
    color: var(--amber);
}

.footer-cta p:not(.footer-cta-title) {
    margin: 0;
    max-width: 48ch;
}

.footer-phone {
    font-family: var(--f-sign);
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
    text-decoration: none;
    color: var(--cream);
}

.footer-phone:hover {
    color: var(--amber);
}

.footer-grid {
    display: grid;
    gap: 2.2rem;
    padding-block: 3rem;
}

@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

.footer-brand img {
    width: 110px;
    margin-bottom: 1rem;
    padding: 6px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 4px 4px 0 var(--red);
}

.footer-motto {
    font-family: var(--f-west);
    font-size: 1.25rem;
    color: var(--cream);
}

.site-footer h2 {
    margin-bottom: 1rem;
    font-family: var(--f-sign);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--aqua);
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--cream);
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact .icon {
    color: var(--red);
}

.footer-legal {
    padding-block: 1.6rem 2rem;
    border-top: 1px solid rgba(246, 239, 225, 0.12);
    font-size: 0.85rem;
    line-height: 1.55;
}

.footer-legal p {
    max-width: 115ch;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 1rem;
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.callbar {
    display: none;
}

@media (max-width: 760px) {
    .callbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 3px solid var(--navy);
        background: var(--navy);
    }

    .callbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 60px;
        font-family: var(--f-head);
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .callbar a:first-child {
        background: var(--red);
        color: #fff;
    }

    .callbar a:last-child {
        background: var(--cream);
        color: var(--navy);
    }

    .site-footer {
        padding-bottom: 64px;
    }
}

/* 15 — MOUVEMENT, IMPRESSION ----------------------------------------- */
.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .callbar,
    .shop-floating,
    .footer-cta {
        display: none !important;
    }

    body,
    .page-hero,
    .section--navy {
        background: #fff !important;
        color: #000 !important;
    }
}

/* =====================================================================
   THÈME « RODÉO SUR GLACE » (toutes les pages : body.theme-west, inc/header.php)
   Country/western + glace, dans les couleurs de la marque :
   marine, rouge, crème, avec des touches de bleu glace.
   Matières : bois de grange givré, corde, cuir surpiqué, molette d'éperon.
   Ces règles complètent et remplacent les styles de base ci-dessus.
   ===================================================================== */

.theme-west {
    --ice: #9fd6ef;
    --ice-2: #dff3fb;
    --ice-3: #4f9fc6;
    --leather: #8a5a33;
    --leather-2: #5f3b1e;
    --stitch: #f3dfb8;
    --rope: url("/assets/ui/rope.svg");
    --rope-v: url("/assets/ui/rope-v.svg");
    --rowel: url("/assets/ui/rowel.svg");
    --frost: url("/assets/ui/frost.svg");
    /* Fil du bois (bruit étiré) et grain du cuir */
    --woodgrain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='260'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .16' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .3 -.11'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
    --leathergrain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E");
    --planks: repeating-linear-gradient(180deg, transparent 0 70px, rgba(0, 0, 0, 0.42) 70px 72px, rgba(255, 255, 255, 0.05) 72px 73px);
    --wood-navy:
        var(--woodgrain),
        var(--planks),
        linear-gradient(180deg, #2c3870 0%, #222c5c 45%, #1a2249 100%);
    --wood-red:
        var(--woodgrain),
        var(--planks),
        linear-gradient(180deg, #c81d31 0%, #a8182a 60%, #8d1424 100%);
}

/* ---------------------------------------------------------------------
   Motifs communs
   --------------------------------------------------------------------- */

/* Molette d'éperon bleu glace (remplace l'étincelle) */
.theme-west .kicker::before,
.theme-west .checks li::before {
    background: linear-gradient(135deg, #ffffff 0%, var(--ice) 45%, var(--ice-3) 100%);
    -webkit-mask-image: var(--rowel);
    mask-image: var(--rowel);
    filter: none;
}

.theme-west .kicker {
    font-family: var(--f-head);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.theme-west .kicker::before {
    width: 1.25em;
    height: 1.25em;
    background: linear-gradient(135deg, #ffffff 0%, var(--ice) 40%, var(--ice-3) 100%);
    filter: drop-shadow(0 0 0.5px var(--navy)) drop-shadow(0 1px 0 rgba(37, 48, 95, 0.6));
}

/* Petite corde sous les titres de section */
.theme-west .section-head h2::after {
    content: "";
    display: block;
    width: 132px;
    height: 14px;
    margin-top: 0.4em;
    background: var(--rope) 0 0 / 32px 14px repeat-x;
    border-radius: 7px;
}

.theme-west .section-head--center h2::after {
    margin-inline: auto;
}

/* Bande de corde (en-tête, pied de page) */
.theme-west .site-header::after {
    height: 14px;
    background: var(--rope) 0 0 / 32px 14px repeat-x;
    filter: drop-shadow(0 3px 3px rgba(17, 23, 55, 0.35));
}

.theme-west .brand-text small {
    color: var(--ice);
}

.theme-west .site-footer > .stitch {
    height: 14px;
    background: var(--rope) 0 0 / 32px 14px repeat-x;
}

/* Écusson en cuir surpiqué */
.patch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.55em 1.15em;
    border-radius: 9px;
    background: var(--leathergrain), radial-gradient(ellipse at 30% 20%, #b07a47, var(--leather) 55%, var(--leather-2));
    box-shadow: 0 0 0 2px var(--leather-2), 0 0 0 4px var(--ice), 0 6px 14px -6px rgba(0, 0, 0, 0.6);
    color: var(--stitch);
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.patch::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1.5px dashed rgba(243, 223, 184, 0.75);
    border-radius: 6px;
    pointer-events: none;
}

.patch--ice {
    background: var(--leathergrain), radial-gradient(ellipse at 30% 20%, #ffffff, var(--ice-2) 50%, var(--ice));
    box-shadow: 0 0 0 2px var(--ice-3), 0 0 0 4px var(--leather), 0 6px 14px -6px rgba(0, 0, 0, 0.6);
    color: var(--navy);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.patch--ice::before {
    border-color: rgba(37, 48, 95, 0.45);
}

.patch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.3rem;
}

/* Lettrage western givré */
.frost-slogan {
    margin: 0 0 0.7rem;
    font-family: var(--f-west);
    font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.35rem);
    line-height: 1.08;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px) 0 0 / 9px 7px,
        linear-gradient(180deg, #ffffff 0%, #eaf8ff 38%, var(--ice) 58%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #0e1433) drop-shadow(0 0 14px rgba(159, 214, 239, 0.45));
}

.ice-word {
    background: linear-gradient(180deg, #ffffff 0%, var(--ice-2) 40%, var(--ice) 75%, #c9ecfb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Bouton glace */
.btn--ice {
    background: linear-gradient(180deg, #ffffff 0%, var(--ice-2) 60%, #c4e8f8 100%);
    color: var(--navy);
}

/* ---------------------------------------------------------------------
   01 · Accueil : enseigne de grange givrée + surfaceuse sur la glace
   --------------------------------------------------------------------- */
.theme-west .sc-zam {
    display: none; /* remplacée par la grande surfaceuse */
}

/* Image de fond : le texte est sur l'enseigne en bois, le voile peut rester léger
   pour garder le ciel (soleil, aurores boréales) bien lumineux. */
.theme-west .scene-veil {
    background: linear-gradient(180deg, rgba(9, 12, 38, 0.32) 0%, rgba(9, 12, 38, 0) 28%, rgba(9, 12, 38, 0) 78%, rgba(9, 12, 38, 0.2) 100%);
}

/* L'accueil tient dans le premier écran : enseigne + surfaceuse visibles tout de suite */
.west-hero {
    min-height: clamp(640px, calc(100svh - var(--header-h)), 940px);
}

.west-hero sup,
.west-kicker sup {
    letter-spacing: 0;
}

.west-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 1;
    gap: 1.5rem;
    align-content: space-between;
    padding-top: clamp(2.6rem, 1.8rem + 2.4vw, 3.4rem);
}

@media (min-width: 1000px) {
    .west-hero-grid {
        grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
        padding-bottom: 1rem;
    }
}

.west-sign {
    position: relative;
    max-width: 690px;
    padding: clamp(1.8rem, 1.3rem + 1.4vw, 2.3rem) clamp(1.3rem, 0.8rem + 2vw, 2.4rem) clamp(1.2rem, 1rem + 1vw, 1.6rem);
    border-radius: 12px;
    background: var(--wood-navy);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 -24px 40px rgba(5, 8, 30, 0.45),
        0 0 0 3px #141a3a,
        0 34px 60px -26px rgba(3, 5, 20, 0.9);
    color: var(--cream);
}

/* Les deux cordes qui suspendent l'enseigne */
.west-sign::before,
.west-sign::after {
    content: "";
    position: absolute;
    bottom: 100%;
    width: 14px;
    height: clamp(2.6rem, 1.8rem + 2.4vw, 3.4rem);
    background: var(--rope-v) 0 0 / 14px 32px repeat-y;
    filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.4));
}

.west-sign::before { left: 12%; }
.west-sign::after { right: 12%; }

/* Croûte de givre et glaçons sur le dessus de l'enseigne */
.west-frost {
    position: absolute;
    left: -3px;
    right: -3px;
    top: -6px;
    height: 34px;
    border-radius: 12px 12px 0 0;
    background: var(--frost) 0 0 / 240px 34px repeat-x;
    filter: drop-shadow(0 3px 2px rgba(5, 8, 30, 0.35));
    pointer-events: none;
}

.west-kicker {
    display: flex;
    align-items: center;
    gap: 0.55em;
    margin: 0 0 0.6rem;
    font-family: var(--f-head);
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ice);
}

.west-kicker::before {
    content: "";
    flex: none;
    width: 1.2em;
    height: 1.2em;
    background: linear-gradient(135deg, #ffffff, #ff8796 45%, var(--red));
    -webkit-mask: var(--rowel) center / contain no-repeat;
    mask: var(--rowel) center / contain no-repeat;
}

.west-title {
    margin-bottom: 0.3em;
    font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.7rem);
    line-height: 0.95;
    color: var(--cream);
    text-shadow: 0 3px 0 rgba(5, 8, 30, 0.55);
}

.west-title .ice-word {
    filter: drop-shadow(0 3px 0 rgba(5, 8, 30, 0.55));
    text-shadow: none;
}

.west-sign .lead {
    max-width: 50ch;
    margin-bottom: 0;
    color: rgba(246, 239, 225, 0.9);
}

.west-sign .btn-row {
    margin-top: 1.2rem;
}

.west-sign .patch-row {
    margin-bottom: 1rem;
}

.west-sign .btn {
    border-color: #0e1433;
    box-shadow: 4px 4px 0 #0e1433;
}

.west-sign {
    z-index: 2;
}

/* Ligne de chiffres sous les boutons, séparée par une corde */
.west-stats {
    margin: 1.3rem 0 0;
    padding-top: 1.1rem;
    background: var(--rope) 0 0 / 32px 14px repeat-x;
    font-family: var(--f-head);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(246, 239, 225, 0.82);
}

.west-stats strong {
    font-family: var(--f-west);
    font-weight: 400;
    font-size: 1.25em;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--ice-2);
    text-shadow: 0 0 10px rgba(159, 214, 239, 0.5);
}

/* Chiffres marqués au fer, séparés par une corde */
.theme-west .mini-board {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-top: 1.3rem;
    padding: 1rem 0 0;
    border-radius: 0;
    background: var(--rope) 0 0 / 32px 14px repeat-x;
    box-shadow: none;
}

.theme-west .mini-board::before {
    content: none;
}

.theme-west .mini-score {
    min-width: 0;
    padding: 0.55rem 0.3rem 0.2rem;
    background: none;
    text-align: center;
}

.theme-west .mini-score + .mini-score {
    border-left: 1.5px dashed rgba(246, 239, 225, 0.25);
}

.theme-west .mini-score .score-value {
    min-width: 0;
    padding: 0;
    background: none;
    font-family: var(--f-west);
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
    color: var(--ice-2);
    text-shadow: 0 0 12px rgba(159, 214, 239, 0.55), 0 2px 0 #0e1433;
}

.theme-west .mini-score .score-label {
    font-size: 0.8rem;
    color: rgba(246, 239, 225, 0.8);
}

/* La surfaceuse, posée sur la glace, avec son sillage mouillé */
.west-machine {
    position: relative;
    align-self: end;
    justify-self: center;
    width: min(100%, 560px);
    margin-bottom: -0.5rem;
}

.west-machine::before {
    content: "";
    position: absolute;
    right: 82%;
    bottom: 5.4%;
    width: min(48vw, 520px);
    height: 4%;
    border-radius: 999px 0 0 999px;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 65%, rgba(223, 243, 252, 0.7) 100%);
    -webkit-mask: linear-gradient(90deg, transparent, #000 70%);
    mask: linear-gradient(90deg, transparent, #000 70%);
    filter: blur(1.5px);
    animation: west-trail 7s ease-in-out infinite;
}

@keyframes west-trail {
    50% { opacity: 0.6; }
}

.resurfacer {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 18px 18px rgba(5, 8, 30, 0.35));
}

/* Cellulaire : la scène est une bande au bas de l'accueil (site.css);
   la surfaceuse roule sur la glace de cette bande, sous l'enseigne. */
@media (max-width: 760px) {
    .west-hero {
        min-height: 0;
        padding-bottom: clamp(300px, 82vw, 400px);
    }

    .west-hero-grid {
        position: static; /* la surfaceuse se place par rapport à l'accueil entier */
    }

    /* Le haut de l'image se fond dans le marine (pas de ligne nette sur les côtés de l'enseigne) */
    .theme-west .scene-art {
        -webkit-mask: linear-gradient(transparent, #000 22%);
        mask: linear-gradient(transparent, #000 22%);
    }

    .west-machine {
        position: absolute;
        left: 50%;
        bottom: 6px;
        width: min(92%, 460px);
        margin: 0;
        transform: translateX(-46%);
    }

    .west-sign {
        text-align: left;
    }

    .west-sign .btn-row .btn {
        flex: 1 1 100%;
    }
}

@media (min-width: 1000px) {
    /* L'enseigne en haut à gauche, la surfaceuse en bas à droite, sur la glace */
    .west-hero-grid {
        grid-template-rows: 1fr;
    }

    .west-sign {
        align-self: start;
    }

    .west-machine {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        justify-self: end;
        width: min(100%, 640px);
        margin-bottom: 0.5rem;
    }
}

.rs-beam {
    opacity: 0;
}

html[data-scene="night"] .rs-beam {
    opacity: 1;
}

@media (prefers-color-scheme: dark) {
    html:not([data-scene="day"]) .rs-beam {
        opacity: 1;
    }
}

.rs-beacon,
.rs-beacon-glow {
    animation: rs-beacon 1.8s ease-in-out infinite;
}

@keyframes rs-beacon {
    50% { opacity: 0.35; }
}

.rs-light {
    animation: rs-light 5s ease-in-out infinite;
}

@keyframes rs-light {
    0%, 80%, 100% { fill: #fff6d0; }
    88% { fill: #ffffff; }
}

/* ---------------------------------------------------------------------
   Bandeau « surfaceuses à glace seulement »
   --------------------------------------------------------------------- */
.floor-band {
    position: relative;
    padding-block: 1.6rem;
    background: var(--paper);
}

.floor-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    z-index: 2;
    height: 14px;
    background: var(--rope) 0 0 / 32px 14px repeat-x;
}

.theme-west .notice--floor {
    align-items: center;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, var(--ice-2));
    box-shadow: inset 0 0 0 2px var(--ice), inset 0 0 0 4px #fff, 0 0 0 2.5px var(--navy);
}

.theme-west .notice--floor .icon {
    flex: none;
    width: 46px;
    height: 46px;
    padding: 9px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--ice);
}

.theme-west .notice--floor a {
    color: var(--navy);
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   Cartes « bon de travail » : en-tête en cuir surpiqué, médaillon glace
   --------------------------------------------------------------------- */
.theme-west .order-head {
    position: relative;
    border-bottom: 0;
    background: var(--leathergrain), linear-gradient(180deg, #9b6739, var(--leather-2));
    color: var(--stitch);
    font-family: var(--f-head);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.theme-west .order-head::after {
    content: "";
    position: absolute;
    inset: 4px 6px;
    border: 1.5px dashed rgba(243, 223, 184, 0.6);
    border-radius: 7px;
    pointer-events: none;
}

.theme-west .order-head span:last-child {
    color: var(--ice);
}

.theme-west .order-icon {
    background: radial-gradient(circle at 35% 30%, #ffffff, var(--ice-2) 45%, var(--ice));
    box-shadow: 0 0 0 2.5px var(--navy), inset 0 -4px 8px rgba(79, 159, 198, 0.45);
    color: var(--navy);
}

/* ---------------------------------------------------------------------
   Fiche de service et tableau : cadre de corde, bois marine, chiffres glacés
   --------------------------------------------------------------------- */
.theme-west .board {
    padding-top: 2.6rem;
    border: 13px solid transparent;
    border-image: url("/assets/ui/rope-frame.svg") 14 round;
    border-radius: 0;
    background: var(--wood-navy);
    background-clip: padding-box;
    box-shadow: 0 30px 50px -28px rgba(5, 8, 30, 0.85);
}

.theme-west .board::before {
    left: -2px;
    right: -2px;
    top: -4px;
    width: auto;
    height: 30px;
    transform: none;
    background: var(--frost) 0 0 / 240px 34px repeat-x;
    filter: drop-shadow(0 2px 1px rgba(5, 8, 30, 0.3));
}

.theme-west .board-title {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    color: var(--ice-2);
    text-shadow: 0 2px 0 #0e1433, 0 0 14px rgba(159, 214, 239, 0.4);
}

.theme-west .board-spec dt {
    color: var(--ice);
}

.theme-west .score {
    border: 0;
    background: rgba(10, 14, 40, 0.45);
    box-shadow: inset 0 0 0 1.5px rgba(159, 214, 239, 0.22);
}

.theme-west .score-value {
    background: none;
    font-family: var(--f-west);
    color: var(--ice-2);
    text-shadow: 0 0 14px rgba(159, 214, 239, 0.6), 0 2px 0 #0e1433;
}

/* Marques : écussons */
.theme-west .brands li {
    border: 0;
    box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 5px var(--paper), inset 0 0 0 6.5px rgba(37, 48, 95, 0.35);
}

.theme-west .brands .is-main {
    background: var(--leathergrain), radial-gradient(ellipse at 30% 20%, #b07a47, var(--leather) 55%, var(--leather-2));
    box-shadow: 0 0 0 2px var(--leather-2), 0 0 0 4px var(--ice);
    position: relative;
}

.theme-west .brands .is-main::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1.5px dashed rgba(243, 223, 184, 0.7);
    border-radius: 8px;
}

.theme-west .brands .is-main strong,
.theme-west .brands .is-main span {
    color: var(--stitch);
}

/* ---------------------------------------------------------------------
   Étapes : numéros en écusson de cuir, reliés par une corde
   --------------------------------------------------------------------- */
.theme-west .steps li {
    padding-top: 1.9rem;
    border-top: 0;
    background: var(--rope) 0 26px / 32px 14px repeat-x;
}

.theme-west .steps li::before {
    position: relative;
    width: 62px;
    height: 62px;
    background: var(--leathergrain), radial-gradient(circle at 35% 30%, #b07a47, var(--leather) 55%, var(--leather-2));
    box-shadow: 0 0 0 3px var(--ice), 0 0 0 5px var(--navy), inset 0 0 0 5px var(--leather-2), inset 0 0 0 6.5px rgba(243, 223, 184, 0.75);
    color: var(--stitch);
    font-family: var(--f-west);
    font-size: 1.6rem;
    margin-top: -1.9rem;
}

/* ---------------------------------------------------------------------
   Sections marine : bois de grange givré
   --------------------------------------------------------------------- */
.theme-west .section--navy {
    background: var(--wood-navy);
    padding-top: calc(var(--section) + 1rem);
}

.theme-west .section--navy::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 34px;
    background: var(--frost) 0 0 / 240px 34px repeat-x;
}

.theme-west .section--navy .kicker {
    color: var(--ice);
}

.theme-west .section--navy .btn {
    box-shadow: 4px 4px 0 var(--red);
}

/* Panneau « bientôt » (location) en bois marine */
.theme-west .soon {
    background: var(--wood-navy);
}

.theme-west .soon-value {
    background: none;
    font-family: var(--f-west);
    color: var(--ice-2);
    text-shadow: 0 0 14px rgba(159, 214, 239, 0.6), 0 2px 0 #0e1433;
}

/* Témoignages : guillemet western bleu glace, surpiqûre intérieure */
.theme-west .quote {
    padding-top: 3rem;
}

.theme-west .quote::before {
    top: 0.12em;
    left: 0.4em;
    background: none;
    font-size: 3.6rem;
    color: var(--ice-3);
}

.theme-west .quote::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1.5px dashed rgba(37, 48, 95, 0.28);
    border-radius: 9px;
    pointer-events: none;
}

/* ---------------------------------------------------------------------
   Appel final : grange rouge givrée, encadrée de corde
   --------------------------------------------------------------------- */
.theme-west .cta-band {
    border: 14px solid transparent;
    border-image: url("/assets/ui/rope-frame.svg") 14 round;
    border-radius: 0;
    background: var(--wood-red);
    background-clip: padding-box;
    box-shadow: 0 34px 60px -30px rgba(17, 23, 55, 0.75);
    padding-top: clamp(2.6rem, 1.8rem + 3vw, 4rem);
}

.theme-west .cta-band::after {
    left: -2px;
    right: -2px;
    top: -4px;
    bottom: auto;
    width: auto;
    height: 34px;
    aspect-ratio: auto;
    z-index: 0;
    background: var(--frost) 0 0 / 240px 34px repeat-x;
    opacity: 1;
}

.theme-west .cta-band .kicker::before {
    background: linear-gradient(135deg, #ffffff, var(--ice-2));
}

.theme-west .cta-phone {
    font-family: var(--f-west);
    text-shadow: 0 3px 0 rgba(90, 10, 20, 0.6);
}

/* ---------------------------------------------------------------------
   Bandeau des pages intérieures : cadrage de l'image de l'accueil
   (ciel, projecteurs, ville), jour/nuit, assombri; sans animations.
   --------------------------------------------------------------------- */
.theme-west .page-hero {
    padding-block: clamp(2rem, 1.3rem + 2.6vw, 3.4rem) clamp(2.3rem, 1.6rem + 2.8vw, 3.8rem);
}

.theme-west .page-hero--photo {
    background: #121a48;
}

.page-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(14, 19, 52, 0.9) 0%, rgba(14, 19, 52, 0.74) 42%, rgba(14, 19, 52, 0.42) 100%),
        linear-gradient(180deg, rgba(14, 19, 52, 0.25), rgba(14, 19, 52, 0.55));
}

html[data-scene="night"] .page-hero--photo {
    background: #04071a;
}

html[data-scene="night"] .page-hero-shade {
    background:
        linear-gradient(90deg, rgba(4, 7, 26, 0.88) 0%, rgba(4, 7, 26, 0.66) 42%, rgba(4, 7, 26, 0.3) 100%),
        linear-gradient(180deg, rgba(4, 7, 26, 0.2), rgba(4, 7, 26, 0.55));
}

@media (prefers-color-scheme: dark) {
    html:not([data-scene="day"]) .page-hero--photo {
        background: #04071a;
    }

    html:not([data-scene="day"]) .page-hero-shade {
        background:
            linear-gradient(90deg, rgba(4, 7, 26, 0.88) 0%, rgba(4, 7, 26, 0.66) 42%, rgba(4, 7, 26, 0.3) 100%),
            linear-gradient(180deg, rgba(4, 7, 26, 0.2), rgba(4, 7, 26, 0.55));
    }
}

/* Cellulaire : le titre occupe toute la largeur, voile plus uniforme */
@media (max-width: 760px) {
    .page-hero-shade {
        background: linear-gradient(180deg, rgba(14, 19, 52, 0.72), rgba(14, 19, 52, 0.86)) !important;
    }

    html[data-scene="night"] .page-hero-shade {
        background: linear-gradient(180deg, rgba(4, 7, 26, 0.62), rgba(4, 7, 26, 0.84)) !important;
    }
}

@media (max-width: 760px) and (prefers-color-scheme: dark) {
    html:not([data-scene="day"]) .page-hero-shade {
        background: linear-gradient(180deg, rgba(4, 7, 26, 0.62), rgba(4, 7, 26, 0.84)) !important;
    }
}

.theme-west .page-hero h1 {
    max-width: 24ch;
    font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem);
    text-shadow: 0 3px 18px rgba(5, 8, 30, 0.75);
}

.theme-west .page-hero .crumbs {
    margin-bottom: 0.9rem;
}

.theme-west .page-hero .kicker {
    color: var(--ice);
}

.theme-west .page-hero .lead {
    color: rgba(246, 239, 225, 0.92);
    text-shadow: 0 2px 12px rgba(5, 8, 30, 0.8);
}

/* Bas du bandeau : corde au lieu des rayures, givre discret dessus */
.theme-west .page-hero::after {
    height: 14px;
    background: var(--rope) 0 0 / 32px 14px repeat-x;
    filter: drop-shadow(0 3px 3px rgba(17, 23, 55, 0.35));
}

/* Fil d'Ariane : molettes d'éperon bleu glace */
.theme-west .crumbs {
    color: rgba(246, 239, 225, 0.78);
}

.theme-west .crumbs li + li::before {
    background: linear-gradient(135deg, #ffffff, var(--ice));
    -webkit-mask: var(--rowel) center / contain no-repeat;
    mask: var(--rowel) center / contain no-repeat;
}

/* Les autres étoiles du site deviennent des molettes; les éclats sur la glace restent des étincelles */
.theme-west {
    --spark: url("/assets/ui/rowel.svg");
}

.theme-west .scene-fx {
    --spark: url("/assets/ui/spark.svg");
}

/* ---------------------------------------------------------------------
   Mouvement réduit
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .west-machine::before,
    .rs-beacon,
    .rs-beacon-glow,
    .rs-light {
        animation: none !important;
    }
}

@media print {
    .page-hero .scene-art,
    .page-hero-shade {
        display: none !important;
    }
}

/* Pied de page : bois de grange marine, titre en lettrage givré */
.theme-west .site-footer {
    background: var(--wood-navy);
}

.theme-west .footer-cta-title {
    background: linear-gradient(180deg, #ffffff 0%, #eaf8ff 38%, var(--ice) 62%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #0e1433);
}

.theme-west .footer-motto {
    color: var(--ice-2);
}
/* =====================================================================
   APERÇU « HAUT DE GAMME » (body.look-pro, accueil seulement pour l'instant)
   Moins d'effets, mieux placés : une seule collection d'icônes (Tabler),
   de vraies textures photo (givre, glace) au lieu des glaçons dessinés,
   pas d'étincelles, de halos ni de dégradés brillants.
   Sources et licences des photos : CREDITS.md
   ===================================================================== */
.look-pro {
    --tx-frost: url("/assets/textures/givre.jpg");
    --tx-frost-set: image-set(url("/assets/textures/givre.avif") type("image/avif"), url("/assets/textures/givre.webp") type("image/webp"), url("/assets/textures/givre.jpg") type("image/jpeg"));
    --tx-ice: url("/assets/textures/glace-sombre.jpg");
    --tx-ice-set: image-set(url("/assets/textures/glace-sombre.avif") type("image/avif"), url("/assets/textures/glace-sombre.webp") type("image/webp"), url("/assets/textures/glace-sombre.jpg") type("image/jpeg"));
    --hairline: rgba(159, 214, 239, 0.28);
}

/* Scène : on garde le reflet qui glisse sur la glace, sans étincelles ni halos */
.look-pro .fx-glint,
.look-pro .fx-halo {
    display: none;
}

.look-pro .fx-sheen {
    opacity: 0.55;
}

/* Surfaceuse : pas de glaçons dessinés ni de halo autour du gyrophare */
.look-pro .rs-frost,
.look-pro .rs-beacon-glow {
    display: none;
}

/* Enseigne : sans croûte de glaçons; titres en couleur unie */
.look-pro .west-frost {
    display: none;
}

.look-pro .west-sign {
    border-top: 0;
}

.look-pro .frost-slogan,
.look-pro .ice-word,
.look-pro .footer-cta-title {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--ice);
    filter: none;
}

.look-pro .frost-slogan {
    color: var(--ice-2);
    text-shadow: 0 2px 0 rgba(5, 8, 30, 0.5);
}

.look-pro .west-title .ice-word {
    filter: none;
    text-shadow: 0 3px 0 rgba(5, 8, 30, 0.55);
}

/* Étiquettes : un simple filet au lieu de l'étoile */
.look-pro .kicker::before,
.look-pro .west-kicker::before {
    width: 1.6em;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    -webkit-mask: none;
    mask: none;
    filter: none;
}

/* Listes : coche Tabler */
.look-pro .checks li::before {
    background: var(--red);
    -webkit-mask: url("/assets/ui/check.svg") center / contain no-repeat;
    mask: url("/assets/ui/check.svg") center / contain no-repeat;
    filter: none;
}

.look-pro .section--navy .checks li::before,
.look-pro .board .checks li::before {
    background: var(--ice);
}

/* Fil d'Ariane : chevron */
.look-pro .crumbs li + li::before {
    background: currentColor;
    -webkit-mask: url("/assets/ui/chevron.svg") center / contain no-repeat;
    mask: url("/assets/ui/chevron.svg") center / contain no-repeat;
}

/* Corde : seulement sous le menu et au pied de page (repères western), pas sous chaque titre */
.look-pro .section-head h2::after {
    content: none;
}

.look-pro .floor-band::after {
    height: 1px;
    bottom: 0;
    background: rgba(37, 48, 95, 0.15);
}

/* Boutons et écussons glace : couleur unie, pas de dégradé brillant */
.look-pro .btn--ice {
    background: var(--ice-2);
}

.look-pro .patch--ice {
    background: var(--ice-2);
}

.look-pro .order-icon {
    background: var(--ice-2);
    box-shadow: 0 0 0 2px var(--navy);
}

/* Mention « surfaceuses à glace seulement » : vraie texture de givre, voilée pour la lisibilité */
.look-pro .notice--floor {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.82) 60%, rgba(255, 255, 255, 0.55) 100%),
        var(--tx-frost) center / cover;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.82) 60%, rgba(255, 255, 255, 0.55) 100%),
        var(--tx-frost-set) center / cover;
    box-shadow: 0 0 0 1.5px var(--navy);
}

/* Sections marine et tableau : vraie glace sombre sous un voile marine, sans glaçons dessinés */
.look-pro .section--navy,
.look-pro .board {
    background:
        linear-gradient(180deg, rgba(26, 34, 73, 0.86), rgba(20, 27, 60, 0.92)),
        var(--tx-ice) center / cover;
    background:
        linear-gradient(180deg, rgba(26, 34, 73, 0.86), rgba(20, 27, 60, 0.92)),
        var(--tx-ice-set) center / cover;
}

.look-pro .section--navy::before,
.look-pro .board::before {
    content: none;
}

.look-pro .section--navy {
    padding-top: var(--section);
}

.look-pro .board {
    padding-top: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
    border: 1px solid var(--hairline);
    border-image: none;
    border-radius: 14px;
    background-clip: border-box;
}

.look-pro .board-title,
.look-pro .score-value,
.look-pro .soon-value {
    text-shadow: 0 2px 0 rgba(5, 8, 30, 0.6);
}

.look-pro .score {
    box-shadow: inset 0 0 0 1px var(--hairline);
}

/* Étapes : filet fin au lieu de la corde */
.look-pro .steps li {
    background: linear-gradient(rgba(37, 48, 95, 0.22), rgba(37, 48, 95, 0.22)) 0 30px / 100% 1px no-repeat;
}

/* Témoignages : sans surpiqûre intérieure */
.look-pro .quote::after {
    content: none;
}

/* Appel final : rouge uni sur vraie texture de glace, sans corde ni glaçons */
.look-pro .cta-band {
    border: 0;
    border-image: none;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(204, 28, 48, 0.9), rgba(160, 20, 36, 0.94)),
        var(--tx-ice) center / cover;
    background:
        linear-gradient(180deg, rgba(204, 28, 48, 0.9), rgba(160, 20, 36, 0.94)),
        var(--tx-ice-set) center / cover;
    background-clip: border-box;
}

.look-pro .cta-band::after {
    content: none;
}

.look-pro .cta-band .kicker::before {
    background: currentColor;
}

/* Pied de page : vraie glace sombre au lieu du bois dessiné */
.look-pro .site-footer {
    background:
        linear-gradient(180deg, rgba(16, 21, 52, 0.92), rgba(12, 16, 42, 0.96)),
        var(--tx-ice) center / cover;
    background:
        linear-gradient(180deg, rgba(16, 21, 52, 0.92), rgba(12, 16, 42, 0.96)),
        var(--tx-ice-set) center / cover;
}
/* Typo : le lettrage western (Rye) réservé au slogan; chiffres et titres de panneau en caractères nets */
.look-pro .board-title,
.look-pro .score-value,
.look-pro .soon-value,
.look-pro .cta-phone {
    font-family: var(--f-head);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.look-pro .board-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
    color: var(--ice);
}

.look-pro .order-icon .icon {
    width: 26px;
    height: 26px;
}
.look-pro .score-value {
    display: inline-flex;
    justify-content: center;
    white-space: nowrap;
}

.look-pro .soon {
    background:
        linear-gradient(180deg, rgba(26, 34, 73, 0.84), rgba(20, 27, 60, 0.92)),
        var(--tx-ice) center / cover;
    background:
        linear-gradient(180deg, rgba(26, 34, 73, 0.84), rgba(20, 27, 60, 0.92)),
        var(--tx-ice-set) center / cover;
}
.look-pro .quote::before {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.4rem;
    line-height: 1;
}
.look-pro .west-stats strong {
    font-family: var(--f-head);
    font-weight: 800;
}
/* Étincelles décoratives dans les en-têtes de cartes : retirées */
.look-pro .spark {
    display: none;
}

/* Barre du haut : « Contactez-moi » (le lien Contact du menu fait doublon) */
.nav-menu-contact {
    display: none;
}
/* « Contactez-moi » toujours visible dans la barre du haut, même avec le menu hamburger */
.nav-tools .nav-call {
    display: inline-flex;
}

.nav-call-short {
    display: none;
}

@media (max-width: 560px) {
    .nav-call-long {
        display: none;
    }

    .nav-call-short {
        display: inline;
    }

    .nav-tools .nav-call {
        padding-inline: 0.8rem;
    }
}

@media (max-width: 400px) {
    .nav-tools .nav-call .icon {
        display: none;
    }
}
/* Cellulaire : barre du haut compacte (logo, EN, Contact, menu tiennent sur 360 px) */
@media (max-width: 560px) {
    .nav {
        gap: 0.5rem;
    }

    .nav-tools {
        gap: 0.4rem;
    }

    .brand {
        gap: 0.5rem;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-text strong {
        font-size: 1.1rem;
    }

    .lang-link {
        min-width: 38px;
        min-height: 38px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .nav-tools .nav-call {
        min-height: 38px;
        padding: 0.45rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    .brand-text strong {
        font-size: 1rem;
    }
}
.bizcard:focus,
.bizcard:focus-visible {
    outline: none;
}

@media (max-width: 859px) {
    .bizcard .bc-layout {
        padding-top: 2.6rem;
    }
}

/* Enseigne de l'accueil : vrai bois de grange (photo) peint marine — remplace le bois dessiné */
.look-pro .west-sign {
    background:
        linear-gradient(180deg, rgba(37, 48, 95, 0.84) 0%, rgba(27, 36, 76, 0.9) 100%),
        url("/assets/textures/bois-grange.jpg") center / cover;
    background:
        linear-gradient(180deg, rgba(37, 48, 95, 0.84) 0%, rgba(27, 36, 76, 0.9) 100%),
        image-set(url("/assets/textures/bois-grange.avif") type("image/avif"), url("/assets/textures/bois-grange.webp") type("image/webp"), url("/assets/textures/bois-grange.jpg") type("image/jpeg")) center / cover;
}
/* Page courte de la carte (/carte, /en/card) : carte affichée directement */
.card-page {
    padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}

.bizcard--page {
    max-width: 1000px;
    margin-inline: auto;
    padding: clamp(1rem, 0.6rem + 2vw, 2.2rem);
    border: 3px solid var(--navy);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.bizcard--page .bc-layout {
    padding-top: 0;
}

/* Sur la page courte, « Ajouter à mes contacts » passe en premier */
.bizcard--page .bc-action--save {
    order: -1;
    grid-column: 1 / -1;
    border-color: var(--navy);
    background: var(--navy);
    color: var(--cream);
    font-size: 1.15rem;
}

.bizcard--page .bc-action--save:hover {
    background: #1b2450;
}

.card-page-more {
    margin: 1.4rem 0 0;
    text-align: center;
}

.card-page-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--f-head);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
}

.card-page-more .icon {
    width: 18px;
    height: 18px;
}
.bizcard--page .bc-action[data-share] {
    grid-column: 1 / -1;
}

/* =====================================================================
   JOUR / NUIT : le soleil et la lune de l'image sont les interrupteurs (easter egg)
   ===================================================================== */

/* Le contenu de l'accueil laisse passer les clics vers l'image, sauf l'enseigne et la surfaceuse */
.west-hero-grid {
    pointer-events: none;
}

.west-hero-grid > * {
    pointer-events: auto;
}

/* Zone sensible posée sur le soleil ou la lune (au moins 44 px pour le toucher) */
.sky-switch {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: clamp(44px, 5.5cqw, 96px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow 0.4s ease;
}

@media (hover: hover) {
    .sky-switch:hover {
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 36px 6px rgba(255, 244, 214, 0.35);
    }
}

/* Petite animation au clic : un anneau de lumière qui s'élargit */
.sky-switch::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 248, 225, 0.9), 0 0 24px 8px rgba(255, 236, 190, 0.6);
    opacity: 0;
}

.sky-switch.is-pressed::after {
    animation: sky-ring 0.8s ease-out;
}

@keyframes sky-ring {
    0% { opacity: 1; transform: scale(0.6); }
    100% { opacity: 0; transform: scale(2.4); }
}

/* La nouvelle scène apparaît en fondu */
.scene-switching .scene-art,
.scene-switching .sky-strip-art {
    animation: scene-in 0.7s ease;
}

@keyframes scene-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contrôle accessible : invisible, sauf quand on y arrive au clavier */
.scene-switch-a11y {
    position: absolute;
    z-index: 3;
    top: 1rem;
    right: var(--gutter);
    padding: 0.6rem 1rem;
    border: 2px solid var(--cream);
    border-radius: 999px;
    background: var(--navy);
    color: var(--cream);
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: inset(50%);
    white-space: nowrap;
}

.scene-switch-a11y:focus-visible {
    clip-path: none;
    outline: 3px solid var(--ice);
    outline-offset: 2px;
}

/* Cellulaire : bande de ciel en haut de l'accueil, avec le soleil ou la lune à toucher */
.sky-strip {
    display: none;
}

@media (max-width: 760px) {
    .sky-strip {
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        right: 0;
        display: block;
        --sw: max(740px, 100vw);
        height: 162px;
        -webkit-mask: linear-gradient(#000 86%, transparent);
        mask: linear-gradient(#000 86%, transparent);
    }

    .sky-strip-art {
        position: absolute;
        inset: 0;
        background-repeat: no-repeat;
        background-position: right top;
        background-size: var(--sw) auto;
    }

    .sky-strip-art.scene-art--day {
        background-image: url("/assets/scene/jour-1280.jpg?v=3");
        background-image: image-set(url("/assets/scene/jour-1280.avif?v=3") type("image/avif"), url("/assets/scene/jour-1280.webp?v=3") type("image/webp"), url("/assets/scene/jour-1280.jpg?v=3") type("image/jpeg"));
    }

    .sky-strip-art.scene-art--night {
        background-image: url("/assets/scene/night-1280.jpg?v=2");
        background-image: image-set(url("/assets/scene/night-1280.avif?v=2") type("image/avif"), url("/assets/scene/night-1280.webp?v=2") type("image/webp"), url("/assets/scene/night-1280.jpg?v=2") type("image/jpeg"));
    }

    /* Positions du soleil, de la lune et des projecteurs dans l'image affichée à --sw de large (46,9 % de haut) */
    .sky-strip .sky-switch--sun {
        --x: calc(100% - var(--sw) * 0.065);
        --y: calc(var(--sw) * 0.0535);
        width: 48px;
    }

    .sky-strip .sky-switch--moon {
        --x: calc(100% - var(--sw) * 0.065);
        --y: calc(var(--sw) * 0.048);
        width: 48px;
    }

    .west-hero .west-hero-grid {
        padding-top: 162px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sky-switch.is-pressed::after,
    .scene-switching .scene-art,
    .scene-switching .sky-strip-art {
        animation: none;
    }
}
/* Cellulaire : seul le soleil / la lune de la bande de ciel du haut est actif */
@media (max-width: 760px) {
    .scene-fx .sky-switch {
        display: none;
    }
}

/* Cellulaire : la bande du bas reste centrée sur la ville et la glace */
@media (max-width: 760px) {
    .scene-photo img {
        object-position: 55% 60% !important;
    }

    .scene-fx {
        --fx: 0.55 !important;
    }
}

.video-note {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: var(--ink-2);
}

/* =====================================================================
   MASCOTTE IQ (inc/resurfacer.php) : carrosserie jour/nuit + une roue SVG
   Canevas du propriétaire 1685 × 934 (toutes les positions en % de ce canevas).
   L'avant (phare) est à gauche : la machine entre sur la glace en roulant vers la GAUCHE.
   ===================================================================== */
.rs-machine {
    /* Distance parcourue à l'arrivée, en fraction de la largeur de la machine */
    --rs-run: 0.6;
    position: relative;
    isolation: isolate;
    aspect-ratio: 1685 / 934;
    animation: rs-drive 3.2s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

/* Carrosseries jour et nuit superposées exactement (fondu au changement de mode) */
.rs-pic {
    display: block;
}

.rs-pic img {
    display: block;
    width: 100%;
    height: auto;
}

.rs-body {
    position: absolute;
    z-index: 1;
    inset: 0 auto auto 0;
    width: 100%;
    transition: opacity 0.8s ease;
}

/* Par défaut, seule la version du mode actif existe (l'autre n'est pas téléchargée) */
html:not([data-scene="night"]) .rs-body--night,
html[data-scene="night"] .rs-body--day,
html:not([data-scene="night"]) .rs-brush--night,
html[data-scene="night"] .rs-brush--day {
    display: none;
}

/* Dès que le visiteur approche du soleil ou de la lune (site.js : html.rs-fade),
   les deux versions sont chargées et le changement de mode se fait en fondu. */
html.rs-fade .rs-body,
html.rs-fade .rs-brush {
    display: block;
}

html.rs-fade:not([data-scene="night"]) .rs-body--night,
html.rs-fade[data-scene="night"] .rs-body--day,
html.rs-fade:not([data-scene="night"]) .rs-brush--night,
html.rs-fade[data-scene="night"] .rs-brush--day {
    opacity: 0;
}

/* Brosse rouge et bleue : 12 images d'une rotation (une paire de rayures = 1/6 de tour),
   tirées du dessin du propriétaire, posées exactement sur la brosse de la carrosserie
   (160 × 64 au coin (636, 870)). --rs-spin compte les images : il descend de 144 à 0
   (2 tours) avec la même courbe et la même durée que la machine, donc la brosse ralentit
   et s'arrête avec elle. Navigateur trop ancien ou mouvement réduit : brosse fixe. */
@property --rs-spin {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

.rs-brush {
    position: absolute;
    z-index: 1;
    left: 37.7448%;          /* 636 / 1685 */
    top: 93.1478%;           /* 870 / 934 */
    width: 9.4955%;          /* 160 / 1685 */
    aspect-ratio: 160 / 64;
    background-image: url("/assets/machine/mascotte-brosse-jour.webp");
    background-image: image-set(url("/assets/machine/mascotte-brosse-jour.avif") type("image/avif"), url("/assets/machine/mascotte-brosse-jour.webp") type("image/webp"));
    background-repeat: no-repeat;
    background-size: 1200% 100%;
    background-position: 0 0;
    background-position-x: calc(mod(round(down, var(--rs-spin)), 12) / 11 * 100%);
    filter: sepia(0.15);
    pointer-events: none;
    transition: opacity 0.8s ease;
    animation: rs-brush-spin 3.2s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

.rs-brush--night {
    background-image: url("/assets/machine/mascotte-brosse-nuit.webp");
    background-image: image-set(url("/assets/machine/mascotte-brosse-nuit.avif") type("image/avif"), url("/assets/machine/mascotte-brosse-nuit.webp") type("image/webp"));
}

@keyframes rs-brush-spin {
    from { --rs-spin: 144; }
    to { --rs-spin: 0; }
}

/* Clic sur la brosse (js/site.js) : tourne 3 secondes (3 tours), vite au départ puis ralentit jusqu'à l'arrêt */
.rs-brush.is-spinning {
    animation: rs-brush-click 3s cubic-bezier(0.2, 0.6, 0.3, 1);
}

@keyframes rs-brush-click {
    from { --rs-spin: 216; }
    to { --rs-spin: 0; }
}

/* Zone cliquable sur la brosse : au moins 44 × 44 px, visible seulement au focus clavier */
.rs-brush-btn {
    position: absolute;
    z-index: 3;
    left: 42.4926%;          /* centre de la brosse : 716 / 1685 */
    top: 96.3597%;           /* 900 / 934 */
    width: max(44px, 11%);
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.rs-brush-btn:focus-visible {
    outline: 3px solid var(--mustard, #d9a441);
    outline-offset: 2px;
}

/* Roues : la même roue deux fois, SOUS la carrosserie (les passages de roue sont vides).
   260 × 260 au coin (292, 705) et (858, 705); centre de rotation au centre de l'image. */
.rs-wheel {
    position: absolute;
    z-index: 0;
    top: 75.4818%;          /* 705 / 934 */
    width: 15.4303%;        /* 260 / 1685 */
    height: auto;
    aspect-ratio: 1;
    transform-origin: 50% 50%;
    transition: filter 0.8s ease;
    animation: rs-wheel-turn 3.2s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

.rs-wheel--front { left: 17.3294%; }  /* 292 / 1685 */
.rs-wheel--back { left: 50.9199%; }   /* 858 / 1685 */

/* La nuit, la roue est légèrement assombrie */
.rs-wheel {
    filter: sepia(0.15);
}

html[data-scene="night"] .west-machine .rs-wheel {
    filter: sepia(0.15) brightness(0.8);
}

/* Arrivée : la machine part de la droite (translateX positif) et s'arrête à sa place.
   Les roues tournent dans le sens antihoraire (angle qui diminue) avec la MÊME courbe et
   la MÊME durée : à chaque instant, l'angle correspond exactement à la distance parcourue.
   Un tour = 2 × π × 123 px ≈ 773 px du canevas (rayon du pneu 123 px). Distance et rayon
   sont tous deux proportionnels à la largeur affichée : angle = distance / rayon
   = --rs-run × 1685 / 123 radians, juste à toutes les tailles d'écran
   (0,6 × 1685 = 1011 px du canevas ≈ 1,3 tour). À l'arrêt, les roues s'arrêtent, droites. */
@keyframes rs-drive {
    from { transform: translateX(calc(var(--rs-run) * 100%)); }
    to { transform: none; }
}

@keyframes rs-wheel-turn {
    from { transform: rotate(calc(var(--rs-run) * 1685 / 123 * 1rad)); }
    to { transform: rotate(0deg); }
}

/* Ombre de contact sous les roues et le conditionneur */
.rs-shadow {
    position: absolute;
    z-index: -1;
    left: 8%;
    right: 4%;
    bottom: -4.5%;
    height: 10%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%, rgba(4, 7, 24, 0.62), rgba(4, 7, 24, 0.25) 55%, transparent 72%);
    filter: blur(3px);
}

/* Reflet sur la glace : machine complète (1685 × 958), retournée sous les pneus, estompée */
.rs-reflect {
    position: absolute;
    z-index: -2;
    left: 0;
    right: 0;
    top: 102.5696%;         /* 958 / 934 : bas des pneus */
    transform: scaleY(-1);
    transform-origin: center;
    opacity: 0.22;
    filter: blur(1.5px) saturate(0.8);
    -webkit-mask: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 45%);
    mask: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 45%);
    pointer-events: none;
}

html[data-scene="night"] .rs-reflect {
    opacity: 0.3;
}

html:not([data-scene="night"]) .rs-reflect.scene-art--night,
html[data-scene="night"] .rs-reflect.scene-art--day {
    display: none;
}

/* Phare (la nuit) : phare au point (110, 643) du canevas, la lumière part vers la gauche
   et vers le BAS : elle éclaire la glace devant la machine, puis s'étire sur la glace en
   s'estompant jusqu'à environ la moitié de la patinoire (100 pi). La machine fait environ
   25 pi de long (largeur du canevas), donc 100 pi ≈ 4 largeurs de machine (width: 400 %).
   Boîte : de 60 % à 120 % de la hauteur de la machine (la lumière couvre aussi un peu la glace
   plus près de nous, sous la machine à l'écran); dans la boîte, le phare est à 14,7 %. */
.rs-beam {
    /* Boîte du faisceau : à gauche du phare, du haut de la machine jusqu'à --bas (% de la hauteur de la machine).
       Phare à 69,2 % de la machine; machine = 1685 × 934, boîte = 6740 de large. */
    --bas: 120%;
    --phare: 57.6%;       /* hauteur du phare dans la boîte */
    --portee-y: 601%;     /* même portée que 100 % de la largeur (4 machines), en % de la hauteur */
    position: absolute;
    z-index: 2;
    right: 93.5%;
    top: 0;
    width: 400%;
    height: var(--bas);
    /* Intensité : vive au phare, puis décroît vite avec la distance, comme une vraie lumière */
    background: radial-gradient(100% var(--portee-y) at 100% var(--phare),
        rgba(255, 250, 230, 0.95) 0, rgba(255, 248, 222, 0.8) 0.8%, rgba(255, 246, 216, 0.64) 2%, rgba(255, 244, 210, 0.5) 4.5%,
        rgba(253, 242, 208, 0.44) 9%, rgba(251, 241, 208, 0.4) 18%, rgba(250, 240, 208, 0.35) 34%, rgba(248, 240, 212, 0.29) 55%, rgba(248, 240, 212, 0.2) 78%, rgba(248, 240, 212, 0.08));
    /* Cône : 30° vers le haut, 61° vers le bas, plus fort au centre, bords fondus */
    --cone: conic-gradient(from 0deg at 100.5% var(--phare), transparent 201deg, rgba(0, 0, 0, 0.16) 206deg, rgba(0, 0, 0, 0.5) 213deg, rgba(0, 0, 0, 0.8) 224deg,
        #000 240deg, #000 274deg, rgba(0, 0, 0, 0.8) 285deg, rgba(0, 0, 0, 0.5) 295deg, rgba(0, 0, 0, 0.16) 303deg, transparent 308deg);
    /* au loin, la lumière reste basse, sur la glace */
    --sol: linear-gradient(180deg, transparent 4%, rgba(0, 0, 0, 0.35) 24%, #000 50%, #000 82%, transparent 99%);
    -webkit-mask: var(--cone), var(--sol);
    -webkit-mask-composite: source-in;
    mask: var(--cone), var(--sol);
    mask-composite: intersect;
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Tache de lumière sur la glace, devant la machine */
.rs-beam::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(13% 20% at 95% 82%, rgba(255, 246, 214, 0.42), rgba(255, 246, 214, 0.2) 40%, rgba(255, 246, 214, 0.06) 72%, transparent), radial-gradient(96% 24% at 100% 76%, rgba(255, 246, 214, 0.26), rgba(255, 246, 214, 0.15) 45%, transparent);
}

/* Cellulaire : la lumière ne descend jamais plus bas que le bas des roues (102,6 % de la machine). */
@media (max-width: 760px) {
    .rs-beam {
        --bas: 102.6%;
        --phare: 67.4%;
        --portee-y: 703%;
        --sol: linear-gradient(180deg, transparent 4%, rgba(0, 0, 0, 0.35) 30%, #000 58%, #000 88%, transparent 100%);
    }

    .rs-beam::after {
        background: radial-gradient(13% 18% at 95% 92%, rgba(255, 246, 214, 0.42), rgba(255, 246, 214, 0.2) 40%, rgba(255, 246, 214, 0.06) 72%, transparent);
    }
}

/* Sillage brillant laissé derrière (à droite du conditionneur) */
.west-machine::before {
    left: 93%;
    right: auto;
    bottom: 0;
    width: min(46vw, 560px);
    height: 4.5%;
    border-radius: 0 999px 999px 0;
    /* Glace fraîche et mouillée : elle est claire et brillante, donc les lignes peintes ressortent MIEUX (jamais de voile blanc opaque). */
    background:
        linear-gradient(-100deg, transparent 0 42%, rgba(255, 255, 255, 0.42) 48%, transparent 54%) 0 0 / 300% 100% no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.04) 26%, rgba(255, 255, 255, 0.04) 74%, rgba(255, 255, 255, 0.24));
    -webkit-backdrop-filter: saturate(1.5) contrast(1.35) brightness(1);
    backdrop-filter: saturate(1.5) contrast(1.35) brightness(1);
    filter: none;
    -webkit-mask: linear-gradient(270deg, transparent, #000 60%);
    mask: linear-gradient(270deg, transparent, #000 60%);
    transform-origin: left center;
    animation: rs-trail-grow 3.2s cubic-bezier(0.22, 0.7, 0.2, 1) both, rs-shine 5s linear 3.2s infinite;
}

@keyframes rs-trail-grow {
    from { transform: scaleX(0.15); opacity: 0.3; }
    to { transform: none; opacity: 1; }
}

/* Le reflet part du conditionneur et s'éloigne de la machine (vers la droite).
   Image 300 % : position 150 % = décalée de 3 largeurs à gauche, -150 % = 3 largeurs à droite. */
@keyframes rs-shine {
    from { background-position: 150% 0, 0 0; }
    to { background-position: -150% 0, 0 0; }
}

/* Mouvement réduit : aucune animation, machine et roues à leur position finale */
@media (prefers-reduced-motion: reduce) {
    .rs-machine,
    .rs-wheel,
    .rs-brush,
    .west-machine::before {
        animation: none !important;
    }

    .rs-body,
    .rs-brush,
    .rs-wheel {
        transition: none;
    }
}

/* Cellulaire : machine entière et centrée sur la bande de glace */
@media (max-width: 760px) {
    .west-hero .west-machine {
        width: min(70%, 300px);
        bottom: 30px;
        transform: translateX(-50%);
    }

    .west-machine::before {
        width: 40vw;
    }
}

/* Surfaceuse : taille selon la perspective (plus loin sur la glace = plus petite) */
@media (min-width: 1000px) {
    .west-hero .west-machine {
        width: min(100%, 470px);
        margin-bottom: clamp(3rem, 7vh, 5rem);
        margin-right: clamp(0rem, 4vw, 4rem);
    }
}

@media (min-width: 761px) and (max-width: 999.98px) {
    .west-hero .west-machine {
        width: min(70%, 420px);
    }
}
/* Nouveaux logos (2026-11-20) : mot-symbole chrome dans l'en-tête et le pied de page */
.brand-wordmark {
    display: block;
    width: auto;
    height: 26px;
}

.brand img.brand-wordmark {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.footer-brand img.footer-wordmark {
    width: min(100%, 280px);
    height: auto;
}

.bc-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.bc-logo img:first-child {
    width: clamp(72px, 56px + 4vw, 104px);
    height: auto;
}

.bc-logo img:last-child {
    width: clamp(96px, 76px + 5vw, 140px);
    height: auto;
}

@media (max-width: 560px) {
    .brand-wordmark {
        height: 19px;
    }
}
.footer-brand img.footer-wordmark {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.brand img.brand-wordmark {
    width: auto;
    max-width: none;
}

.brand > img {
    object-fit: contain;
}

.brand-text strong {
    display: block;
    line-height: 0;
}

.brand .brand-text img.brand-wordmark {
    width: auto;
    height: 24px;
}

@media (max-width: 560px) {
    .brand .brand-text img.brand-wordmark {
        height: 16px;
    }
}

@media (max-width: 400px) {
    .brand .brand-text img.brand-wordmark {
        height: 13px;
    }
}

/* Si une image tarde à charger, son texte de remplacement reste invisible à l'écran
   (les lecteurs d'écran le lisent quand même) et ne déborde jamais sur le menu. */
.scene-photo img,
.rs-pic img {
    color: transparent;
    font-size: 0;
    overflow: hidden;
}

/* ============================================================
   FORMULAIRES : machine (marque → modèle), aides, fenêtre de confirmation
   ============================================================ */
.form fieldset.machine {
    display: grid;
    gap: 1.1rem;
    margin: 0;
    padding: 1rem 1rem 1.1rem;
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    min-width: 0;
}

.form fieldset.machine legend {
    padding: 0 0.4rem;
    font-family: var(--f-sign);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
}

@media (min-width: 700px) {
    .form fieldset.machine {
        grid-template-columns: 1fr 1fr;
    }

    .form fieldset.machine .full {
        grid-column: 1 / -1;
    }
}

.field[hidden] {
    display: none;
}

.field select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.label-hint {
    font-family: var(--f-body, inherit);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #5a5f73;
}

.field-help {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #4a4f63;
}

.form[aria-busy="true"] [type="submit"] {
    cursor: progress;
}

.form-title[tabindex]:focus,
#shop-summary:focus {
    outline: none;
}

/* Fenêtre de confirmation : au centre de l'écran, lisible sur cellulaire */
dialog.form-dialog {
    width: min(92vw, 460px);
    max-height: 90vh;
    margin: auto;
    overflow: auto;
}

.form-dialog-box {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    padding: 2.4rem 1.4rem 1.5rem;
    text-align: center;
}

.form-dialog h2 {
    margin: 0;
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
    line-height: 1.1;
    color: var(--navy);
}

.form-dialog p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
}

.form-dialog-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 3px solid var(--navy);
    border-radius: 50%;
    background: #e2f3e6;
    color: var(--navy);
}

.form-dialog-icon .icon {
    width: 34px;
    height: 34px;
    stroke-width: 2.4;
}

.form-dialog-icon--err {
    background: #fde4e6;
    color: var(--red);
}

.form-dialog .form-dialog-icon--err,
.form-dialog.is-error .form-dialog-icon--ok,
.form-dialog:not(.is-error) [data-dialog-call] {
    display: none;
}

.form-dialog.is-error .form-dialog-icon--err {
    display: grid;
}

.form-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.4rem;
    width: 100%;
}

.form-dialog-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
    dialog.form-dialog[open] {
        animation: form-dialog-in 0.22s ease-out;
    }

    @keyframes form-dialog-in {
        from { opacity: 0; transform: translateY(12px) scale(0.98); }
        to { opacity: 1; transform: none; }
    }
}
/* Photos des formulaires (miniatures, bouton retirer) */
.photo-field input[type="file"] {
    min-height: 0;
    padding: 0.6rem;
    background: #fff;
    font-size: 0.95rem;
}

.photo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.photo-list:empty {
    display: none;
}

.photo-list li {
    position: relative;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border: 2px solid var(--navy);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    font-size: 0.75rem;
    text-align: center;
}

.photo-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-list button {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 30px;
    height: 30px;
    border: 2px solid var(--navy);
    border-radius: 50%;
    background: var(--paper);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.photo-error {
    margin: 0;
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--red);
    border-radius: 10px;
    background: #fde4e6;
    font-weight: 600;
}

.photo-error[hidden] {
    display: none;
}

.machine-preview {
    margin: 0;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: #eef1fa;
    color: var(--navy);
}

.machine-preview[hidden] {
    display: none;
}

/* Numéro de demande dans la fenêtre de confirmation */
.form-dialog-ref {
    display: grid;
    gap: 0.2rem;
    width: 100%;
    margin: 0;
    padding: 0.8rem;
    border: 2px dashed var(--navy);
    border-radius: 12px;
    background: #fff;
    font-size: 0.92rem;
}

.form-dialog-ref strong {
    font-size: 1.35rem;
    letter-spacing: 0.03em;
    color: var(--navy);
    user-select: all;
}

.form-dialog-ref[hidden],
.form-dialog.no-call [data-dialog-call] {
    display: none;
}

/* « Vous ne trouvez pas votre pièce ? » */
.shop-ask {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem 1.2rem;
    margin-top: 1.6rem;
    padding: 1rem 1.2rem;
    border: 2.5px dashed var(--navy);
    border-radius: var(--radius);
    background: #fff;
}

.shop-ask p {
    margin: 0;
}

.shop-ask-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.6rem 1rem;
    border: 2.5px solid var(--navy);
    border-radius: 999px;
    background: var(--paper);
    color: var(--navy);
    font-family: var(--f-head);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: left;
    cursor: pointer;
}

.shop-ask-btn:hover,
.shop-ask-btn:focus-visible {
    border-color: var(--red);
    color: var(--red);
}

.shop-ask-btn .icon {
    width: 22px;
    height: 22px;
    flex: none;
}

.shop-ask-btn--inline {
    width: 100%;
    margin: 0.8rem 0;
    justify-content: center;
}

.shop-empty {
    display: grid;
    justify-items: start;
    gap: 0.8rem;
}

.shop-custom-list {
    display: grid;
    gap: 0.5rem;
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
}

.shop-custom-list[hidden] {
    display: none;
}

.shop-custom-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 0.8rem;
    border: 2px solid var(--navy);
    border-left: 6px solid var(--red);
    border-radius: 10px;
    background: #fff;
}

.shop-custom-item small {
    display: block;
    margin-top: 0.2rem;
    color: #4a4f63;
}

.shop-urgent {
    color: var(--red);
}

.shop-include {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
    font-weight: 600;
}

.shop-include input {
    width: 22px;
    height: 22px;
}

.shop-include[hidden] {
    display: none;
}

/* Fenêtre « pièce introuvable » : formulaire défilant, lisible sur cellulaire */
dialog.part-dialog {
    width: min(94vw, 720px);
    max-height: 92vh;
}

.part-dialog-box.form {
    position: relative;
    border: 0;
    box-shadow: none;
    padding-top: 1.6rem;
}

.part-dialog-head h2 {
    margin: 0 3rem 0.2rem 0;
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
    color: var(--navy);
}

.part-dialog-head p {
    margin: 0;
    font-size: 1.08rem;
}

.part-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}
/* ============================================================
   VALIDATION DES CHAMPS (js/site.js) : neutre au repos, rouge = à corriger
   (message et format attendu juste en dessous), vert = bien rempli,
   seulement pendant qu'on est dans le champ.
   ============================================================ */
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(37, 48, 95, 0.18);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: #c8102e;
    background-color: #fff6f7;
}

.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.22);
}

.field.is-valid input:focus,
.field.is-valid select:focus,
.field.is-valid textarea:focus {
    border-color: #1e7a46;
    box-shadow: 0 0 0 4px rgba(30, 122, 70, 0.22);
}

.field-error {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: #b0102a;
}

.field-error::before {
    content: "!";
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.08rem;
    border-radius: 50%;
    background: #c8102e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

.form-errors {
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.9rem;
    border-left: 4px solid #c8102e;
    border-radius: 8px;
    background: #fff1f3;
    color: #8f0f22;
    font-weight: 700;
    line-height: 1.45;
}

/* Machine : repliée derrière un bouton « Ajouter les détails de votre surfaceuse » */
.machine-toggle {
    min-width: 0;
}

.machine-toggle > summary {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    padding: 0.65rem 1rem;
    border: 2px dashed var(--navy);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

.machine-toggle > summary::-webkit-details-marker {
    display: none;
}

.machine-toggle > summary:hover {
    background: #f2f4fa;
}

.machine-toggle > summary:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

.machine-toggle-plus {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.2s ease;
}

.machine-toggle[open] .machine-toggle-plus {
    transform: rotate(45deg);
}

.machine-toggle[open] > summary {
    margin-bottom: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    .machine-toggle-plus {
        transition: none;
    }
}

/* Fenêtre de confirmation : courriel envoyé, code technique */
.form-dialog-mail {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #edf6f0;
    color: #1c3a29;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: left;
    overflow-wrap: anywhere;
}

.form-dialog-mail svg {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.1rem;
    color: #1e7a46;
}

.form-dialog-detail {
    margin: 0;
    font-size: 0.85rem;
    color: #5a5f73;
}

.form-dialog-mail[hidden],
.form-dialog-detail[hidden] {
    display: none;
}
/* Vérification anti-robots de l'hébergeur : bouton « Réessayer l'envoi » (actif après 5 s) */
.form-dialog [data-dialog-retry][hidden] { display: none; }
.form-dialog [data-dialog-retry]:disabled { opacity: .55; cursor: wait; }
.form-dialog.is-guard [data-dialog-retry] { order: -1; }

/* =====================================================================
   THÈME « GARAGE VINTAGE » (body.theme-garage, inc/header.php)
   Papier jauni, encre marine, rouge tomate, moutarde, laiton et chrome.
   Titres Alfa Slab One, texte « machine à écrire » Courier Prime,
   petites touches cursives Yellowtail; Rye reste réservé au slogan.
   Retour arrière : remettre « theme-west » dans inc/header.php (le bloc
   « Rodéo sur glace » plus haut n'a pas été effacé).
   Textures : création originale Ice Qube; photo du mur de plaques :
   Gary Sandoz (Unsplash). Voir CREDITS.md.
   ===================================================================== */

@font-face {
  font-family: 'Alfa Slab One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/alfa-slab-one-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/courier-prime-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/courier-prime-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Yellowtail';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/yellowtail-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------------
   Jetons : les couleurs de base du site sont redéfinies, donc toutes les
   pages changent de palette sans toucher à leurs règles.
   --------------------------------------------------------------------- */
.theme-garage {
    --navy: #1f2a44;
    --navy-900: #18213a;
    --navy-950: #111829;
    --red: #b8322a;
    --red-700: #962620;
    --cream: #efe4cc;
    --cream-2: #e4d6b8;
    --paper: #f7f0de;
    --ink: #1f2a44;
    --ink-2: #4a4438;
    --line: rgba(31, 42, 68, 0.2);
    --amber: #d9a441;
    --mustard: #d9a441;
    --brown: #6b4a2f;
    --brass: linear-gradient(180deg, #f1d48a 0%, #c9a24e 55%, #a9812f 100%);
    --f-slab: "Alfa Slab One", Rockwell, Georgia, serif;
    --f-type: "Courier Prime", "Courier New", monospace;
    --f-script: "Yellowtail", "Brush Script MT", cursive;
    --shadow: 5px 5px 0 var(--navy);
    --shadow-sm: 3px 3px 0 var(--navy);
    --shadow-soft: 0 18px 40px -22px rgba(40, 25, 5, 0.5);
    --tx-grain: url("/assets/textures/grain.png");
    --tx-grain-set: image-set(url("/assets/textures/grain.avif") type("image/avif"), url("/assets/textures/grain.png") type("image/png"));
    --tx-planks: image-set(url("/assets/textures/planches.avif") type("image/avif"), url("/assets/textures/planches.webp") type("image/webp"), url("/assets/textures/planches.jpg") type("image/jpeg"));
    --tx-wall: image-set(url("/assets/textures/mur-plaques.avif") type("image/avif"), url("/assets/textures/mur-plaques.webp") type("image/webp"), url("/assets/textures/mur-plaques.jpg") type("image/jpeg"));
    --tx-caisson: image-set(url("/assets/textures/caisson.avif") type("image/avif"), url("/assets/textures/caisson.webp") type("image/webp"), url("/assets/textures/caisson.jpg") type("image/jpeg"));
    --tx-chrome: image-set(url("/assets/textures/chrome.avif") type("image/avif"), url("/assets/textures/chrome.webp") type("image/webp"), url("/assets/textures/chrome.jpg") type("image/jpeg"));
    background-color: var(--cream);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    color: var(--ink);
}

/* Titres : affiche d'atelier */
.theme-garage h1,
.theme-garage h2 {
    font-family: var(--f-slab);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.theme-garage h2 {
    text-transform: uppercase;
    line-height: 1.04;
}

.theme-garage .kicker {
    font-family: var(--f-script);
    font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--red);
}

.theme-garage .kicker::before,
.theme-garage .section-head h2::after {
    display: none;
}

.theme-garage .section--navy .kicker,
.theme-garage .cta-band .kicker {
    color: var(--mustard);
}

/* Boutons : émail, bord double crème */
.theme-garage .btn {
    border-radius: 6px;
    font-family: var(--f-slab);
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.theme-garage .btn--red {
    background: var(--red);
    border: 2px solid var(--paper);
    box-shadow: 0 0 0 2px var(--red), var(--shadow-sm);
    color: var(--paper);
}

.theme-garage .btn--red:hover,
.theme-garage .btn--red:focus-visible {
    background: var(--red-700);
    color: #fff;
}

/* ---------------------------------------------------------------------
   En-tête et pied de page : encre marine et filet double moutarde
   --------------------------------------------------------------------- */
.theme-garage .site-header {
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    border-bottom: 3px double var(--mustard);
}

.theme-garage .site-header::after {
    display: none;
}

.theme-garage .brand-text small {
    font-family: var(--f-script);
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mustard);
}

.theme-garage .lang-link {
    font-family: var(--f-type);
}

.theme-garage .site-footer {
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    border-top: 3px double var(--mustard);
    color: #d6ccb4;
}

.theme-garage .site-footer > .stitch {
    display: none;
}

.theme-garage .footer-cta-title {
    font-family: var(--f-slab);
    font-weight: 400;
    text-transform: uppercase;
}

.theme-garage .footer-phone {
    font-family: var(--f-type);
    font-weight: 700;
}

.theme-garage .footer-motto {
    font-family: var(--f-west);
    color: var(--cream);
}

/* ---------------------------------------------------------------------
   Pages intérieures : bandeau, sections, composants
   --------------------------------------------------------------------- */
.theme-garage .page-hero {
    border-bottom: 3px double var(--mustard);
}

.theme-garage .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(120, 80, 30, 0.22);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.theme-garage .page-hero h1 {
    font-family: var(--f-slab);
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 rgba(184, 50, 42, 0.85);
}

.theme-garage .page-hero .kicker {
    color: var(--mustard);
}

.theme-garage .crumbs {
    font-family: var(--f-type);
}

.theme-garage .section--paper {
    background-color: var(--cream-2);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
}

.theme-garage .section--sand {
    background-color: var(--paper);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
}

.theme-garage .section--navy {
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    border-top: 3px double var(--mustard);
    border-bottom: 3px double var(--mustard);
}

.theme-garage .section--navy::before {
    display: none;
}

/* Bons de travail = bons de réparation de garage */
.theme-garage .order {
    border: 1px solid #c9b78f;
    border-radius: 4px;
    background-color: var(--paper);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: var(--shadow-soft);
}

.theme-garage .order-head {
    background: var(--red);
    border-bottom: 2px dashed rgba(247, 240, 222, 0.6);
    color: var(--paper);
    font-family: var(--f-type);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.theme-garage .order-head::after {
    display: none;
}

.theme-garage .order-icon {
    background: var(--navy);
    color: var(--mustard);
    box-shadow: none;
}

/* Tableaux et fiches = enseigne en porcelaine (marine, filet crème, rivets) */
.theme-garage .board {
    position: relative;
    border-radius: 18px;
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: inset 0 0 0 10px var(--navy), inset 0 0 0 13px var(--cream), 0 24px 44px -20px rgba(20, 14, 5, 0.55);
    color: var(--cream);
}

.theme-garage .board::before {
    content: "";
    position: absolute;
    inset: 22px;
    display: block;
    border: 0;
    background:
        radial-gradient(circle at 5px 5px, var(--mustard) 4px, transparent 5px) top left / 10px 10px no-repeat,
        radial-gradient(circle at 5px 5px, var(--mustard) 4px, transparent 5px) top right / 10px 10px no-repeat,
        radial-gradient(circle at 5px 5px, var(--mustard) 4px, transparent 5px) bottom left / 10px 10px no-repeat,
        radial-gradient(circle at 5px 5px, var(--mustard) 4px, transparent 5px) bottom right / 10px 10px no-repeat;
    pointer-events: none;
}

.theme-garage .board-title,
.theme-garage .score-value,
.theme-garage .soon-value {
    font-family: var(--f-slab);
    font-weight: 400;
    color: var(--mustard);
}

.theme-garage .score-value {
    font-family: var(--f-type);
    font-weight: 700;
}

.theme-garage .score {
    border-color: rgba(239, 228, 204, 0.25);
    background: transparent;
}

.theme-garage .board-spec dt {
    font-family: var(--f-type);
    color: var(--mustard);
}

/* Étapes = pastilles de station-service */
.theme-garage .steps li::before {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 4px double var(--paper);
    border-radius: 50%;
    outline: 3px solid var(--red);
    background: var(--red);
    color: var(--paper);
    font-family: var(--f-slab);
    font-weight: 400;
}

.theme-garage .steps li {
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Citations = coupures de presse punaisées */
.theme-garage .quote {
    border: 0;
    border-radius: 0;
    background: #ede3c8;
    box-shadow: 0 12px 22px rgba(40, 25, 5, 0.25);
    font-family: var(--f-slab);
    font-weight: 400;
}

.theme-garage .quote::before,
.theme-garage .quote::after {
    display: none;
}

.theme-garage .quote footer {
    font-family: var(--f-type);
}

/* Bandeau d'appel : rouge tomate */
.theme-garage .cta-band {
    background-color: var(--red);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    border-top: 3px double var(--paper);
    color: var(--paper);
}

.theme-garage .cta-band::after {
    display: none;
}

.theme-garage .cta-band h2 {
    color: var(--paper);
}

.theme-garage .cta-phone {
    font-family: var(--f-type);
    font-weight: 700;
}

/* Avis « surfaceuses seulement » : fiche jaunie */
.theme-garage .notice--floor {
    border: 1px solid #c9b78f;
    border-left: 6px solid var(--red);
    border-radius: 4px;
    background-color: var(--paper);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: none;
    color: var(--ink);
}

.theme-garage .floor-band {
    background: transparent;
}

.theme-garage .floor-band::after {
    display: none;
}

.theme-garage .callbar {
    border-top: 3px double var(--mustard);
}

/* ---------------------------------------------------------------------
   ACCUEIL — 01 Héros : filtre chaud + grain, enseigne en porcelaine
   --------------------------------------------------------------------- */
.gv-hero .gv-hero-warm {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(120, 80, 30, 0.2);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.gv-hero .gv-hero-warm::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    opacity: 0.55;
    mix-blend-mode: normal;
}

.gv-sign {
    position: relative;
    align-self: end;
    max-width: 640px;
    padding: 14px;
    border-radius: 22px;
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: 0 30px 60px rgba(20, 14, 5, 0.5);
    color: var(--cream);
}

.gv-sign-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem) clamp(1.2rem, 0.6rem + 2.4vw, 2.6rem) clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    border: 3px solid var(--cream);
    border-radius: 14px;
    text-align: center;
}

.gv-rivet {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mustard);
    box-shadow: inset -2px -2px 2px rgba(0, 0, 0, 0.45);
}

.gv-rivet--tl { top: 26px; left: 26px; }
.gv-rivet--tr { top: 26px; right: 26px; }
.gv-rivet--bl { bottom: 26px; left: 26px; }
.gv-rivet--br { bottom: 26px; right: 26px; }

.gv-sign-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mustard);
}

.gv-sign-kicker::before,
.gv-sign-kicker::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--mustard);
}

.gv-slogan {
    margin: 0;
    font-family: var(--f-west);
    font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem);
    line-height: 1.02;
    color: var(--paper);
    text-shadow: 3px 3px 0 var(--red);
}

.gv-sign-title {
    margin: 0;
    font-family: var(--f-head);
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream);
}

.gv-sign-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #d6ccb4;
}

.gv-sign-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 0.25rem;
}

.gv-btn {
    min-height: 54px;
    padding-inline: 1.5rem;
    font-size: 1.1rem;
}

.gv-btn--outline {
    border: 2px solid var(--mustard);
    background: transparent;
    color: var(--mustard);
    box-shadow: none;
}

.gv-btn--outline:hover,
.gv-btn--outline:focus-visible {
    background: var(--mustard);
    color: var(--navy);
}

.gv-emblem {
    position: absolute;
    top: -58px;
    right: -34px;
    z-index: 2;
    width: 140px;
    height: 140px;
    transform: rotate(10deg);
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}

@media (max-width: 899px) {
    .gv-emblem {
        top: -44px;
        right: -6px;
        width: 92px;
        height: 92px;
    }
}

.gv-hero .west-machine .rs-pic img {
    filter: sepia(0.15);
}

/* ---------------------------------------------------------------------
   02 Billets d'admission
   --------------------------------------------------------------------- */
.gv-tickets {
    padding: 0 0 clamp(2.5rem, 2rem + 2vw, 4rem);
}

.gv-ticket-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gv-ticket {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px 18px 30px;
    border: 2px dashed rgba(31, 42, 68, 0.45);
    border-radius: 6px;
    background-color: var(--paper);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: 0 10px 20px -12px rgba(40, 25, 5, 0.45);
    font-family: var(--f-type);
    color: var(--ink);
}

/* Encoches de billet perforé */
.gv-ticket::before,
.gv-ticket::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border-radius: 50%;
    background: var(--cream);
}

.gv-ticket::before { left: -10px; }
.gv-ticket::after { right: -10px; }

.gv-ticket-top {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.gv-ticket strong {
    font-family: var(--f-slab);
    font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--navy);
}

.gv-ticket span:last-child {
    font-size: 0.95rem;
    color: var(--ink-2);
}

/* ---------------------------------------------------------------------
   03 Le mur du garage
   --------------------------------------------------------------------- */
.gv-wall {
    position: relative;
    border-block: 14px solid #5b4530;
    background-color: #3a2414;
    background-image:
        linear-gradient(180deg, rgba(20, 12, 6, 0.6) 0%, rgba(20, 12, 6, 0.4) 40%, rgba(20, 12, 6, 0.75) 100%),
        var(--tx-wall);
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 18px 30px rgba(0, 0, 0, 0.4), inset 0 -10px 20px rgba(0, 0, 0, 0.3);
    color: #f1e6cc;
}

.gv-wall-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 1.5rem + 2vw, 3rem);
    padding-block: clamp(3.5rem, 2.8rem + 3vw, 5.5rem);
}

.gv-woodsign {
    position: relative;
    align-self: center;
    max-width: 100%;
    padding: 18px clamp(1.2rem, 0.6rem + 2.6vw, 2.8rem);
    border: 4px solid #1f150a;
    background-color: #3a2814;
    background-image: var(--tx-planks);
    background-size: cover;
    box-shadow: inset 0 0 0 999px rgba(30, 18, 8, 0.55), 0 12px 24px rgba(0, 0, 0, 0.45);
    text-align: center;
    transform: rotate(-1deg);
}

.gv-woodsign h2 {
    margin: 0;
    font-family: var(--f-west);
    font-size: clamp(2rem, 1.5rem + 2.2vw, 2.9rem);
    line-height: 1;
    text-transform: none;
    color: #f3d38f;
}

.gv-woodsign p {
    margin: 6px 0 0;
    font-family: var(--f-type);
    font-size: 0.95rem;
    color: #efe4cc;
}

.gv-plate {
    display: flex;
    justify-content: center;
}

.gv-plate img {
    width: min(440px, 100%);
    height: auto;
    transform: rotate(-2deg);
    filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6));
}

.gv-wall-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.gv-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    z-index: 1;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.5), inset -2px -2px 3px rgba(0, 0, 0, 0.35);
}

.gv-pin--mustard { background: var(--mustard); }
.gv-pin--blue { background: #2f5fd0; }
.gv-pin--dark { background: #3b3b3b; }

/* Calendrier d'époque */
.gv-calendar {
    position: relative;
    flex: 0 1 340px;
    background: #fbf6e8;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
    color: var(--ink);
    transform: rotate(1.5deg);
}

.gv-calendar-band {
    margin: 0;
    padding: 10px 14px;
    background: var(--red);
    font-family: var(--f-head);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
    color: var(--paper);
}

.gv-calendar-art {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 200px;
    background-image: image-set(url("/assets/scene/night-768.avif?v=2") type("image/avif"), url("/assets/scene/night-768.webp?v=2") type("image/webp"), url("/assets/scene/night-768.jpg?v=2") type("image/jpeg"));
    background-position: center 70%;
    background-size: cover;
    filter: sepia(0.35) saturate(0.85);
}

.gv-calendar-art img {
    width: 250px;
    height: auto;
    margin-bottom: 6px;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
}

.gv-calendar-body {
    padding: 14px 16px 18px;
}

.gv-calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--navy);
    font-family: var(--f-slab);
    font-size: 1.5rem;
}

.gv-calendar-head span:last-child {
    color: var(--red);
}

.gv-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-top: 8px;
    font-family: var(--f-type);
    font-size: 0.82rem;
    text-align: center;
}

.gv-calendar-grid span {
    padding: 3px 0;
    border-radius: 50%;
}

.gv-calendar-grid .gv-cal-dow {
    font-weight: 700;
}

.gv-calendar-grid .is-sunday {
    color: var(--red);
}

.gv-calendar-grid .is-circled {
    border: 2px solid var(--red);
    color: var(--red);
    font-weight: 700;
}

.gv-calendar-note {
    margin: 10px 0 0;
    font-family: var(--f-script);
    font-size: 1.4rem;
    line-height: 1.1;
    color: var(--red);
}

/* Photos punaisées */
.gv-pinned {
    display: grid;
    flex: 1 1 560px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 760px;
}

.gv-polaroid {
    position: relative;
    margin: 0;
    padding: 10px 10px 14px;
    background: #fbf6e8;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45);
    color: var(--ink);
}

.gv-polaroid img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    filter: sepia(0.45) saturate(0.75) contrast(1.05);
}

.gv-tilt-c img {
    object-position: center 25%;
}

.gv-polaroid figcaption {
    margin-top: 8px;
    font-family: var(--f-script);
    font-size: 1.5rem;
    line-height: 1.1;
}

.gv-tilt-a { transform: rotate(-3deg); }
.gv-tilt-b { transform: rotate(2deg); }
.gv-tilt-c { transform: rotate(1deg); }

.gv-clipping {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 18px;
    background: #ede3c8;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45);
    color: #2a2a2a;
    transform: rotate(-1.5deg);
}

.gv-clipping blockquote {
    margin: 0;
    font-family: var(--f-slab);
    font-size: 1.15rem;
    line-height: 1.3;
}

.gv-clipping blockquote p {
    margin: 0;
}

.gv-clipping figcaption {
    font-family: var(--f-type);
    font-size: 0.85rem;
    color: #5a4a35;
}

/* ---------------------------------------------------------------------
   04 « Un seul gars. Votre gars. » : photo scotchée et lettre tapée
   --------------------------------------------------------------------- */
.gv-letter-grid {
    display: grid;
    gap: clamp(2.5rem, 2rem + 3vw, 4rem);
    align-items: center;
}

@media (min-width: 960px) {
    .gv-letter-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

.gv-snapshot {
    position: relative;
    margin: 0;
    padding: 14px 14px 18px;
    background: #fbf6e8;
    box-shadow: 0 18px 40px rgba(40, 25, 5, 0.25);
    transform: rotate(-1.5deg);
}

.gv-snapshot img {
    display: block;
    width: 100%;
    height: clamp(260px, 32vw, 460px);
    object-fit: cover;
    filter: sepia(0.35) saturate(0.85) contrast(1.05);
}

.gv-snapshot figcaption {
    margin-top: 12px;
    font-family: var(--f-script);
    font-size: 1.6rem;
    color: var(--navy);
}

.gv-tape {
    position: absolute;
    top: -12px;
    left: 50%;
    z-index: 1;
    width: 120px;
    height: 30px;
    margin-left: -60px;
    background: rgba(217, 164, 65, 0.6);
    transform: rotate(-3deg);
}

.gv-letter-text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.gv-letter-text h2 {
    margin: 0;
    font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.5rem);
}

.gv-letter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 28px 30px;
    border: 1px solid #c9b78f;
    background-color: var(--paper);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: 0 10px 24px rgba(40, 25, 5, 0.12);
    font-family: var(--f-type);
    font-size: 1.06rem;
    line-height: 1.7;
    color: #2a2a2a;
}

.gv-letter p {
    margin: 0;
}

.gv-signature {
    display: flex;
    flex-direction: column;
    margin-top: 0.4rem !important;
}

.gv-signature span {
    font-family: var(--f-script);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--navy);
}

.gv-signature small {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--brown);
}

/* 3 promesses en plaques émaillées */
.gv-promises {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
}

.gv-promises li {
    position: relative;
    padding: 10px 22px;
    border: 2px solid var(--paper);
    border-radius: 8px;
    outline: 2px solid var(--navy);
    background: var(--navy);
    font-family: var(--f-head);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--paper);
}

.gv-promises li:nth-child(2) {
    outline-color: var(--red);
    background: var(--red);
}

/* ---------------------------------------------------------------------
   05 Le coffre à outils
   --------------------------------------------------------------------- */
.gv-chest-section {
    position: relative;
    background-color: #6e5640;
    background-image: var(--tx-planks);
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 14px 24px rgba(0, 0, 0, 0.45);
    color: #f1e6cc;
}

.gv-chest-grid {
    display: grid;
    gap: clamp(2rem, 1.5rem + 3vw, 3.5rem);
    align-items: end;
    padding-top: clamp(3.5rem, 2.8rem + 3vw, 6rem);
}

@media (min-width: 1000px) {
    .gv-chest-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }
}

.gv-chest-intro {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-self: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(28, 18, 10, 0.62);
}

@media (min-width: 1000px) {
    .gv-chest-intro {
        margin-bottom: 6rem;
    }
}

.gv-chest-intro .kicker {
    margin: 0;
    color: #f3d38f;
}

.gv-chest-intro h2 {
    margin: 0;
    font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.gv-chest-lead {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #efe4cc;
}

.gv-chest-more {
    color: #f3d38f;
}

.gv-chest-tm {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #e4d6b8;
}

.gv-chest {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 640px;
    justify-self: center;
    filter: drop-shadow(18px 22px 22px rgba(0, 0, 0, 0.55));
}

.gv-chest-handle {
    height: 30px;
    background: image-set(url("/assets/ui/coffre-poignee.avif") type("image/avif"), url("/assets/ui/coffre-poignee.webp") type("image/webp"), url("/assets/ui/coffre-poignee.png") type("image/png")) center bottom / 220px 34px no-repeat;
}

.gv-chest-lid {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    background: image-set(url("/assets/ui/coffre-couvercle.avif") type("image/avif"), url("/assets/ui/coffre-couvercle.webp") type("image/webp"), url("/assets/ui/coffre-couvercle.png") type("image/png")) center / 100% 100% no-repeat;
}

.gv-chest-lid img {
    width: auto;
    height: 34px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}

.gv-chest-chrome {
    height: 12px;
    background: var(--tx-chrome) center / 100% 100%;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}

.gv-chest-chrome--base {
    height: 10px;
}

.gv-chest-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    background-color: #8f1e1a;
    background-image: var(--tx-caisson);
    background-size: 240px 240px;
    box-shadow: inset 6px 0 10px rgba(0, 0, 0, 0.35), inset -8px 0 12px rgba(0, 0, 0, 0.45);
}

.gv-drawer > summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    padding: 0 clamp(10px, 2vw, 22px);
    border-radius: 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
    list-style: none;
    cursor: pointer;
}

.gv-drawer > summary::-webkit-details-marker {
    display: none;
}

.gv-drawer > summary:hover {
    filter: brightness(1.08);
}

.gv-drawer > summary:focus-visible {
    outline: 3px solid var(--mustard);
    outline-offset: 2px;
}

.gv-drawer--t0 > summary { background-image: image-set(url("/assets/ui/coffre-tiroir0.avif") type("image/avif"), url("/assets/ui/coffre-tiroir0.webp") type("image/webp"), url("/assets/ui/coffre-tiroir0.png") type("image/png")); }
.gv-drawer--t1 > summary { background-image: image-set(url("/assets/ui/coffre-tiroir1.avif") type("image/avif"), url("/assets/ui/coffre-tiroir1.webp") type("image/webp"), url("/assets/ui/coffre-tiroir1.png") type("image/png")); }
.gv-drawer--t2 > summary { background-image: image-set(url("/assets/ui/coffre-tiroir2.avif") type("image/avif"), url("/assets/ui/coffre-tiroir2.webp") type("image/webp"), url("/assets/ui/coffre-tiroir2.png") type("image/png")); }
.gv-drawer--t3 > summary { background-image: image-set(url("/assets/ui/coffre-tiroir3.avif") type("image/avif"), url("/assets/ui/coffre-tiroir3.webp") type("image/webp"), url("/assets/ui/coffre-tiroir3.png") type("image/png")); }

/* Étiquette en laiton */
.gv-brass {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 5px 12px;
    border: 1px solid #6a4c16;
    border-radius: 2px;
    background: var(--brass);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.gv-brass-num {
    flex: none;
    font-family: var(--f-type);
    font-size: 0.82rem;
    font-weight: 700;
    color: #3a2814;
}

.gv-brass-title {
    font-family: var(--f-head);
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2a1a0a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.gv-drawer-pull {
    flex: none;
    width: clamp(70px, 18vw, 150px);
    height: 22px;
    background: image-set(url("/assets/ui/coffre-poignee.avif") type("image/avif"), url("/assets/ui/coffre-poignee.webp") type("image/webp"), url("/assets/ui/coffre-poignee.png") type("image/png")) center / 100% 100% no-repeat;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.5));
}

.gv-drawer-inside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: -2px 10px 0;
    padding: 18px 20px;
    border: 3px solid #5a0f0c;
    border-top: 0;
    background-color: #1b1b1b;
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: inset 0 10px 16px rgba(0, 0, 0, 0.7);
}

.gv-drawer-inside p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #e9e1d1;
}

.gv-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gv-tools li {
    padding: 5px 10px;
    border: 1px solid #5f656e;
    border-radius: 3px;
    background: #2a2a2a;
    font-family: var(--f-type);
    font-size: 0.82rem;
    color: #cfd6e2;
}

.gv-drawer-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-family: var(--f-type);
    font-weight: 700;
    color: #f3d38f;
}

.gv-drawer-link .icon {
    width: 1em;
    height: 1em;
}

.gv-chest-plinth {
    height: 18px;
    background: #1c1c1c;
    box-shadow: inset 0 3px 4px rgba(255, 255, 255, 0.08);
}

.gv-chest-wheels {
    display: flex;
    justify-content: space-between;
    height: 46px;
    padding: 0 26px;
}

.gv-chest-wheels span {
    width: 52px;
    height: 52px;
    margin-top: -6px;
    background: image-set(url("/assets/ui/coffre-roue.avif") type("image/avif"), url("/assets/ui/coffre-roue.webp") type("image/webp"), url("/assets/ui/coffre-roue.png") type("image/png")) center / contain no-repeat;
}

.gv-concrete {
    height: 56px;
    margin-top: -4px;
    background-image: var(--tx-grain), linear-gradient(180deg, #3a3633 0%, #55504b 40%, #4a4642 100%);
    box-shadow: inset 0 10px 14px rgba(0, 0, 0, 0.5);
}

/* Petite touche cursive */
.gv-script {
    font-family: var(--f-script);
    font-size: 1.4rem;
    line-height: 1.2;
}

/* ---------------------------------------------------------------------
   07 Comment ça se passe : pastilles
   --------------------------------------------------------------------- */
.gv-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.gv-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.gv-disc {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border: 4px double var(--paper);
    border-radius: 50%;
    outline: 3px solid var(--red);
    background-color: var(--red);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    font-family: var(--f-slab);
    font-size: 1.9rem;
    color: var(--paper);
}

.gv-disc--ink {
    border-color: var(--mustard);
    outline-color: var(--navy);
    background-color: var(--navy);
    color: var(--mustard);
}

.gv-steps h3 {
    margin: 0;
    font-family: var(--f-head);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gv-steps p {
    margin: 0;
    color: var(--ink-2);
}

/* ---------------------------------------------------------------------
   08 Bande rouge
   --------------------------------------------------------------------- */
.gv-callband {
    border-top: 3px double var(--paper);
    background-color: var(--red);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    color: var(--paper);
}

.gv-callband-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: clamp(3rem, 2.5rem + 2.5vw, 5rem);
}

.gv-callband .gv-script {
    margin: 0;
    font-size: 1.9rem;
    color: #f3d38f;
}

.gv-callband h2 {
    margin: 0.3rem 0 0;
    font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
    color: var(--paper);
}

.gv-callband-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.gv-callband-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 0 26px;
    border: 3px double var(--navy);
    border-radius: 6px;
    background-color: var(--paper);
    font-family: var(--f-type);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

.gv-callband-phone:hover,
.gv-callband-phone:focus-visible {
    background-color: #fff;
    color: var(--navy);
}

.gv-btn--light {
    min-height: 62px;
    border: 2px solid var(--paper);
    background: transparent;
    color: var(--paper);
    box-shadow: none;
}

.gv-btn--light:hover,
.gv-btn--light:focus-visible {
    background: var(--paper);
    color: var(--red);
}

/* Mouvement réduit : pas d'effet de survol animé (les inclinaisons sont fixes) */
@media (prefers-reduced-motion: reduce) {
    .gv-drawer > summary:hover {
        filter: none;
    }
}

@media (min-width: 1000px) {
    .gv-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }
}

/* Jetons « glace » du thème précédent, redéfinis dans la palette garage
   (certaines règles communes s'en servent encore). */
.theme-garage {
    --aqua: #d9a441;
    --ice: #d9a441;
    --ice-2: #f7f0de;
    --ice-3: #6b4a2f;
    --hairline: rgba(217, 164, 65, 0.3);
}

.theme-garage .site-footer h2 {
    font-family: var(--f-slab);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mustard);
}

/* Cellulaire : les photos punaisées passent sous le calendrier, sans déborder */
.gv-pinned {
    min-width: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

@media (max-width: 640px) {
    .gv-pinned {
        flex-basis: 100%;
        padding-inline: 8px;
    }

    .gv-calendar {
        flex-basis: 100%;
        max-width: 340px;
    }
}

@media (max-width: 640px) {
    .gv-ticket-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .gv-ticket {
        padding: 14px 14px 14px 20px;
    }

    .gv-btn {
        font-size: 1rem;
    }
}

/* Rivets des enseignes : annule la position et l'effet lumineux de la règle de base */
.theme-garage .board::before {
    top: 22px;
    right: 22px;
    bottom: 22px;
    left: 22px;
    width: auto;
    height: auto;
    transform: none;
    filter: none;
}

/* Le titre de l'enseigne reste en Barlow Condensed (le slogan Rye fait déjà l'affiche) */
.theme-garage .gv-sign .gv-sign-title {
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------------
   02b Spécialité Zamboni® : plaques émaillées des marques
   --------------------------------------------------------------------- */
.gv-specialty {
    background-color: var(--cream-2);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    border-top: 1px solid rgba(31, 42, 68, 0.15);
}

.gv-specialty-grid {
    display: grid;
    gap: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    align-items: center;
}

@media (min-width: 960px) {
    .gv-specialty-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    }
}

.gv-specialty-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.gv-specialty-text > * {
    margin: 0;
}

.gv-specialty h2 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.gv-specialty h2 sup,
.gv-brand-plates sup {
    font-size: 0.45em;
}

.gv-brand-plates {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gv-brand-plates li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    padding: 14px 20px;
    border: 2px solid var(--paper);
    border-radius: 8px;
    outline: 2px solid var(--navy);
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    color: var(--paper);
}

.gv-brand-plates strong {
    font-family: var(--f-slab);
    font-size: 1.35rem;
    font-weight: 400;
}

.gv-brand-plates span {
    font-family: var(--f-type);
    font-size: 0.9rem;
    color: var(--mustard);
}

.gv-brand-plates .is-main {
    outline-color: var(--red);
    background-color: var(--red);
}

.gv-brand-plates .is-main span {
    color: var(--paper);
}

/* ---------------------------------------------------------------------
   03b Tableau indicateur : enseigne émaillée et compteurs mécaniques
   --------------------------------------------------------------------- */
.gv-scoreboard-grid {
    display: grid;
    gap: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    align-items: center;
}

@media (min-width: 960px) {
    .gv-scoreboard-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

.gv-scoreboard-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.gv-scoreboard-text > * {
    margin: 0;
}

.gv-scoreboard {
    position: relative;
    padding: clamp(2rem, 1.6rem + 1.5vw, 2.6rem) clamp(1.2rem, 0.8rem + 2vw, 2.4rem);
    border-radius: 18px;
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    box-shadow: inset 0 0 0 10px var(--navy), inset 0 0 0 13px var(--cream), 0 24px 44px -20px rgba(20, 14, 5, 0.55);
    color: var(--cream);
}

.gv-scoreboard-title {
    margin: 0 0 1.2rem;
    font-family: var(--f-slab);
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    color: var(--mustard);
}

.gv-counters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gv-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* Chiffres sur palettes noires, comme un vieux compteur mécanique */
.gv-counter-value {
    position: relative;
    min-width: 4.2ch;
    padding: 6px 12px;
    border: 1px solid #000;
    border-radius: 4px;
    background: linear-gradient(180deg, #1b1b1b 0%, #1b1b1b 49%, #000 50%, #222 51%, #1b1b1b 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.08), 0 3px 0 rgba(0, 0, 0, 0.45);
    font-family: var(--f-type);
    font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--mustard);
}

.gv-counter-label {
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
}

/* ---------------------------------------------------------------------
   Boutique : boutons du panier et vue « Ma demande »
   --------------------------------------------------------------------- */
.shop-checkout-btn {
    min-height: 58px;
    font-size: 1.1rem;
}

.shop-checkout-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.shop-continue {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 0.6rem;
    border: 2px solid var(--navy);
    border-radius: 6px;
    background: transparent;
    font-family: var(--f-head);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    cursor: pointer;
}

.shop-continue:hover,
.shop-continue:focus-visible {
    background: var(--navy);
    color: var(--paper);
}

.shop-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    margin-bottom: 0.75rem;
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
}

.shop-back .icon {
    transform: rotate(180deg);
}

.shop-request {
    padding-top: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}

.shop-request #order-title {
    margin: 0;
    font-size: var(--fs-h2);
    text-transform: uppercase;
}

.shop-request #order-title:focus {
    outline: none;
}

@media (max-width: 640px) {
    .shop-request .section-head {
        margin-bottom: 1rem;
    }
}

.shop-floating[hidden] {
    display: none;
}

/* =====================================================================
   SURFACEUSE : traînée sous l'interface, vapeur et gouttelettes
   ===================================================================== */

/* La traînée brillante (pseudo-élément de .west-machine) reste derrière l'enseigne et toute l'interface */
.west-hero .gv-sign {
    z-index: 2;
}

.west-hero .west-machine {
    z-index: 1;
}

/* Eau très chaude sur glace froide : un léger nuage se forme au contact de la glace
   derrière le conditionneur, monte, s'étire vers l'arrière et se dissipe. Il suit la
   machine pendant qu'elle roule (dans .rs-machine) et s'estompe quand elle s'arrête. */
.rs-steam {
    position: absolute;
    z-index: 2;
    right: -9%;
    bottom: -4%;
    width: 28%;
    height: 80%;
    pointer-events: none;
    transform: scaleX(-1); /* conditionneur à droite : la vapeur part vers la droite */
    --steam: 0.75;
    animation: rs-steam-life 6.5s ease-out both;
}

html[data-scene="night"] .rs-steam {
    --steam: 1;
}

@media (prefers-color-scheme: dark) {
    html:not([data-scene="day"]) .rs-steam {
        --steam: 1;
    }
}

.rs-puff {
    position: absolute;
    bottom: 0;
    left: var(--x);
    width: var(--w);
    aspect-ratio: 1.35;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 58%, rgba(255, 255, 255, 1) 0%, rgba(252, 253, 255, 0.92) 30%, rgba(232, 240, 250, 0.55) 52%, rgba(225, 235, 248, 0) 74%);
    opacity: 0;
    transform-origin: 70% 80%;
    animation: rs-puff 2.6s ease-out var(--d) 3;
}

.rs-puff:nth-child(1) { --x: 34%; --w: 60%; --d: 0s; }
.rs-puff:nth-child(2) { --x: 20%; --w: 70%; --d: 0.35s; }
.rs-puff:nth-child(3) { --x: 44%; --w: 52%; --d: 0.7s; }
.rs-puff:nth-child(4) { --x: 14%; --w: 74%; --d: 1.05s; }
.rs-puff:nth-child(5) { --x: 30%; --w: 58%; --d: 1.4s; }
.rs-puff:nth-child(6) { --x: 18%; --w: 66%; --d: 1.75s; }
.rs-puff:nth-child(7) { --x: 38%; --w: 60%; --d: 2.1s; }

@keyframes rs-puff {
    0% { opacity: 0; transform: translate(0, 0) scale(0.35, 0.3); }
    22% { opacity: var(--steam); }
    100% { opacity: 0; transform: translate(-40%, -210%) scale(2.1, 1.6); }
}

/* Fines gouttelettes projetées vers l'arrière, juste au-dessus de la glace */
.rs-drop {
    position: absolute;
    bottom: 6%;
    left: var(--x);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(226, 242, 255, 0.95);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: rs-drop 0.9s ease-out var(--d) 6;
}

.rs-drop:nth-child(8) { --x: 44%; --d: 0s; }
.rs-drop:nth-child(9) { --x: 40%; --d: 0.25s; }
.rs-drop:nth-child(10) { --x: 47%; --d: 0.45s; }
.rs-drop:nth-child(11) { --x: 42%; --d: 0.6s; }
.rs-drop:nth-child(12) { --x: 38%; --d: 0.15s; }
.rs-drop:nth-child(13) { --x: 45%; --d: 0.75s; }
.rs-drop:nth-child(14) { --x: 41%; --d: 0.35s; }
.rs-drop:nth-child(15) { --x: 48%; --d: 0.55s; }

@keyframes rs-drop {
    0% { opacity: 0; transform: translate(0, 0); }
    15% { opacity: 0.9; }
    55% { transform: translate(-22px, -9px); }
    100% { opacity: 0; transform: translate(-40px, 2px); }
}

/* Présent pendant que la machine roule (3,2 s), puis s'estompe à l'arrêt */
@keyframes rs-steam-life {
    0% { opacity: 0; }
    6% { opacity: 1; }
    50% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* Cellulaire : moitié moins d'éléments */
@media (max-width: 760px) {
    .rs-puff:nth-child(n+5),
    .rs-drop:nth-child(n+12) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-steam {
        display: none;
    }
}

/* =====================================================================
   BOUTIQUE (phase 2) : catalogue en liste, filtres à gauche (panneau
   « Filtres » sur cellulaire), panier avec miniatures et « Sauvegardé
   pour plus tard », page « Ma demande » façon Amazon, formulaire en étapes.
   ===================================================================== */

/* Recherche en haut */
.shop-searchbar {
    margin-bottom: 1rem;
}

.shop-searchbar label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.shop-search-row {
    position: relative;
}

.shop-search-row .icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: var(--ink-2);
    pointer-events: none;
}

.shop-search-row input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px 0 44px;
    border: 2px solid var(--navy);
    border-radius: 8px;
    background: #fff;
    font-size: 1.05rem;
}

.shop-suggest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 0.6rem;
}

.shop-suggest p {
    margin: 0;
    font-weight: 600;
}

.shop-departments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.2rem;
}

/* Colonne de filtres + liste */
.shop-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 960px) {
    .shop-layout {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .shop-filters {
        position: sticky;
        top: calc(var(--header-h) + 1rem);
        max-height: calc(100vh - var(--header-h) - 2rem);
        overflow: auto;
    }

    .shop-filters-head .shop-filters-close,
    .shop-filters-apply,
    .shop-filters-toggle {
        display: none;
    }
}

.shop-filters {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--navy);
    border-radius: 10px;
    background-color: var(--paper);
}

.shop-filters-head,
.shop-filters-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
}

.shop-filters-head {
    border-bottom: 1.5px dashed var(--line);
}

.shop-filters-head h3 {
    margin: 0;
    font-size: 1.25rem;
}

.shop-filters-body {
    display: grid;
    gap: 14px;
    padding: 14px 16px;
}

.shop-filter label {
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.shop-filter select {
    width: 100%;
    min-height: 44px;
}

.shop-filter[hidden] {
    display: none;
}

.shop-filter-note {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink-2);
}

.shop-filters-foot {
    border-top: 1.5px dashed var(--line);
}

/* Cellulaire / tablette : panneau « Filtres » plein écran */
@media (max-width: 959px) {
    .shop-filters {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 120;
        width: min(92vw, 380px);
        border-radius: 0;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0s linear 0.25s;
    }

    .shop-filters.is-open {
        transform: none;
        visibility: visible;
        transition: transform 0.25s ease;
    }

    .shop-filters-body {
        flex: 1;
        overflow: auto;
    }

    .shop-filters-apply {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-filters {
        transition: none !important;
    }
}

.shop-results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 0.6rem;
}

.shop-results-bar .shop-results {
    margin: 0;
}

.shop-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 2px solid var(--navy);
    border-radius: 8px;
    background: var(--paper);
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
    cursor: pointer;
}

.shop-filters-toggle .icon {
    width: 20px;
    height: 20px;
}

.shop-filters-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    background: var(--red);
    font-size: 0.8rem;
    color: #fff;
}

.shop-filters-count[hidden] {
    display: none;
}

.shop-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.shop-chips[hidden] {
    display: none;
}

.shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border: 1.5px solid var(--navy);
    border-radius: 18px;
    background: #fff;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
}

.shop-chip:hover,
.shop-chip:focus-visible {
    background: var(--navy);
    color: var(--paper);
}

/* Une pièce par ligne : image à gauche, infos au centre, bouton à droite */
.shop-list {
    display: grid;
    gap: 12px;
}

.shop-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1.5px solid #c9b78f;
    border-radius: 8px;
    background-color: var(--paper);
}

.shop-row-img,
.shop-req-img {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
}

.shop-row-img img,
.shop-req-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-row-info h3,
.shop-req-info h3 {
    margin: 0.15rem 0 0.25rem;
    font-size: 1.2rem;
}

.shop-row-info p,
.shop-req-info p {
    margin: 0.15rem 0;
}

.shop-row-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ink-2);
}

.shop-row-buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 180px;
    text-align: right;
}

.shop-avail {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    background: #e8e1cf;
    color: var(--ink);
}

.shop-avail--in_stock {
    background: #d7ecd9;
    color: #1d5a2a;
}

.shop-avail--out_of_stock {
    background: #f3d6d3;
    color: #8a1f17;
}

@media (max-width: 640px) {
    .shop-row {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
    }

    .shop-row-buy {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        text-align: left;
    }
}

/* Panier (tiroir) : miniatures, article ajouté surligné, sauvegardé pour plus tard */
.shop-cart-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 0.8rem 0.4rem;
    border-bottom: 1.5px dashed var(--line);
    border-radius: 6px;
}

.shop-thumb {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-placeholder--small img {
    width: 36px;
    height: auto;
}

.shop-cart-main {
    display: grid;
    gap: 6px;
}

.shop-cart-sku .shop-price,
.shop-cart-sku .shop-price-amount {
    font-size: inherit;
}

.shop-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.shop-link {
    min-height: 32px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.9rem;
    color: var(--navy);
    text-decoration: underline;
    cursor: pointer;
}

.shop-link--strong {
    font-weight: 700;
    color: var(--red);
}

.shop-cart-row.is-new,
.shop-req-row.is-new {
    animation: shop-flash 2.6s ease-out;
}

@keyframes shop-flash {
    0%, 35% { background: rgba(217, 164, 65, 0.45); box-shadow: inset 0 0 0 2px var(--mustard); }
    100% { background: transparent; box-shadow: inset 0 0 0 2px transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .shop-cart-row.is-new,
    .shop-req-row.is-new {
        animation: none;
        box-shadow: inset 0 0 0 2px var(--mustard);
    }
}

.shop-drawer-saved {
    padding: 0.6rem 1.3rem 0.4rem;
    border-top: 2.5px solid var(--navy);
    max-height: 30vh;
    overflow: auto;
}

.shop-drawer-saved h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.shop-drawer-saved[hidden] {
    display: none;
}

.shop-empty-cart {
    margin: 0.8rem 0;
    color: var(--ink-2);
}

.shop-drawer-bottom {
    display: grid;
    gap: 0.6rem;
}

.shop-drawer-bottom .shop-continue {
    margin-top: 0;
}

/* « Ma demande » façon Amazon */
.shop-req-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (min-width: 960px) {
    .shop-req-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .shop-req-summary {
        position: sticky;
        top: calc(var(--header-h) + 1rem);
    }
}

.shop-req-title {
    margin: 1.2rem 0 0.6rem;
    font-size: 1.3rem;
}

.shop-req-main > .shop-req-title:first-child {
    margin-top: 0;
}

.shop-req-items {
    display: grid;
    gap: 10px;
}

.shop-req-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 14px;
    border: 1.5px solid #c9b78f;
    border-radius: 8px;
    background-color: var(--paper);
}

.shop-req-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 0.6rem;
}

.shop-req-price {
    min-width: 120px;
    text-align: right;
}

.shop-saved-row .shop-req-info {
    display: grid;
    gap: 4px;
}

@media (max-width: 640px) {
    .shop-req-row {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    .shop-req-price {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        min-width: 0;
        font-size: 0.9rem;
    }

    .shop-req-info {
        grid-column: 1 / -1;
    }
}

.shop-req-saved[hidden] {
    display: none;
}

.shop-req-summary {
    padding: 18px;
    border: 2px solid var(--navy);
    border-radius: 10px;
    background-color: var(--paper);
}

.shop-req-summary h2 {
    margin: 0 0 0.6rem;
    font-size: 1.4rem;
}

.shop-req-summary dl {
    display: grid;
    gap: 8px;
    margin: 0 0 0.8rem;
}

.shop-req-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.shop-req-summary dt {
    color: var(--ink-2);
}

.shop-req-summary dd {
    margin: 0;
    font-family: var(--f-type);
    font-weight: 700;
}

/* Formulaire en 3 étapes */
.shop-steps-card[hidden] {
    display: none;
}

.shop-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}

.shop-stepper li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.shop-stepper span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.shop-stepper [aria-current="step"] {
    color: var(--red);
}

.shop-stepper .is-done {
    color: var(--navy);
}

.shop-step {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

@media (min-width: 720px) {
    .shop-step {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-step .full,
    .shop-step fieldset,
    .shop-step .shop-recap {
        grid-column: 1 / -1;
    }
}

.shop-step legend {
    margin-bottom: 0.4rem;
    font-family: var(--f-slab, var(--f-head));
    font-size: 1.3rem;
}

.shop-step[hidden] {
    display: none;
}

.shop-step-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.shop-step-nav .shop-continue {
    width: auto;
    margin-top: 0;
    padding: 0 22px;
}

.shop-step-nav .shop-primary .icon {
    width: 18px;
    height: 18px;
}

.shop-recap {
    padding: 14px 16px;
    border: 1.5px dashed var(--line);
    border-radius: 8px;
    background: #fff;
}

.shop-recap h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}

.shop-recap h4 {
    margin: 0.8rem 0 0.3rem;
}

.shop-recap dl {
    display: grid;
    gap: 4px;
    margin: 0;
}

.shop-recap dl div {
    display: grid;
    grid-template-columns: minmax(110px, 30%) minmax(0, 1fr);
    gap: 10px;
}

.shop-recap dt {
    color: var(--ink-2);
}

.shop-recap dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.shop-recap ul {
    margin: 0;
    padding-left: 1.2rem;
}

@media (min-width: 960px) {
    .shop-results-bar .shop-filters-toggle {
        display: none;
    }
}

.shop-filters .shop-filters-close {
    border-color: var(--navy);
    background: transparent;
    color: var(--navy);
}

.shop-cart-main .shop-qty,
.shop-req-controls .shop-qty {
    justify-self: start;
    width: auto;
}

@media (max-width: 640px) {
    .shop-row-img .shop-placeholder small,
    .shop-req-img .shop-placeholder small {
        display: none;
    }

    /* Le bouton flottant du panier ne cache pas le bouton « Ajouter » de la dernière pièce */
    .shop-catalog {
        padding-bottom: 6rem;
    }
}

/* =====================================================================
   « PANNE URGENTE » : en-tête (ordinateur), barre du bas (cellulaire), fenêtre de choix
   ===================================================================== */
.nav-urgent {
    border: 2px solid var(--mustard, #d9a441);
    background: transparent;
    color: var(--mustard, #d9a441);
    box-shadow: none;
}

.nav-urgent:hover,
.nav-urgent:focus-visible {
    background: var(--mustard, #d9a441);
    color: var(--navy);
}

.nav-urgent .icon {
    width: 18px;
    height: 18px;
}

.nav-urgent-short {
    display: none;
}

@media (max-width: 1279px) {
    .nav-urgent-long {
        display: none;
    }

    .nav-urgent-short {
        display: inline;
    }
}

/* Cellulaire : le bouton est dans la barre du bas (toujours visible) */
@media (max-width: 760px) {
    .nav-tools .nav-urgent {
        display: none;
    }

    .callbar {
        grid-template-columns: 1fr 1.15fr 1fr;
    }

    .callbar a {
        font-size: 1.05rem;
    }

    .callbar .callbar-urgent {
        background: var(--mustard, #d9a441);
        color: var(--navy);
    }
}

.urgent-dialog {
    width: min(92vw, 440px);
    padding: 1.6rem 1.4rem 1.2rem;
    border: 3px double var(--red);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
}

.urgent-dialog::backdrop {
    background: rgba(17, 24, 41, 0.6);
}

.urgent-dialog h2 {
    margin: 0.2rem 0 0.4rem;
}

.urgent-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-family: var(--f-head);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
}

.urgent-kicker .icon {
    width: 18px;
    height: 18px;
}

.urgent-choice {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin-top: 0.7rem;
}

.urgent-choice--form {
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
}

.urgent-dialog .dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.consent .check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
}

.consent .check input {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.nav-urgent {
    white-space: nowrap;
}

@media (max-width: 1439px) {
    .nav-urgent-long {
        display: none;
    }

    .nav-urgent-short {
        display: inline;
    }
}

.urgent-dialog h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
}

.urgent-choice {
    font-size: 1rem;
    line-height: 1.2;
}

/* Fonds jour/nuit : cadrage ordinateur (--op) et cellulaire (--op-m), réglables dans l'admin */
.scene-photo img {
    object-position: var(--op, 50% 50%);
}

@media (max-width: 760px) {
    .scene-photo img {
        object-position: var(--op-m, var(--op, 50% 50%));
    }
}

/* =====================================================================
   EN-TÊTE SUR ORDINATEUR : tout tient sur une ligne, sans dépasser l'écran
   (avec « Panne urgente », le bouton « Contactez-moi » sortait de l'écran entre 1180 et 1536 px)
   ===================================================================== */
@media (min-width: 1180px) {
    .site-header .wrap.nav {
        width: min(100% - 2 * var(--gutter, 2rem), 1400px);
        max-width: none;
    }
}

@media (min-width: 1180px) and (max-width: 1499.98px) {
    .nav-menu a:not(.btn) {
        padding-inline: 0.45rem;
        font-size: 0.98rem;
        letter-spacing: 0.04em;
    }

    .nav-urgent-long,
    .nav-call-long {
        display: none;
    }

    .nav-urgent-short,
    .nav-call-short {
        display: inline;
    }
}

/* ---------------------------------------------------------------------
   06 Vieilles ou récentes (accueil) : fond marine, manomètre, écran de diagnostic
   --------------------------------------------------------------------- */
.gv-oldnew {
    border-bottom: 3px double var(--mustard);
    background-color: var(--navy);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    color: var(--cream);
}

.gv-oldnew-grid {
    display: grid;
    gap: clamp(2.5rem, 2rem + 3vw, 4rem);
    align-items: center;
    padding-block: var(--section);
}

@media (min-width: 960px) {
    .gv-oldnew-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.gv-oldnew-text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.gv-oldnew .gv-oldnew-kicker {
    margin: 0;
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
    color: var(--mustard);
}

.gv-oldnew h2 {
    margin: 0;
    font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.5rem);
    color: var(--paper);
}

.gv-oldnew .lead {
    margin: 0;
    color: #d6ccb4;
}

.gv-oldnew-list {
    margin: 0.4rem 0 0;
    padding: 0;
    border-top: 1px dashed rgba(239, 228, 204, 0.4);
    list-style: none;
}

.gv-oldnew-list li {
    display: flex;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(239, 228, 204, 0.4);
    font-size: 1.06rem;
}

.gv-oldnew-list p {
    margin: 0;
}

.gv-oldnew-list strong {
    color: var(--paper);
}

.gv-oldnew-list span {
    font-family: var(--f-slab);
    color: var(--mustard);
}

.gv-oldnew-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

.gv-oldnew figure {
    margin: 0;
}

.gv-gauge-card {
    display: flex;
    flex: 1 1 200px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border: 3px solid var(--mustard);
    border-radius: 12px;
    background-color: var(--paper);
    background-image: var(--tx-grain);
    background-image: var(--tx-grain-set);
    color: var(--navy);
}

.gv-gauge-card svg {
    width: 180px;
    height: 180px;
}

.gv-gauge-card .gv-script {
    color: var(--brown);
}

.gv-diag {
    display: flex;
    flex: 1 1 240px;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(217, 164, 65, 0.45);
    border-radius: 12px;
    background: #0e1526;
    font-family: var(--f-type);
}

.gv-diag-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a9b3c5;
}

.gv-diag dl {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    font-size: 0.95rem;
}

.gv-diag dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(169, 179, 197, 0.2);
}

.gv-diag dl div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.gv-diag dt { color: #cfd6e2; }
.gv-diag dd { margin: 0; color: #fff; }
.gv-diag .is-ok { color: #7fe0a6; }
.gv-diag .is-watch { color: #ffc861; }
.gv-diag .is-info { color: #9fd6ef; }

.gv-diag .gv-script {
    margin-top: auto;
    color: var(--mustard);
}

/* =============================================================
   MERCH en 2 niveaux (pages/merch.php : tuiles; pages/merch-category.php : items + variantes; js/merch.js)
   ============================================================= */
.merch-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(0.9rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.merch-tile { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.merch-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17, 23, 55, .14); }
.merch-tile:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.merch-tile-img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--cream-2); }
.merch-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.merch-tile-img .merch-tile-logo { width: 34%; height: auto; object-fit: contain; opacity: .55; }
.merch-tile-body { display: grid; gap: .3rem; padding: 1rem 1.1rem 1.2rem; }
.merch-tile-body strong { font-family: var(--f-head); font-size: var(--fs-h3); text-transform: uppercase; line-height: 1; color: var(--navy); }
.merch-tile-body small { color: var(--ink-2); font-size: var(--fs-sm); }

.merch-items { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.merch-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 3vw, 2.2rem); padding: clamp(1rem, 2.4vw, 1.6rem); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.merch-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--cream-2); border-radius: 12px; overflow: hidden; }
.merch-photo img { width: 100%; height: 100%; object-fit: cover; }
.merch-photo .merch-photo-empty { width: 30%; height: auto; object-fit: contain; opacity: .5; }
.merch-photo-note { position: absolute; bottom: .7rem; color: var(--ink-2); font-size: var(--fs-sm); }
.merch-name { font-size: var(--fs-h3); margin: 0 0 .2rem; }
.merch-price { font-weight: 700; color: var(--navy); margin: 0 0 .6rem; }
.merch-desc { color: var(--ink-2); }
.merch-form { display: grid; gap: 1rem; margin-top: 1rem; }
.merch-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.merch-choice legend { font-weight: 700; margin-bottom: .45rem; padding: 0; }
.merch-chosen { font-weight: 400; color: var(--ink-2); }
.merch-swatches, .merch-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.merch-swatch, .merch-pill { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; cursor: pointer; }
.merch-swatch input, .merch-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.merch-swatch { padding: 3px .7rem 3px 3px; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.merch-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.merch-swatch-name { font-size: var(--fs-sm); }
.merch-pill { justify-content: center; min-width: 44px; padding: .35rem .9rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; }
.merch-swatch:has(input:checked), .merch-pill:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.merch-swatch:has(input:checked) .merch-dot { box-shadow: 0 0 0 2px #fff; }
.merch-swatch:has(input:focus-visible), .merch-pill:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.merch-swatch.is-out, .merch-pill.is-out { cursor: not-allowed; opacity: .55; border-style: dashed; background: #f1ede4; color: var(--ink-2); }
.merch-pill.is-out > span:first-of-type, .merch-swatch.is-out .merch-swatch-name { text-decoration: line-through; }
.merch-swatch.is-out .merch-dot { background: linear-gradient(135deg, transparent 46%, #8a8fa3 47%, #8a8fa3 53%, transparent 54%), var(--sw, #ccc); }
.merch-out { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--red-700); }
.merch-guide { margin-top: .6rem; }
.merch-guide summary { cursor: pointer; font-weight: 700; color: var(--navy); min-height: 44px; display: inline-flex; align-items: center; }
.merch-guide p { margin: .3rem 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.merch-buy { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; }
.merch-qty { display: grid; gap: .25rem; font-weight: 700; }
.merch-qty input { width: 5.5rem; min-height: 44px; padding: .4rem .6rem; border: 2px solid var(--line); border-radius: 10px; font: inherit; }
.merch-add[disabled] { opacity: .5; cursor: not-allowed; filter: grayscale(.4); }
.merch-hint { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.merch-added:empty { display: none; }
.merch-added { padding: .8rem 1rem; border-radius: 10px; background: #e6f4ea; border: 1px solid #9fcfac; }
.merch-added p { margin: 0 0 .6rem; }
.merch-added .icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; color: #237a3b; }
/* Photo booth (pages/booth.php, js/booth.js) : photo du visiteur + gear détouré, tout dans le navigateur. */
.booth { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1rem, 3vw, 2.2rem); align-items: start; }
.booth [hidden] { display: none !important; }
.booth-stage { position: sticky; top: 5.5rem; display: grid; gap: .6rem; }
.booth-frame { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--navy); border: 1px solid var(--line); }
.booth-frame canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.booth-frame canvas:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.booth-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.booth-empty, .booth-count { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 1rem; color: #fff; text-align: center; font-weight: 700; pointer-events: none; }
.booth-count { font-size: clamp(4rem, 22vw, 9rem); text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.booth-status { margin: 0; min-height: 1.5em; font-weight: 700; color: var(--navy); }
.booth-panel { display: grid; gap: 1.1rem; padding: clamp(1rem, 2.4vw, 1.6rem); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.booth-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.booth-row .btn[disabled] { opacity: .5; cursor: not-allowed; }
.booth-file { position: relative; cursor: pointer; }
.booth-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.booth-file:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.booth-slider { display: grid; gap: .2rem; font-weight: 700; margin-bottom: .6rem; }
.booth-slider input { width: 100%; min-height: 44px; accent-color: var(--navy); }
@media (max-width: 860px) { .booth { grid-template-columns: 1fr; } .booth-stage { position: static; } }
/* Couleur en menu déroulant (pastille de la couleur choisie à gauche); choix manquant écrit sous le champ. */
.merch-label { display: block; font-weight: 700; margin-bottom: .45rem; }
.merch-select { position: relative; display: flex; align-items: center; max-width: 22rem; }
.merch-select .merch-dot { position: absolute; left: .55rem; pointer-events: none; }
.merch-select select { width: 100%; min-height: 48px; padding: .4rem 2.4rem .4rem 3rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.merch-select select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.merch-missing { margin: .45rem 0 0; color: var(--red-700); font-weight: 700; font-size: var(--fs-sm); }
.merch-choice.is-missing .merch-pill, .merch-choice.is-missing .merch-select select, .merch-choice.is-missing .merch-logo { border-color: var(--red-700); }
.merch-add.is-waiting { opacity: .8; }
/* Catégories en haut de chaque page de catégorie (onglets) : changer sans revenir en arrière. */
.merch-section { padding-top: clamp(1rem, 2.5vw, 1.6rem); }
.merch-cats { position: sticky; top: var(--header-h, 4.5rem); z-index: 5; margin: 0 0 1.2rem; padding: .5rem 0; background: var(--cream, #f3ead8); }
.merch-cats ul { display: flex; gap: .5rem; margin: 0; padding: 0 0 .2rem; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.merch-cats a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1rem; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.merch-cats a:hover { border-color: var(--navy); }
.merch-cats a[aria-current] { border-color: var(--navy); background: var(--navy); color: #fff; }
.merch-cats a.merch-cats-extra { border-style: dashed; }
body .notice.merch-terms { display: block; margin: 0 0 1.4rem; }
body .notice.merch-terms strong { display: inline; font: inherit; font-weight: 700; text-transform: none; letter-spacing: 0; }
.merch-terms p { margin: 0; }
.merch-terms p + p { margin-top: .3rem; }
/* Atelier (inc/merch-atelier.php) : vignettes des logos au choix; la photo montre la combinaison choisie. */
.merch-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .5rem; }
.merch-logo { position: relative; display: grid; gap: .3rem; align-content: start; justify-items: center; min-height: 44px; padding: .45rem .4rem .5rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; text-align: center; }
.merch-logo input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.merch-logo img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; padding: .3rem; border-radius: 6px; background: #b9bcc4; }
.merch-logo > span { font-size: .78rem; font-weight: 700; line-height: 1.2; }
.merch-logo:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); background: #eef1f8; }
.merch-logo:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.merch-photo-tag { position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(20, 26, 52, .78); color: #fff; font-size: .75rem; font-weight: 700; }
.merch-atelier-note { margin: 0; }
@media (max-width: 760px) { .merch-photo:has(.merch-photo-tag) { aspect-ratio: 1; } }
@media (max-width: 760px) {
    .merch-item { grid-template-columns: 1fr; }
    .merch-photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .merch-tile { transition: none; } .merch-tile:hover { transform: none; } }
a.shop-department { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
a.shop-department .icon { width: 1em; height: 1em; }

/* Accueil de JOUR : l'image du propriétaire sans voile ni filtre chaud (pleine luminosité).
   Le mode nuit garde les deux. Le texte est dans l'enseigne marine (fond opaque). */
.gv-hero .scene-art--day .scene-veil,
.gv-hero .gv-hero-warm {
    display: none;
}

html[data-scene="night"] .gv-hero .gv-hero-warm {
    display: block;
}

@media (prefers-color-scheme: dark) {
    html:not([data-scene="day"]) .gv-hero .gv-hero-warm {
        display: block;
    }
}

/* =============================================================
   PIÈCES : catégories en tuiles (images du propriétaire sur fond noir). Compactes quand la liste est ouverte.
   ============================================================= */
.cat-tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); margin-bottom: 1.2rem; }
.cat-tiles[hidden], .cat-tile[hidden], .shop-layout[hidden] { display: none; }
a.cat-tile { text-decoration: none; color: #fff; }
.cat-tile { display: flex; align-items: center; gap: 0.6rem; min-width: 0; min-height: 88px; padding: 0 0.7rem 0 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; background: #17191b; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.cat-tile:hover { border-color: var(--amber); }
.cat-tile:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.cat-tile[aria-pressed="true"] { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber); }
.cat-tile-img { flex: 0 0 132px; display: grid; place-items: center; }
.cat-tile-img img { display: block; width: 132px; height: 78px; object-fit: cover; }
.cat-tile-img .cat-tile-logo { width: 60px; height: 40px; object-fit: contain; padding: 4px; border-radius: 8px; background: #fff; }
.cat-tile-text { min-width: 0; display: grid; gap: 0.15rem; }
.cat-tile-text strong { font-size: 0.98rem; line-height: 1.15; font-weight: 700; overflow-wrap: anywhere; }
.cat-tile-text small { font-size: 0.85rem; color: #d3d7e0; }
.cat-hint { margin: 0 0 1.2rem; color: var(--ink-2); }
/* Liste ouverte : bande basse, les tuiles restent à portée */
.cat-tiles.is-compact { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 6px; }
.is-compact .cat-tile { min-height: 48px; gap: 0.4rem; padding-right: 0.5rem; }
.is-compact .cat-tile-img { flex-basis: 56px; }
.is-compact .cat-tile-img img { width: 56px; height: 34px; }
.is-compact .cat-tile-img .cat-tile-logo { width: 34px; height: 26px; }
.is-compact .cat-tile-text strong { font-size: 0.84rem; }
.is-compact .cat-tile-text small { font-size: 0.76rem; }
@media (max-width: 760px) {
    .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .cat-tile { min-height: 76px; gap: 0.35rem; padding-right: 0.4rem; }
    .cat-tile-img { flex-basis: 66px; }
    .cat-tile-img img { width: 66px; height: 64px; object-fit: contain; }
    .cat-tile-img .cat-tile-logo { width: 44px; height: 34px; }
    .cat-tile-text strong { font-family: var(--f-head); font-size: 1rem; line-height: 1.05; overflow-wrap: normal; }
    /* Une seule rangée qui glisse du doigt */
    .cat-tiles.is-compact { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding: 3px 3px 8px; }
    .is-compact .cat-tile { flex: 0 0 auto; max-width: 190px; scroll-snap-align: start; }
}

/* Message d'envoi dans la page (navigateur sans <dialog>) : jamais de fenêtre du navigateur */
.form-inline-message { grid-column: 1 / -1; margin-bottom: 1rem; padding: 1rem 1.2rem; border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); color: var(--ink); white-space: pre-line; }

/* =============================================================
   NUIT : projecteurs éteints (clic sur un projecteur) et aurores qui dansent (js/aurora.js)
   ============================================================= */
.scene-photo--off, .sky-strip-off { display: none; opacity: 0; transition: opacity 1.1s ease; }
.lights-ready .scene-photo--off, .lights-ready .sky-strip-off { display: block; }
.lights-off .scene-photo--off, .lights-off .sky-strip-off { opacity: 1; }
.fx-aurora { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.6s ease; }
.lights-off .fx-aurora.is-on { opacity: 1; }
.fx-aurora.is-simple { animation: aurora-simple 7s ease-in-out infinite alternate; }
@keyframes aurora-simple { from { transform: translateX(-0.8%) scaleY(0.97); } to { transform: translateX(0.8%) scaleY(1.05); } }
.fx-halo--lamp, .scene-fx--night .fx-glint { transition: opacity 0.8s ease; }
.lights-off .fx-halo--lamp, .lights-off .scene-fx--night .fx-glint, .lights-off .scene-fx--night .fx-sheen { animation: none; opacity: 0; }
/* Le voile du haut s'allège dans le noir : les aurores gardent toutes leurs couleurs */
.scene-art--night .scene-veil { transition: opacity 1.1s ease; }
.lights-off .scene-art--night .scene-veil { opacity: 0.35; }
/* L'inukshuk (image : pied au point 74,93 % / 37,05 %) brille des couleurs des aurores */
.fx-inukshuk { position: absolute; left: 74.93%; top: 37.05%; width: max(17px, 1.3cqw); color: #c9ffe9; opacity: 0; transform: translate(-50%, -100%); pointer-events: none; transition: opacity 1.1s ease 0.25s; -webkit-tap-highlight-color: transparent; }
.fx-inukshuk::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(52px, 260%); height: max(52px, 260%); transform: translate(-50%, -50%); border-radius: 50%; }
.fx-inukshuk svg { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 0 2px currentColor) drop-shadow(0 0 7px currentColor); }
.fx-inukshuk::before { content: ""; position: absolute; left: 50%; top: 52%; width: 720%; aspect-ratio: 1.25; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, currentColor 46%, transparent), color-mix(in srgb, currentColor 14%, transparent) 42%, transparent); mix-blend-mode: screen; }
.lights-off.inukshuk-on .fx-inukshuk { opacity: 1; pointer-events: auto; cursor: pointer; animation: inukshuk-color 11s ease-in-out infinite alternate; }
.lights-off.inukshuk-on .fx-inukshuk::before { animation: inukshuk-breathe 4.6s ease-in-out infinite alternate; }
@keyframes inukshuk-color { 0%, 35% { color: #b9ffe2; } 70% { color: #8fe9ff; } 100% { color: #e7c4ff; } }
@keyframes inukshuk-breathe { from { opacity: 0.55; scale: 0.9; } to { opacity: 1; scale: 1.08; } }
.fx-lamp { position: absolute; left: var(--x); top: var(--y); width: max(48px, 6.4cqw); height: max(44px, 4.2cqw); transform: translate(-50%, -50%); border-radius: 12px; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lights-switch-a11y { position: absolute; z-index: 3; top: 4.2rem; right: var(--gutter); min-height: 44px; padding: 0.6rem 1rem; border: 2px solid var(--cream); border-radius: 999px; background: var(--navy); color: var(--cream); font-family: var(--f-head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; clip-path: inset(50%); white-space: nowrap; display: none; }
.lights-switch-a11y:focus-visible { clip-path: none; outline: 3px solid var(--ice, #9fd6ef); outline-offset: 2px; }
html[data-scene="night"] .lights-switch-a11y { display: block; }
@media (prefers-color-scheme: dark) { html:not([data-scene="day"]) .lights-switch-a11y { display: block; } }
@media (max-width: 760px) {
    .scene-fx .fx-lamp { display: none; }
    .sky-strip-off { position: absolute; inset: 0; }
    .lights-ready .sky-strip-off { background: right top / var(--sw) auto no-repeat image-set(url("/assets/scene/night-off-1280.avif?v=4") type("image/avif"), url("/assets/scene/night-off-1280.webp?v=4") type("image/webp"), url("/assets/scene/night-off-1280.jpg?v=4") type("image/jpeg")); }
    .sky-strip .fx-aurora { inset: 0 0 auto auto; width: var(--sw); height: calc(var(--sw) * 0.4691); }
    .sky-strip .fx-lamp { left: calc(100% - var(--sw) * (100 - var(--lx)) / 100); top: calc(var(--sw) * 0.118); width: 60px; height: 44px; }
    .sky-strip .fx-inukshuk { left: calc(100% - var(--sw) * 0.2507); top: calc(var(--sw) * 0.1738); width: max(13px, var(--sw) * 0.0135); }
    .scene-fx .fx-inukshuk { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .scene-photo--off, .sky-strip-off, .fx-aurora { transition: none; }
    .fx-aurora.is-simple, .fx-inukshuk, .fx-inukshuk::before { animation: none !important; }
}
/* Dans le noir, les bords du faisceau de la surfaceuse s'estompent (même longueur; net près du phare) */
/* Le phare de la surfaceuse s'allume seulement quand les projecteurs sont éteints
   (sans interrupteur, avec un fond de nuit téléversé, il reste allumé la nuit) */
html .gv-hero.has-lights .rs-beam { opacity: 0; transition: opacity 0.6s ease; }
html.lights-off[data-scene="night"] .gv-hero.has-lights .rs-beam { opacity: 1; transition-delay: 0.5s; }
@media (prefers-color-scheme: dark) { html.lights-off:not([data-scene="day"]) .gv-hero.has-lights .rs-beam { opacity: 1; transition-delay: 0.5s; } }
@media (prefers-reduced-motion: reduce) { html .gv-hero.has-lights .rs-beam { transition: none; } }

/* PIÈCES : rangée des marques = machines compatibles (non OEM); marchandise ICE QUBE à part */
.brand-rows { display: flex; flex-wrap: wrap; gap: 0.9rem 2.2rem; align-items: flex-end; margin-bottom: 0.7rem; }
.brand-rows .shop-departments { margin-bottom: 0; }
.brand-label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin: 0 0 0.45rem; font-family: var(--f-head); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); }
.oem-tag { padding: 0.1rem 0.55rem; border-radius: 5px; background: var(--red-700); color: #fff; font-size: 0.88em; white-space: nowrap; }
.brand-note { max-width: 92ch; margin: 0 0 1.2rem; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-2); }
.brand-note strong { color: var(--red-700); }
.brand-note[hidden] { display: none; }
@media (max-width: 760px) { .brand-row { width: 100%; } }

/* Carte « Notre marchandise ICE QUBE » : moutarde, à droite des marques */
.merch-teaser { position: relative; display: flex; align-items: stretch; margin-left: auto; width: min(100%, 372px); min-height: 92px; padding: 0; overflow: hidden; border: 2.5px solid var(--navy); border-radius: 14px; background: #e0a93f; color: var(--navy-950); font: inherit; text-align: left; cursor: pointer; box-shadow: 3px 3px 0 var(--navy); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.merch-teaser img { flex: 0 0 124px; width: 124px; height: auto; object-fit: cover; border-right: 2.5px solid var(--navy); transition: transform 0.35s ease; }
.merch-teaser-text { position: relative; flex: 1; min-width: 0; display: grid; align-content: center; gap: 0.1rem; padding: 0.5rem 0.4rem 0.5rem 0.85rem; background: #e0a93f; }
.merch-teaser small { font-family: var(--f-head); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.merch-teaser strong { font-family: "Alfa Slab One", var(--f-head); font-weight: 400; font-size: 1.35rem; line-height: 1; letter-spacing: 0.02em; }
.merch-teaser-text > span { font-size: 0.86rem; line-height: 1.25; }
.merch-teaser-go { position: relative; flex: none; align-self: center; display: grid; place-items: center; width: 34px; height: 34px; margin-right: 0.7rem; border-radius: 50%; background: var(--navy); color: #fff; transition: transform 0.18s ease; }
.merch-teaser-go .icon { width: 18px; height: 18px; }
.merch-teaser:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--navy); }
.merch-teaser:hover img { transform: scale(1.06); }
.merch-teaser:hover .merch-teaser-go { transform: translateX(3px); }
.merch-teaser:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.merch-teaser[aria-pressed="true"] { background: var(--navy); color: #fff; }
.merch-teaser[aria-pressed="true"] .merch-teaser-text { background: var(--navy); }
.merch-teaser[aria-pressed="true"] .merch-teaser-go { background: #e0a93f; color: var(--navy-950); transform: rotate(90deg); }
@media (max-width: 760px) { .merch-teaser { width: 100%; min-height: 80px; margin-left: 0; } .merch-teaser img { flex-basis: 108px; width: 108px; } }
@media (prefers-reduced-motion: reduce) { .merch-teaser, .merch-teaser img, .merch-teaser-go { transition: none; } .merch-teaser:hover, .merch-teaser:hover img { transform: none; } }
.brand-note[hidden] + .cat-tiles, .brand-rows:has(+ .brand-note[hidden]) { margin-top: 0.4rem; margin-bottom: 1.2rem; }
.cat-desc { max-width: 80ch; margin: 0 0 1.2rem; font-size: var(--fs-base); color: var(--ink); }
.cat-desc[hidden] { display: none; }

/* =============================================================
   DENSITÉ (demande du propriétaire, 2026-11-23) : moins d'espace vide, moins de défilement, partout.
   Dernier mot sur les marges : --section = espace en haut et en bas de chaque section.
   ============================================================= */
:root { --section: clamp(1.7rem, 1.45rem + 1.1vw, 2.8rem); }
.section--tight { padding-block: clamp(1rem, 0.9rem + 0.5vw, 1.5rem); }
.section-head { margin-bottom: clamp(0.9rem, 0.8rem + 0.6vw, 1.5rem); }
.section-head .kicker { margin-bottom: 0.3rem; }
.section-head h2 { margin-bottom: 0.4rem; }
.mt-lg { margin-top: 1.1rem; }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem); }
/* Bandeau des pages */
.theme-garage .page-hero { padding-block: clamp(1rem, 0.8rem + 0.9vw, 1.7rem) clamp(1.3rem, 1.1rem + 1.1vw, 2rem); }
.theme-garage .page-hero h1 { max-width: 34ch; font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.95rem); margin-bottom: 0.6rem; }
.theme-garage .page-hero .crumbs { margin-bottom: 0.4rem; }
.theme-garage .page-hero .kicker { margin-bottom: 0.2rem; }
.theme-garage .page-hero .lead { max-width: 78ch; margin-bottom: 0; }
.theme-garage .page-hero .btn-row { margin-top: 1rem; }
/* Blocs avec plusieurs colonnes ou cartes */
.split { gap: clamp(1.2rem, 1rem + 1.6vw, 2.6rem); }
.grid { gap: clamp(0.9rem, 0.8rem + 0.6vw, 1.4rem); }
/* Accueil */
.gv-wall-inner { gap: clamp(1.1rem, 1rem + 0.8vw, 1.8rem); padding-block: var(--section); }
.gv-callband-inner { padding-block: var(--section); gap: 1.2rem; }
.gv-tickets { padding-bottom: clamp(1.2rem, 1rem + 0.8vw, 2rem); }
.floor-band { padding-block: 0.9rem; }
.card-page { padding-block: clamp(1rem, 0.9rem + 1vw, 2rem); }
.shop-searchbar { margin-bottom: 0.7rem; }
.brand-note { max-width: none; margin-bottom: 0.8rem; }
.cat-tiles { margin-bottom: 0.8rem; }
.cat-hint { margin-bottom: 0.8rem; }
/* Pied de page */
.footer-cta { padding-block: clamp(1.1rem, 1rem + 0.8vw, 1.7rem); }
.footer-grid { gap: 1.4rem; padding-block: clamp(1.1rem, 1rem + 0.8vw, 1.8rem); }
.footer-legal { padding-block: 1rem 1.2rem; }
.site-footer li { margin-bottom: 0.25rem; }
@media (max-width: 719px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
    .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-brand p { margin-bottom: 0.4rem; }
    .footer-grid h2 { margin-bottom: 0.4rem; }
    .footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.8rem; }
    .footer-contact li { min-width: 0; overflow-wrap: anywhere; }
    .footer-legal p { font-size: 0.78rem; line-height: 1.4; }
    .page-hero .btn-row { gap: 0.6rem; }
    .page-hero .btn-row .btn { padding-block: 0.6rem; }
}
/* Grandes photos : jamais plus hautes qu'un bloc de texte */
.framed img { max-height: 430px; }
.framed:has(figcaption) img { max-height: 400px; }
/* Bande rouge d'appel : texte à gauche, téléphone et bouton à droite */
.cta-band { padding: clamp(1.1rem, 1rem + 0.8vw, 1.8rem) clamp(1.2rem, 1rem + 1.2vw, 2.2rem); }
.cta-band h2 { max-width: none; margin-bottom: 0.4rem; }
.cta-band p { margin-bottom: 0.5rem; }
.cta-band .btn-row { margin-top: 0.6rem; }
@media (min-width: 900px) {
    .cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: center; }
    .cta-band > * { grid-column: 1; }
    .cta-band .cta-phone { grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-self: end; }
    .cta-band .btn-row { grid-column: 2; grid-row: 3 / span 2; align-self: start; justify-self: end; }
}
/* Marchandise : avis en une ligne */
.notice.merch-terms { display: flex; flex-wrap: wrap; gap: 0.15rem 1.8rem; padding-block: 0.7rem; margin-bottom: 1rem; }
.notice.merch-terms p { margin: 0; }
.notice.merch-terms strong { display: inline; }
.notice { padding-block: 0.8rem; }
/* Accueil : coffre à outils, lettre, vieilles ou récentes */
.gv-chest-grid { gap: clamp(1rem, 0.9rem + 1vw, 1.9rem); padding-block: var(--section); }
.gv-wall-grid { gap: clamp(0.9rem, 0.8rem + 0.8vw, 1.6rem); }
.gv-letter-grid { gap: clamp(1rem, 0.9rem + 1.2vw, 2rem); }
/* Accueil sur cellulaire : photos et marques par deux, étapes en rangées, lettre et coffre plus serrés */
@media (max-width: 760px) {
    .theme-garage h2 { font-size: clamp(1.7rem, 1.35rem + 1.8vw, 2.1rem); }
    .framed img { max-height: 250px; }
    .gv-brand-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gv-brand-plates .is-main { grid-column: 1 / -1; }
    .gv-brand-plates li { flex-direction: column; gap: 2px; padding: 10px 12px; }
    .gv-brand-plates strong { font-size: 1.15rem; line-height: 1.15; }
    .gv-brand-plates span { font-size: 0.82rem; line-height: 1.25; }
    .gv-woodsign { padding-block: 10px; }
    .gv-plate img { width: min(250px, 72%); }
    .gv-calendar-art { height: 120px; }
    .gv-calendar-art img { width: 165px; }
    .gv-calendar-body { padding: 8px 14px 12px; }
    .gv-calendar-head { font-size: 1.25rem; }
    .gv-calendar-grid { margin-top: 4px; gap: 0; }
    .gv-calendar-grid span { padding: 1px 0; }
    .gv-calendar-note { margin-top: 6px; }
    .gv-pinned { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding-inline: 4px; }
    .gv-polaroid { padding: 7px 7px 9px; }
    .gv-polaroid img { height: 115px; }
    .gv-polaroid figcaption { margin-top: 5px; font-size: 1.2rem; }
    .gv-clipping { padding: 12px 10px; gap: 6px; }
    .gv-clipping blockquote { font-size: 0.92rem; line-height: 1.25; }
    .gv-clipping figcaption { font-size: 0.76rem; }
    .gv-snapshot { padding: 9px 9px 11px; }
    .gv-snapshot img { height: 190px; }
    .gv-snapshot figcaption { margin-top: 6px; font-size: 1.3rem; }
    .gv-letter-text { gap: 0.7rem; }
    .gv-letter { gap: 0.6rem; padding: 14px 16px; font-size: 0.95rem; line-height: 1.5; }
    .gv-oldnew-grid { gap: 1.1rem; }
    .gv-oldnew-text { gap: 0.7rem; }
    .gv-oldnew-list li { gap: 12px; padding: 8px 0; font-size: 1rem; }
    .gv-oldnew-cards { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 10px; }
    .gv-gauge-card { justify-content: center; gap: 6px; padding: 10px; }
    .gv-gauge-card svg { width: 100%; max-width: 130px; height: auto; }
    .gv-gauge-card .gv-script, .gv-diag .gv-script { font-size: 1.2rem; line-height: 1.1; }
    .gv-diag { gap: 8px; padding: 12px; }
    .gv-diag-head { flex-wrap: wrap; gap: 0 10px; font-size: 0.72rem; }
    .gv-diag dl { gap: 6px; font-size: 0.8rem; }
    .gv-diag dl div { flex-wrap: wrap; gap: 0 8px; padding-bottom: 5px; }
    .gv-steps { gap: 14px; margin-top: 1rem; }
    .gv-steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 14px; align-items: start; text-align: left; }
    .gv-steps .gv-disc { grid-row: 1 / span 2; width: 50px; height: 50px; font-size: 1.25rem; }
    .gv-steps h3 { font-size: 1.25rem; line-height: 1.15; }
    .gv-callband-inner { gap: 0.9rem; }
    .gv-callband .gv-script { font-size: 1.5rem; }
    .gv-callband-actions { gap: 10px; width: 100%; }
    .gv-callband-phone { flex: 1 1 auto; min-height: 52px; padding: 0 12px; font-size: 1.1rem; justify-content: center; white-space: nowrap; }
    .gv-callband .gv-btn--light { flex: 0 1 auto; min-height: 52px; padding-inline: 14px; }
}
@media (max-width: 760px) {
    .gv-pinned { align-items: start; }
    .gv-polaroid img { height: 120px; }
    .gv-promises { gap: 8px; }
    .gv-promises li { flex: 1 1 auto; padding: 8px 10px; font-size: 0.85rem; text-align: center; }
    .gv-scoreboard-grid, .gv-specialty-grid { gap: 1.1rem; }
    .gv-scoreboard-text, .gv-specialty-text { gap: 0.6rem; }
    .gv-scoreboard { padding: 1.5rem 1.1rem 2.2rem; }
    .gv-scoreboard-title { margin-bottom: 0.7rem; }
    .gv-counter { gap: 4px; }
    .gv-chest-intro { padding: 16px; gap: 0.6rem; }
    .gv-concrete { height: 18px; }
}
/* =============================================================
   MARCHANDISE : une carte par item et par couleur, barre « Disposition » / « Par page », fiche en fenêtre (js/merch.js)
   ============================================================= */
.merch-view { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin: 0 0 1rem; padding: 0.6rem 0.9rem; border-radius: 14px; background: var(--navy); color: #cfd7ea; }
.merch-view[hidden] { display: none; }
.merch-view label { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.merch-view select { min-height: 44px; padding: 0.3rem 0.7rem; border: 1px solid #5b74ad; border-radius: 10px; background: #101a3c; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.merch-view select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.merch-view-info { margin: 0; padding: 0.35rem 0.9rem; border: 1px solid #5b74ad; border-radius: 999px; background: #101a3c; color: #fff; font-size: 0.9rem; font-weight: 700; }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 225px), 1fr)); gap: clamp(0.6rem, 0.4rem + 0.8vw, 1rem); margin: 0; padding: 0; list-style: none; }
.merch-grid.is-fixed { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.merch-grid.is-single { max-width: 640px; margin-inline: auto; }
.merch-card { min-width: 0; container-type: inline-size; }
.merch-card[hidden] { display: none; }
.merch-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.merch-card a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(17, 23, 55, 0.16); }
.merch-card a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.merch-card-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--cream-2); }
.merch-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.merch-card-photo .merch-photo-empty { width: 30%; height: auto; opacity: 0.5; }
.merch-card-out { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--red-700); color: #fff; font-size: 0.78rem; font-weight: 700; }
.merch-card.is-out img { opacity: 0.55; }
.merch-card-body { display: grid; flex: 1; align-content: start; gap: 0.25rem; padding: 0.65rem 0.8rem 0.75rem; }
.merch-card-body strong { font-size: 1rem; line-height: 1.2; color: var(--navy); }
.merch-card-color { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--ink-2); }
.merch-card-color .merch-dot { flex: none; width: 16px; height: 16px; }
.merch-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.1rem 0.6rem; font-size: 0.86rem; font-weight: 700; }
.merch-card-go { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--red-700); }
.merch-card-go .icon { width: 1em; height: 1em; }
@container (max-width: 130px) { .merch-card-body strong { font-size: 0.88rem; } .merch-card-go { display: none; } }
.merch-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: 1.1rem; }
.merch-pager[hidden] { display: none; }
.merch-pager button { min-width: 44px; min-height: 44px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.merch-pager button[aria-current] { border-color: var(--navy); background: var(--navy); color: #fff; }
.merch-pager button:disabled { opacity: 0.4; cursor: not-allowed; }
.merch-pager button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
dialog.merch-dialog { width: min(1100px, calc(100vw - 1.2rem)); max-width: none; max-height: calc(100dvh - 1.2rem); padding: 0; overflow: auto; overscroll-behavior: contain; border: 2.5px solid var(--navy); border-radius: 16px; background: var(--paper); }
.merch-dialog .merch-item { border: 0; border-radius: 0; }
.merch-dialog .merch-name { padding-right: 52px; }
.merch-dialog .dialog-close { position: sticky; float: right; top: 10px; right: 10px; margin: 10px 10px -54px 0; }
@media (min-width: 761px) { .merch-dialog .merch-photo { position: sticky; top: 1.2rem; align-self: start; } }
@media (max-width: 760px) {
    .merch-view { gap: 0.5rem 0.8rem; padding: 0.55rem 0.7rem; }
    .merch-view label { flex: 1 1 8rem; flex-direction: column; align-items: stretch; gap: 0.15rem; font-size: 0.85rem; }
    .merch-view-info { flex: 1 1 100%; text-align: center; }
    .merch-dialog .merch-item { padding: 0.9rem; }
    .merch-dialog .merch-photo { max-height: 46dvh; justify-self: center; aspect-ratio: 1; width: min(100%, 46dvh); }
    .merch-dialog .merch-name { padding-right: 0; }
}
/* Sans JavaScript : les fiches restent visibles sous les cartes. */
@media (scripting: none) { dialog.merch-dialog { display: block; position: static; max-height: none; margin: 1rem auto; } .merch-dialog .dialog-close { display: none; } }
@media (prefers-reduced-motion: reduce) { .merch-card a { transition: none; } .merch-card a:hover { transform: none; } }
/* Marchandise : avis sur une ligne et boutons du bandeau côte à côte sur cellulaire (moins de défilement). */
body .notice.merch-terms { display: flex; flex-wrap: wrap; gap: 0.1rem 1.8rem; margin-bottom: 0.9rem; padding-block: 0.6rem; }
body .notice.merch-terms p + p { margin-top: 0; }
.merch-cats { margin-bottom: 0.6rem; }
@media (max-width: 760px) {
    body:has(.merch-section) .page-hero .btn-row .btn { flex: 1 1 auto; min-height: 44px; padding: 0.4rem 0.7rem; font-size: 0.82rem; justify-content: center; }
}
/* =============================================================
   ROBOT (accueil, nuit, tout éteint) : aurores touchées → inukshuk allumé → la mascotte se déplie (inc/robot.php, js/robot.js)
   ============================================================= */
.fx-sky { position: absolute; inset: 0 0 auto; height: 33%; pointer-events: none; -webkit-tap-highlight-color: transparent; }
.sky-strip .fx-sky { height: 100%; }
.lights-off .fx-sky { pointer-events: auto; cursor: pointer; }
.aurora-burst .fx-aurora { animation: aurora-burst 1.7s ease-out; }
@keyframes aurora-burst { 18% { filter: brightness(2.1) saturate(1.35); } 100% { filter: none; } }
html:not(.lights-off) .lights-switch-a11y.easter-a11y { display: none; }
.lights-switch-a11y.easter-a11y { top: 7.6rem; }
.bot { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; pointer-events: none; }
.bot-svg { display: block; width: 100%; height: auto; overflow: visible; }
.bot-svg image { max-width: none; }
.bot { visibility: hidden; transform-origin: 45% 100%; transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s; }
.bot.is-open { transform: scale(1.18); }
.iq-bot .bot { visibility: visible; }
.bot.is-awake .bot-all { pointer-events: visiblePainted; cursor: pointer; }
.iq-bot .rs-body, .iq-bot .rs-wheel, .iq-bot .rs-brush, .iq-bot .rs-reflect, .iq-bot .rs-shadow, .iq-bot .rs-steam, .iq-bot .rs-beam, .iq-bot .west-machine::before { visibility: hidden; }
.bp { transform-box: view-box; transform-origin: 0 0; transform: var(--v); transition: transform 1.05s cubic-bezier(0.5, 0, 0.2, 1) var(--d); }
.bot.is-open .bp { transform: var(--r); }
.bv { transform-box: view-box; transform-origin: 0 0; transform: scale(0.05); transform-origin: var(--o); opacity: 0; transition: transform 0.75s cubic-bezier(0.3, 1.4, 0.5, 1) var(--d), opacity 0.2s linear var(--d); }
.bot.is-open .bv { transform: none; opacity: 1; }
.bot:not(.is-open) .bp, .bot:not(.is-open) .bv { transition-delay: 0.1s; }
.bot:not(.is-open) .bv { transition-timing-function: ease-in; transition-duration: 0.45s; }
.bot-head, .bot-all, .bot-wave, .bot-shot, .bot-eyes { transform-box: view-box; }
.bot-all { transform-origin: 760px 934px; }
.bot-head { transform-origin: 760px 80px; }
.bot-wave { transform-origin: 340px 335px; }
.bot-shot { transform-origin: 1125px 190px; }
.bot-eyes { transform-origin: 760px -47px; }
.bot-mouth rect { transform-box: fill-box; transform-origin: center; }
.bot.is-awake .bot-all { animation: bot-breathe 3.6s ease-in-out infinite; }
.bot.is-awake .bot-head { animation: bot-look 5.5s ease-in-out infinite; }
.bot.is-awake .bot-wave { animation: bot-wave 0.62s ease-in-out 0.1s 6 alternate; }
.bot.is-awake .bot-eyes { animation: bot-blink 4.2s linear infinite; }
.bot.is-talking .bot-mouth rect { fill: #ffd98a; animation: bot-talk 0.32s ease-in-out infinite alternate; }
.bot.is-talking .bot-mouth rect:nth-child(2n) { animation-delay: -0.17s; }
.bot.is-shooting .bot-shot { animation: bot-shot 1.15s cubic-bezier(0.4, 0, 0.3, 1) both; }
@keyframes bot-breathe { 50% { transform: scaleY(1.008); } }
@keyframes bot-look { 0%, 38%, 100% { transform: none; } 48%, 62% { transform: rotate(-5deg); } 74%, 88% { transform: rotate(5deg); } }
@keyframes bot-wave { from { transform: rotate(-7deg); } to { transform: rotate(15deg); } }
@keyframes bot-blink { 0%, 93%, 100% { transform: none; } 96% { transform: scaleY(0.08); } }
@keyframes bot-talk { from { transform: scaleY(0.35); } to { transform: scaleY(1.15); } }
@keyframes bot-shot { 0% { transform: none; } 36% { transform: rotate(46deg); } 52% { transform: rotate(-28deg); } 68% { transform: rotate(-34deg); } 100% { transform: none; } }
.bot-fly, .bot-flash { position: fixed; z-index: 60; left: 0; top: 0; pointer-events: none; }
.bot-fly { width: 22px; height: 12px; margin: -6px 0 0 -11px; border-radius: 50%; background: #05070d; box-shadow: inset 0 -2px 0 #3a4358, 0 0 0 1px rgba(255, 255, 255, 0.35); }
.bot-flash { width: 0; height: 0; }
.bot-flash::before { content: ""; position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 244, 0.95), rgba(255, 240, 190, 0.45) 35%, transparent); animation: bot-flash 0.85s ease-out both; }
@keyframes bot-flash { from { transform: scale(0.15); } 25% { transform: scale(1); } to { transform: scale(1.15); opacity: 0; } }
.bot-bubble { position: absolute; z-index: 6; left: 61%; bottom: 111%; width: 320px;  padding: 0.85rem 0.95rem 0.8rem; border: 3px solid var(--navy); border-radius: 18px; background: var(--paper, #f7f0de); color: var(--ink); box-shadow: 4px 5px 0 rgba(5, 10, 30, 0.55); opacity: 0; visibility: hidden; transform: scale(0.6); transform-origin: 0 100%; transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.2s linear; }
.bot-bubble.is-on { opacity: 1; visibility: visible; transform: none; }
.bot-bubble::after { content: ""; position: absolute; left: 16px; bottom: -17px; border: 9px solid transparent; border-top-color: var(--navy); border-left-color: var(--navy); border-bottom: 0; }
.bot-line { margin: 0 34px 0.6rem 0; font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; line-height: 1.15; color: var(--navy); }
.bot-bubble.is-goal .bot-line { font-family: var(--f-slab); font-size: 1.5rem; color: var(--red); }
.bot-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
.bot-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.bot-actions button, .bot-actions a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.3rem 0.5rem; border: 2px solid var(--navy); border-radius: 10px; background: #fff; color: var(--navy); font: inherit; font-size: 0.87rem; line-height: 1.15; text-align: center; font-weight: 700; text-decoration: none; cursor: pointer; }
.bot-actions [data-bot-shoot] { border-color: var(--red); background: var(--red); color: #fff; }
.bot-actions :focus-visible, .bot-close:focus-visible { outline: 3px solid var(--mustard, #d9a441); outline-offset: 2px; }
.bot-close { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
    .bot-bubble { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 76px; width: auto; transform-origin: 50% 100%; }
    .bot-bubble::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bot, .bp, .bv, .bot-bubble { transition: none !important; }
    .bot *, .aurora-burst .fx-aurora { animation: none !important; }
}
/* Nuit : la trace mouillée garde la couleur de la glace (pas de bande bleue), un peu plus claire */
html[data-scene="night"] .west-machine::before { -webkit-backdrop-filter: saturate(1.05) contrast(1.1) brightness(1.22); backdrop-filter: saturate(1.05) contrast(1.1) brightness(1.22); }

/* CACHE-CACHE : la mascotte, toute petite, derrière une crête des montagnes; puis l'histoire de Charley (fenêtre) */
.iq-hidden .rs-machine > :not(.bot):not(.bot-bubble), .iq-hidden .west-machine::before { visibility: hidden !important; }
.hunt-spot { position: absolute; z-index: 1; width: 52px; height: 52px; margin: -26px 0 0 -26px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hunt-spot img { width: var(--w); height: auto; filter: brightness(0.62) saturate(0.85); -webkit-mask: linear-gradient(#000 62%, transparent 88%); mask: linear-gradient(#000 62%, transparent 88%); animation: hunt-peek 5s ease-in-out infinite; }
.hunt-spot::before { content: ""; position: absolute; left: calc(50% - var(--w) / 2 - 7px); top: calc(50% + 1px); width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, #fffbe2, rgba(255, 240, 180, 0.5) 45%, transparent); opacity: 0; animation: hunt-blink 4.6s linear infinite; }
.hunt-spot::after { content: ""; position: absolute; inset: -8px; border: 3px solid #9fffd6; border-radius: 50%; opacity: 0; }
.hunt-spot:hover img, .hunt-spot:focus-visible img { filter: none; }
.hunt-spot:focus-visible { outline: 3px solid var(--mustard, #d9a441); outline-offset: 2px; }
.hunt-spot.is-hint::after { animation: hunt-ring 1.1s ease-out 3; }
@keyframes hunt-peek { 0%, 70%, 100% { transform: none; } 80%, 90% { transform: translateY(-7%) rotate(-2deg); } }
@keyframes hunt-blink { 0%, 84%, 88%, 92%, 100% { opacity: 0; } 86%, 90% { opacity: 1; } }
@keyframes hunt-ring { from { opacity: 1; transform: scale(0.4); } to { opacity: 0; transform: scale(1.5); } }
.hunt-bubble { left: 18%; width: 290px; }
.hunt-bubble.is-hiding { bottom: 46%; }
.hunt-bubble.is-hiding::after { display: none; }
.hunt-fly { position: fixed; z-index: 60; left: 0; top: 0; height: auto; max-width: none; transform-origin: 0 0; pointer-events: none; }
dialog.charley-story { width: min(860px, calc(100vw - 1.2rem)); max-width: none; max-height: calc(100dvh - 1.2rem); padding: 1.2rem clamp(1rem, 3vw, 1.8rem) 1.4rem; overflow: auto; overscroll-behavior: contain; }
.charley-story h2 { margin: 0 52px 0.6rem 0; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.charley-story p { margin: 0 0 0.7rem; }
.charley-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 0.6rem; margin: 0 0 0.9rem; padding: 0; list-style: none; counter-reset: pas; }
.charley-steps li { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; counter-increment: pas; }
.charley-steps li::before { content: counter(pas); position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 0.8rem; font-weight: 700; }
.charley-steps img { width: 100%; height: 104px; object-fit: cover; }
.charley-steps li:nth-child(n+3) img { object-fit: contain; padding: 6px; }
.charley-steps span { flex: 1; padding: 0.4rem 0.6rem 0.5rem; background: var(--cream-2); font-size: 0.84rem; font-weight: 700; line-height: 1.2; color: var(--navy); }
.charley-steps .is-final { border: 2.5px solid var(--red); }
.charley-offers { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.charley-shirt { display: flex; flex: 1 1 300px; align-items: center; gap: 0.8rem; min-height: 44px; padding: 0.5rem; border: 2px solid var(--navy); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.charley-shirt:hover { background: var(--cream-2); }
.charley-shirt:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.charley-shirt img { flex: none; width: 92px; height: 92px; border-radius: 8px; object-fit: cover; }
.charley-shirt span { display: grid; gap: 0.15rem; font-size: 0.92rem; }
.charley-shirt strong { font-size: 1.05rem; color: var(--navy); }
@media (max-width: 760px) {
    .charley-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .charley-steps .is-final { grid-column: 1 / -1; }
    .charley-steps img { height: 88px; }
    .hunt-bubble, .hunt-bubble.is-hiding { left: 12px; right: 12px; bottom: 76px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .hunt-spot img, .hunt-spot::before { animation: none; } .hunt-spot.is-hint::after { animation: none; opacity: 1; } }

/* JOUR : le soleil est en haut à droite, derrière : la surfaceuse a une seule ombre, couchée sur la glace vers la gauche et vers nous,
   dans la même direction que celle des poteaux (pour 1 de haut : 0,64 vers la gauche). Silhouette = image de la mascotte; pied = bas des pneus. */
.rs-cast { display: none; position: absolute; z-index: -1; left: 0; top: 0; width: 100%; aspect-ratio: 1685 / 958; background: linear-gradient(180deg, rgba(24, 44, 92, 0.2), rgba(20, 38, 82, 0.5) 88%); -webkit-mask: url("/assets/machine/mascotte-jour-480.webp") 0 0 / 100% 100% no-repeat; mask: url("/assets/machine/mascotte-jour-480.webp") 0 0 / 100% 100% no-repeat; transform-origin: 0 98.6%; transform: matrix(1, 0, 0.64, -0.4, 0, 0); filter: blur(2.5px); pointer-events: none; }
html[data-scene="day"] .rs-cast { display: block; }
@media (prefers-color-scheme: light) { html:not([data-scene="night"]) .rs-cast { display: block; } }
html:not([data-scene="night"]) .rs-reflect { opacity: 0; }
html:not([data-scene="night"]) .rs-shadow { opacity: 0.55; }

/* ---------------------------------------------------------------------
   LOCATION : la flotte rangée par baies, comme dans un garage (2026-12-05)
   --------------------------------------------------------------------- */
.fleet-bay { margin-top: 1.4rem; }
.fleet-bay + .fleet-bay { margin-top: 2rem; padding-top: 1.4rem; border-top: 3px dashed rgba(37, 48, 95, .25); }
.fleet-bay-sign {
    display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
    margin: 0 0 .9rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); text-transform: uppercase; letter-spacing: .03em;
}
.fleet-bay-sign svg { width: 1.3em; height: 1.3em; flex: none; }
.fleet-bay-num {
    display: inline-block; padding: .2rem .6rem; border-radius: 4px;
    background: #e21f36; color: #fff; font-size: .7em; letter-spacing: .08em;
}

/* Menu : un onglet ne se coupe jamais sur deux lignes (« Pièces & Merch », 2026-12-05) */
.nav-menu a:not(.btn) { white-space: nowrap; }
@media (min-width: 1180px) and (max-width: 1379.98px) {
    .nav-menu a:not(.btn) { padding-inline: 0.3rem; font-size: 0.88rem; letter-spacing: 0.02em; }
}


/* Champs côte à côte : l'étiquette et la case restent en haut, même si le champ voisin affiche une erreur (2026-12-05) */
.field { align-content: start; }


/* Sujet Pièces : détails de la machine obligatoires, affichés sans bouton (2026-12-05) */
.machine-toggle > summary[hidden] { display: none; }

/* Tuile du symbole IQ (en-tête) : le symbole est plus large que haut (240 × 149);
   la tuile suit sa forme pour qu'il la remplisse (demande du propriétaire 2026-12-05). */
.site-header .brand > img {
    width: 72px;
    height: 52px;
    padding: 4px 5px;
}

@media (max-width: 560px) {
    .site-header .brand > img {
        width: 62px;
        height: 44px;
        padding: 3px 4px;
    }
}

/* Sous-titre de l'en-tête : l'écriture cursive était illisible à cette taille (propriétaire 2026-12-05). */
.theme-garage .site-header .brand-text small {
    margin-top: 5px;
    font-family: var(--f-head);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
}

/* En-tête étroit : « Contact » court tant que « Contactez-moi » ne tient pas à côté du logo. */
@media (max-width: 899.98px) {
    .nav-call-long {
        display: none;
    }

    .nav-call-short {
        display: inline;
    }
}

/* Petits téléphones : tuile et bouton un peu plus serrés pour que le menu reste visible. */
@media (max-width: 560px) {
    .site-header .brand > img {
        width: 52px;
        height: 38px;
        padding: 3px 4px;
    }

    .site-header .nav-tools .nav-call {
        padding-inline: 0.6rem;
    }
}

@media (max-width: 560px) {
    .site-header .nav {
        gap: 6px;
    }

    .site-header .nav-tools {
        gap: 0.25rem;
    }
}

/* Téléphones et petites tablettes : « Contact » devient l’icône seule (« Écrire » est aussi dans la barre du bas; nom gardé pour les lecteurs d’écran). */
@media (max-width: 699.98px) {
    .site-header .nav-tools .nav-call-short {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .site-header .nav-tools .nav-call {
        gap: 0;
    }
}

/* Mot ICE QUBE élastique (propriétaire 2026-12-05) : jusqu’à 30 px de haut quand la place est là;
   il rapetisse seulement quand l’en-tête manque de place (les boutons, eux, ne rapetissent jamais).
   Le sous-titre suit la largeur du mot et se cache quand il deviendrait trop petit pour être lu. */
.site-header .nav-menu,
.site-header .nav-tools {
    flex-shrink: 0;
}

.site-header .brand {
    flex: 0 1 auto;
    min-width: 0;
}

.site-header .brand-text {
    flex: 0 1 auto;
    width: 235px;
    min-width: 0;
    container-type: inline-size;
}

.site-header .brand .brand-text picture,
.site-header .brand .brand-text strong {
    display: block;
    width: 100%;
}

.site-header .brand .brand-text img.brand-wordmark {
    width: 100%;
    max-width: none;
    height: auto;
}

.theme-garage .site-header .brand-text small {
    margin-top: 3cqi;
    font-size: 6.1cqi;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

@container (max-width: 179.98px) {
    .theme-garage .site-header .brand-text small {
        display: none;
    }
}

/* Grands écrans : menu un peu plus serré et « Urgence » court, pour laisser la place au mot ICE QUBE. */
@media (min-width: 1500px) {
    .nav-menu a:not(.btn) {
        padding-inline: 0.5rem;
        font-size: 1rem;
        letter-spacing: 0.04em;
    }

    .nav-urgent-long {
        display: none;
    }

    .nav-urgent-short {
        display: inline;
    }
}

/* Bouton Contact en icône seule : l'icône doit rester visible (une ancienne règle la cachait sous 400 px). */
@media (max-width: 699.98px) {
    .site-header .nav-tools .nav-call .icon {
        display: inline-block;
    }

    .site-header .nav-tools .nav-call {
        min-width: 44px;
        justify-content: center;
    }
}

/* Pictogrammes des baies (surfaceuse = mascotte, coupe-bordure) : assez grands pour qu'on reconnaisse la machine. */
.fleet-bay-sign .icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* « Panne urgente » aussi dans le menu hamburger (propriétaire 2026-12-05), sous « Contactez-moi ». */
.nav-menu-urgent {
    display: none;
}

@media (max-width: 1179.98px) {
    .nav-menu .nav-menu-urgent {
        display: inline-flex;
        align-self: flex-start;
        margin-top: -0.6rem;
    }
}

/* Fenêtre « Panne urgente » : consigne feu (texte du propriétaire 2026-12-05), avant les choix. */
.urgent-fire {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.4rem 0 0.8rem;
    padding: 0.6rem 0.75rem;
    border-left: 4px solid var(--red);
    background: rgba(226, 31, 54, 0.1);
    color: var(--navy);
    line-height: 1.35;
}

.urgent-fire .icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--red);
}

/* Fenêtre « Panne urgente » : 3e gros bouton vers l'article « déplacer une surfaceuse en panne » (le client est pressé : bien visible). */
.urgent-choice--howto {
    margin-top: 0.7rem;
    border: 2px solid var(--navy);
    background: var(--mustard, #d9a441);
    color: var(--navy);
}

.urgent-choice--howto:hover,
.urgent-choice--howto:focus-visible {
    background: #e6b75a;
    color: var(--navy);
}

.urgent-choice--howto .icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

/* Bloc « À lire sur le blogue » (read_more()) : compact, avant la bande d'appel finale. */
.section.read-more {
    padding-block: calc(var(--section, 3rem) * 0.4);
}

.read-more-box {
    display: grid;
    gap: 0.6rem;
    padding: 1rem 1.2rem;
    border: 2px dashed rgba(37, 48, 95, 0.35);
    border-radius: 14px;
    background: rgba(255, 250, 241, 0.6);
}

.read-more-title {
    margin: 0;
    font-family: var(--f-head);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
}

.read-more-box ul {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.read-more-box li a {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.read-more-box li a:hover,
.read-more-box li a:focus-visible {
    text-decoration: underline;
}

.read-more-box li .icon {
    width: 16px;
    height: 16px;
    color: var(--red);
}

.read-more-tag {
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: var(--navy);
    color: var(--cream);
    font-family: var(--f-head);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.read-more-all {
    justify-self: start;
    color: var(--navy);
    font-size: 0.92rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Photo dans un article du blogue (ex. valve de dérivation) */
.prose .prose-photo { margin: 1.1rem 0 1.3rem; max-width: 340px; }
.prose .prose-photo img { display: block; width: 100%; height: auto; border-radius: 8px; border: 2px solid var(--navy, #25305f); }
.prose .prose-photo figcaption { margin-top: 0.45rem; font-size: 0.88rem; line-height: 1.45; opacity: 0.85; }

/* Article « machine en panne » : 3 situations dépliables (une seule ouverte), étapes numérotées courtes */
.prose .panne-fire {
    margin: 0 0 0.6rem;
    padding: 0.55rem 0.8rem;
    border-left: 5px solid var(--red);
    background: rgba(226, 31, 54, 0.08);
    border-radius: 6px;
}
.prose .panne-intro { margin: 0 0 0.9rem; }
.panne-choices { display: grid; gap: 0.6rem; margin-bottom: 1.4rem; }
/* Deux boutons côte à côte (créés par js/site.js), le panneau choisi s'affiche dessous */
.panne-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.panne-picker button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 72px;
    padding: 0.7rem 0.6rem;
    border: 2px solid var(--navy);
    border-radius: 12px;
    background: var(--mustard, #d9a441);
    color: var(--navy);
    font-family: var(--f-head);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}
.panne-picker button small { font-size: 0.75rem; font-weight: 700; opacity: 0.8; }
.panne-picker button[aria-expanded="true"] { background: var(--navy); color: var(--cream); }
.panne-picker button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.panne-panel {
    border: 2px solid var(--navy);
    border-radius: 12px;
    background: #fffaf0;
}
.prose .panne-panel-title {
    margin: 0;
    padding: 0.75rem 1rem;
    background: var(--navy);
    color: var(--cream);
    font-size: 1.1rem;
    border-radius: 9px 9px 0 0;
}
.prose .panne-panel-title small { font-size: 0.75rem; opacity: 0.8; }
.panne-choices.is-ready .panne-panel-title { display: none; }
.prose .panne-steps {
    counter-reset: panne;
    list-style: none;
    margin: 0;
    padding: 0.9rem 1rem 0.4rem;
}
.prose .panne-steps > li {
    counter-increment: panne;
    position: relative;
    margin: 0 0 0.75rem;
    padding-left: 2.6rem;
    line-height: 1.5;
}
.prose .panne-steps > li::before {
    content: counter(panne);
    position: absolute;
    left: 0;
    top: -0.1rem;
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-family: var(--f-head);
    font-weight: 800;
}
.prose .panne-steps .prose-photo { margin: 0.6rem 0 0.2rem; max-width: 210px; }
.prose .panne-note { margin: 0 1rem 0.9rem; font-size: 0.92rem; font-style: italic; }

.prose .panne-warn { color: var(--red); }

/* Choix de la marque (Zamboni® préchoisi) au-dessus du choix propane / électrique */
.panne-brands { margin-bottom: 1rem; }
.panne-picker--brands { grid-template-columns: repeat(4, 1fr); }
.panne-picker--brands button { min-height: 52px; font-size: 1rem; }
.panne-picker--brands button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.panne-picker--brands button sup { font-size: 0.6em; }
.panne-other { margin-top: 0.8rem; padding: 0.9rem 1rem; border: 2px solid var(--red); border-radius: 12px; background: rgba(226, 31, 54, 0.07); }
.prose .panne-other p { margin: 0 0 0.7rem; }
.panne-brands:not([hidden]) ~ [data-brand-content] .panne-brand { display: none; }
@media (max-width: 479.98px) { .panne-picker--brands { grid-template-columns: 1fr 1fr; } }
.prose .panne-tel { max-width: 100%; padding-inline: 0.9rem; font-size: 0.95rem; white-space: normal; color: #fff; text-decoration: none; }
.prose .panne-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.prose .panne-form { max-width: 100%; padding-inline: 0.9rem; font-size: 0.95rem; border: 2px solid var(--navy); background: transparent; color: var(--navy); text-decoration: none; }

/* Accueil : l'enseigne se déplace (souris : tenir et glisser; cellulaire : appui long puis glisser) */
.west-hero .gv-sign { -webkit-touch-callout: none; }
.west-hero .gv-sign.is-pressing,
.west-hero .gv-sign.is-dragging { -webkit-user-select: none; user-select: none; }
.west-hero .gv-sign.is-dragging {
    z-index: 5;
    cursor: grabbing;
    box-shadow: 0 40px 80px rgba(20, 14, 5, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
    .west-hero .gv-sign.is-dragging { scale: 1.02; transition: scale 0.15s; }
}

/* Carte d'affaires bien visible (Accueil, Contact) : mini-carte qui ouvre la fenêtre #carte */
.bc-teaser { display: grid; gap: 0.8rem; margin-top: 1.4rem; max-width: 440px; }
.bc-teaser-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 2px solid var(--navy);
    border-radius: 14px;
    background: #fffaf0;
    box-shadow: 0 10px 24px rgba(20, 14, 5, 0.18), 4px 4px 0 var(--navy);
    color: var(--navy);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bc-teaser-card:hover { transform: translate(-2px, -2px) rotate(-0.6deg); box-shadow: 0 14px 28px rgba(20, 14, 5, 0.22), 6px 6px 0 var(--navy); }
.bc-teaser-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.bc-teaser-logo { width: 58px; height: auto; }
.bc-teaser-id { display: grid; gap: 0.15rem; min-width: 0; }
.bc-teaser-id strong { font-family: var(--f-head); font-size: 1.15rem; letter-spacing: 0.02em; text-transform: uppercase; }
.bc-teaser-id small { font-size: 0.82rem; line-height: 1.3; opacity: 0.85; }
.bc-teaser-phone { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.2rem; color: var(--red); font-weight: 700; font-size: 0.9rem; }
.bc-teaser-phone .icon { width: 1em; height: 1em; }
.bc-teaser-qr .icon { width: 34px; height: 34px; opacity: 0.8; }
.bc-teaser-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bc-teaser-actions .btn { flex: 1 1 auto; justify-content: center; }
.bc-teaser-save { border: 2px solid var(--navy); background: transparent; color: var(--navy); }
aside > .notice--floor { margin-bottom: 1.2rem; }
aside > .bc-teaser { margin-top: 0; margin-bottom: 1.4rem; }
@media (prefers-reduced-motion: reduce) { .bc-teaser-card, .bc-teaser-card:hover { transition: none; transform: none; } }

/* Carte d'affaires, ordinateur : le bloc du code QR est aussi un lien qui télécharge la fiche contact */
.bc-desk-qr { color: inherit; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.bc-desk-qr .bc-qr { display: block; }
.bc-desk-qr-text { display: grid; gap: 0.5rem; font-size: 0.95rem; color: var(--ink-2); }
.bc-desk-qr-text strong { display: flex; gap: 0.4rem; align-items: flex-start; color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.bc-desk-qr-text .icon { flex: none; width: 1.2em; height: 1.2em; color: var(--red); }
.bc-desk-qr:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(37, 48, 95, 0.15); }
.bc-desk-qr:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bc-desk-qr { transition: none; } }

/* Avis « surfaceuses seulement » : pictogramme de récureuse à plancher barrée */
.notice--floor .notice-scrubber { flex: none; width: 64px; height: 64px; }
@media (max-width: 479.98px) { .notice--floor .notice-scrubber { width: 52px; height: 52px; } }

/* Avis « surfaceuses seulement » : vadrouille barrée + surfaceuse IQ dans un cercle vert */
.notice--floor .notice-pictos { flex: none; display: flex; align-items: center; gap: 0.5rem; }
.notice--floor .notice-mop { width: 56px; height: 56px; }
.notice--floor .notice-ok {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 4px solid #1f8a4c;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}
.notice--floor .notice-ok img { width: 88%; height: auto; }
@media (max-width: 479.98px) {
    .notice--floor .notice-mop { width: 44px; height: 44px; }
    .notice--floor .notice-ok { width: 48px; height: 48px; border-width: 3px; }
}

/* Pied de page : boutons au lieu du numéro (propriétaire 2026-12-05 : la carte d'affaires et Contact remplacent le numéro affiché) */
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.footer-cta-actions .btn { min-height: 44px; }
.cta-band .btn-row { justify-content: center; }

/* Coffre : le capot s'ouvre (propriétaire 2026-12-05) — logo, photos épinglées et devise à l'intérieur */
.gv-hood { perspective: 900px; }
.gv-hood > summary { list-style: none; cursor: pointer; position: relative; flex-direction: column; gap: 4px; transform-origin: 50% 100%; transition: transform .45s ease; }
.gv-hood > summary::-webkit-details-marker { display: none; }
.gv-hood > summary:focus-visible { outline: 3px solid #f3c64a; outline-offset: 3px; }
.gv-hood-hint { font: 700 .7rem/1 "Courier Prime", monospace; letter-spacing: .12em; text-transform: uppercase; color: #f7f0de; opacity: .85; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.gv-hood-close, .gv-hood[open] .gv-hood-open { display: none; }
.gv-hood[open] .gv-hood-close { display: inline; }
.gv-hood[open] > summary { justify-content: flex-end; padding-bottom: 8px; }
.gv-hood-inside {
    display: grid; justify-items: center; gap: .8rem; padding: 1.1rem 1rem 1.2rem;
    background: #2b1a12 linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 30%, rgba(0,0,0,.35));
    box-shadow: inset 0 10px 18px rgba(0,0,0,.6), inset 8px 0 12px rgba(0,0,0,.4), inset -8px 0 12px rgba(0,0,0,.4);
}
.gv-hood[open] .gv-hood-inside { animation: gv-hood-in .45s ease both; }
@keyframes gv-hood-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.gv-hood-logo { width: 132px; height: auto; padding: 8px 12px; background: #f7f0de; border: 3px solid #c9a35a; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,.55); }
.gv-hood-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; width: 100%; }
.gv-hood-photo figure { margin: 0; padding: 6px 6px 4px; background: #f7f0de; box-shadow: 0 4px 8px rgba(0,0,0,.5); }
.gv-hood-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.gv-hood-photo figcaption { font: 700 .66rem/1.2 "Courier Prime", monospace; color: #1f2a44; text-align: center; padding-top: 4px; }
.gv-hood-photo--1 { transform: rotate(-3deg); }
.gv-hood-photo--2 { transform: rotate(2deg) translateY(4px); }
.gv-hood-photo--3 { transform: rotate(-1.5deg); }
.gv-hood-photo--4 { transform: rotate(3deg) translateY(3px); }
.gv-hood-motto { margin: .2rem 0 0; font-family: var(--f-west); font-size: clamp(1.1rem, 1rem + .8vw, 1.5rem); color: #f3c64a; text-align: center; text-shadow: 0 2px 3px rgba(0,0,0,.7); }
@media (max-width: 560px) { .gv-hood-photos { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .gv-hood > summary { transition: none; } .gv-hood[open] .gv-hood-inside { animation: none; } }
@media (min-width: 900px) {
    .footer-cta { grid-template-columns: auto minmax(20ch, 1fr) max-content; }
    .footer-cta-actions { flex-direction: column; margin-top: 0; }
}
/* Seul le couvercle (fond) bascule; le logo et le texte restent droits, sans déformation */
.gv-hood > summary { transform: none; background: none; isolation: isolate; }
.gv-hood > summary::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: image-set(url("/assets/ui/coffre-couvercle.avif") type("image/avif"), url("/assets/ui/coffre-couvercle.webp") type("image/webp"), url("/assets/ui/coffre-couvercle.png") type("image/png")) center / 100% 100% no-repeat;
    transform-origin: 50% 100%; transition: transform .45s ease;
}
.gv-hood[open] > summary::before { transform: perspective(900px) rotateX(50deg); }
@media (prefers-reduced-motion: reduce) { .gv-hood > summary::before { transition: none; } }
/* La poignée suit le bord du couvercle quand il bascule (96 px à 50° = ~39 px plus bas, ~92 % de la largeur) */
.gv-chest-handle { position: relative; z-index: 1; transition: transform .45s ease; transform-origin: 50% 100%; }
.gv-chest:has(.gv-hood[open]) .gv-chest-handle { transform: translateY(39px) scale(.92); }
@media (prefers-reduced-motion: reduce) { .gv-chest-handle { transition: none; } }

/* ---------------------------------------------------------------------
   05 Mur du garage + coffre en UNE section (propriétaire 2026-12-05)
   Plaque, calendrier et coupure de presse punaisés au mur de bois autour du coffre;
   le coffre est posé sur un plancher d'époxy lustré qui le reflète.
   --------------------------------------------------------------------- */
.gv-garage { overflow: hidden; isolation: isolate; }
.gv-garage .gv-chest-grid {
    position: relative; z-index: 1;
    display: grid; align-items: start; justify-items: center;
    padding-top: var(--section); padding-bottom: 64px;
    grid-template-areas: "sign" "plate" "intro" "cal" "clip" "chest";
}
.gv-garage .gv-woodsign { grid-area: sign; align-self: center; }
.gv-garage .gv-plate { grid-area: plate; }
.gv-garage .gv-chest-intro { grid-area: intro; margin-bottom: 0; align-self: center; max-width: 520px; }
.gv-garage .gv-calendar { grid-area: cal; width: min(340px, 100%); }
.gv-garage .gv-clipping { grid-area: clip; width: min(300px, 100%); }
.gv-garage .gv-chest { grid-area: chest; align-self: end; }
@media (min-width: 1000px) {
    .gv-garage .gv-chest-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        grid-template-areas: "sign sign" "plate chest" "intro chest" "pins chest";
    }
    .gv-garage .gv-calendar, .gv-garage .gv-clipping { grid-area: auto; }
}
/* calendrier et coupure côte à côte sous le texte (2 colonnes) */
@media (min-width: 1000px) and (max-width: 1279px) {
    .gv-garage .gv-chest-grid { grid-template-areas: "sign sign" "plate chest" "intro chest" "cal chest" "clip chest"; }
    .gv-garage .gv-calendar { grid-area: cal; }
    .gv-garage .gv-clipping { grid-area: clip; }
}
/* grand écran : le coffre au centre, les souvenirs de chaque côté */
@media (min-width: 1280px) {
    .gv-garage .gv-chest-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 600px) minmax(0, 1fr);
        grid-template-areas: "sign sign sign" "plate chest intro" "cal chest clip";
        column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
    }
    .gv-garage .gv-calendar { grid-area: cal; align-self: end; margin-bottom: 40px; }
    .gv-garage .gv-clipping { grid-area: clip; align-self: end; margin-bottom: 70px; }
    .gv-garage .gv-plate img { width: min(360px, 100%); }
}

/* Plancher d'époxy lustré : gris charbon, paillettes, reflet de lumière et reflet du coffre */
.gv-garage .gv-concrete {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
    height: 120px; margin: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.22) 0, rgba(255,255,255,0) 6px),
        radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255,255,255,.28), rgba(255,255,255,0) 70%),
        linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.10) 45%, rgba(255,255,255,0) 60%),
        radial-gradient(circle at 20% 30%, #b8b2a8 0 1px, transparent 1.5px) 0 0 / 23px 19px,
        radial-gradient(circle at 70% 60%, #8f2a24 0 1px, transparent 1.5px) 0 0 / 31px 27px,
        radial-gradient(circle at 40% 80%, #d9d3c6 0 .8px, transparent 1.3px) 0 0 / 17px 13px,
        linear-gradient(180deg, #2f3236 0%, #45494e 35%, #3a3d41 100%);
    box-shadow: inset 0 3px 0 #1c1e20, inset 0 14px 18px rgba(0,0,0,.45);
}
/* reflet du coffre dans l'époxy (Chrome, Edge, Safari; ailleurs : simple ombre) */
.gv-garage .gv-chest { -webkit-box-reflect: below -2px linear-gradient(transparent 82%, rgba(255,255,255,.28)); }
@media (max-width: 560px) {
    .gv-garage .gv-concrete { height: 90px; }
    .gv-garage .gv-chest-grid { padding-bottom: 50px; }
}
@media (min-width: 1280px) {
    .gv-garage .gv-chest-grid { width: min(100% - 2 * var(--gutter), 1560px); grid-template-columns: minmax(0, 1fr) minmax(0, 580px) minmax(0, 1fr); }
    .gv-garage .gv-chest-intro { max-width: 440px; }
    .gv-garage .gv-chest-intro h2 { font-size: clamp(1.8rem, 1rem + 1.6vw, 2.6rem); }
}
/* Époxy : plus lustré (reflets de néons, paillettes discrètes) et reflet du coffre plus visible */
.gv-garage .gv-concrete {
    background:
        linear-gradient(180deg, rgba(255,255,255,.35) 0, rgba(255,255,255,0) 3px),
        linear-gradient(180deg, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 28px),
        linear-gradient(90deg, transparent 8%, rgba(255,255,255,.16) 14%, transparent 20%, transparent 78%, rgba(255,255,255,.14) 84%, transparent 90%),
        radial-gradient(ellipse 45% 90% at 50% 10%, rgba(255,240,220,.22), transparent 70%),
        radial-gradient(circle at 13% 37%, rgba(220,214,204,.55) 0 1px, transparent 1.6px) 0 0 / 37px 29px,
        radial-gradient(circle at 61% 71%, rgba(180,50,42,.6) 0 1px, transparent 1.6px) 0 0 / 53px 41px,
        radial-gradient(circle at 83% 19%, rgba(240,236,228,.45) 0 .8px, transparent 1.3px) 0 0 / 29px 47px,
        linear-gradient(180deg, #2a2d31 0%, #4a4f55 45%, #34383d 100%);
}
.gv-garage .gv-chest { -webkit-box-reflect: below -4px linear-gradient(transparent 55%, rgba(255,255,255,.35)); }
.gv-garage .gv-chest { -webkit-box-reflect: below -4px linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.25) 8%, transparent 14%); }
@media (min-width: 561px) {
    .gv-garage .gv-concrete { height: 150px; }
    .gv-garage .gv-chest-grid { padding-bottom: 92px; }
}
/* Reflet du coffre dans l'époxy : dessiné en CSS (fonctionne dans tous les navigateurs) */
.gv-garage .gv-chest { -webkit-box-reflect: none; position: relative; }
.gv-garage .gv-chest::after {
    content: ""; position: absolute; left: 3%; right: 3%; top: calc(100% - 8px); height: 84px; pointer-events: none;
    background:
        radial-gradient(ellipse 5% 22% at 12% 12%, rgba(20,20,20,.7), transparent),
        radial-gradient(ellipse 5% 22% at 88% 12%, rgba(20,20,20,.7), transparent),
        linear-gradient(180deg, rgba(200,40,32,.55) 0%, rgba(150,30,26,.25) 40%, transparent 100%);
    filter: blur(1.5px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
/* Intérieur du capot : les côtés du coffre restent rouges à gauche et à droite */
.gv-hood-inside {
    border-inline: 12px solid #a3231d;
    border-image: linear-gradient(90deg, #6e1512, #b8281f 45%, #8f1e1a) 1;
}
/* Capot ouvert : le lettrage ICE QUBE quitte le couvercle et se place sous le logo IQ, à l'intérieur */
.gv-hood[open] > summary > :not(.gv-hood-hint) { visibility: hidden; }
.gv-hood-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; width: auto; }
.gv-hood-logo > img { width: 100px; height: auto; }
.gv-hood-logo .gv-hood-word, .gv-hood-logo picture img { width: 170px; height: auto; }
.gv-hood-zoom { display: block; cursor: zoom-in; }
.gv-hood-zoom:focus-visible { outline: 3px solid #f3c64a; outline-offset: 2px; }
/* Photo agrandie dans son cadre de polaroid (photos sous le capot du coffre, data-lightbox="polaroid") */
.lightbox--polaroid {
    padding: clamp(12px, 2vw, 22px) clamp(12px, 2vw, 22px) 0;
    border: 0; border-radius: 2px;
    background: #f7f0de;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .6);
    transform: rotate(-1.2deg);
}
.lightbox--polaroid img { max-height: calc(88vh - 7rem); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.lightbox--polaroid p {
    padding: .9rem .5rem 1.4rem;
    font-family: var(--f-script); font-weight: 400; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
    letter-spacing: 0; text-transform: none; text-align: center; color: #1f2a44;
}
.lightbox--polaroid .dialog-close { top: 4px; right: 4px; }
@media (prefers-reduced-motion: reduce) { .lightbox--polaroid { transform: none; } }
/* Capot ouvert, plus réaliste : vu de face, le couvercle relevé n'est plus qu'une mince bande (36 px) en léger trapèze;
   la poignée reste posée dessus naturellement */
.gv-hood > summary { transition: height .45s ease, padding .45s ease; }
.gv-hood[open] > summary { height: 36px; padding-bottom: 4px; }
.gv-hood[open] > summary::before { transform: perspective(300px) rotateX(28deg); }
.gv-chest:has(.gv-hood[open]) .gv-chest-handle { transform: scale(.94); }
.gv-hood[open] .gv-hood-hint { font-size: .62rem; }
@media (prefers-reduced-motion: reduce) { .gv-hood > summary { transition: none; } }
/* Mini animation « ça s'ouvre » : capot fermé, le couvercle se soulève un peu toutes les 5 s
   (une lueur chaude passe par la fente) avec la poignée; s'arrête au survol, quand le capot est ouvert
   et sous prefers-reduced-motion */
@keyframes gv-hood-peek {
    0%, 78%, 100% { transform: none; }
    84% { transform: perspective(600px) rotateX(-14deg); }
    88% { transform: perspective(600px) rotateX(-6deg); }
    92% { transform: perspective(600px) rotateX(-11deg); }
}
@keyframes gv-hood-peek-handle {
    0%, 78%, 100% { transform: none; }
    84% { transform: translateY(-9px); }
    88% { transform: translateY(-4px); }
    92% { transform: translateY(-7px); }
}
@keyframes gv-hood-glow {
    0%, 78%, 100% { opacity: 0; }
    84%, 92% { opacity: 1; }
}
.gv-hood:not([open]) > summary::before { transform-origin: 50% 0; animation: gv-hood-peek 5s ease-in-out 2s infinite; }
.gv-chest:has(.gv-hood:not([open])) .gv-chest-handle { animation: gv-hood-peek-handle 5s ease-in-out 2s infinite; }
.gv-hood:not([open]) > summary::after {
    content: ""; position: absolute; left: 6%; right: 6%; bottom: -3px; height: 8px; z-index: -2; pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 214, 140, .9), rgba(255, 214, 140, 0) 70%);
    opacity: 0; animation: gv-hood-glow 5s ease-in-out 2s infinite;
}
.gv-hood:not([open]) > summary:hover::before, .gv-hood:not([open]) > summary:hover::after,
.gv-chest:has(.gv-hood:not([open]) > summary:hover) .gv-chest-handle { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .gv-hood:not([open]) > summary::before, .gv-hood:not([open]) > summary::after,
    .gv-chest:has(.gv-hood:not([open])) .gv-chest-handle { animation: none; }
}

/* =====================================================================
   ACCUEIL — ordre et transitions optimisés (propriétaire 2026-12-05)
   héros (nuit) → billets + spécialité (crème, un seul bloc) → mur du garage et coffre (bois)
   → lettre (crème) → vieilles ou récentes (marine) → étapes (crème) → bande rouge → pied (marine).
   Le tableau indicateur est retiré : années et heures sont déjà dans les billets.
   ===================================================================== */
.gv-tickets { padding-bottom: 0; }
.gv-specialty { background: transparent; border-top: 0; }
/* bas du papier crème : une moulure de bois sépare le crème du mur de bois */
.gv-garage { border-top: 12px solid #4a3522; box-shadow: inset 0 14px 24px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, .25); }
.gv-woodsign-more {
    display: inline-flex; align-items: center; gap: .35rem; margin-top: 8px;
    font: 700 .78rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
    color: #f3c64a; text-decoration: none;
}
.gv-woodsign-more:hover, .gv-woodsign-more:focus-visible { color: #fff; text-decoration: underline; }
.gv-woodsign-more svg { width: 1em; height: 1em; }

/* Accueil : l'enseigne déplacée passe DERRIÈRE la mascotte (propriétaire 2026-12-05) */
.west-hero .gv-sign.is-dragging,
.west-hero .gv-sign.is-moved { z-index: 0; }

/* Bouton « – » : réduire l'enseigne */
.gv-sign-min {
    position: absolute; top: 22px; left: 22px; z-index: 3;
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 2px solid rgba(247, 240, 222, .55); border-radius: 50%;
    background: rgba(17, 23, 55, .6); color: var(--cream); cursor: pointer;
    transition: background .15s, border-color .15s;
}
.gv-sign-min svg { width: 20px; height: 20px; }
.gv-sign-min:hover { background: var(--red); border-color: var(--cream); }
.gv-sign-min:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.west-hero .gv-sign.is-reduced { visibility: hidden; } /* garde sa place : la scène ne saute pas */

/* Enseigne réduite : petite plaque marine à cheval entre l'image et la section suivante */
.gv-sign-tab {
    position: absolute; left: 50%; bottom: 0; z-index: 6;
    display: inline-flex; align-items: center; gap: .9rem;
    min-height: 48px; padding: .55rem 1.1rem;
    border: 3px solid var(--cream); border-radius: 14px;
    background-color: var(--navy); background-image: var(--tx-grain); background-image: var(--tx-grain-set);
    box-shadow: 0 0 0 3px var(--navy), 0 14px 26px rgba(10, 8, 4, .5);
    color: var(--cream); cursor: pointer;
    transform: translate(-50%, 50%);
}
.gv-sign-tab[hidden] { display: none; }
.gv-sign-tab-text { font-family: var(--f-west); font-size: clamp(1rem, .9rem + .5vw, 1.3rem); white-space: nowrap; }
.gv-sign-tab-open { display: inline-flex; align-items: center; gap: .3rem; font: 700 .78rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.gv-sign-tab-open svg { width: 1.1em; height: 1.1em; }
.gv-sign-tab:hover { background-color: #2b3870; }
.gv-sign-tab:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
    .gv-sign-tab:not([hidden]) { animation: gv-tab-in .35s ease-out; }
    @keyframes gv-tab-in { from { opacity: 0; transform: translate(-50%, 90%); } to { opacity: 1; transform: translate(-50%, 50%); } }
}
@media (max-width: 480px) {
    .gv-sign-tab { gap: .6rem; padding-inline: .8rem; }
    .gv-sign-tab-text { font-size: .95rem; }
}
.gv-sign-tab { bottom: -14px; }
/* le héros coupe ce qui dépasse : la languette se pose sur le bas de l'image, au-dessus de la section suivante */
.gv-sign-tab { bottom: 14px; transform: translateX(-50%); }
@media (prefers-reduced-motion: no-preference) {
    .gv-sign-tab:not([hidden]) { animation: gv-tab-in2 .35s ease-out; }
    @keyframes gv-tab-in2 { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translateX(-50%); } }
}

/* « Ranger l'enseigne » : étiquette de cuir cousue, suspendue par un anneau de laiton sous l'enseigne
   (comme la tirette d'un store) — on tire, l'enseigne descend en languette au bas du héros */
.gv-sign-min {
    top: auto; bottom: -30px; left: 50%;
    display: inline-flex; align-items: center; gap: 6px;
    width: auto; height: 44px; padding: 0 14px 0 8px;
    border: 0; border-radius: 4px 4px 12px 12px;
    background: #7a4524 radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 60%);
    box-shadow: inset 0 0 0 3px #7a4524, inset 0 0 0 4px rgba(243, 214, 143, .75), 0 6px 10px rgba(0, 0, 0, .45);
    outline-offset: 3px;
    color: #f3d38f;
    transform: translateX(-50%);
    transform-origin: 50% 0;
}
.gv-sign-min::before { /* coutures */
    content: ""; position: absolute; inset: 6px 7px; border: 1.5px dashed rgba(243, 214, 143, .7); border-radius: 2px 2px 8px 8px; pointer-events: none;
}
.gv-sign-min-ring {
    width: 16px; height: 16px; border-radius: 50%;
    background: radial-gradient(circle, #7a4524 0 3px, #f3c64a 3.5px 6px, #9a6c1c 6.5px 8px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.gv-sign-min-text { font: 700 .72rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.gv-sign-min:hover { background-color: #8e5530; border-color: transparent; }
.gv-sign-min:focus-visible { outline: 3px solid var(--amber); }
@media (prefers-reduced-motion: no-preference) {
    .gv-sign-min { transition: transform .2s; }
    .gv-sign-min:hover { transform: translateX(-50%) translateY(3px) rotate(-2deg); } /* on la tire un peu */
}
/* l'étiquette pend au coin haut gauche de l'enseigne (le bas est collé au bas du héros, qui coupe ce qui dépasse) */
.gv-sign-min { top: -18px; bottom: auto; left: 30px; transform: rotate(-5deg); transform-origin: 20px 0; }
@media (prefers-reduced-motion: no-preference) {
    .gv-sign-min:hover { transform: rotate(4deg) translateY(2px); }
}

/* Enseigne RANGÉE : elle devient une section de l'accueil, entre l'image et les billets (propriétaire 2026-12-05) */
.gv-sign-band[hidden] { display: none; }
.gv-sign-band {
    position: relative; z-index: 2;
    background-color: var(--navy); background-image: var(--tx-grain); background-image: var(--tx-grain-set);
    border-top: 4px solid var(--cream); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25);
    color: var(--cream);
}
.gv-sign.is-band {
    max-width: none; margin: 0; padding: 0; translate: none;
    border-radius: 0; background: none; box-shadow: none;
}
.gv-sign.is-band .gv-emblem, .gv-sign.is-band .gv-rivet { display: none; }
.gv-sign.is-band .gv-sign-inner {
    display: grid; align-items: center; gap: .5rem 2.5rem;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    grid-template-areas: "kick title actions" "slogan lead actions";
    padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem) 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    text-align: left;
}
.gv-sign.is-band .gv-sign-inner::before, .gv-sign.is-band .gv-sign-inner::after { display: none; }
.gv-sign.is-band .gv-sign-kicker { grid-area: kick; margin: 0; justify-content: flex-start; }
.gv-sign.is-band .gv-sign-kicker::before, .gv-sign.is-band .gv-sign-kicker::after { display: none; }
.gv-sign.is-band .gv-slogan { grid-area: slogan; margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.05; }
.gv-sign.is-band .gv-sign-title { grid-area: title; margin: 0; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); }
.gv-sign.is-band .gv-sign-lead { grid-area: lead; margin: 0; max-width: 60ch; }
.gv-sign.is-band .gv-sign-actions { grid-area: actions; margin: 0; flex-direction: column; align-items: stretch; }
.gv-sign.is-band .gv-sign-min { top: -22px; left: 0; }
@media (max-width: 999px) {
    .gv-sign.is-band .gv-sign-inner { grid-template-columns: 1fr; grid-template-areas: "kick" "slogan" "title" "lead" "actions"; text-align: center; padding-top: 2.2rem; }
    .gv-sign.is-band .gv-sign-kicker { justify-content: center; }
    .gv-sign.is-band .gv-sign-lead { margin-inline: auto; }
    .gv-sign.is-band .gv-sign-actions { align-items: center; }
    .gv-sign.is-band .gv-sign-min { left: 50%; transform: translateX(-50%) rotate(-3deg); }
}
.gv-sign-min-text[data-when="band"], .gv-sign.is-band .gv-sign-min-text[data-when="ice"] { display: none; }
.gv-sign.is-band .gv-sign-min-text[data-when="band"] { display: inline; }
@media (min-width: 1000px) {
    .gv-sign.is-band .gv-sign-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: start; }
    .gv-sign.is-band .gv-slogan { white-space: normal; align-self: start; }
    .gv-sign.is-band .gv-sign-title { align-self: end; }
    .gv-sign.is-band .gv-sign-actions { align-self: center; }
}

/* =====================================================================
   Conditionneur et benne de la mascotte (propriétaire 2026-12-05)
   Morceaux découpés de la carrosserie, posés exactement à leur place (% du canevas 1685 × 934).
   ===================================================================== */
.rs-part { position: absolute; z-index: 2; pointer-events: none; transition: transform .9s cubic-bezier(.3, .7, .3, 1), opacity .8s ease; }
.rs-cond { left: 66.8249%; top: 73.6617%; width: 33.1751%; }      /* 1126, 688, 559 */
.rs-lid  { left: 5.9347%;  top: 11.5632%; width: 44.3917%; transform-origin: 100% 100%; } /* 100, 108, 748; charnière à l'arrière */
html:not([data-scene="night"]) .rs-part--night,
html[data-scene="night"] .rs-part--day { display: none; }
html.rs-fade .rs-part { display: block; }
html.rs-fade:not([data-scene="night"]) .rs-part--night,
html.rs-fade[data-scene="night"] .rs-part--day { opacity: 0; }

/* Conditionneur levé : il monte de quelques centimètres, en penchant à peine */
.rs-machine.is-cond-up .rs-cond { transform: translateY(-15%) rotate(-1.5deg); }
/* Benne ouverte : l'avant se lève (charnière à l'arrière) et la neige tombe devant la machine */
.rs-machine.is-tank-open .rs-lid { transform: rotate(14deg); }

.rs-snow { position: absolute; z-index: 3; left: 0; top: 18%; width: 14%; height: 82%; pointer-events: none; }
.rs-snow i {
    position: absolute; top: 0; left: calc(var(--i) * 7%); width: 7%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, #dfe8f2 70%); box-shadow: 0 0 2px rgba(255,255,255,.6);
    opacity: 0;
}
.rs-snow i:nth-child(1) { --i: 1; --d: .0s; } .rs-snow i:nth-child(2) { --i: 6; --d: .12s; } .rs-snow i:nth-child(3) { --i: 3; --d: .25s; }
.rs-snow i:nth-child(4) { --i: 9; --d: .35s; } .rs-snow i:nth-child(5) { --i: 4; --d: .5s; } .rs-snow i:nth-child(6) { --i: 11; --d: .6s; }
.rs-snow i:nth-child(7) { --i: 2; --d: .72s; } .rs-snow i:nth-child(8) { --i: 7; --d: .85s; } .rs-snow i:nth-child(9) { --i: 12; --d: .95s; }
.rs-snow i:nth-child(10) { --i: 5; --d: 1.05s; } .rs-snow i:nth-child(11) { --i: 8; --d: 1.2s; } .rs-snow i:nth-child(12) { --i: 0; --d: 1.3s; }
.rs-snow i:nth-child(13) { --i: 10; --d: 1.45s; } .rs-snow i:nth-child(14) { --i: 3.5; --d: 1.6s; }
.rs-machine.is-tank-open .rs-snow i { animation: rs-snow-fall 1.1s cubic-bezier(.5, 0, .9, .6) calc(.5s + var(--d)) 2 both; }
@keyframes rs-snow-fall {
    0% { opacity: 0; transform: translate(0, 0) scale(.7); }
    10% { opacity: 1; }
    100% { opacity: 1; transform: translate(-120%, 1000%) scale(1.1); }
}
/* Le tas de neige sur la glace, devant l'avant de la machine */
.rs-pile {
    position: absolute; z-index: 3; left: -9%; bottom: -1%; width: 20%; height: 9%; pointer-events: none;
    border-radius: 50% 50% 12% 12% / 90% 90% 10% 10%;
    background: radial-gradient(ellipse at 45% 30%, #ffffff, #e2ebf4 55%, #b9c8d8);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
    transform: scale(0); transform-origin: 50% 100%; opacity: 0;
    transition: transform 1.6s ease-out .9s, opacity .4s .9s;
}
.rs-machine.is-tank-open .rs-pile { transform: scale(1); opacity: 1; }

/* Zones cliquables (au moins 44 px), visibles seulement au focus clavier */
.rs-part-btn {
    position: absolute; z-index: 4; padding: 0; border: 0; background: transparent; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.rs-part-btn:focus-visible { outline: 3px solid var(--mustard, #d9a441); outline-offset: 2px; border-radius: 10px; }
.rs-cond-btn { left: 67%; top: 74%; width: 32%; height: max(44px, 25%); }
.rs-tank-btn { left: 7%; top: 12%; width: 45%; height: max(44px, 28%); }
@media (prefers-reduced-motion: reduce) {
    .rs-part, .rs-pile { transition: none; }
    .rs-machine.is-tank-open .rs-snow i { animation: none; }
}
/* les billets se décollent de l'enseigne rangée */
.gv-sign-band:not([hidden]) + .gv-tickets { padding-top: clamp(1.2rem, 1rem + 1vw, 2rem); }
/* le héros ne défile jamais à l'intérieur (un focus sur un élément qui dépasse le faisait défiler : bande noire en bas) */
.gv-hero { overflow: clip; }

/* Neige de la benne, version texturée (propriétaire 2026-12-05) : mottes irrégulières qui culbutent en tombant
   (gravité : lent au départ, rapide en bas), poudre fine, et un tas bosselé qui grossit sur la glace */
:root {
    --snow-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .72 0 0 0 0 .84 0 0 0 .9 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rs-snow { left: -2%; top: 16%; width: 16%; height: 84%; overflow: visible; }
.rs-snow i {
    left: var(--x); top: 0; width: calc(var(--s) * 9%); aspect-ratio: 1.15;
    border-radius: 46% 58% 40% 62% / 55% 42% 60% 48%;
    background: var(--snow-grain) center / 60px 60px, radial-gradient(ellipse at 32% 28%, #fff 0 35%, #e6eef7 62%, #b8c9db 100%);
    box-shadow: inset -2px -3px 4px rgba(90, 120, 160, .35), 0 1px 2px rgba(0, 0, 0, .15);
    opacity: 0; transform: none;
}
.rs-snow i:nth-child(3n) { border-radius: 60% 40% 55% 45% / 40% 60% 45% 55%; aspect-ratio: .9; }
.rs-snow i:nth-child(4n) { width: calc(var(--s) * 4%); box-shadow: 0 0 3px rgba(255, 255, 255, .9); } /* poudre */
.rs-machine.is-tank-open .rs-snow i { animation: rs-snow-drop var(--t) cubic-bezier(.45, 0, .95, .55) calc(.55s + var(--d)) 3 both; }
@keyframes rs-snow-drop {
    0%   { opacity: 0; top: 0;    transform: translateX(0) rotate(0) scale(.6); }
    8%   { opacity: 1; }
    55%  { transform: translateX(calc(var(--dx) * .45)) rotate(calc(var(--r) * .5)) scale(1); }
    92%  { opacity: 1; top: 100%; transform: translateX(var(--dx)) rotate(var(--r)) scale(1); }
    100% { opacity: 0; top: 100%; transform: translateX(var(--dx)) rotate(var(--r)) scale(1.25, .55); } /* s'écrase sur la glace */
}

/* Tas de neige : trois bosses texturées qui sortent l'une après l'autre */
.rs-pile {
    left: -12%; bottom: -1.5%; width: 24%; height: 13%;
    border-radius: 0; background: none; box-shadow: none;
    transform: none; opacity: 1; transition: none;
}
.rs-pile b {
    position: absolute; bottom: 0;
    background: var(--snow-grain) center / 70px 70px, radial-gradient(ellipse at 40% 25%, #fff 0 30%, #e8eff7 58%, #b3c5d8 100%);
    box-shadow: inset -4px -5px 8px rgba(80, 110, 150, .3), 0 4px 6px rgba(0, 0, 0, .3);
    transform: scale(0); transform-origin: 50% 100%;
    transition: transform 1.2s cubic-bezier(.3, 1.3, .5, 1);
}
.rs-pile b:nth-child(1) { left: 22%; width: 58%; height: 100%; border-radius: 52% 48% 10% 10% / 92% 88% 12% 12%; transition-delay: 1.1s; }
.rs-pile b:nth-child(2) { left: 4%;  width: 40%; height: 62%; border-radius: 55% 45% 10% 10% / 90% 95% 10% 10%; transition-delay: 1.8s; }
.rs-pile b:nth-child(3) { left: 62%; width: 34%; height: 50%; border-radius: 45% 55% 10% 10% / 95% 85% 10% 10%; transition-delay: 2.4s; }
.rs-machine.is-tank-open .rs-pile b { transform: scale(1); }
/* fermée : le tas fond doucement */
.rs-machine:not(.is-tank-open) .rs-pile b { transition: transform .9s ease-in, opacity .9s; transition-delay: 0s; opacity: 0; }
.rs-machine.is-tank-open .rs-pile b { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .rs-pile b { transition: none !important; }
}
.rs-snow i { width: calc(var(--s) * 17%); }
.rs-snow i:nth-child(4n) { width: calc(var(--s) * 7%); }
/* Benne = toute la caisse avant (1105 × 610 au coin (0, 108)); charnière en haut à l'arrière (1105, 215) :
   l'avant se lève et bascule vers l'arrière, la neige glisse par l'avant et tombe sur la glace */
.rs-tank { left: 0; top: 11.5632%; width: 53.4125%; transform-origin: 98% 6%; }
.rs-machine.is-tank-open .rs-tank { transform: rotate(16deg); }
.rs-snow { left: -3%; top: 52%; width: 16%; height: 48%; }
.rs-tank-btn { left: 6%; top: 14%; width: 56%; height: 60%; }
/* Benne en L levée : le dessous est vide. La neige est DÉJÀ dans la benne (cachée sous la coque fermée) :
   à l'ouverture on la voit au fond, puis elle glisse par l'avant et tombe sur la glace (propriétaire 2026-12-05) */
.rs-rest {
    position: absolute; z-index: 1; pointer-events: none;
    left: 5.4%; top: 58%; width: 8%; height: 19%;
    background: var(--snow-grain) center / 50px 50px, radial-gradient(ellipse at 45% 30%, #fff 0 30%, #e6eef7 60%, #b3c5d8 100%);
    border-radius: 70% 40% 6% 6% / 60% 45% 6% 6%;
    box-shadow: inset -3px -4px 6px rgba(80, 110, 150, .3);
    transform-origin: 0 100%;
}
.rs-machine.is-tank-open .rs-rest { animation: rs-rest-out 2.4s cubic-bezier(.5, 0, .8, .4) .45s both; }
@keyframes rs-rest-out {
    0%   { transform: none; opacity: 1; }
    15%  { transform: translateX(-6%) skewX(4deg); opacity: 1; }                 /* elle décolle et commence à glisser */
    70%  { transform: translateX(-70%) translateY(8%) scaleY(.55) skewX(10deg); opacity: 1; }
    100% { transform: translateX(-115%) translateY(14%) scaleY(.12) skewX(14deg); opacity: 0; } /* la benne se vide */
}
/* les mottes partent de la lèvre avant de la benne, au rythme du glissement */
.rs-snow { left: -4%; top: 66%; width: 14%; height: 34%; }
.rs-machine.is-tank-open .rs-snow i { animation-delay: calc(.8s + var(--d)); }
@media (prefers-reduced-motion: reduce) { .rs-machine.is-tank-open .rs-rest { animation: none; } }
/* forme : un tas bosselé (pas un bloc) — le corps est le bas, deux bosses par-dessus */
.rs-rest { top: 64%; height: 13%; border-radius: 30% 25% 6% 6% / 40% 35% 6% 6%; overflow: visible; }
.rs-rest::before, .rs-rest::after {
    content: ""; position: absolute; bottom: 55%;
    background: inherit; box-shadow: inherit; border-radius: 50% 50% 20% 20% / 70% 70% 30% 30%;
}
.rs-rest::before { left: 4%;  width: 58%; height: 75%; }
.rs-rest::after  { left: 46%; width: 46%; height: 55%; }
/* le tas reste DANS la benne (entre le rebord avant x 106 et le panneau x 190, fond y 718) : rien ne déborde avant le glissement */
.rs-rest { left: 6.7%; width: 4.5%; top: 69.5%; height: 7.3%; }
.rs-rest::before { left: 6%;  width: 56%; height: 60%; }
.rs-rest::after  { left: 48%; width: 44%; height: 45%; }
