/* ============================================================
   L'Atelier du Digital — feuille de style du site
   Couleurs officielles : anthracite #1A1B1B, orange #F28A1A, blanc.
   Les variantes (haut de page, ambiance, animations) se règlent dans Gestion › Apparence.
   ============================================================ */

/* ---------- Police Inter, hébergée sur le site (licence OFL) ---------- */
@font-face {
    font-family: 'Inter';
    src: url('polices/inter-variable.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Couleurs et réglages ---------- */
:root {
    --anthracite: #1A1B1B;
    --anthracite-profond: #121313;
    --orange: #F28A1A;
    --orange-vif: #FF9A2E;
    --blanc: #FFFFFF;
    --vert: #22C55E;
    --rouge: #EF4444;
    --whatsapp: #25D366;
    --etoile: #FFB703;

    --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
    --courbe: cubic-bezier(.16, 1, .3, 1);

    /* Tailles fluides : elles suivent la largeur ET la hauteur de l'écran, entre un minimum et un maximum.
       Un portable (1366 × 657 ou 1536 × 730 visibles) reçoit des espacements plus serrés qu'un grand écran,
       sans réglage à faire. Repères : contenu de 1216 px au plus, boutons de 44 px ou plus, grille de 8 px.
       Version compacte (01/10/2026) : vides réduits, texte et boutons inchangés. */
    --entete-h: 4rem;
    --espace-section: clamp(2.25rem, min(4.5vw, 7vh), 4rem);
    --espace-titre: clamp(1.25rem, min(2.8vw, 3.8vh), 2rem);
    --hero-haut: clamp(1.75rem, min(5vw, 6.5vh), 4.25rem);
    --hero-bas: clamp(2rem, min(4vw, 5.5vh), 3.5rem);
    --pad-carte: clamp(1rem, 1.4vw, 1.35rem);
    --ecart-grille: clamp(.75rem, 1.2vw, 1rem);
    --rayon: 12px;
    --rayon-grand: clamp(14px, 1.3vw, 18px);
    --rayon-tuile: clamp(16px, 1.6vw, 22px);
    --bouton-h: 2.875rem;
    --bouton-h-petit: 2.5rem;

    /* Thème d'une section : sombre par défaut */
    --fond: #1A1B1B;
    --fond-2: #151616;
    --carte: #202222;
    --carte-2: #262828;
    --bord: rgba(255, 255, 255, .08);
    --bord-fort: rgba(255, 255, 255, .16);
    --texte: #A9B0B0;
    --texte-fort: #FFFFFF;
    --texte-doux: #8E9696;
    --orange-texte: #F28A1A;
    --vert-texte: #4ADE80;
    --grille: rgba(255, 255, 255, .04);
    color-scheme: dark;
}

/* Ambiance « tout sombre » : une section sur deux un peu plus profonde, pour le rythme */
.ambiance-sombre main > .section-padding:nth-of-type(even) { --fond: #161717; }

/* Ambiance « alternance » : une section sur deux en clair, texte anthracite */
.ambiance-alternance main > .section-padding:nth-of-type(even) {
    --fond: #F4F2EE;
    --fond-2: #ECE9E3;
    --carte: #FFFFFF;
    --carte-2: #FAF9F7;
    --bord: rgba(26, 27, 27, .09);
    --bord-fort: rgba(26, 27, 27, .18);
    --texte: #4B5151;
    --texte-fort: #1A1B1B;
    --texte-doux: #636A6A;
    --orange-texte: #C2610A;
    --vert-texte: #15803D;
    --grille: rgba(26, 27, 27, .05);
    color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--texte);
    background-color: var(--anthracite);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    font-feature-settings: "cv11", "ss01";
}

.menu-ouvert body { overflow: hidden; }

::selection { background-color: var(--orange); color: var(--anthracite); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.saut {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--orange); color: var(--anthracite); font-weight: 700;
    padding: .6rem 1rem; border-radius: 999px;
}
.saut:focus { top: 1rem; }

.centre { text-align: center; }
.retour { margin-top: 3rem; }
.text-orange { color: var(--orange-texte); }
.text-white { color: var(--texte-fort); }

/* ---------- Conteneurs ---------- */
.container-6xl { max-width: 76rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.container-4xl { max-width: 56rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.main-content { flex: 1 1 auto; }

/* Pages sans haut de page (mentions légales, 404…) : place pour l'en-tête flottant */
main > section.section-padding:first-child { padding-top: calc(var(--entete-h) + var(--hero-haut) + 1rem); }

/* ---------- Bandeau du haut : aperçu de l'apparence (les annonces passent par le bandeau du bas, Gestion › Bandeau) ---------- */
.bandeau-apercu {
    position: relative;
    z-index: 70;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem 1.25rem;
    padding: .6rem 1.5rem;
    background: var(--blanc);
    color: var(--anthracite);
    font-weight: 500;
    font-size: .9rem;
    text-align: center;
}
.bandeau-apercu a { font-weight: 700; }

/* ---------- En-tête flottant ---------- */
.entete {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: .75rem clamp(.75rem, 3vw, 1.5rem) 0;
    margin-bottom: calc(-1 * var(--entete-h));
    height: var(--entete-h);
    pointer-events: none;
}

.entete__capsule {
    position: relative;
    pointer-events: auto;
    max-width: 76rem;
    height: 3.25rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 .45rem 0 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .1);
    transition: box-shadow .3s ease, border-color .3s ease;
}
/* Le flou est porté par un calque : sans cela, le menu mobile (position fixe) resterait prisonnier de la capsule */
.entete__capsule::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(26, 27, 27, .74);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    transition: background-color .3s ease;
}
.entete--defile .entete__capsule { box-shadow: 0 14px 40px rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .13); }
.entete--defile .entete__capsule::before { background: rgba(18, 19, 19, .9); }

.site-logo {
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: -.02em;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo-orange { color: var(--orange); }
.logo-white { color: var(--blanc); }

/* Navigation (ordinateur) */
.nav { display: flex; align-items: center; gap: .15rem; margin: 0 auto; }

.nav__lien {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .78);
    transition: color .15s ease, background-color .15s ease;
}
.nav__lien:hover { color: var(--blanc); background: rgba(255, 255, 255, .07); }
.nav__lien[aria-current="page"] { color: var(--blanc); background: rgba(242, 138, 26, .16); }
.nav__chevron { width: .9rem; height: .9rem; opacity: .6; transition: transform .2s ease; }

.nav__groupe { position: relative; }
.nav__panneau {
    position: absolute;
    top: calc(100% + .6rem);
    left: 50%;
    width: 21rem;
    padding: .5rem;
    border-radius: 20px;
    background: #1D1F1F;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__panneau::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.nav__groupe:hover .nav__panneau,
.nav__groupe:focus-within .nav__panneau { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__groupe:hover .nav__chevron,
.nav__groupe:focus-within .nav__chevron { transform: rotate(180deg); }

.nav__sous {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .7rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, .75);
    transition: background-color .15s ease;
}
.nav__sous:hover, .nav__sous[aria-current="page"] { background: rgba(255, 255, 255, .06); }
.nav__sous strong { display: block; font-size: .9rem; color: var(--blanc); }
.nav__sous small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.nav__icone {
    width: 2.5rem; height: 2.5rem; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(242, 138, 26, .12);
    color: var(--orange);
}
.nav__icone .service-icon { width: 1.2rem; height: 1.2rem; }
.nav__tout {
    display: flex; justify-content: space-between;
    margin-top: .35rem; padding: .75rem .8rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .85rem; font-weight: 700; color: var(--orange);
}
.nav__contact { display: none; }

.entete__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav + .entete__actions { margin-left: 0; }
.entete__cta { white-space: nowrap; }

/* Pastille « Ouvert / Fermé » */
.statut {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    border: 1px solid var(--bord-fort);
    font-size: .78rem;
    font-weight: 600;
    color: var(--texte-fort);
    white-space: nowrap;
}
.statut i { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--rouge); flex-shrink: 0; }
.statut--ouvert i { background: var(--vert); }
.anim .statut--ouvert i::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid var(--vert); opacity: 0;
    animation: pouls 2.2s ease-out infinite;
}
.entete .statut { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }

.nav-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--blanc);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle__barres,
.nav-toggle__barres::before,
.nav-toggle__barres::after {
    display: block; width: 1.1rem; height: 2px;
    background-color: currentColor; border-radius: 2px;
    transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__barres { position: relative; }
.nav-toggle__barres::before, .nav-toggle__barres::after { content: ""; position: absolute; left: 0; }
.nav-toggle__barres::before { top: -6px; }
.nav-toggle__barres::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__barres { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__barres::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__barres::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1179px) {
    .entete__statut { display: none; }
}

/* Menu mobile : panneau plein écran */
@media (max-width: 1023px) {
    .nav-toggle { display: inline-flex; }
    .entete .entete__cta--mobile { display: none; }
    .nav + .entete__actions { margin-left: auto; }

    .nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--entete-h) + 1.5rem) clamp(1.25rem, 6vw, 2.5rem) 8rem;
        background: #141515;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s;
    }
    .js .nav.is-open { opacity: 1; visibility: visible; }
    .js .nav:not(.is-open) { pointer-events: none; }   /* plus cliquable dès la fermeture, sans attendre la fin du fondu */
    html:not(.js) .nav { position: static; opacity: 1; visibility: visible; }

    .nav__lien {
        display: flex;
        justify-content: space-between;
        padding: 1rem 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        font-size: 1.6rem;
        font-weight: 800;
        letter-spacing: -.02em;
        color: var(--blanc);
    }
    .nav__lien:hover, .nav__lien[aria-current="page"] { background: none; color: var(--orange); }
    .nav__chevron { display: none; }
    /* Le sous-menu suit l'état du menu (visibility: inherit) : avec « visible », ses liens restaient cliquables,
       invisibles, en haut de l'écran quand le menu était fermé (zones fantômes sur téléphone) */
    .nav__panneau,
    .nav__groupe:hover .nav__panneau, .nav__groupe:focus-within .nav__panneau {
        position: static; width: auto; padding: .25rem 0 .75rem;
        opacity: 1; visibility: inherit; transform: none;
        background: none; border: 0; box-shadow: none;
    }
    .nav__sous { padding: .6rem 0; }
    .nav__tout { border-top: 0; padding: .5rem 0; }
    .nav__contact {
        display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
        margin-top: 2rem; color: rgba(255, 255, 255, .6); font-size: .9rem;
    }
}

@media (max-width: 380px) {
    .site-logo { font-size: .95rem; }
}

/* ---------- Boutons ---------- */
.btn-primary, .btn-primary-sm, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .2s var(--courbe), box-shadow .2s ease;
}
.btn-primary {
    background-color: var(--orange);
    color: var(--anthracite);
    font-size: .92rem;
    min-height: var(--bouton-h);
    padding: .7rem 1.4rem;
    box-shadow: 0 12px 30px -10px rgba(242, 138, 26, .65);
}
.btn-primary-sm {
    background-color: var(--orange);
    color: var(--anthracite);
    font-size: .85rem;
    min-height: var(--bouton-h-petit);
    padding: .5rem 1.05rem;
}
.btn-primary:hover, .btn-primary-sm:hover { background-color: var(--orange-vif); }
.anim .btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--bord-fort);
    color: var(--texte-fort);
    font-size: .92rem;
    min-height: var(--bouton-h);
    padding: .7rem 1.4rem;
}
.btn-secondary:hover { border-color: var(--texte-fort); }
.btn-secondary--petit { font-size: .85rem; min-height: var(--bouton-h-petit); padding: .5rem 1.05rem; }

.bouton-picto { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }

/* Bouton de réservation pendant l'ouverture du module */
.chargement { cursor: progress; opacity: .75; }

/* ---------- Hauts de page ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--anthracite);
    --texte: #A9B0B0; --texte-fort: #FFFFFF; --texte-doux: #8E9696; --orange-texte: #F28A1A;
    --bord: rgba(255, 255, 255, .08); --bord-fort: rgba(255, 255, 255, .16); --carte: #202222;
    color: var(--texte);
    padding: calc(var(--entete-h) + var(--hero-haut)) 0 var(--hero-bas);
}

/* Trame technique et halo orange */
.hero__fond {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: -1px -1px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 68% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 70% at 68% 40%, #000 20%, transparent 75%);
}
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 70vmax;
    height: 70vmax;
    right: -22vmax;
    top: -28vmax;
    background: radial-gradient(circle, rgba(242, 138, 26, .2) 0%, rgba(242, 138, 26, 0) 62%);
    pointer-events: none;
}
.hero--page::before { width: 55vmax; height: 55vmax; right: -18vmax; top: -22vmax; }

/* Grille du haut de page : sur tablette le texte, le dessin puis les engagements (sur téléphone, pas de dessin) ;
   sur ordinateur le texte à gauche, le dessin et ses engagements dessous à droite.
   Mêmes colonnes sur toutes les pages, accueil compris, et tout part du haut : le fil d'Ariane, le titre et le dessin
   commencent à la même hauteur d'une page à l'autre, quel que soit l'écran. */
.hero__grille { position: relative; display: grid; gap: 2rem; align-items: start; grid-template-areas: "texte" "visuel" "reperes"; }
.hero__texte { position: relative; z-index: 2; grid-area: texte; }
.hero__visuel { grid-area: visuel; }
.hero__grille > .reperes { grid-area: reperes; }
@media (min-width: 960px) {
    .hero--typo .hero__grille {
        grid-template-areas: "texte visuel" "texte reperes"; grid-template-rows: auto 1fr;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: .5rem 3rem;
    }
}

/* Même taille de titre sur toutes les pages, accueil compris */
/* Les grands titres s'écrivent normalement (Gestion › Pages et FAQ) : c'est le design qui les met en capitales.
   Les lecteurs d'écran les lisent ainsi comme des mots, pas lettre par lettre. */
.hero__titre {
    font-size: clamp(2.3rem, min(5.2vw, 9.5vh), 4.5rem);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.025em;
    text-transform: uppercase;
    overflow-wrap: break-word;
    hyphens: manual;
}
.hero__titre span { display: block; }

.hero__accroche {
    max-width: 36rem;
    margin-top: clamp(1rem, 2.4vh, 1.5rem);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.45;
    color: #D5DADA;
}
.hero__accroche strong { font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.5rem, 3.6vh, 2.25rem); }

/* Engagements de la page, sous le dessin : le numéro suivi d'un trait qui se remplit d'orange, le mot dessous */
.reperes {
    display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: .9rem .75rem;
    width: 100%; max-width: 30rem; margin-inline: auto;
}
.reperes li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; gap: .2rem .5rem; }
.reperes__num { grid-area: 1 / 1; }
.reperes__nom { grid-area: 2 / 1 / 3 / 3; }
.reperes li::before, .reperes li::after { content: ""; grid-area: 1 / 2; height: 2px; border-radius: 2px; }
.reperes li::before { background: rgba(255, 255, 255, .12); }
.reperes li::after { background: var(--orange); box-shadow: 0 0 10px rgba(242, 138, 26, .45); transform-origin: left center; }
.anim .reperes li::after { animation: repere-rempli .8s var(--courbe) both; animation-delay: calc(.9s + var(--i, 0) * .18s); }
.reperes__num { font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .12em; color: var(--orange); }
.reperes__nom { font-size: .76rem; font-weight: 700; line-height: 1.25; color: var(--blanc); }
.hero--photo .reperes { margin: clamp(1.5rem, 3.6vh, 2.25rem) 0 0; }
@keyframes repere-rempli { from { transform: scaleX(0); } }

/* Appareil dessiné */
.hero__visuel { position: relative; }
/* L'appareil ne dépasse jamais la hauteur de l'écran (portables) ; même taille sur l'accueil que sur les autres pages */
.hero__visuel .appareil { width: min(100%, 76vh); margin-inline: auto; }
.hero--typo .hero__visuel { max-width: min(28rem, 62vh); margin-inline: auto; width: 100%; }
@media (max-width: 959px) {
    .hero__visuel { width: 100%; }
    .hero__visuel .appareil { width: min(100%, 40vh, 26rem); }
    .hero--typo .hero__visuel { max-width: 22rem; }
    .reperes { max-width: 34rem; margin-inline: 0; }
}
/* Sur téléphone, pas de dessin : le fil d'Ariane et le titre en haut, comme sur toutes les pages */
@media (max-width: 559px) {
    .hero--typo .hero__visuel { display: none; }
    .hero--typo .hero__grille { grid-template-areas: "texte" "reperes"; }
}

/* Accueil : les appareils défilent (site.js). Entre deux, un plan technique : les matières s'éteignent, les traits
   orange de l'appareil se retirent pendant que ceux du suivant se tracent pièce par pièce, puis les matières reviennent. */
.vitrine { display: grid; }
.vitrine__scene { grid-area: 1 / 1; display: flex; align-items: center; pointer-events: none; }
.vitrine__scene:not(.est-active):not(.sort) { visibility: hidden; }
.vitrine__legende {
    display: flex; justify-content: center; align-items: baseline; gap: .1rem; margin-top: .25rem;
    font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux);
}
.vitrine__legende[hidden] { display: none; }
.vitrine__legende b { font-weight: 600; color: var(--orange); }
.vitrine__legende span { margin-left: .7rem; color: var(--blanc); }
.vitrine__legende.change span, .vitrine__legende.change b { animation: apparait .5s ease both; }
/* Une fois la ronde lancée, les pièces ne rejouent plus leur arrivée ; repères et étiquettes s'éclipsent au passage */
.anim .vitrine.vitrine--lance .appareil .couche { animation: none; }
.anim .vitrine.vitrine--lance .appareil .puce, .anim .vitrine.vitrine--lance .appareil .repere { animation: none; transition: opacity .3s ease; }
.anim .vitrine .sort .appareil .puce, .anim .vitrine .sort .appareil .repere,
.anim .vitrine .entre .appareil .puce, .anim .vitrine .entre .appareil .repere { opacity: 0; }
/* Le plan : copie filaire du dessin (site.js), chaque trait de longueur 1 et de rang --k */
.trace { opacity: 0; pointer-events: none; }
.trace * { fill: none; stroke: #F28A1A; stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.plan-sort .matiere { animation: matiere-sort .32s ease both; }
.plan-sort .trace { animation: trace-montre .2s ease both; }
.plan-sort .trace * { animation: trait-retire .34s cubic-bezier(.5, 0, .75, 0) both; animation-delay: calc(.28s + var(--k, 0) * .42s); }
.plan-entre .matiere { animation: apparait .38s ease both; animation-delay: .78s; }
.plan-entre .trace { animation: trace-cache .4s ease .98s both; }
.plan-entre .trace * { animation: trait-trace .36s cubic-bezier(.25, 1, .5, 1) both; animation-delay: calc(var(--k, 0) * .44s); }
@keyframes matiere-sort { to { opacity: 0; } }
@keyframes trace-montre { from { opacity: 0; } to { opacity: 1; } }
@keyframes trace-cache { from { opacity: 1; } to { opacity: 0; } }
@keyframes trait-retire { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes trait-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 479px) {
    .reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero__prix {
    position: absolute;
    left: 6%;
    bottom: 8%;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: var(--orange);
    color: var(--anthracite);
    font-weight: 800;
    font-size: .95rem;
    box-shadow: 0 14px 30px -10px rgba(242, 138, 26, .7);
}

/* Fil d'Ariane (et, sur l'accueil, la ligne « Accueil / quoi et où » qui en a l'allure) */
.fil { margin-bottom: 1.4rem; }
.fil ol, .fil--accueil { display: flex; flex-wrap: wrap; gap: .3rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.fil li + li::before, .fil--accueil span + span::before { content: "/"; margin-right: .3rem; opacity: .5; }
.fil--accueil span + span { color: rgba(255, 255, 255, .75); }
.fil a:hover { color: var(--orange); }
.fil [aria-current] { color: rgba(255, 255, 255, .75); }
/* Sur téléphone, l'accueil garde seulement « quoi et où » (deux lignes au lieu de trois) */
@media (max-width: 559px) {
    .fil { margin-bottom: 1rem; }
    .fil--accueil span:first-child { display: none; }
    .fil--accueil span + span::before { content: none; }
}

/* A · Photo en plein écran */
.hero--photo { display: flex; align-items: flex-end; min-height: min(92vh, 56rem); }
.hero--photo.hero--page { min-height: min(78vh, 44rem); }
.hero--photo::before { display: none; }
.hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__voile {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(26, 27, 27, .6) 0%, rgba(26, 27, 27, .15) 30%, rgba(26, 27, 27, .8) 70%, #1A1B1B 100%),
        linear-gradient(90deg, rgba(26, 27, 27, .9) 0%, rgba(26, 27, 27, .35) 60%, rgba(26, 27, 27, 0) 100%);
}
.hero__contenu { position: relative; width: 100%; }
.anim .hero--photo .hero__photo { animation: zoom-lent 18s ease-out both; }

/* C · Diagnostic */
.hero__entete { display: grid; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(1.75rem, min(5vw, 5vh), 3rem); }
@media (min-width: 960px) { .hero__entete { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero--diagnostic .hero__accroche { margin-top: 0; }
.hero--diagnostic .hero__actions { margin-top: 1.5rem; }

/* ---------- Diagnostic : la panne en un clic ---------- */
.section-diagnostic { padding-top: var(--espace-section); }
.diagnostic__tete { margin-bottom: 1.25rem; }
.diagnostic__titre {
    font-size: clamp(1.6rem, min(3.1vw, 5vh), 2.4rem);   /* même taille que les autres titres de section */
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--texte-fort);
    text-transform: uppercase;
}
.diagnostic__grille { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .diagnostic__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.panne {
    position: relative;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 1.25rem;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: center;
    height: 100%;
    padding: clamp(.85rem, 1.3vw, 1.1rem) clamp(1rem, 1.4vw, 1.2rem);
    border-radius: var(--rayon-grand);
    background: var(--carte);
    border: 1px solid var(--bord);
    color: var(--texte);
    transition: border-color .2s ease, transform .25s var(--courbe), background-color .2s ease;
}
.panne:hover { border-color: rgba(242, 138, 26, .6); }
.anim .panne:hover { transform: translateY(-3px); }
.panne__num { position: absolute; top: .75rem; right: 1rem; font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; color: var(--texte-doux); }
.panne__icone {
    grid-row: 1 / span 2;
    width: 2.75rem; height: 2.75rem;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(242, 138, 26, .12);
    color: var(--orange-texte);
}
.panne__picto { width: 1.3rem; height: 1.3rem; }
.panne__nom { grid-column: 2; align-self: end; font-weight: 750; font-size: 1.05rem; color: var(--texte-fort); letter-spacing: -.01em; }
.panne__info { grid-column: 2; align-self: start; font-size: .82rem; color: var(--texte-doux); }
.panne__fleche { grid-column: 3; grid-row: 1 / span 2; width: 1.2rem; height: 1.2rem; color: var(--orange-texte); transition: transform .25s var(--courbe); }
.panne:hover .panne__fleche { transform: translateX(4px); }
/* Sur téléphone, deux pannes par ligne : l'icône et la flèche en haut, le nom et l'info dessous */
@media (max-width: 559px) {
    .diagnostic__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .panne { grid-template-columns: minmax(0, 1fr) 1.1rem; grid-template-rows: auto auto auto; gap: .3rem .5rem; align-items: start; padding: .75rem .8rem; }
    .panne__icone { grid-row: 1; grid-column: 1; width: 2.25rem; height: 2.25rem; }
    .panne__fleche { grid-row: 1; grid-column: 2; align-self: center; }
    .panne__nom { grid-row: 2; grid-column: 1 / -1; align-self: start; font-size: .95rem; line-height: 1.2; }
    .panne__info { grid-row: 3; grid-column: 1 / -1; font-size: .74rem; line-height: 1.3; }
    .panne__num { display: none; }
}

/* BANDEAU:debut — du bandeau de confiance jusqu'au marqueur BANDEAU:fin, ces règles servent aussi à l'aperçu de
   Gestion › Bandeau, qui les recopie : ne pas y mettre de règle de placement (voir plus bas « Place du bandeau »). */
/* ---------- Bandeau de confiance ---------- */
.confiance {
    position: relative;
    overflow: hidden;
    background: var(--anthracite-profond);
    border-block: 1px solid rgba(255, 255, 255, .07);
    color: #A9B0B0;
}
.confiance__piste { display: flex; justify-content: center; }
.confiance__liste { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: .62rem .5rem; }
.confiance__liste--copie { display: none; }
.confiance__item {
    position: relative;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .15rem 1.4rem;
    font-weight: 700; font-size: .86rem; color: var(--blanc);
    white-space: nowrap;
}
.confiance__item::after {
    content: ""; position: absolute; right: -3px; top: 50%;
    width: 6px; height: 6px; background: var(--orange);
    transform: translateY(-50%) rotate(45deg);
}
.confiance__item span { font-weight: 500; color: #A9B0B0; }
.confiance__etoile { width: .95rem; height: .95rem; color: var(--etoile); }
.confiance__etoile--vide { color: #4B5050; }
.confiance__item strong { font-size: 1rem; }

.anim .confiance__piste { justify-content: flex-start; width: max-content; animation: defile 45s linear infinite; }
.anim .confiance__liste { flex-wrap: nowrap; }
.anim .confiance__liste--copie { display: flex; }

/* ---------- Bandeau de messages (Gestion › Bandeau) ----------
   Couleurs par variables : chaque message a la sienne, le bandeau la prend quand le message s'affiche. */
.bas {
    --bas-fond: var(--anthracite-profond); --bas-texte: var(--blanc); --bas-accent: var(--orange); --bas-doux: #A9B0B0;
    --bas-bouton: var(--orange); --bas-bouton-texte: var(--anthracite); --bas-bord: rgba(255, 255, 255, .07);
    position: relative;
    display: flex; align-items: center; gap: 1rem;
    padding: .5rem max(1rem, calc((100vw - 76rem) / 2 + 2rem));
    background: var(--bas-fond); color: var(--bas-texte);
    border-block: 1px solid var(--bas-bord);
    font-size: .86rem; font-weight: 700; line-height: 1.35;
    transition: background-color .4s ease, color .4s ease;
}
.bas--orange { --bas-fond: var(--orange); --bas-texte: var(--anthracite); --bas-accent: var(--blanc); --bas-doux: rgba(26, 27, 27, .72); --bas-bouton: var(--anthracite); --bas-bouton-texte: var(--blanc); --bas-bord: transparent; }
.bas--vert { --bas-accent: #4ADE80; --bas-bouton: #22C55E; }
.bas--rouge { --bas-accent: #F87171; --bas-bouton: var(--blanc); }
.bas--blanc { --bas-fond: var(--blanc); --bas-texte: var(--anthracite); --bas-accent: #C2610A; --bas-doux: #5B6262; --bas-bouton: var(--anthracite); --bas-bouton-texte: var(--blanc); --bas-bord: rgba(26, 27, 27, .12); }
.bas--vide { display: none !important; }
.bas__fenetre { flex: 1; min-width: 0; display: grid; overflow: hidden; }
.bas__msg { grid-area: 1 / 1; display: flex; align-items: center; gap: .5rem 1rem; min-width: 0; }
.bas__msg:not(.est-active):not(.part) { visibility: hidden; }
.bas__msg.part { pointer-events: none; }
.bas__tag {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem;
    padding: .22rem .55rem; border-radius: 999px; border: 1px solid currentColor;
    font-family: var(--mono); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    color: var(--bas-accent);
}
.bas__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.anim .bas--rouge .bas__tag::before { animation: clignote 1.6s ease-in-out infinite; }
.bas__texte { flex: 1; min-width: 0; }
.bas__texte strong, .bas__texte .text-orange { color: var(--bas-accent); font-weight: 800; }
.bas__etoiles { margin-right: .15rem; letter-spacing: .04em; color: var(--etoile); }
.bas--orange .bas__etoiles, .bas--blanc .bas__etoiles { color: var(--bas-accent); }
.bas__qui { font-weight: 600; color: var(--bas-doux); white-space: nowrap; }
.bas__compte { flex-shrink: 0; font-family: var(--mono); font-size: .7rem; font-weight: 500; color: var(--bas-doux); white-space: nowrap; }
.bas__compte b { font-weight: 700; color: var(--bas-texte); font-variant-numeric: tabular-nums; }
.bas__bouton {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .35rem;
    min-height: 2rem; padding: .3rem .9rem; border-radius: 999px;
    background: var(--bas-bouton); color: var(--bas-bouton-texte);
    font-size: .78rem; font-weight: 800; white-space: nowrap; transition: filter .15s ease;
}
.bas__bouton:hover { filter: brightness(1.1); }
.bas__bouton--whatsapp { background: var(--whatsapp, #25D366); color: #062E16; }
.bas__fermer {
    flex-shrink: 0; display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
    border: 1px solid currentColor; border-radius: 50%; background: none;
    font: inherit; font-size: 1rem; line-height: 1; color: var(--bas-doux); cursor: pointer;
}
.bas__fermer:hover { color: var(--bas-texte); }
html:not(.js) .bas__fermer { display: none; }
.bas__compteur { flex-shrink: 0; font-family: var(--mono); font-size: .66rem; color: var(--bas-doux); }
.bas__compteur b { font-weight: 600; color: var(--bas-accent); }
/* Plusieurs messages : ils passent l'un après l'autre comme un afficheur mécanique (site.js) */
.anim .bas__msg { transition: transform .55s cubic-bezier(.7, 0, .2, 1), opacity .45s ease; }
.anim .bas__msg:not(.est-active) { transform: translateY(105%); opacity: 0; }
.anim .bas__msg.part { transform: translateY(-105%); }
/* Message et confiance ensemble : le message à gauche, la note Google et les engagements défilent à droite */
.bas__defile { display: none; }
.bas--mixte { gap: 0; padding-right: 0; }
.bas--mixte .bas__fenetre { flex: 0 1 auto; max-width: 58%; padding-right: 1.25rem; }
.bas--mixte .bas__compteur { padding-right: 1.25rem; }
.bas--mixte .bas__defile {
    display: flex; align-items: center; align-self: stretch; flex: 1; min-width: 0; overflow: hidden;
    border-left: 1px solid var(--bas-bord);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bas__piste { display: flex; width: max-content; }
.anim .bas__piste { animation: defile 40s linear infinite; }
.bas__piste > span { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: 0 1.3rem; font-size: .8rem; white-space: nowrap; }
.bas__piste > span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; background: var(--bas-accent); transform: translateY(-50%) rotate(45deg); }
.bas__piste span span { font-weight: 500; color: var(--bas-doux); }
/* BANDEAU:fin */

/* ---------- Accueil : ligne « À la une » sous les boutons du haut ----------
   Les nouveautés du catalogue passent l'une après l'autre, comme dans le bandeau du bas (site.js) */
.une {
    position: relative; display: grid; overflow: hidden; max-width: 38rem; margin-top: 1.4rem;
    border-radius: 16px; background: var(--carte); border: 1px solid var(--bord-fort);
    transition: border-color .25s ease;
}
.une:hover, .une:focus-within { border-color: rgba(242, 138, 26, .55); }
.une__msg {
    --une-accent: var(--orange-texte); --une-bouton: var(--orange); --une-bouton-texte: var(--anthracite);
    grid-area: 1 / 1; display: flex; align-items: center; gap: .5rem .8rem; min-width: 0;
    padding: .55rem .55rem .55rem .8rem; color: var(--texte-fort); text-decoration: none;
    font-size: .88rem; font-weight: 700; line-height: 1.35;
}
.une__msg--vert { --une-accent: var(--vert-texte); --une-bouton: #22C55E; --une-bouton-texte: #062E16; }
.une__msg--neutre { --une-accent: var(--texte-doux); }
.une__msg:not(.est-active):not(.part) { visibility: hidden; }
.une__msg.part { pointer-events: none; }
.une__tag {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem;
    padding: .22rem .55rem; border-radius: 999px; border: 1px solid currentColor;
    font-family: var(--mono); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    color: var(--une-accent);
}
.une__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.une__texte { flex: 1; min-width: 0; }
.une__texte strong { color: var(--une-accent); font-weight: 800; }
.une__voir {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem;
    min-height: 2rem; padding: .3rem .85rem; border-radius: 999px;
    background: var(--une-bouton); color: var(--une-bouton-texte); font-size: .78rem; font-weight: 800; white-space: nowrap;
    transition: filter .15s ease;
}
.une__msg:hover .une__voir { filter: brightness(1.1); }
.une__msg:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: 16px; }
.anim .une__msg { transition: transform .55s cubic-bezier(.7, 0, .2, 1), opacity .45s ease; }
.anim .une__msg:not(.est-active) { transform: translateY(105%); opacity: 0; }
.anim .une__msg.part { transform: translateY(-105%); }
/* Sur téléphone : l'étiquette et le bouton sur une ligne, le texte dessous */
@media (max-width: 640px) {
    .une__msg { flex-wrap: wrap; padding: .6rem .6rem .65rem .75rem; }
    .une__voir { order: 2; margin-left: auto; }
    .une__texte { order: 3; flex-basis: 100%; }
}

/* ---------- Place du bandeau (confiance ou messages) ----------
   Sur ordinateur, il reste collé en bas de l'écran pendant la lecture, puis s'efface quand le pied de page arrive
   (classe collant--cache posée par site.js). Sur téléphone et tablette, sa place se choisit dans Gestion › Bandeau :
   dans la page (sous le haut de page), au-dessus de la barre d'actions, tout en haut (avant l'en-tête), ou nulle part. */
@media (min-width: 1024px) {
    .collant {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
        border-bottom: 0;
        box-shadow: 0 -12px 30px rgba(0, 0, 0, .3);
        transition: translate .5s var(--courbe), visibility 0s linear 0s, background-color .4s ease, color .4s ease;
    }
    .anim .collant { animation: collant-monte .7s var(--courbe) 1s backwards; }
    .collant--cache { translate: 0 calc(100% + 1px); visibility: hidden; transition: translate .5s var(--courbe), visibility 0s linear .5s; }
    .collant--telephone { display: none; }
    .confiance__liste { flex-wrap: nowrap; }
    /* Le rappel « avis Google » se pose au-dessus du bandeau */
    :root:has(.collant) .google-toast-wrapper { bottom: 5rem; }
}
@media (max-width: 1023px) {
    .collant--m-rien, .collant--ordinateur { display: none; }
    .collant--m-barre {
        position: fixed; left: .75rem; right: .75rem; bottom: calc(5.35rem + env(safe-area-inset-bottom, 0px)); z-index: 57;
        overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
        transition: translate .4s var(--courbe), opacity .3s ease, visibility 0s linear 0s, background-color .4s ease;
    }
    .collant--m-barre.collant--cache { translate: 0 1rem; opacity: 0; visibility: hidden; transition: translate .4s var(--courbe), opacity .3s ease, visibility 0s linear .4s; }
    /* Sur téléphone : étiquette, compte à rebours et bouton sur une ligne, le texte dessous (2 lignes au plus) */
    .bas { gap: .6rem; padding: .5rem .9rem; font-size: .8rem; }
    .bas__msg { flex-wrap: wrap; align-content: center; gap: .35rem .5rem; }
    .bas__compteur { display: none; }
    .bas__texte { order: 2; flex: 1 1 100%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
    .bas__bouton { margin-left: auto; min-height: 1.75rem; padding: .2rem .75rem; font-size: .72rem; }
    .bas__fermer { margin-left: auto; width: 1.6rem; height: 1.6rem; }
    .bas__bouton + .bas__fermer { margin-left: 0; }
    .bas__msg > .bas__texte:first-child { order: 0; }
    .bas--mixte { padding-right: 1rem; }
    .bas--mixte .bas__fenetre { max-width: none; padding-right: 0; }
    .bas--mixte .bas__defile { display: none; }
}
@keyframes collant-monte { from { translate: 0 100%; } }

/* ---------- Sections ---------- */
.section-padding {
    position: relative;
    padding: var(--espace-section) 0;
    background-color: var(--fond);
    color: var(--texte);
}

.services-header { max-width: 50rem; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .75rem;
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange-texte);
}
.section-tag::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }

.section-title {
    font-size: clamp(1.6rem, min(3.1vw, 5vh), 2.4rem);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -.025em;
    color: var(--texte-fort);
    margin-bottom: var(--espace-titre);
    text-wrap: balance;
}
/* Sur ordinateur, le titre tient sur une ligne : la partie blanche puis la partie orange */
@media (min-width: 960px) {
    .section-title br { display: none; }
    .services-header { max-width: none; }
}

/* ---------- Grille « bento » de l'accueil ----------
   Sur ordinateur, en haut : 01 Réparation (ses trois types en petites cartes), 02 Neuf et reconditionné, la photo
   de la boutique ; en dessous : 03 Conseils et formations, 04 À domicile.
   La photo reste du côté de l'Atelier : à côté de « À domicile », elle laissait croire que c'était la boutique du partenaire. */
.bento {
    display: grid;
    gap: var(--ecart-grille);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
        "rep rep rec pho"
        "for for dom dom";
}
.bento:not(:has(.tuile--photo)) { grid-template-areas: "rep rep rec rec" "for for dom dom"; }
/* Tablette et téléphone : même ordre (01, 02, la photo, puis 03, 04), la photo jamais collée à « À domicile » */
@media (max-width: 959px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "rep rep" "rec pho" "for dom"; }
    .bento:not(:has(.tuile--photo)) { grid-template-areas: "rep rep" "rec rec" "for dom"; }
}
@media (max-width: 599px) {
    .bento, .bento:not(:has(.tuile--photo)) { grid-template-columns: 1fr; grid-template-areas: "rep" "rec" "pho" "for" "dom"; }
}

.tuile {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: .95rem 1.1rem;
    border-radius: var(--rayon-tuile);
    background: var(--carte);
    border: 1px solid var(--bord);
    color: var(--texte);
    transition: border-color .2s ease, transform .3s var(--courbe);
}
a.tuile:hover { border-color: rgba(242, 138, 26, .55); }
.anim a.tuile:hover { transform: translateY(-4px); }
.tuile--reparation { grid-area: rep; }
.tuile--reconditionnes { grid-area: rec; }
.tuile--formations { grid-area: for; }
.tuile--photo { grid-area: pho; }
.tuile--domicile { grid-area: dom; }

.tuile__tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.tuile__num { color: var(--orange-texte); font-weight: 700; }
.tuile__lieu { padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--bord-fort); color: var(--texte-fort); }
.tuile__titre { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 850; line-height: 1.05; letter-spacing: -.025em; color: var(--texte-fort); margin-bottom: .35rem; }
.tuile__texte { max-width: 34rem; font-size: .9rem; line-height: 1.45; }

.tuile__liens { margin-top: .7rem; border-top: 1px solid var(--bord); }
.tuile__liens a {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr) 1.1rem;
    align-items: center;
    gap: .75rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--bord);
    transition: color .15s ease, border-color .15s ease;
}
.tuile__liens strong { display: block; color: var(--texte-fort); font-size: .95rem; }
.tuile__liens small { display: block; font-size: .78rem; color: var(--texte-doux); }
.tuile__icone { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 10px; background: rgba(242, 138, 26, .12); color: var(--orange-texte); }
.tuile__icone .service-icon { width: 1.1rem; height: 1.1rem; }
/* Sur ordinateur, les trois types de réparation en petites cartes côte à côte */
@media (min-width: 960px) {
    .tuile__liens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; border-top: 0; }
    .tuile__liens a {
        height: 100%; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: start; gap: .45rem .5rem;
        padding: .6rem .7rem; border: 1px solid var(--bord); border-radius: 12px; background: rgba(255, 255, 255, .02);
    }
    .tuile__liens a:hover { border-color: rgba(242, 138, 26, .55); }
    .tuile__liens a > .tuile__fleche { grid-row: 1; grid-column: 2; align-self: center; }
    .tuile__liens a > span:not(.tuile__icone) { grid-column: 1 / -1; }
    .tuile__liens strong { font-size: .9rem; line-height: 1.25; }
    .tuile__liens small { margin-top: .15rem; font-size: .74rem; line-height: 1.35; }
}
.tuile__fleche { width: 1.15rem; height: 1.15rem; color: var(--orange-texte); transition: transform .25s var(--courbe); flex-shrink: 0; }
.tuile__liens a:hover .tuile__fleche, a.tuile:hover .tuile__fleche { transform: translateX(4px); }
.tuile__liens a:hover strong { color: var(--orange-texte); }
.tuile__plus { margin-top: auto; padding-top: .7rem; font-weight: 700; font-size: .9rem; color: var(--texte-fort); }
.tuile__plus:hover { color: var(--orange-texte); }
/* Flèche dans le coin en bas à droite : elle ne prend pas de ligne à elle seule */
.tuile__fleche--coin { position: absolute; right: 1.1rem; bottom: .95rem; width: 1.4rem; height: 1.4rem; }
.tuile:has(.tuile__fleche--coin) .tuile__texte { padding-right: 2.25rem; }

.tuile--orange {
    background: var(--orange);
    border-color: transparent;
    color: #3A2206;
    --texte-fort: #1A1B1B; --orange-texte: #1A1B1B; --bord-fort: rgba(26, 27, 27, .25);
}
.tuile--orange:hover { border-color: transparent; background: var(--orange-vif); }
.tuile__prix { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: .7rem; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 900; letter-spacing: -.03em; color: var(--anthracite); }
.tuile__prix .tuile__fleche { width: 1.6rem; height: 1.6rem; }
.tuile__filigrane { position: absolute; right: -1.5rem; top: 1.5rem; width: 9rem; height: 9rem; stroke-width: 1; color: rgba(26, 27, 27, .12); transform: rotate(-12deg); pointer-events: none; }
/* Sur ordinateur, la tuile orange est étroite : le filigrane descend dans le coin, loin du titre */
@media (min-width: 960px) { .tuile__filigrane { top: auto; bottom: -1.75rem; right: -1.75rem; width: 7.5rem; height: 7.5rem; } }

.tuile--photo { padding: 0; margin: 0; background: #0E0F0F; }
.tuile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tuile--photo figcaption {
    position: relative; margin-top: auto;
    display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
    padding: .8rem; padding-top: 2.5rem;
    background: linear-gradient(180deg, transparent, rgba(18, 19, 19, .92));
    color: var(--blanc); font-weight: 600; font-size: .9rem;
}
.tuile--photo .statut { background: rgba(18, 19, 19, .65); border-color: rgba(255, 255, 255, .18); color: var(--blanc); }
@media (max-width: 599px) { .tuile--photo { min-height: 12rem; } }

/* « À domicile » : le texte, puis le bouton à côté ou dessous selon la place */
.tuile--domicile {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: .85rem;
    background: linear-gradient(120deg, #232525 0%, #1A1B1B 70%);
    border-color: rgba(255, 255, 255, .08);
    --texte: #A9B0B0; --texte-fort: #FFFFFF; --texte-doux: #8E9696; --orange-texte: #F28A1A; --bord-fort: rgba(255, 255, 255, .16);
    color: var(--texte);
}
.tuile--domicile > div { flex: 1 1 22rem; }
.tuile--domicile .tuile__texte { max-width: 46rem; }
/* Sur ordinateur (assez large), le bouton se met à côté du texte plutôt que dessous */
@media (min-width: 1200px) {
    .tuile--domicile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 1.25rem; }
    .tuile--domicile > div { display: contents; }
    .tuile--domicile .tuile__tete, .tuile--domicile .tuile__titre { grid-column: 1 / -1; }
    .tuile--domicile .tuile__texte { grid-column: 1; }
    .tuile--domicile .tuile__bouton { grid-column: 2; grid-row: 3; }
}
.tuile__bouton {
    display: inline-flex; align-items: center; gap: .6rem;
    min-height: var(--bouton-h-petit); padding: .45rem 1.1rem; border-radius: 999px;
    background: var(--blanc); color: var(--anthracite);
    font-weight: 800; font-size: .88rem; white-space: nowrap;
}
.tuile__bouton .tuile__fleche { color: var(--anthracite); }

/* Marques */
.marques { margin-top: clamp(1.5rem, min(3.5vw, 4.5vh), 2.75rem); }
.marques__titre { margin-bottom: .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); text-align: center; }
.marques__piste {
    display: flex; justify-content: center; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marques__liste { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 2.75rem; padding: 0 1.375rem; color: var(--texte-fort); opacity: .8; }
.marques__liste + .marques__liste { display: none; }
.marques__liste li { font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.anim .marques__piste { justify-content: flex-start; }
.anim .marques__liste { flex-wrap: nowrap; flex-shrink: 0; animation: defile-liste var(--duree, 32s) linear infinite; }
.anim .marques__liste + .marques__liste { display: flex; }
.brand-apple { letter-spacing: -.03em; }
.brand-samsung { font-weight: 800 !important; letter-spacing: .12em; }
.brand-google { font-weight: 600 !important; letter-spacing: -.02em; }
.brand-sony { font-weight: 800 !important; letter-spacing: .16em; font-family: "Times New Roman", Times, serif; }
.brand-asus, .brand-dell, .brand-oppo { font-weight: 800 !important; letter-spacing: .08em; }
.brand-hp { font-weight: 900 !important; font-style: italic; letter-spacing: -.05em; font-size: 1.2rem !important; }

/* ---------- Cartes de services (pages intérieures) ---------- */
.services-grid { display: grid; gap: var(--ecart-grille); counter-reset: carte; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.service-card {
    position: relative;
    counter-increment: carte;
    display: flex;
    flex-direction: column;
    padding: var(--pad-carte);
    border-radius: var(--rayon-grand);
    background: var(--carte);
    border: 1px solid var(--bord);
    color: var(--texte);
    transition: border-color .2s ease, transform .3s var(--courbe);
}
.services-grid .service-card::before {
    content: counter(carte, decimal-leading-zero);
    position: absolute; top: var(--pad-carte); right: var(--pad-carte);
    font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--texte-doux);
}
.service-card:hover { border-color: rgba(242, 138, 26, .45); }
.anim .services-grid .service-card:hover { transform: translateY(-4px); }
.service-card--accent { border-color: rgba(242, 138, 26, .45); }

.card-badge {
    position: absolute; top: 1.5rem; right: 1.5rem;
    padding: .35rem .65rem; border-radius: 999px;
    background: var(--orange); color: var(--anthracite);
    font-family: var(--mono); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

.service-icon-box {
    width: 2.75rem; height: 2.75rem; flex-shrink: 0;
    display: grid; place-items: center;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    background: rgba(242, 138, 26, .12);
    color: var(--orange-texte);
}
.service-icon { width: 1.4rem; height: 1.4rem; }

.service-title { font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--texte-fort); margin-bottom: .5rem; }
.service-subtitle { font-size: .95rem; line-height: 1.5; color: var(--texte); margin-bottom: 1.2rem; }
.service-card > .service-subtitle:last-child { margin-bottom: 0; }
/* Cartes sans bouton en pied : l'icône à côté du titre, le texte dessous */
.service-card:not(:has(.btn-card-action)) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: .8rem; }
.service-card:not(:has(.btn-card-action)) > * { grid-column: 1 / -1; }
.service-card:not(:has(.btn-card-action)) > .service-icon-box { grid-column: 1; width: 2.4rem; height: 2.4rem; margin-bottom: 0; border-radius: 12px; }
.service-card:not(:has(.btn-card-action)) > .service-title { grid-column: 2; align-self: center; margin: 0; padding-right: 1.75rem; font-size: 1.2rem; }
.service-card:not(:has(.btn-card-action)) > .service-subtitle { margin-top: .7rem; }

.service-list { font-size: .94rem; color: var(--texte); }
.service-list li { position: relative; padding-left: 1.1rem; margin-bottom: .6rem; line-height: 1.45; }
.service-list li::before {
    content: ""; position: absolute; left: 0; top: .6em;
    width: 5px; height: 5px; background: var(--orange); transform: rotate(45deg);
}
.service-list strong { color: var(--texte-fort); }

.btn-card-action {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: auto; padding-top: 1.2rem;
    border-top: 1px solid var(--bord);
    font-weight: 700; font-size: .95rem;
}
.service-list + .btn-card-action { margin-top: 1.4rem; }
.btn-card-action .logo-white { color: var(--texte-fort); }
.btn-card-action .logo-orange { color: var(--orange-texte); }
.btn-card-action .arrow { color: var(--orange-texte); font-size: 1.2rem; transition: transform .25s var(--courbe); }
.service-card:hover .btn-card-action .arrow { transform: translateX(6px); }

.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lien-dans-carte { position: relative; z-index: 2; font-weight: 600; color: var(--texte-fort); }
.lien-dans-carte:hover { color: var(--orange-texte); }


/* ---------- Page À domicile : une seule grille, comme l'accueil ----------
   Sur ordinateur : le partenaire (2 colonnes), le tarif, le déroulement ; dessous, ce qu'il fait ; puis le renvoi
   vers la boutique. Tablette : 2 colonnes. Téléphone : tout empilé. */
.bento-domicile {
    display: grid;
    gap: var(--ecart-grille);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: "par par tar eta" "ser ser ser ser" "pan pan pan pan";
}
.bento-domicile:not(:has(.tuile--tarif)) { grid-template-areas: "par par eta eta" "ser ser ser ser" "pan pan pan pan"; }
@media (max-width: 959px) {
    .bento-domicile { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "par par" "tar eta" "ser ser" "pan pan"; }
    .bento-domicile:not(:has(.tuile--tarif)) { grid-template-areas: "par par" "eta eta" "ser ser" "pan pan"; }
}
@media (max-width: 599px) {
    .bento-domicile, .bento-domicile:not(:has(.tuile--tarif)) { grid-template-columns: 1fr; grid-template-areas: "par" "tar" "eta" "ser" "pan"; }
}
.tuile--partenaire { grid-area: par; }
.tuile--tarif { grid-area: tar; }
.tuile--etapes { grid-area: eta; }
.tuile--services { grid-area: ser; }
.tuile--panne { grid-area: pan; }

/* Le partenaire : toujours sombre (comme « À domicile » sur l'accueil), ses boutons restent lisibles dans les deux ambiances */
.tuile--partenaire {
    background: linear-gradient(120deg, #232525 0%, #1A1B1B 70%);
    border-color: rgba(255, 255, 255, .08);
    --texte: #A9B0B0; --texte-fort: #FFFFFF; --texte-doux: #8E9696; --orange-texte: #F28A1A; --bord-fort: rgba(255, 255, 255, .16);
    color: var(--texte);
}
.tuile--partenaire .horaires-status { margin: .5rem 0 0; font-size: .88rem; }
.tuile--partenaire .contact-buttons { margin-top: .9rem; }
.tuile--partenaire .btn-call, .tuile--partenaire .btn-blanc { min-height: 2.75rem; padding-block: .6rem; font-size: .95rem; }
.tuile--partenaire .contact-liens { margin-top: .9rem; font-size: .85rem; }
.tuile--partenaire .contact-note { margin-top: auto; padding-top: .9rem; font-size: .76rem; }

/* Le tarif : le premier prix en grand */
.tuile__montant { margin-top: auto; padding-top: .7rem; font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 900; letter-spacing: -.04em; line-height: .95; color: var(--anthracite); }
.tuile__montant small { display: block; margin-top: .3rem; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.tuile--tarif .tuile__texte { margin-top: .6rem; font-size: .85rem; }
.tuile--tarif .tuile__tete + .tuile__texte { margin-top: auto; }   /* résumé sans prix en tête : en bas de la carte */
.tuile__detail { align-self: flex-start; margin-top: .7rem; font-weight: 800; font-size: .85rem; color: var(--anthracite); }

/* Le déroulement en trois lignes */
.etapes-mini { margin-top: .4rem; display: grid; gap: .55rem; }
.etapes-mini li { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); gap: .1rem .6rem; align-items: start; }
.etapes-mini b { grid-row: span 2; padding-top: .2rem; font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--orange-texte); }
.etapes-mini strong { color: var(--texte-fort); font-size: .9rem; line-height: 1.25; }
.etapes-mini small { font-size: .76rem; line-height: 1.35; color: var(--texte-doux); }

/* Ce qu'il fait : petites cartes, comme les trois réparations de l'accueil */
.services-mini { margin-top: .6rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.services-mini li { display: flex; flex-direction: column; gap: .45rem; padding: .7rem .75rem; border: 1px solid var(--bord); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.services-mini strong { display: block; color: var(--texte-fort); font-size: .9rem; line-height: 1.25; }
.services-mini small { display: block; margin-top: .15rem; font-size: .74rem; line-height: 1.35; color: var(--texte-doux); }
@media (max-width: 959px) { .services-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
    .services-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-mini li:last-child:nth-child(odd) { grid-column: span 2; }
}

/* Une panne matérielle : bande fine, le bouton à côté du texte ou dessous selon la place */
.tuile--panne { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: .85rem; }
.tuile--panne > div { flex: 1 1 22rem; }
.tuile--panne .tuile__titre { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.tuile--panne .tuile__texte { margin-top: .2rem; max-width: 46rem; }
@media (max-width: 559px) { .tuile--panne .btn-secondary { width: 100%; justify-content: center; } }

/* ---------- Tarifs ---------- */
.tarifs { padding: .25rem var(--pad-carte); border-radius: var(--rayon-grand); background: var(--carte); border: 1px solid var(--bord); }
.tarif { display: flex; align-items: baseline; gap: .9rem; padding: clamp(.8rem, 1.8vh, 1rem) 0; border-top: 1px solid var(--bord); }
.tarif:first-child { border-top: 0; }
.tarif__quoi { min-width: 0; }
.tarif__prestation { font-weight: 700; color: var(--texte-fort); }
.tarif__detail { font-size: .85rem; color: var(--texte-doux); }
.tarif__points { flex: 1 1 1rem; min-width: 1rem; border-bottom: 1px dotted var(--bord-fort); transform: translateY(-.3rem); }
.tarif__prix { font-weight: 800; color: var(--orange-texte); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.tarifs__note { margin-top: 1rem; font-size: .85rem; text-align: center; color: var(--texte-doux); }

/* ---------- Venir à l'Atelier ---------- */
/* Encadrés fins : l'icône et le texte sur une ligne, le bouton à droite (dessous sur téléphone) */
.acces, .renvoi {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: .75rem 1.1rem;
    margin-top: 1.25rem;
    padding: .85rem 1.1rem;
    border-radius: var(--rayon-grand);
    background: var(--carte);
    border: 1px solid var(--bord);
    font-size: .9rem; line-height: 1.45;
}
.acces { border-color: rgba(242, 138, 26, .5); }
.acces__icone, .renvoi__icone {
    width: 2.3rem; height: 2.3rem; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(242, 138, 26, .12);
    color: var(--orange-texte);
}
.acces__icone .service-icon, .renvoi__icone .service-icon { width: 1.2rem; height: 1.2rem; }
.acces__texte, .renvoi__texte { flex: 1 1 12rem; color: var(--texte); }
.acces__titre, .renvoi__titre { font-weight: 800; font-size: 1rem; color: var(--texte-fort); margin-bottom: .1rem; }
.acces__bouton, .renvoi__bouton { flex-shrink: 0; }
@media (max-width: 559px) { .acces__bouton, .renvoi__bouton { width: 100%; justify-content: center; } }

/* ---------- Déroulement en étapes ----------
   Comme les engagements du haut de page : le numéro en police technique suivi d'un trait orange, le titre et le texte dessous */
.etapes { display: grid; gap: 1.1rem 2rem; counter-reset: etape; }
@media (min-width: 768px) { .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.etape { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; column-gap: .6rem; counter-increment: etape; }
.etape > * { grid-column: 1 / -1; }
.etape__numero { grid-column: 1; grid-row: 1; font-size: 0; }
.etape__numero::after { content: counter(etape, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--orange-texte); }
.etape::after { content: ""; grid-column: 2; grid-row: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--bord-fort) 70%, transparent); transform-origin: left center; }
.anim .etape.vu::after { animation: repere-rempli .8s var(--courbe) both; animation-delay: calc(var(--delai, 0ms) + .25s); }
.etape__titre { margin: .5rem 0 .25rem; font-size: 1.05rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--texte-fort); }
.etape p { font-size: .9rem; line-height: 1.5; }

/* ---------- Téléphones reconditionnés ---------- */
.catalogue-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
html:not(.js) .catalogue-outils { display: none; }
.catalogue-filtres { display: flex; flex-direction: column; gap: .6rem; }
.catalogue-marques { display: flex; flex-wrap: wrap; gap: .5rem; }
.catalogue-marque {
    font: inherit; font-size: .875rem; font-weight: 700;
    color: var(--texte-fort); background: var(--carte);
    border: 1px solid var(--bord-fort); border-radius: 999px;
    min-height: var(--bouton-h-petit); padding: .4rem 1.05rem; cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.catalogue-marque:hover { border-color: var(--texte-fort); }
.catalogue-marque[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--anthracite); }
.catalogue-choix { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.catalogue-choix label { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 700; color: var(--texte-fort); }
.catalogue-choix select {
    font: inherit; font-weight: 600; color: var(--texte-fort); background: var(--carte);
    border: 1px solid var(--bord-fort); border-radius: 999px; min-height: var(--bouton-h-petit); padding: .4rem .9rem;
}

/* ---------- Listes déroulantes du site (alerte, budget, tri) : la liste ouverte à ses couleurs ----------
   Chrome et Edge récents savent la dessiner (appearance: base-select) : fond de carte, coins arrondis, survol orange,
   choix en cours en orange. Ailleurs, la liste du système, sombre ou claire selon la section (color-scheme). */
@supports (appearance: base-select) {
    select, select::picker(select) { appearance: base-select; }
    select { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
    select::picker(select) {
        margin-top: .35rem; padding: .3rem;
        background: var(--carte); color: var(--texte-fort);
        border: 1px solid var(--bord-fort); border-radius: 12px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
        max-height: min(22rem, 60vh); overflow-y: auto;
    }
    select option { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 8px; font-weight: 500; color: var(--texte-fort); cursor: pointer; }
    select option:hover, select option:focus-visible { background: rgba(242, 138, 26, .16); outline: none; }
    select option:checked { color: var(--orange-texte); font-weight: 700; }
    select option::checkmark { color: var(--orange-texte); }
    select::picker-icon { margin-left: auto; color: var(--texte-doux); transition: rotate .2s ease; }
    select:open::picker-icon { rotate: 180deg; }
}

/* Fiche d'un appareil : la photo seule en haut, dans un écrin ; en dessous l'état, le type, la marque, le nom,
   les caractéristiques en pastilles ; en pied, le prix et deux boutons ronds (appeler, WhatsApp) */
/* Fiches d'au moins 15rem qui s'élargissent pour remplir la ligne (4 par ligne sur ordinateur) : avec une largeur fixe,
   une bande vide restait à droite quand une fiche de plus ne tenait pas (vu le 01/10/2026). Pleine largeur sur téléphone. */
.telephones { display: grid; gap: var(--ecart-grille); grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
@media (max-width: 34rem) { .telephones { grid-template-columns: minmax(0, 1fr); } }
.telephone {
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--rayon-grand);
    background: var(--carte);
    border: 1px solid var(--bord);
    transition: border-color .25s ease, transform .35s var(--courbe), box-shadow .35s var(--courbe);
}
.telephone:hover { border-color: rgba(242, 138, 26, .4); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .7); }
.anim .telephone:hover { transform: translateY(-4px); }
.telephone[hidden] { display: none; }
/* Photo bord à bord : elle remplit tout le haut de la fiche (les photos du Studio sont au format 4:3, comme ce cadre) */
.telephone__visuel {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid var(--bord);
    background: radial-gradient(120% 95% at 50% 15%, var(--carte-2) 0%, var(--fond-2) 75%);
}
.telephone__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--courbe); }
.anim .telephone:hover .telephone__visuel img { transform: scale(1.04); }
.telephone__picto { width: 3.25rem; height: 3.25rem; stroke-width: 1.2; color: var(--texte-doux); opacity: .55; }
/* La photo s'agrandit au clic ; la pastille dit combien il y en a */
.telephone__agrandir {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: zoom-in;
}
.telephone__agrandir:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: inherit; }
.telephone__loupe {
    position: absolute; right: .55rem; bottom: .55rem;
    display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .5rem; border-radius: 999px;
    background: rgba(10, 11, 11, .62); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: .85; transition: opacity .2s ease;
}
.telephone__loupe-picto { width: .8rem; height: .8rem; stroke-width: 2.4; }
.telephone:hover .telephone__loupe, .telephone__agrandir:focus-visible .telephone__loupe { opacity: 1; }
/* « Partager » : bouton rond en haut à droite de la photo, de la même famille qu'« Appeler » et « WhatsApp » (.action-rond) :
   sombre et discret sur la photo, orange au survol avec l'onde, un rebond de l'icône et son nom dans une bulle, posée
   à gauche (au-dessus, elle sortirait de la carte). Sans JavaScript, rien à partager : pas de bouton. */
.telephone__partage.action-rond {
    position: absolute; top: .55rem; right: .55rem; z-index: 1; width: 2.3rem; height: 2.3rem; padding: 0;
    background: rgba(10, 11, 11, .62); border-color: rgba(255, 255, 255, .18); color: #fff; font: inherit; cursor: pointer;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.telephone__partage.action-rond[aria-expanded="true"] { background: var(--teinte); border-color: var(--teinte); color: var(--sur-teinte); }
.telephone__partage .action-rond__picto { width: 1rem; height: 1rem; }
.telephone__partage .action-rond__bulle { bottom: auto; top: 50%; left: auto; right: calc(100% + .45rem); transform: translate(4px, -50%); }
.telephone__partage.action-rond:hover .action-rond__bulle, .telephone__partage.action-rond:focus-visible .action-rond__bulle { transform: translate(0, -50%); }
.anim .telephone__partage.action-rond:hover .action-rond__picto { animation: action-rebond .6s var(--courbe); }
html:not(.js) .telephone__partage { display: none; }
/* Appareil ouvert depuis un lien partagé (ou « Voir l'appareil » du bandeau) : entouré d'orange quelques secondes */
.telephone--cible { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 138, 26, .35), 0 22px 44px -26px rgba(0, 0, 0, .7); }

/* Menu de partage sur ordinateur : posé sous le bouton, toujours sombre */
.partage-menu {
    position: fixed; z-index: 80; width: 14rem; padding: .35rem;
    border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: #202222;
    box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .7);
}
.partage-menu[hidden] { display: none; }
.partage-menu__titre { padding: .45rem .6rem .4rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #8E9696; }
.partage-menu a, .partage-menu button {
    display: flex; align-items: center; gap: .65rem; width: 100%; padding: .55rem .6rem; border: 0; border-radius: 9px;
    background: none; color: #fff; font: inherit; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer;
}
.partage-menu a:hover, .partage-menu button:hover { background: rgba(255, 255, 255, .07); }
.partage-menu a:focus-visible, .partage-menu button:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.partage-menu__picto { width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: #A9B0B0; }
.partage-menu__picto--whatsapp { color: var(--whatsapp); }
.partage-menu__picto--facebook { color: #1877F2; }

/* Lien partagé vers un appareil qui n'est plus en vente */
.catalogue-absent {
    display: flex; align-items: flex-start; gap: .7rem; margin-bottom: clamp(1rem, 2.4vh, 1.5rem); padding: .85rem 1rem;
    border-radius: var(--rayon-grand); border: 1px solid rgba(242, 138, 26, .45); background: rgba(242, 138, 26, .08);
    font-size: .92rem; line-height: 1.45; color: var(--texte);
}
.catalogue-absent strong { color: var(--texte-fort); }
.catalogue-absent a { color: var(--orange-texte); font-weight: 700; }
.catalogue-absent__picto { width: 1.2rem; height: 1.2rem; flex-shrink: 0; margin-top: .1rem; color: var(--orange-texte); }

/* Fenêtre photo du catalogue : plein écran, toujours sombre pour bien voir les photos */
.galerie {
    width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: #090A0A; color: #fff;
}
.galerie::backdrop { background: rgba(0, 0, 0, .6); }
html:has(.galerie[open]) { overflow: hidden; }
.galerie__cadre { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: .75rem; padding: clamp(.75rem, 2vw, 1.5rem); }
.galerie__titre { margin: 0; padding: .55rem 3.5rem 0 .25rem; font-weight: 700; font-size: 1rem; color: #fff; }
.galerie__scene { margin: 0; min-height: 0; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.galerie__scene img { max-width: min(100%, 1400px); max-height: 100%; object-fit: contain; border-radius: 12px; -webkit-user-select: none; user-select: none; }
.galerie__picto { width: 1.25rem; height: 1.25rem; }
.galerie__fermer, .galerie__fleche {
    display: grid; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.galerie__fermer:hover, .galerie__fleche:hover { background: rgba(242, 138, 26, .25); border-color: var(--orange); }
.galerie__fermer:focus-visible, .galerie__fleche:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.galerie__fermer { position: absolute; top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); z-index: 1; }
.galerie__fleche { position: absolute; top: 50%; transform: translateY(-50%); }
.galerie__fleche--avant { left: clamp(.75rem, 2vw, 1.5rem); }
.galerie__fleche--avant .galerie__picto { transform: rotate(180deg); }
.galerie__fleche--apres { right: clamp(.75rem, 2vw, 1.5rem); }
.galerie__compteur { margin: 0; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .7); }
.galerie__vignettes { display: flex; justify-content: center; gap: .5rem; overflow-x: auto; overflow-y: hidden; padding-bottom: .25rem; }
.galerie__vignettes button {
    flex: none; width: 4.2rem; height: 3.2rem; padding: .2rem; border-radius: 9px; cursor: pointer;
    border: 2px solid transparent; background: rgba(255, 255, 255, .07);
}
.galerie__vignettes button[aria-current="true"] { border-color: var(--orange); }
.galerie__vignettes img { width: 100%; height: 100%; object-fit: contain; }
.galerie--seule .galerie__fleche, .galerie--seule .galerie__compteur, .galerie--seule .galerie__vignettes { display: none; }
/* Sur téléphone : on glisse du doigt, les flèches laissent la place à la photo */
@media (max-width: 640px) { .galerie__fleche { display: none; } }
.telephone__corps { display: flex; flex-direction: column; flex: 1; padding: .9rem 1rem .95rem; }
.telephone__infos { flex: 1; padding-bottom: .85rem; }
.telephone__tete { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .7rem; }
.telephone__etat {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    padding: .28rem .6rem .28rem .5rem; border-radius: 999px; border: 1px solid;
}
.telephone__etat::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
.telephone__etat--reconditionne { color: var(--vert-texte); background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); }
.telephone__etat--neuf { color: var(--orange-texte); background: rgba(242, 138, 26, .1); border-color: rgba(242, 138, 26, .35); }
.telephone__type { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); text-align: right; }
.telephone__marque { font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-texte); }
.telephone__nom { font-size: 1.1rem; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: var(--texte-fort); margin-top: .15rem; text-wrap: balance; }
.telephone__details { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.telephone__details li {
    font-size: .74rem; font-weight: 600; line-height: 1.3; color: var(--texte-fort);
    padding: .22rem .55rem; border-radius: 999px;
    background: var(--carte-2); border: 1px solid var(--bord);
}
.telephone__note { display: flex; align-items: center; gap: .4rem; margin-top: .65rem; font-size: .8rem; font-weight: 600; color: var(--texte-fort); }
.telephone__coche { width: .9rem; height: .9rem; flex-shrink: 0; color: var(--vert-texte); stroke-width: 3; }
.telephone__pied { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .8rem; border-top: 1px solid var(--bord); }
.telephone__prix { display: flex; flex-direction: column; font-size: 1.4rem; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: var(--texte-fort); }
.telephone__prix span { margin-top: .3rem; font-size: .68rem; font-weight: 600; letter-spacing: 0; color: var(--texte-doux); }
.telephone__actions { display: flex; gap: .4rem; flex-shrink: 0; }
.telephone__actions .action-rond { width: 2.55rem; height: 2.55rem; }

/* Boutons ronds « appeler » et « WhatsApp » : discrets au repos, ils prennent leur couleur au survol,
   avec une onde, une petite secousse du combiné (ou un rebond de la bulle) et le nom de l'action au-dessus */
.action-rond {
    --teinte: var(--orange); --sur-teinte: var(--anthracite);
    position: relative; display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    color: var(--orange-texte); background: var(--carte-2); border: 1px solid var(--bord-fort);
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .3s var(--courbe), box-shadow .3s ease;
}
.action-rond--whatsapp { --teinte: var(--whatsapp); --sur-teinte: #062E16; color: var(--vert-texte); }
.action-rond:hover, .action-rond:focus-visible { background: var(--teinte); border-color: var(--teinte); color: var(--sur-teinte); box-shadow: 0 10px 22px -10px var(--teinte); }
.action-rond:focus-visible { outline: 2px solid var(--texte-fort); outline-offset: 3px; }
.action-rond__picto { width: 1.1rem; height: 1.1rem; }
.action-rond__bulle {
    position: absolute; bottom: calc(100% + .45rem); left: 50%; transform: translate(-50%, 4px);
    padding: .22rem .5rem; border-radius: 6px; white-space: nowrap;
    font-size: .68rem; font-weight: 700; color: var(--fond); background: var(--texte-fort);
    opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .25s var(--courbe);
}
.action-rond:hover .action-rond__bulle, .action-rond:focus-visible .action-rond__bulle { opacity: 1; transform: translate(-50%, 0); }
.anim .action-rond:hover { transform: translateY(-2px); }
.anim .action-rond::after {
    content: ""; position: absolute; inset: -1px; border-radius: 50%;
    border: 2px solid var(--teinte); opacity: 0; pointer-events: none;
}
.anim .action-rond:hover::after { animation: action-onde .9s ease-out; }
.anim .action-rond--appel:hover .action-rond__picto { animation: action-sonne .7s ease; }
.anim .action-rond--whatsapp:hover .action-rond__picto { animation: action-rebond .6s var(--courbe); }
@keyframes action-onde { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
@keyframes action-sonne {
    0%, 100% { transform: rotate(0); } 15% { transform: rotate(-16deg); } 30% { transform: rotate(14deg); }
    45% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); }
}
@keyframes action-rebond { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.2) rotate(-8deg); } }

.telephones__aucun { margin-top: 1.5rem; text-align: center; color: var(--texte-fort); }
.telephones__note { margin-top: 1.75rem; font-size: .85rem; text-align: center; color: var(--texte-doux); }

/* Aucun appareil en vente : appeler l'Atelier OU demander une alerte, dans un seul panneau compact
   (version resserrée du 01/10/2026 : un panneau au lieu de deux cartes, avantages sur une ligne, plus d'adresse) */
.attente {
    display: grid;
    grid-template-columns: minmax(0, .9fr) auto minmax(0, 1.1fr);
    align-items: stretch;
    gap: clamp(1rem, 2.4vw, 2rem);
    max-width: 68rem;
    margin: 0 auto;
    padding: clamp(1rem, 1.8vw, 1.5rem) clamp(1rem, 2.2vw, 1.75rem);
    border-radius: var(--rayon-tuile);
    background: radial-gradient(120% 140% at 100% 0%, rgba(242, 138, 26, .08) 0%, transparent 55%), var(--carte);
    border: 1px solid var(--bord-fort);
}
.attente__appel, .attente .alerte {
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}
.attente__texte { margin: 0; font-size: .92rem; }
.attente .alerte__texte { margin-bottom: .75rem; }
.attente .alerte__message { margin-bottom: .75rem; padding: .6rem .85rem; font-size: .9rem; }
.attente__etiquette {
    margin-bottom: .45rem;
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange-texte);
}
.attente__titre, .alerte__titre { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--texte-fort); margin-bottom: .5rem; text-wrap: balance; }
.attente .attente__titre, .attente .alerte__titre { font-size: clamp(1.1rem, 1.5vw, 1.25rem); margin-bottom: .35rem; }
.attente__points { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .75rem; }
.attente__points li { display: flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 600; color: var(--texte-fort); }
.attente__coche { width: .95rem; height: .95rem; flex-shrink: 0; color: var(--orange-texte); stroke-width: 3; }
/* Pied comme celui d'une fiche produit : le numéro à gauche, les boutons ronds (appeler, WhatsApp) à droite */
.attente__pied { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--bord); }
.attente__points { margin-bottom: .9rem; }
.attente__numero { display: flex; flex-direction: column; font-size: 1.3rem; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: var(--texte-fort); white-space: nowrap; }
.attente__numero span { margin-top: .3rem; font-size: .68rem; font-weight: 600; letter-spacing: 0; color: var(--texte-doux); }
.attente__numero:hover { color: var(--orange-texte); }
/* « ou » entre les deux parties : un trait fin vertical (horizontal sur téléphone) */
.attente__ou { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.attente__ou::before, .attente__ou::after { content: ""; flex: 1; width: 1px; background: var(--bord); }
.attente__ou i {
    font-style: normal;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--texte-doux);
}
/* Grand écran : marque, modèle et e-mail côte à côte */
/* Les deux formulaires d'alerte (panneau « Sur commande » et bandeau sous le catalogue) : mêmes réglages */
@media (min-width: 1200px) {
    .attente .alerte__champs, .alerte--bandeau .alerte__champs { grid-template-columns: minmax(0, .75fr) minmax(0, 1.05fr) minmax(0, 1.2fr); gap: .6rem; }
    .attente .alerte__champ--email, .alerte--bandeau .alerte__champ--email { grid-column: auto; }
    .attente .alerte__champ select, .attente .alerte__champ input,
    .alerte--bandeau .alerte__champ select, .alerte--bandeau .alerte__champ input { padding: .55rem .7rem; font-size: .9rem; }
}
.alerte--bandeau .alerte__titre { font-size: clamp(1.1rem, 1.5vw, 1.25rem); margin-bottom: .35rem; }
/* Une liste déroulante garde son choix sur une ligne */
.alerte__champ select { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 859px) {
    .attente { grid-template-columns: 1fr; max-width: 36rem; gap: .9rem; }
    .attente__ou { flex-direction: row; }
    .attente__ou::before, .attente__ou::after { width: auto; height: 1px; }
}

/* Formulaire « prévenez-moi » */
.alerte {
    max-width: 44rem;
    margin: 1.25rem auto 0;
    padding: var(--pad-carte);
    border-radius: var(--rayon-grand);
    background: var(--carte);
    border: 1px solid rgba(242, 138, 26, .6);
}
.alerte__texte { margin: 0 0 1rem; font-size: .92rem; }
.alerte__bouton { align-self: flex-start; margin-top: auto; }
.alerte__champs { display: grid; gap: .7rem .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alerte__champ--email, .alerte__champ--libre { grid-column: 1 / -1; }
@media (max-width: 419px) { .alerte__champs { grid-template-columns: 1fr; } }
/* « Pas dans la liste : je l'écris » : le champ n'apparaît qu'une fois ce choix fait (toujours visible sans JavaScript) */
.js .alerte__champ--libre:not(.est-visible) { display: none; }
.alerte__champ { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 700; color: var(--texte-fort); }
.alerte__champ select, .alerte__champ input {
    font: inherit; font-size: .95rem; font-weight: 500;
    color: var(--texte-fort); background: var(--fond);
    border: 1px solid var(--bord-fort); border-radius: 10px;
    padding: .55rem .8rem;
}
.alerte__champ select:focus, .alerte__champ input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.alerte__accord { display: flex; align-items: flex-start; gap: .6rem; margin: .8rem 0 .9rem; font-size: .78rem; line-height: 1.45; color: var(--texte); cursor: pointer; }
.alerte__saisie { display: flex; flex-direction: column; }
/* Dès que la place le permet : la case d'accord et le bouton sur la même ligne, sous les champs */
@media (min-width: 480px) {
    .alerte__saisie { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.25rem; }
    .alerte__champs { grid-column: 1 / -1; }
    .alerte .alerte__accord { margin: .8rem 0 0; }
    .alerte__bouton { align-self: center; margin-top: .8rem; }
}
.alerte__accord input { width: 1.1rem; height: 1.1rem; margin-top: .1rem; accent-color: var(--orange); flex-shrink: 0; cursor: pointer; }
.alerte__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alerte__message { padding: .75rem 1rem; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 600; }
.alerte__message--succes { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .5); color: var(--texte-fort); }
.alerte__message--erreur { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .5); color: var(--texte-fort); }
/* Sous une sélection en ligne : bandeau large, le texte à gauche et les champs à droite */
.alerte--bandeau {
    max-width: none; margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
    padding: clamp(1rem, 1.8vw, 1.5rem);
    border-radius: var(--rayon-tuile); border-color: var(--bord-fort);
    background: radial-gradient(120% 140% at 0% 0%, rgba(242, 138, 26, .1) 0%, transparent 55%), var(--carte);
}
@media (min-width: 900px) {
    .alerte--bandeau { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: center; }
    .alerte--bandeau .alerte__texte { margin-bottom: 0; }
}

/* « Deux états » : même panneau que le bloc « Sur commande » ; sur ordinateur, trois colonnes séparées d'un trait :
   le titre et la garantie, puis Reconditionné, puis Neuf (chaque état : la pastille au-dessus de sa description) */
.etats {
    display: grid; gap: .6rem 1.5rem;
    margin-top: 1.25rem; padding: clamp(.9rem, 1.6vw, 1.15rem) clamp(1rem, 2.2vw, 1.5rem);
    border-radius: var(--rayon-tuile);
    background: var(--carte);
    border: 1px solid var(--bord-fort);
    font-size: .88rem; line-height: 1.45;
}
.etats__titre { font-weight: 800; color: var(--texte-fort); }
.etats__liste { display: grid; gap: .5rem 1.5rem; }
.etats__liste li { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .65rem; }
.etats__garantie { display: flex; align-items: flex-start; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--texte); }
.etats__garantie .bouton-picto { margin-top: .1rem; color: var(--orange-texte); }
@media (min-width: 600px) {
    .etats__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .etats__liste li { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 960px) {
    .etats { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "titre r n" "garantie r n"; align-items: center; column-gap: 0; }
    .etats__titre { grid-area: titre; align-self: end; padding-right: 1.5rem; }
    .etats__garantie { grid-area: garantie; align-self: start; padding-right: 1.5rem; }
    .etats__liste { display: contents; }
    .etats__liste li { align-self: stretch; justify-content: center; padding: 0 1.5rem; border-left: 1px solid var(--bord); }
    .etats__liste li:first-child { grid-area: r; }
    .etats__liste li:last-child { grid-area: n; padding-right: 0; }
}

/* ---------- Questions fréquentes : compactes, le titre seul à gauche, une seule réponse ouverte à la fois ---------- */
.section-faq { padding-block: var(--espace-section); }
.faq-grille { display: grid; gap: 1.25rem clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 960px) {
    .faq-grille { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; }
    .faq-grille__tete { position: sticky; top: calc(var(--entete-h) + 2rem); }
}
.faq-grille__tete .section-title { margin-bottom: 0; }

.faq-accordion { border-top: 1px solid var(--bord-fort); }
.faq-item { border-bottom: 1px solid var(--bord-fort); }
.faq-question {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 1.35rem;
    align-items: center;
    gap: .65rem;
    padding: .6rem 0;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.35;
    color: var(--texte-fort);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover .faq-texte { color: var(--orange-texte); }
.faq-num { font-family: var(--mono); font-size: .7rem; font-weight: 600; color: var(--orange-texte); }
.faq-icon { position: relative; width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 1px solid var(--bord-fort); transition: transform .3s var(--courbe), background-color .2s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .6rem; height: 1.5px; background: var(--texte-fort); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--courbe); }
.faq-item[open] .faq-icon { background: var(--orange); border-color: var(--orange); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--anthracite); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 2rem 1rem 2.65rem; font-size: .95rem; line-height: 1.55; color: var(--texte); }
@media (max-width: 559px) { .faq-answer { padding-left: 0; padding-right: 0; } .faq-question { grid-template-columns: 1.6rem minmax(0, 1fr) 1.35rem; } }

/* ---------- Avis Google : carrousel compact ----------
   À partir de la tablette, titre, note, flèches et boutons sur une seule ligne au-dessus des cartes */
.section-avis { padding-block: var(--espace-section); }
.avis-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: clamp(1rem, 2.4vh, 1.5rem); }
.avis-tete .section-tag { margin-bottom: .75rem; }
.avis-tete .section-title { margin-bottom: 0; }
.avis-tete .section-title span { display: block; }
.avis-note {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: var(--carte);
    border: 1px solid var(--bord);
}
.rating-score { font-size: 1.35rem; font-weight: 850; line-height: 1; letter-spacing: -.03em; color: var(--texte-fort); }
.rating-stars, .review-stars { display: flex; gap: 1px; color: var(--etoile); }
.rating-stars .etoile { width: .95rem; height: .95rem; }
.review-stars { flex-shrink: 0; }
.review-stars .etoile { width: .8rem; height: .8rem; }
.etoile--vide { color: #4B5050; }
.rating-text { font-size: .8rem; font-weight: 600; color: var(--texte); white-space: nowrap; }

.avis-defile {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(15rem, 18.5rem);
    gap: .75rem;
    overflow-x: auto;
    overflow-y: hidden;      /* sinon la molette décale les cartes vers le haut au survol */
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;   /* les flèches et le glisser suffisent */
}
.avis-defile::-webkit-scrollbar { display: none; }
.avis-carte {
    display: flex; flex-direction: column; gap: .5rem;
    scroll-snap-align: start;
    padding: .8rem .95rem .85rem;
    border-radius: var(--rayon);
    background: var(--carte);
    border: 1px solid var(--bord);
}
.avis-carte__tete { display: flex; align-items: center; gap: .6rem; }
.avis-carte__initiale {
    width: 2rem; height: 2rem; flex-shrink: 0;
    display: grid; place-items: center; border-radius: 50%;
    background: rgba(242, 138, 26, .14); color: var(--orange-texte);
    font-size: .85rem; font-weight: 800;
}
.avis-carte__qui { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1; line-height: 1.25; }
.avis-carte__note { display: flex; align-items: center; gap: .45rem; }
.review-text { font-size: .88rem; line-height: 1.45; color: var(--texte-fort); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-author { font-weight: 700; color: var(--texte-fort); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.review-author:hover { color: var(--orange-texte); }
.review-date { font-family: var(--mono); font-size: .66rem; color: var(--texte-doux); white-space: nowrap; }

.avis-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .5rem; }
.avis-fleches { display: flex; gap: .4rem; }
.avis-fleches button {
    width: 2.5rem; height: 2.5rem;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--bord-fort);
    background: transparent;
    color: var(--texte-fort);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.avis-fleches button:hover { background: var(--orange); border-color: var(--orange); color: var(--anthracite); }
.avis-fleche { width: 1.1rem; height: 1.1rem; }
.avis-fleche--gauche { transform: rotate(180deg); }
/* Défilement tout seul : un cercle orange se remplit autour de la flèche « suivants » avant chaque nouvel avis (site.js) */
.avis-fleches button { position: relative; }
.avis-compte { position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; transform: rotate(-90deg); pointer-events: none; }
.avis-compte circle { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.avis-compte--en-cours .avis-compte circle { animation: avis-compte 5s linear forwards; }   /* 5 s : ATTENTE dans site.js */
.avis-compte--pause .avis-compte circle { animation-play-state: paused; }
@keyframes avis-compte { to { stroke-dashoffset: 0; } }
.avis-liens { display: flex; flex-wrap: wrap; gap: .6rem; margin-left: auto; }
/* À partir de la tablette : titre, note, flèches et boutons sur une seule ligne au-dessus des cartes */
@media (min-width: 760px) {
    .section-avis .container-6xl {
        display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tete pied" "defile defile";
        column-gap: 1.5rem; align-items: end;
    }
    .avis-tete { grid-area: tete; }
    .avis-pied { grid-area: pied; margin: 0 0 clamp(1rem, 2.4vh, 1.5rem); }
    .avis-defile { grid-area: defile; }
}

/* ---------- Contact ---------- */
.contact-section {
    padding: var(--espace-section) 0;
    background: var(--anthracite-profond);
    color: #A9B0B0;
}
.contact {
    display: grid;
    gap: 1rem;
    padding: clamp(.75rem, 2vw, 1rem);
    border-radius: clamp(20px, 2.2vw, 28px);
    background: linear-gradient(160deg, #222424 0%, #181919 100%);
    border: 1px solid rgba(255, 255, 255, .08);
}
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.contact__infos { padding: clamp(.5rem, 1.6vw, 1.1rem); }
.contact .section-tag { color: var(--orange); }

.contact-title { font-size: clamp(1.7rem, min(3.3vw, 5.6vh), 2.4rem); font-weight: 850; line-height: 1; letter-spacing: -.025em; color: var(--blanc); text-wrap: balance; }
.contact-title span { display: block; color: var(--orange); }
.contact-subtitle { margin-top: .65rem; font-size: .95rem; color: #C3C9C9; }
.contact-subtitle .text-orange { color: var(--orange); }

.horaires-status { display: inline-flex; align-items: center; gap: .55rem; margin: .6rem 0 .4rem; font-weight: 700; font-size: .92rem; }
.horaires-status i { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.horaires-status--ouvert { color: var(--vert); }
.horaires-status--ferme { color: #F87171; }
.horaires-status--neutre { color: var(--blanc); }

.semaine { margin-bottom: clamp(1rem, 2.4vh, 1.35rem); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.semaine li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.semaine li span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.semaine .aujourdhui { color: var(--blanc); font-weight: 700; }
.semaine small { margin-left: .5rem; padding: .15rem .45rem; border-radius: 999px; background: var(--orange); color: var(--anthracite); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }

.contact-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-call, .btn-whatsapp, .btn-blanc {
    display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
    min-height: 3rem; padding: .7rem 1.35rem; border-radius: 999px;
    font-size: 1.02rem; font-weight: 800;
    transition: background-color .15s ease, transform .2s var(--courbe), filter .15s ease;
}
.btn-call { background: var(--orange); color: var(--anthracite); box-shadow: 0 14px 34px -12px rgba(242, 138, 26, .7); }
.btn-call:hover { background: var(--orange-vif); }
.btn-whatsapp { background: var(--whatsapp); color: #062E16; }
.btn-whatsapp:hover { filter: brightness(1.08); }
.btn-blanc { background: var(--blanc); color: var(--anthracite); }
.btn-blanc:hover { background: #E8EAEA; }
.anim .btn-call:hover, .anim .btn-whatsapp:hover, .anim .btn-blanc:hover { transform: translateY(-2px); }
.contact-btn-icon { width: 1.3rem; height: 1.3rem; flex-shrink: 0; }
@media (max-width: 479px) { .btn-call, .btn-whatsapp, .btn-blanc { width: 100%; } }
.contact .btn-call, .contact .btn-whatsapp { min-height: var(--bouton-h); padding: .6rem 1.2rem; font-size: .98rem; }

.contact-liens { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .9rem; font-weight: 600; }
.contact-liens:empty { display: none; }
.contact-liens a { display: inline-flex; align-items: center; gap: .4rem; color: #D5DADA; }
.contact-liens a:hover { color: var(--orange); }
.contact-lien-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.contact-note { margin-top: 1.5rem; font-size: .8rem; color: #8E9696; }

/* Plan stylisé, remplacé par le quartier en 3D dès que son script est prêt ; la barre du bas ouvre Google Maps */
.contact__carte {
    position: relative;
    display: block;
    min-height: clamp(14rem, 38vh, 19rem);
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 50% 46%, rgba(242, 138, 26, .18), transparent 42%),
        linear-gradient(118deg, transparent 46%, rgba(255, 255, 255, .06) 46%, rgba(255, 255, 255, .06) 48.5%, transparent 48.5%),
        linear-gradient(28deg, transparent 60%, rgba(255, 255, 255, .045) 60%, rgba(255, 255, 255, .045) 61.8%, transparent 61.8%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
        #151616;
}
.contact__radar { position: absolute; left: 50%; top: 46%; }
.contact__radar i { position: absolute; left: 0; top: 0; width: 7rem; height: 7rem; border-radius: 50%; border: 1px solid rgba(242, 138, 26, .35); transform: translate(-50%, -50%); }
.contact__radar i:nth-child(2) { width: 12rem; height: 12rem; border-color: rgba(242, 138, 26, .2); }
.contact__radar i:nth-child(3) { width: 18rem; height: 18rem; border-color: rgba(242, 138, 26, .1); }
.anim .contact__radar i { animation: radar 3.6s ease-out infinite; }
.anim .contact__radar i:nth-child(2) { animation-delay: 1.2s; }
.anim .contact__radar i:nth-child(3) { animation-delay: 2.4s; }
.contact__repere {
    position: absolute; left: 50%; top: 46%;
    display: flex; flex-direction: column; align-items: center; gap: .15rem;
    transform: translate(-50%, -88%);
    text-align: center; color: var(--blanc);
}
.contact__epingle { width: 2.6rem; height: 2.6rem; color: var(--orange); fill: rgba(242, 138, 26, .2); margin-bottom: .35rem; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
.contact__repere strong { padding: .3rem .7rem; border-radius: 999px; background: var(--anthracite); border: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.contact__repere small { font-size: .75rem; color: #A9B0B0; }
.contact__bas {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    pointer-events: none;
}
.contact__itineraire {
    align-self: stretch;
    display: flex; justify-content: space-between; gap: 1rem;
    pointer-events: auto;
    padding: .95rem 1.15rem; border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    font-weight: 700; color: var(--blanc);
    transition: background-color .15s ease, color .15s ease;
}
.contact__carte .contact__itineraire:hover { background: var(--orange); color: var(--anthracite); }

/* Le quartier en 3D (bâtiments IGN, rues OpenStreetMap), dessiné par assets/quartier.js.
   Tant qu'il n'est pas prêt, ou sans JavaScript, le plan stylisé reste affiché. */
.quartier__toile { position: absolute; inset: 0; display: block; width: 100%; height: 100%; -webkit-user-select: none; user-select: none; }
.quartier-pret .quartier__toile { cursor: grab; touch-action: pan-y pinch-zoom; }
.quartier--glisse .quartier__toile { cursor: grabbing; }
.quartier__toile:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: 22px; }
.contact__carte.quartier-pret { background: #151616; }
.quartier-pret .contact__radar, .quartier-pret .contact__repere { display: none; }
/* Mention des sources : obligatoire (licences IGN et OpenStreetMap), mais le plus discrète possible (demande de Cyzeo, 03/10/2026) */
.quartier__credit { font-family: var(--mono); font-size: .56rem; letter-spacing: .04em; color: rgba(255, 255, 255, .26); }
.contact__carte .quartier__credit { position: absolute; left: 1.25rem; top: 1.15rem; }
.contact__carte:not(.quartier-pret) .quartier__credit { display: none; }
.quartier__commandes { position: absolute; top: .85rem; right: .85rem; display: flex; flex-direction: column; gap: .4rem; }
.quartier__commandes[hidden], .quartier__indice[hidden] { display: none; }
.quartier__bouton {
    display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0;
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%;
    background: rgba(21, 22, 22, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--blanc); cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.quartier__bouton:hover { border-color: var(--orange); color: var(--orange); }
.quartier__bouton:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.quartier__bouton svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (pointer: coarse) { .quartier__bouton { width: 2.6rem; height: 2.6rem; } }
.quartier__indice {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .38rem .75rem; border-radius: 999px;
    background: rgba(15, 16, 16, .82); border: 1px solid rgba(242, 138, 26, .45);
    font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blanc);
    transition: opacity .5s ease, transform .5s ease;
}
.quartier__indice svg { width: .95rem; height: .95rem; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quartier--touche .quartier__indice { opacity: 0; transform: translateY(4px); }
.quartier-pret .contact__itineraire { background: rgba(21, 22, 22, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* ---------- Illustrations des appareils ---------- */
.appareil { position: relative; width: 100%; }
.appareil__svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .5)); }
.repere path { stroke: rgba(242, 138, 26, .6); stroke-width: 1; stroke-dasharray: 3 4; fill: none; vector-effect: non-scaling-stroke; }
.repere circle { fill: var(--orange); }
.puce {
    position: absolute;
    transform: translate(0, -50%);
    padding: .42rem .7rem;
    border-radius: 999px;
    background: rgba(18, 19, 19, .85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(242, 138, 26, .5);
    font-family: var(--mono);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blanc);
    white-space: nowrap;
}
.puce--g { transform: translate(-100%, -50%); }
@media (max-width: 639px) { .puce, .repere { display: none; } }

.anim .appareil .couche { animation: couche-arrive 1.2s var(--courbe) both; animation-delay: calc(.15s + var(--i) * .15s); }
.anim .appareil .repere, .anim .appareil .puce { animation: apparait .7s ease both; animation-delay: 1.15s; }
.anim .hero .appareil__svg { animation: flotte 8s ease-in-out 1.6s infinite; }
.anim .onde { animation: onde 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); }


.anim .curseur { animation: clignote 1.1s steps(1) infinite; }

/* ---------- Pied de page ---------- */
.pied {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--espace-section) * .8);
    background: #0F1010;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #8A9292;
    font-size: .9rem;
}
.pied__grille { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .7fr); }
@media (max-width: 959px) { .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pied__marque p { margin-top: .9rem; line-height: 1.5; }
.pied__tel { font-size: 1.2rem; font-weight: 800; color: var(--blanc); }
.pied__tel:hover { color: var(--orange); }
.pied__titre { margin-bottom: 1rem; font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.pied__colonne li { margin-bottom: .45rem; }
.pied__colonne a:hover { color: var(--blanc); }
.pied__semaine li { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .2rem; font-size: .84rem; }
.pied__semaine li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pied__semaine .aujourdhui { color: var(--blanc); font-weight: 700; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.5rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .8rem; }
/* Aucun lien du site n'est souligné (demande de Cyzeo, 03/10/2026) : le nom ressort en gras et s'éclaire au survol */
.pied__bas a { text-decoration: none; font-weight: 600; color: #C9CFCF; transition: color .15s ease; }
.pied__bas a:hover { color: var(--blanc); }
/* Sur téléphone : l'adresse et les infos côte à côte, puis les services sur deux colonnes, puis les horaires */
@media (max-width: 559px) {
    .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
    .pied__grille > :nth-child(2) { grid-column: 1 / -1; order: 2; }
    .pied__grille > :nth-child(3) { grid-column: 1 / -1; order: 3; }
    .pied__grille > :nth-child(2) ul { columns: 2; column-gap: 1rem; }
    .pied__titre { margin-bottom: .6rem; }
}

/* ---------- Barre d'actions mobile ---------- */
.barre-mobile { display: none; }
@media (max-width: 1023px) {
    .barre-mobile {
        position: fixed;
        left: .75rem; right: .75rem;
        bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
        z-index: 58;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: .25rem;
        padding: .35rem;
        border-radius: 22px;
        background: rgba(20, 21, 21, .92);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, .1);
        box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
    }
    .barre-mobile__action {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
        min-height: 3.4rem; padding: .4rem .25rem;
        border: 0; border-radius: 16px;
        background: none;
        font: inherit; font-size: .7rem; font-weight: 700;
        color: rgba(255, 255, 255, .82);
        cursor: pointer;
    }
    .barre-mobile__action[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: var(--blanc); }
    .barre-mobile__picto { width: 1.25rem; height: 1.25rem; }
    body { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Invitation à laisser un avis ---------- */
.google-toast-wrapper {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 57;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.google-toast-wrapper.hidden { opacity: 0; visibility: hidden; transform: translateY(1rem); pointer-events: none; }
.google-toast-close {
    position: absolute; top: -.5rem; right: -.5rem; z-index: 2;
    width: 1.75rem; height: 1.75rem;
    display: grid; place-items: center;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15);
    background: #2A2C2C; color: var(--blanc);
    font-size: 1rem; line-height: 1; cursor: pointer;
}
.google-toast-close:hover { background: var(--orange); color: var(--anthracite); }
.google-badge-card {
    display: flex; align-items: center; gap: .85rem;
    padding: .8rem 1.2rem .8rem .9rem;
    border-radius: 999px;
    background: rgba(26, 27, 27, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
    transition: border-color .15s ease;
}
.google-badge-card:hover { border-color: var(--orange); }
.google-icon-wrapper { width: 2rem; height: 2rem; flex-shrink: 0; }
.google-svg { width: 100%; height: 100%; }
.google-badge-content { display: flex; flex-direction: column; }
.google-badge-top { display: flex; align-items: center; gap: .4rem; }
.google-rating-score { font-weight: 900; color: var(--blanc); }
.google-stars { display: flex; gap: 1px; color: var(--etoile); }
.star-icon { width: .9rem; height: .9rem; }
.google-badge-label { font-size: .75rem; color: #A9B0B0; }
.google-badge-label strong { color: var(--blanc); }
/* Sur téléphone et tablette, pas de fenêtre par-dessus la barre d'actions (recommandation Google : aucun bandeau
   intrusif sur mobile). L'avis se dépose depuis la section « Avis clients ». */
@media (max-width: 1023px) {
    .google-toast-wrapper { display: none; }
}

/* ---------- Pages simples : 404, alertes, mentions légales ---------- */
.hero-description { margin-top: 1rem; font-size: 1.1rem; line-height: 1.45; color: var(--texte-fort); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions--centre { justify-content: center; }
.legal { display: grid; gap: 1rem; }
.legal__texte { font-size: .95rem; line-height: 1.55; color: var(--texte); }
.legal .nav-link { color: var(--orange-texte); font-weight: 600; }

/* ---------- Apparition au défilement (Gestion › Apparence › Animations) ---------- */
.anim .revele { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--courbe), transform .8s var(--courbe); transition-delay: var(--delai, 0ms); }
/* Tant qu'un bloc n'est pas apparu, il ne capte aucun clic (sinon : zone invisible mais cliquable en bas d'écran) */
.anim .revele:not(.vu) { pointer-events: none; }
.anim .revele.vu { opacity: 1; transform: none; }
.anim .hero__texte > * { animation: monte .9s var(--courbe) both; }
.anim .hero__texte > :nth-child(2) { animation-delay: .06s; }
.anim .hero__texte > :nth-child(3) { animation-delay: .12s; }
.anim .hero__texte > :nth-child(4) { animation-delay: .18s; }
.anim .hero__texte > :nth-child(5) { animation-delay: .24s; }
.anim .hero__texte > :nth-child(6) { animation-delay: .3s; }

@keyframes monte { from { opacity: 0; transform: translateY(24px); } }
@keyframes apparait { from { opacity: 0; } }
@keyframes couche-arrive { from { opacity: 0; transform: translateY(calc(var(--i) * 55px + 20px)); } }
@keyframes flotte { 50% { transform: translateY(-10px); } }
@keyframes onde { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes clignote { 50% { opacity: 0; } }
@keyframes pouls { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes radar { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes defile-liste { to { transform: translateX(-100%); } }
@keyframes zoom-lent { from { transform: scale(1.08); } }

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
