/* FN Services — site vitrine, design « atelier industriel » (octobre 2026) :
   angles vifs, typographie en capitales très grasses, contrastes forts et mouvement.
   Les noms de classes sont partagés par toutes les pages du site (accueil, catalogue,
   fiche, devis, espace client, pages légales). */
@font-face { font-family: Inter; src: url("../fonts/Inter-Regular.da03732a27e1.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/Inter-Medium.51205681a1ba.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/Inter-SemiBold.2ede57db1a3a.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/Inter-Bold.8ca0a5155296.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/Inter-ExtraBold.900ae45e40b8.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
    --rouge: #D71A2C; --rouge-fonce: #A80F1F; --rouge-clair: #FF4D5E;
    --bleu: #1C6FD1; --encre: #0A1524; --acier: #142338; --acier-2: #1D3150;
    --texte: #1A2230; --gris: #5E6878; --trait: #DCE1E8; --fond: #F1F3F6; --blanc: #fff; --vert-wa: #1FAF54;
    --rayon: 2px; --ombre: 0 1px 0 rgba(10,21,36,.06), 0 10px 30px -12px rgba(10,21,36,.18);
    --ombre-forte: 0 22px 50px -18px rgba(10,21,36,.45);
    --biais: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%);
    --rapide: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texte);
       background: var(--fond); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--bleu); }
::selection { background: var(--rouge); color: #fff; }
h1, h2, h3 { color: var(--encre); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.05rem; font-weight: 800; }
.conteneur { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.petit { font-size: .88rem; color: var(--gris); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.etiquette { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .16em;
             text-transform: uppercase; color: var(--rouge-clair); margin-bottom: 14px; }
.etiquette::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.etiquette-rouge { color: var(--rouge); }

/* ── En-tête : sombre, se réduit au défilement, se cache en descendant ── */
.entete { background: var(--encre); position: sticky; top: 0; z-index: 30; transition: transform .35s var(--rapide), box-shadow .2s; }
.entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
                 background: linear-gradient(90deg, var(--rouge) 0 34%, transparent 34%); }
.entete .conteneur { display: flex; align-items: center; gap: 16px; height: 72px; transition: height .3s var(--rapide); }
.entete.defile .conteneur { height: 58px; }
.entete.cache { transform: translateY(-100%); }
.entete.defile { box-shadow: 0 10px 30px -14px rgba(0,0,0,.6); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.logo img { height: 44px; width: auto; background: #fff; padding: 3px 5px; transition: height .3s var(--rapide); }
.entete.defile .logo img { height: 36px; }
.logo b { font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; } .logo b span { color: var(--rouge-clair); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: #D6DEE8; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
         padding: 10px 12px; position: relative; }
.nav a.lien-texte::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--rouge);
                           transform: scaleX(0); transform-origin: left; transition: transform .25s var(--rapide); }
.nav a.lien-texte:hover { color: #fff; } .nav a.lien-texte:hover::after { transform: scaleX(1); }

/* ── Boutons : carrés, capitales, balayage de couleur au survol ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; position: relative;
       font: inherit; font-weight: 800; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
       border-radius: var(--rayon); padding: 14px 22px; line-height: 1.2; overflow: hidden; isolation: isolate;
       transition: transform .2s var(--rapide), box-shadow .2s, color .25s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .35s var(--rapide); }
.btn:hover::before { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(10,21,36,.5); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-rouge { background: var(--rouge); color: #fff; } .btn-rouge::before { background: var(--encre); }
.btn-wa { background: var(--vert-wa); color: #fff; } .btn-wa::before { background: #138A3F; }
.btn-clair { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.btn-clair::before { background: var(--encre); } .btn-clair:hover { color: #fff; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-grand { font-size: .95rem; padding: 17px 24px; }
.nav .btn { padding: 10px 16px; color: #fff; font-size: .8rem; } .nav .btn::before { background: #fff; } .nav .btn:hover { color: var(--rouge); }
.compteur { background: #fff; color: var(--rouge); font-size: .72rem; min-width: 20px; height: 20px; border-radius: 0;
            display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.nav .btn:hover .compteur { background: var(--rouge); color: #fff; }
.compteur[data-vide] { display: none; }
@media (max-width: 760px) {
    .logo b { display: none; }
    .nav a.lien-texte { display: none; }
    .entete .conteneur { height: 62px; }
}

/* ── Recherche ── */
.recherche { display: flex; max-width: 560px; }
.recherche input { flex: 1; min-width: 0; font: inherit; padding: 15px 16px; border: 0; border-radius: 0; background: #fff; color: var(--texte); }
.recherche .btn { border-radius: 0; }
.recherche input:focus, .champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--rouge); outline-offset: -3px; }

/* ── Accueil : grande entrée sombre, vidéo ou photo en fond, colonnes de photos qui défilent ── */
.hero { background: var(--encre); color: #fff; position: relative; overflow: hidden; clip-path: var(--biais); }
.hero-fond { position: absolute; inset: 0; z-index: 0; }
.hero-fond img, .hero-fond video { width: 100%; height: 100%; object-fit: cover; opacity: .22; animation: zoom-lent 24s ease-in-out infinite alternate; }
@media (max-width: 900px) { .hero-fond img { opacity: .12; } }
.hero-fond::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(10,21,36,.97) 0%, rgba(10,21,36,.86) 46%, rgba(10,21,36,.35) 100%),
                repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); }
.hero-trait { position: absolute; z-index: 1; top: -10%; bottom: -10%; right: 38%; width: 120px; background: var(--rouge);
              transform: skewX(-14deg); opacity: .9; mix-blend-mode: multiply; }
.hero .conteneur { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 110px; display: grid; gap: 40px;
                   grid-template-columns: 1.15fr .85fr; align-items: center; min-height: min(86vh, 760px); }
.hero .conteneur > * { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: .45em; font-size: clamp(1.6rem, 4.3vw, 3.6rem); }
@media (max-width: 900px) { .hero h1 { font-size: clamp(1.6rem, 7.6vw, 3rem); } }
.hero h1 em { font-style: normal; color: var(--rouge-clair); display: inline-block; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--rouge);
                     transform: scaleX(0); transform-origin: left; animation: souligner .9s .6s var(--rapide) forwards; }
.hero p { color: #C3CDDA; font-size: 1.1rem; max-width: 36em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero .actions .btn-clair { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.hero .actions .btn-clair::before { background: #fff; } .hero .actions .btn-clair:hover { color: var(--encre); }
.hero .recherche { margin-top: 22px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); }
.chiffres { display: flex; gap: 0; flex-wrap: wrap; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.chiffres > div { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.14); }
.chiffres > div:last-child { border-right: 0; }
.chiffres b { display: block; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1; color: #fff; font-weight: 800; letter-spacing: -.03em; }
.chiffres span { color: #93A3B8; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: min(70vh, 600px);
                 mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
                 -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.hero-colonne { overflow: hidden; }
.hero-colonne > div { display: flex; flex-direction: column; gap: 14px; animation: monter 32s linear infinite; }
.hero-colonne:nth-child(2) > div { animation-name: descendre; animation-duration: 38s; }
.hero-colonnes:hover .hero-colonne > div { animation-play-state: paused; }
.hero-colonne a { display: block; background: #fff; aspect-ratio: 3 / 4; position: relative; overflow: hidden; }
.hero-colonne img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s var(--rapide); }
.hero-colonne a:hover img { transform: scale(1.06); }
.hero-colonne a span { position: absolute; left: 0; bottom: 0; background: var(--rouge); color: #fff; font-size: .7rem; font-weight: 800;
                       letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
/* Sur téléphone : une seule rangée de photos qui glisse de droite à gauche */
@media (max-width: 900px) {
    .hero .conteneur { grid-template-columns: minmax(0, 1fr); padding-top: 44px; padding-bottom: 90px; min-height: 0; gap: 28px; }
    .hero-trait { right: -40px; width: 70px; }
    .chiffres > div { padding-right: 18px; margin-right: 18px; }
    .hero-colonnes { display: block; height: auto; margin: 0 -16px;
                     mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
                     -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
    .hero-colonne:not(:first-child) { display: none; }
    .hero-colonne > div { flex-direction: row; width: max-content; animation: glisser 40s linear infinite; gap: 10px; }
    .hero-colonne a { width: 120px; }
}

/* Bandeau défilant des secteurs, en biais */
.defilant { background: var(--rouge); color: #fff; overflow: hidden; white-space: nowrap; padding: 16px 0; margin: -30px 0 0;
            position: relative; z-index: 3; transform: skewY(-1.6deg); box-shadow: 0 16px 36px -18px rgba(215,26,44,.8); }
.defilant-piste { display: inline-flex; animation: defiler 34s linear infinite; }
.defilant:hover .defilant-piste { animation-play-state: paused; }
.defilant span { display: inline-flex; align-items: center; }
.defilant a { color: #fff; text-decoration: none; font-weight: 800; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; padding: 0 22px; }
.defilant a:hover { color: var(--encre); }
.defilant i { font-style: normal; width: 9px; height: 9px; background: #fff; transform: rotate(45deg); display: inline-block; opacity: .85; }

/* ── Blocs ── */
.bloc { padding: 72px 0; }
.bloc-sombre { background: var(--encre); color: #C3CDDA; }
.bloc-sombre h2, .bloc-sombre h3 { color: #fff; }
.bloc-titre { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.bloc-titre h2 { margin: 0 0 .25em; }
.bloc-titre p { margin: 0; color: var(--gris); max-width: 40em; }
.bloc-sombre .bloc-titre p { color: #93A3B8; }
.bloc-titre > a { font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--rouge); }

/* Secteurs : grandes tuiles numérotées */
.grille-sections { display: grid; gap: 1px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 1px; }
.grille-sections > * { box-shadow: 0 0 0 1px var(--trait); }
.carte-section { display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; position: relative; overflow: hidden;
                 padding: 18px 18px 20px; transition: background .3s; }
.carte-section:has(.vignette) { min-height: 290px; }
.grille-sections > .carte { border: 0; }
.carte-section::before { content: attr(data-num); position: absolute; right: 12px; top: 2px; font-size: 4.2rem; font-weight: 800;
                         color: transparent; -webkit-text-stroke: 1.5px #E2E6EC; letter-spacing: -.04em; transition: -webkit-text-stroke-color .3s; }
.carte-section::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--rouge);
                        transform: scaleX(0); transform-origin: left; transition: transform .35s var(--rapide); }
.carte-section:hover { background: #FAFBFC; } .carte-section:hover::after { transform: scaleX(1); }
.carte-section:hover::before { -webkit-text-stroke-color: var(--rouge); }
.carte-section .vignette { height: 170px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; position: relative; z-index: 1; }
.carte-section .vignette img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--rapide); }
.carte-section:hover .vignette img { transform: scale(1.08) rotate(-1.5deg); }
.carte-section .num { font-size: .72rem; font-weight: 800; color: var(--rouge); letter-spacing: .12em; text-transform: uppercase; }
.carte-section h3 { margin: 4px 0 2px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .01em; }
.carte-section .petit { display: flex; justify-content: space-between; align-items: center; }
.carte-section .petit::after { content: "→"; font-weight: 800; color: var(--rouge); transform: translateX(-6px); opacity: 0;
                               transition: transform .3s var(--rapide), opacity .3s; }
.carte-section:hover .petit::after { transform: none; opacity: 1; }
/* Cartes « carte » de la page d'accueil (étapes) gardent un fond blanc net */
.grille-etapes { display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); counter-reset: etape; }
.grille-etapes > div { counter-increment: etape; padding: 26px 24px 28px; border-left: 2px solid rgba(255,255,255,.12); position: relative; }
.grille-etapes > div:first-child { border-left-color: var(--rouge); }
.grille-etapes > div::before { content: "0" counter(etape); display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
                               color: transparent; -webkit-text-stroke: 1.5px var(--rouge-clair); letter-spacing: -.04em; }
.grille-etapes h3 { text-transform: uppercase; font-size: 1rem; }
.grille-etapes p { margin: 0; font-size: .92rem; color: #A9B6C7; }
@media (max-width: 900px) { .grille-etapes { grid-template-columns: 1fr 1fr; } .grille-etapes > div { border-left: 0; border-top: 2px solid rgba(255,255,255,.12); } }
@media (max-width: 520px) {
    .grille-etapes { grid-template-columns: 1fr; }
    .grille-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .carte-section { padding: 12px 12px 14px; }
    .carte-section:has(.vignette) { min-height: 0; }
    .carte-section .vignette { height: 120px; }
    .carte-section::before { font-size: 2.6rem; right: 8px; }
    .carte-section h3 { font-size: .86rem; }
}

/* ── Cartes produit ── */
.grille-fiches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 520px) { .grille-fiches { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.carte-fiche { background: #fff; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
               position: relative; border: 1px solid var(--trait); transition: transform .3s var(--rapide), box-shadow .3s, border-color .3s; }
.carte-fiche::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--rouge);
                      transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--rapide); }
.carte-fiche:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); border-color: transparent; }
.carte-fiche:hover::after { transform: scaleY(1); }
.carte-fiche .photo { position: relative; aspect-ratio: 1 / 1.1; background: #fff; overflow: hidden; flex-shrink: 0; }
.carte-fiche .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply;
                          transition: transform .45s var(--rapide); }
.carte-fiche:hover .photo img { transform: scale(1.07); }
.carte-fiche .corps { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--trait); }
.carte-fiche .ref { font-size: .72rem; font-weight: 800; color: var(--rouge); letter-spacing: .1em; }
.carte-fiche h3 { font-size: .95rem; margin: 0; }
.carte-fiche .coloris { font-size: .82rem; color: var(--gris); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { position: absolute; z-index: 2; top: 0; left: 0; background: var(--rouge); color: #fff; font-size: .68rem; font-weight: 800;
         letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; }
.badge-3d { left: auto; right: 0; background: var(--encre); }

/* ── Pages intérieures ── */
.entete-page { background: var(--encre); color: #C3CDDA; padding: 40px 0 34px; position: relative; overflow: hidden; }
.entete-page::before { content: ""; position: absolute; right: -60px; top: -40px; bottom: -40px; width: 160px; background: var(--rouge);
                       transform: skewX(-14deg); opacity: .9; }
.entete-page .conteneur { position: relative; }
@media (max-width: 640px) { .entete-page::before { width: 60px; right: -42px; } }
.entete-page h1 { color: #fff; margin-bottom: .3em; }
.entete-page .petit, .entete-page p { color: #A9B6C7; }
.fil { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: 12px; }
.fil a { color: var(--gris); text-decoration: none; } .fil a:hover { color: var(--rouge); }
.entete-page .fil, .entete-page .fil a { color: #8C9BB0; } .entete-page .fil a:hover { color: #fff; }
.puces { display: flex; gap: 0; overflow-x: auto; padding: 18px 0 2px; scrollbar-width: none; }
.puces::-webkit-scrollbar { display: none; }
.puces a { flex-shrink: 0; text-decoration: none; color: #C3CDDA; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
           padding: 9px 14px; border: 1px solid rgba(255,255,255,.18); margin-right: -1px; transition: background .2s, color .2s; }
.puces a:hover { color: #fff; background: rgba(255,255,255,.08); }
.puces a.actif { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.entete-page .recherche input { background: #fff; }

/* ── Fiche produit ── */
.fiche { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 0 56px; }
@media (max-width: 860px) { .fiche { grid-template-columns: 1fr; gap: 22px; padding-top: 16px; } }
.galerie .principale { background: #fff; aspect-ratio: 1 / 1.05; display: flex; align-items: center; justify-content: center;
                       border: 1px solid var(--trait); overflow: hidden; position: relative; }
.galerie .principale::before { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 4px; background: var(--rouge); z-index: 1; }
.galerie .principale > div { position: absolute; inset: 0; }
.galerie .principale img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 24px; mix-blend-mode: multiply;
                           animation: apparaitre .45s var(--rapide); }
.galerie model-viewer { width: 100%; height: 100%; background: #fff; --poster-color: #fff; }
.miniatures { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.miniatures button { width: 72px; height: 80px; padding: 4px; background: #fff; border: 2px solid var(--trait); border-radius: 0; cursor: pointer;
                     transition: border-color .2s; }
.miniatures button:hover { border-color: #AEB8C6; }
.miniatures button[aria-pressed="true"] { border-color: var(--rouge); }
.miniatures img { width: 100%; height: 100%; object-fit: contain; }
.miniatures .m3d { font-weight: 800; color: var(--encre); font-size: .9rem; }
.infos .ref { font-weight: 800; color: #fff; background: var(--rouge); letter-spacing: .1em; font-size: .78rem; padding: 5px 9px; display: inline-block; }
.infos .anc { color: var(--gris); font-size: .82rem; margin-left: 10px; }
.infos h1 { margin-top: 12px; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.infos .description { font-size: 1.06rem; color: #3A4553; }
.infos h3 { text-transform: uppercase; font-size: .82rem; letter-spacing: .1em; color: var(--gris); margin-top: 22px; }
.infos .usage { color: #3A4553; margin-top: 0; border-left: 3px solid var(--rouge); padding-left: 14px; }
.points { background: #fff; border: 1px solid var(--trait); margin: 20px 0; overflow: hidden; }
.points div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--trait); font-size: .95rem; }
.points div:first-child { border-top: 0; }
.points div:nth-child(odd) { background: #FAFBFC; }
.points dt { font-weight: 800; color: var(--gris); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.points dd { margin: 0; }
@media (max-width: 520px) { .points div { grid-template-columns: 1fr; gap: 2px; } }
.liste-car { padding-left: 0; list-style: none; margin: 0 0 20px; }
.liste-car li { position: relative; padding: 6px 0 6px 26px; }
.liste-car li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 9px; background: var(--rouge); transform: rotate(45deg); }
.bloc-sombre .liste-car li { color: #C3CDDA; }
.actions-fiche { display: flex; flex-direction: column; gap: 10px; }
.actions-fiche .ligne { display: flex; gap: 10px; flex-wrap: wrap; } .actions-fiche .ligne > * { flex: 1 1 200px; }
.note { background: #EEF2F7; color: #24364F; border-left: 4px solid var(--encre); padding: 12px 14px; font-size: .9rem; }

/* ── Formulaire de devis ── */
.formulaire { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; padding: 32px 0 64px; align-items: start; }
@media (max-width: 860px) { .formulaire { grid-template-columns: 1fr; } }
.carte { background: #fff; border: 1px solid var(--trait); padding: 24px; position: relative; }
.formulaire .carte::before { content: ""; position: absolute; left: -1px; top: -1px; width: 80px; height: 4px; background: var(--rouge); }
.carte h3 { text-transform: uppercase; font-size: .9rem; letter-spacing: .06em; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .champs { grid-template-columns: 1fr; } }
.champ label { display: block; font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--gris); }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; padding: 12px 13px; border: 1px solid #C9D1DC; border-radius: 0; background: #fff;
                                               transition: border-color .2s; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--encre); }
.champ.large { grid-column: 1 / -1; }
.champ .erreur, .erreurs { color: var(--rouge); font-size: .85rem; margin-top: 4px; }
.erreurs { background: #FDECEE; border-left: 4px solid var(--rouge); padding: 10px 12px; margin-bottom: 14px; }
.champ .aide { font-size: .8rem; color: var(--gris); margin-top: 4px; }
.piege { position: absolute; left: -9999px; }
.selection { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 6px; }
.selection li { display: flex; gap: 10px; align-items: center; background: var(--fond); border-left: 3px solid var(--rouge); padding: 9px 10px; font-size: .92rem;
                animation: apparaitre .35s var(--rapide); }
.selection li b { color: var(--rouge); font-size: .78rem; white-space: nowrap; } .selection li span { flex: 1; }
.selection button { border: 0; background: none; color: var(--gris); cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 2px 6px; }
.selection button:hover { color: var(--rouge); }
.etapes { counter-reset: e; list-style: none; padding: 0; margin: 0; }
.etapes li { counter-increment: e; position: relative; padding: 0 0 16px 44px; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; background: var(--encre); color: #fff;
                     font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* ── Bandeau d'appel (accueil) ── */
.bandeau { background: var(--rouge); color: #fff; padding: 40px clamp(20px, 5vw, 56px); display: flex; position: relative; overflow: hidden;
           gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.bandeau::before { content: ""; position: absolute; right: 18%; top: -50%; bottom: -50%; width: 140px; background: rgba(0,0,0,.14); transform: skewX(-14deg); }
.bandeau > * { position: relative; }
/* Version pleine largeur, coupée en biais, qui rejoint le pied de page (accueil) */
.bandeau-large { display: block; padding: 84px 0 64px; margin-bottom: -72px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
.bandeau-large .conteneur { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.bandeau-boutons { display: flex; gap: 10px; flex-wrap: wrap; }
.bandeau h2 { color: #fff; margin-bottom: 6px; } .bandeau p { margin: 0; color: #FFE0E3; }
.bandeau .btn-clair { box-shadow: none; } .bandeau .btn-clair:hover { color: #fff; }

/* ── Pied de page ── */
.pied { background: var(--encre); color: #A9B6C7; padding: 0 0 90px; margin-top: 72px; font-size: .92rem; }
.pied h3 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.pied a { color: #DCE4EE; text-decoration: none; transition: color .2s; } .pied a:hover { color: var(--rouge-clair); }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pied-appel { background: var(--rouge); color: #fff; padding: 34px 0; position: relative; overflow: hidden; }
.pied-appel::before { content: ""; position: absolute; right: 22%; top: -50%; bottom: -50%; width: 120px; background: rgba(0,0,0,.14); transform: skewX(-14deg); }
.pied-appel .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; }
.pied-appel h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.2rem, 2.8vw, 1.7rem); }
.pied-appel p { margin: 0; color: #FFE0E3; }
.pied-appel-boutons { display: flex; gap: 10px; flex-wrap: wrap; }
.pied-appel .btn-rouge { background: #fff; color: var(--rouge); } .pied-appel .btn-rouge:hover { color: #fff; }
.pied-colonnes { display: grid; grid-template-columns: 1.2fr 1.2fr 1.7fr .8fr; gap: 36px; padding-top: 48px; }
.pied-logo { display: inline-block; background: #fff; padding: 8px 10px; margin-bottom: 14px; }
.pied-logo img { height: 52px; width: auto; }
.pied-marque p { margin: 0 0 14px; }
.pied-badge { display: inline-block; border: 1px solid #2B4061; padding: 5px 12px; font-size: .72rem; font-weight: 800; letter-spacing: .1em;
              text-transform: uppercase; color: #DCE4EE; }
.pied-reseaux { display: flex; gap: 8px; margin-top: 4px; }
.pied-reseaux a { width: 40px; height: 40px; border: 1px solid #2B4061; display: inline-flex; align-items: center; justify-content: center;
                  transition: background .2s, border-color .2s; }
.pied-reseaux a:hover { background: var(--rouge); border-color: var(--rouge); }
.pied-reseaux svg { width: 18px; height: 18px; fill: #DCE4EE; }
.pied-contacts li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.pied-contacts svg { width: 18px; height: 18px; fill: var(--rouge-clair); margin-top: 2px; }
.pied-contacts small { color: #7F8DA0; }
.pied-liens-2col { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.pied-bas { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 18px;
            border-top: 1px solid #1E2F49; font-size: .8rem; color: #7F8DA0; }
.pied-bas a, .pied-bas .lien-cookies { color: #A9B6C7; }
@media (max-width: 960px) { .pied-colonnes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    .pied-colonnes { grid-template-columns: 1fr; gap: 28px; }
    .pied-appel-boutons, .pied-appel-boutons .btn { width: 100%; }
    .pied-appel-boutons .btn { flex: 1; }
}
.wa-flottant { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--vert-wa);
               display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px -6px rgba(0,0,0,.45);
               transition: transform .25s var(--rapide); }
.wa-flottant:hover { transform: scale(1.08) rotate(-6deg); }
.wa-flottant svg { width: 30px; height: 30px; fill: #fff; }

/* ── Espace client ── */
.espace-connexion { max-width: 540px; padding-top: 48px; padding-bottom: 24px; }
.espace-connexion .carte::before { content: ""; position: absolute; left: -1px; top: -1px; width: 80px; height: 4px; background: var(--rouge); }
.espace-connexion form { display: grid; gap: 10px; margin: 18px 0; }
.espace-connexion label { font-weight: 800; color: var(--gris); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.espace-connexion input { font: inherit; font-size: 1.35rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-align: center;
                          padding: 15px; border: 2px solid var(--encre); border-radius: 0; }
.espace-connexion input:focus { outline: 3px solid var(--rouge); outline-offset: 2px; }
.espace-connexion .erreur { color: var(--rouge); font-weight: 700; font-size: .92rem; }
.espace-entete { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.entete-page .espace-entete .btn-clair { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.entete-page .espace-entete .btn-clair::before { background: #fff; } .entete-page .espace-entete .btn-clair:hover { color: var(--encre); }
.espace { padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.espace h2 { margin-bottom: 14px; font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.espace-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--trait); background: #fff; }
.espace-chiffres .carte { padding: 18px 20px; border: 0; border-left: 1px solid var(--trait); }
.espace-chiffres .carte:first-child { border-left: 4px solid var(--rouge); }
.espace-chiffres span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.espace-chiffres b { font-size: 1.6rem; color: var(--encre); letter-spacing: -.02em; }
.espace .rouge { color: var(--rouge); }
.espace-commande { display: grid; gap: 12px; margin-bottom: 12px; }
.espace-commande-tete { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.espace-date { text-align: right; } .espace-date span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.espace-etapes { list-style: none; padding: 0; margin: 4px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.espace-etapes li { font-size: .74rem; font-weight: 700; color: var(--gris); text-align: center; display: grid; gap: 8px; justify-items: center;
                    text-transform: uppercase; letter-spacing: .04em; }
.espace-etapes li span { width: 100%; height: 6px; background: var(--trait); }
.espace-etapes li.fait { color: var(--encre); } .espace-etapes li.fait span { background: #1FAF54; }
.espace-etapes li.courant { color: var(--rouge); } .espace-etapes li.courant span { background: var(--rouge); animation: clignote 1.6s ease-in-out infinite; }
.espace-barre { height: 8px; background: var(--fond); overflow: hidden; }
.espace-barre div { height: 100%; background: var(--rouge); }
.espace-alerte { background: #FFF6E5; border-left: 4px solid #F0A93B; color: #7A4B00; padding: 9px 12px; font-size: .9rem; }
.lien-pdf { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }
.espace-table { padding: 0; overflow-x: auto; }
.espace-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.espace-table th { text-align: left; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gris);
                   padding: 13px 14px; border-bottom: 2px solid var(--encre); white-space: nowrap; }
.espace-table td { padding: 13px 14px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.espace-table tr:last-child td { border-bottom: 0; }
.espace-table tbody tr:hover { background: #FAFBFC; }
.espace-table .d { text-align: right; white-space: nowrap; }
.espace-table a { color: var(--rouge); font-weight: 700; }
.statut { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; white-space: nowrap; background: var(--fond); }
.statut-payee { background: #E3F6EA; color: #137A3A; }
.statut-partiellement_payee { background: #E6F0FA; color: var(--bleu); }
.statut-en_retard { background: #FDE8EA; color: var(--rouge); }
.espace-aide { margin-bottom: 8px; }
.espace-avis { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.espace-avis h2 { margin-bottom: 4px; }
@media (max-width: 640px) {
    .espace-chiffres { grid-template-columns: 1fr; }
    .espace-chiffres .carte { border-left: 4px solid transparent; border-top: 1px solid var(--trait); }
    .espace-chiffres .carte:first-child { border-left-color: var(--rouge); border-top: 0; }
    .espace-table thead { display: none; }
    .espace-table table, .espace-table tbody { display: block; }
    .espace-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--trait); }
    .espace-table tr:last-child { border-bottom: 0; }
    .espace-table td { padding: 0; border: 0; text-align: left; white-space: normal; }
    .espace-table .d { text-align: left; }
    .espace-table td:first-child, .espace-table td.pdf { grid-column: 1 / -1; }
    .espace-table td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 800; text-transform: uppercase;
        letter-spacing: .1em; color: var(--gris); }
    .espace-etapes { grid-template-columns: 1fr; text-align: left; }
    .espace-etapes li { grid-template-columns: 40px 1fr; justify-items: start; align-items: center; text-align: left; }
    .espace-date { text-align: left; }
}

/* ── Bandeau cookies, pages légales, messages ── */
.bandeau-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 780px; margin: 0 auto;
    background: var(--encre); color: #DCE4EE; border-left: 4px solid var(--rouge); box-shadow: 0 20px 50px -14px rgba(0,0,0,.6);
    padding: 18px 20px; display: flex; gap: 16px; align-items: center; animation: monter-bas .45s var(--rapide); }
.bandeau-cookies[hidden] { display: none; }
.bandeau-cookies p { margin: 0; font-size: .92rem; color: #DCE4EE; flex: 1; }
.bandeau-cookies a { color: #fff; }
.bandeau-cookies-boutons { display: flex; gap: 8px; flex-shrink: 0; }
.bandeau-cookies .btn { padding: 11px 16px; font-size: .78rem; }
.bandeau-cookies .btn-clair { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #5A6D88; }
.bandeau-cookies .btn-clair::before { background: #fff; } .bandeau-cookies .btn-clair:hover { color: var(--encre); }
body.avec-bandeau-cookies .wa-flottant { bottom: 120px; }
.lien-cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.texte-legal { max-width: 780px; padding-top: 40px; padding-bottom: 48px; }
.texte-legal h2 { font-size: 1.15rem; margin-top: 1.8em; }
@media (max-width: 640px) {
    .bandeau-cookies { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
    .bandeau-cookies-boutons .btn { flex: 1; }
    body.avec-bandeau-cookies .wa-flottant { bottom: 200px; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(140px); background: var(--encre); color: #fff;
         padding: 14px 18px; border-left: 4px solid var(--rouge); font-weight: 700; z-index: 40; transition: transform .35s var(--rapide);
         display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.6); }
.toast.visible { transform: translateX(-50%) translateY(0); }
.toast a { color: var(--rouge-clair); white-space: nowrap; font-weight: 800; }
.vide { text-align: center; padding: 56px 16px; color: var(--gris); }

/* ── Vidéo de présentation ── */
.bloc-video { background: var(--encre); color: #C3CDDA; position: relative; overflow: hidden; }
.bloc-video h2 { color: #fff; }
.bloc-video .liste-car li { color: #C3CDDA; }
.grille-video { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .grille-video { grid-template-columns: minmax(0, 1fr); gap: 24px; } .grille-video > div:last-child { order: -1; } }
.video-carte { position: relative; overflow: hidden; box-shadow: 18px 18px 0 var(--rouge); background: #0d1b2e; aspect-ratio: 16 / 9; cursor: pointer; }
.video-carte img, .video-carte video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-carte img { transition: transform .6s var(--rapide), filter .3s; }
.video-carte:hover img { transform: scale(1.04); filter: brightness(.9); }
.video-lecture { position: absolute; left: 22%; top: 55%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 0;
                 background: var(--rouge); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
                 box-shadow: 0 0 0 0 rgba(215,26,44,.55); animation: pulsation 2.2s infinite; }
.video-lecture svg { width: 36px; height: 36px; fill: #fff; margin-left: 4px; }
.video-lecture:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.video-duree { position: absolute; right: 0; bottom: 0; background: var(--rouge); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; }
.video-carte.lecture { cursor: default; }
.video-carte.lecture .video-lecture, .video-carte.lecture .video-duree { display: none; }
@media (max-width: 520px) { .video-lecture { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video-lecture svg { width: 28px; height: 28px; }
                            .video-carte { box-shadow: 10px 10px 0 var(--rouge); } }

/* ── Mouvement ── */
@keyframes defiler { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes monter { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes descendre { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes glisser { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes glisser-inverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes zoom-lent { from { transform: scale(1); } to { transform: scale(1.12) translateX(-2%); } }
@keyframes souligner { to { transform: scaleX(1); } }
@keyframes apparaitre { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes monter-bas { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes pulsation { 0% { box-shadow: 0 0 0 0 rgba(215,26,44,.55); } 70% { box-shadow: 0 0 0 24px rgba(215,26,44,0); } 100% { box-shadow: 0 0 0 0 rgba(215,26,44,0); } }
@keyframes clignote { 50% { opacity: .45; } }
@keyframes entree { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes entree-gauche { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.hero .etiquette { animation: entree-gauche .6s var(--rapide) both; }
.hero h1 { animation: entree .8s .05s var(--rapide) both; }
.hero p { animation: entree .8s .15s var(--rapide) both; }
.hero .recherche { animation: entree .8s .25s var(--rapide) both; }
.hero .actions { animation: entree .8s .32s var(--rapide) both; }
.hero .chiffres { animation: entree .8s .4s var(--rapide) both; }
.hero-colonnes { animation: entree 1s .2s var(--rapide) both; }

/* Apparition au défilement (seulement si JavaScript tourne : sinon tout reste visible) */
.apparait { transition: opacity .7s var(--rapide), transform .7s var(--rapide); transition-delay: calc(var(--i, 0) * 80ms); }
.js .apparait.attente:not(.visible) { opacity: 0; transform: translateY(34px); }
.js .apparait.depuis-gauche.attente:not(.visible) { transform: translateX(-46px); }
.js .apparait.depuis-droite.attente:not(.visible) { transform: translateX(46px); }

/* Barre de progression de lecture en haut de page */
.progression-lecture { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--rouge); z-index: 50;
                       transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Moins d'animations pour ceux qui l'ont demandé dans leur téléphone */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .apparait.attente { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ── Effets « boost » ── */
/* Texte géant qui glisse avec le défilement (deux lignes en sens opposés) */
.texte-geant { overflow: hidden; padding: 64px 0 52px; pointer-events: none; user-select: none; }
.texte-geant div { white-space: nowrap; font-size: clamp(3rem, 10.5vw, 9rem); font-weight: 800; text-transform: uppercase;
                   line-height: .98; letter-spacing: -.04em; will-change: transform; }
.texte-geant div:first-child { color: transparent; -webkit-text-stroke: 2px var(--encre); }
.texte-geant div:last-child { color: var(--rouge); margin-left: -70vw; }
.texte-geant span { margin-right: .35em; }
.texte-geant i { display: inline-block; width: .32em; height: .32em; background: currentColor; transform: rotate(45deg) translateY(-.25em); margin-right: .35em; }
.texte-geant div:first-child i { background: var(--rouge); }

/* Titres de blocs : les mots montent d'un masque */
.mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.mot > span { display: inline-block; transition: transform .8s var(--rapide); transition-delay: calc(var(--m, 0) * 55ms + 80ms); }
.js .apparait.attente:not(.visible) .mot > span { transform: translateY(110%); }

/* Photos des secteurs : dévoilées de bas en haut à l'arrivée */
.carte-section .vignette { clip-path: inset(0); transition: clip-path 1s var(--rapide); transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.js .carte-section.apparait.attente:not(.visible) .vignette { clip-path: inset(100% 0 0 0); }

/* Halo rouge qui suit la souris dans les sections sombres */
.bloc-sombre, .bloc-video { background: radial-gradient(520px circle at var(--mx, -50%) var(--my, -50%), rgba(215,26,44,.32), transparent 65%), var(--encre); }

/* Cartes inclinées en 3D sous la souris (ordinateur seulement, piloté par site.js) */
.incline { transition: transform .15s ease-out, box-shadow .3s, border-color .3s, background .3s !important; }

/* Indicateur « défiler » au bas de l'entrée */
.hero-defiler { position: absolute; z-index: 2; left: 50%; bottom: 64px; width: 26px; height: 42px; margin-left: -13px;
                border: 2px solid rgba(255,255,255,.5); }
.hero-defiler::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 9px; margin-left: -2px; background: var(--rouge-clair);
                       animation: defiler-bas 1.6s var(--rapide) infinite; }
@keyframes defiler-bas { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-width: 900px) { .hero-defiler { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .apparait.attente .mot > span, .js .carte-section.apparait.attente .vignette { transform: none; clip-path: none; } }

/* ── Catalogue : entête spectaculaire (filigrane géant, éventail de photos) ── */
.entete-spectacle { padding: 46px 0 40px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); }
.entete-page .fil, .entete-page h1, .entete-page > .conteneur p, .entete-page .recherche { animation: entree .7s var(--rapide) both; }
.entete-page h1 { animation-delay: .06s; } .entete-page .recherche { animation-delay: .16s; }
.entete-page .puces a { animation: entree .5s var(--rapide) both; }
.entete-page .puces a:nth-child(2) { animation-delay: .04s; } .entete-page .puces a:nth-child(3) { animation-delay: .08s; }
.entete-page .puces a:nth-child(4) { animation-delay: .12s; } .entete-page .puces a:nth-child(5) { animation-delay: .16s; }
.entete-page .puces a:nth-child(n+6) { animation-delay: .2s; }
.filigrane { position: absolute; left: -.03em; bottom: -.16em; font-size: clamp(5rem, 16vw, 14rem); font-weight: 800; text-transform: uppercase;
             line-height: 1; letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.09);
             pointer-events: none; user-select: none; animation: filigrane 1.4s var(--rapide) both; }
.filigrane-clair { -webkit-text-stroke-color: rgba(10,21,36,.07); top: 40px; bottom: auto; left: auto; right: -.04em; }
@keyframes filigrane { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
.entete-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: center; }
.eventail { position: relative; height: 270px; }
.eventail img { position: absolute; left: 50%; top: 6px; width: 160px; height: 210px; object-fit: contain; background: #fff; padding: 10px;
                box-shadow: 0 22px 40px -16px rgba(0,0,0,.8); transform-origin: 50% 110%;
                transition: rotate .5s var(--rapide), translate .5s var(--rapide); animation: eventail .9s var(--rapide) both; }
.eventail img:nth-child(1) { translate: -100% 14px; rotate: -11deg; animation-delay: .25s; }
.eventail img:nth-child(2) { translate: -50% 0; z-index: 2; animation-delay: .35s; }
.eventail img:nth-child(3) { translate: 0 14px; rotate: 11deg; animation-delay: .45s; }
.eventail:hover img:nth-child(1) { translate: -125% 18px; rotate: -18deg; }
.eventail:hover img:nth-child(2) { translate: -50% -14px; }
.eventail:hover img:nth-child(3) { translate: 25% 18px; rotate: 18deg; }
.eventail b { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); background: var(--rouge); color: #fff; white-space: nowrap;
              font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; animation: entree .6s .7s var(--rapide) both; }
.eventail b span { font-size: 1.1rem; }
@keyframes eventail { from { opacity: 0; transform: translateY(70px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .entete-grille { grid-template-columns: minmax(0, 1fr); } .eventail { display: none; } }

/* ── Fiche produit : filigrane de la référence, photo fixe, loupe, transition des photos ── */
.fiche-zone { position: relative; overflow: hidden; }
@supports (overflow: clip) { .fiche-zone { overflow: clip; } } /* « clip » garde la photo fixe (sticky) */
.fiche-zone > .conteneur { position: relative; }
@media (min-width: 861px) { .galerie { position: sticky; top: 84px; align-self: start; } }
.galerie .principale img { animation: devoile .6s var(--rapide); transition: transform .35s var(--rapide); }
.galerie .principale.loupe img { transform: scale(2); cursor: zoom-in; }
@keyframes devoile { from { clip-path: inset(0 100% 0 0); transform: translateX(-20px); } to { clip-path: inset(0); transform: none; } }
.infos > * { animation: entree .7s var(--rapide) both; }
.infos > :nth-child(2) { animation-delay: .05s; } .infos > :nth-child(3) { animation-delay: .1s; } .infos > :nth-child(4) { animation-delay: .15s; }
.infos > :nth-child(n+5) { animation-delay: .2s; }
.galerie { animation: entree-gauche .8s var(--rapide) both; }
.points div { transition: background .2s, padding-left .25s var(--rapide); }
.points div:hover { background: #F4F6F9; padding-left: 22px; }
.actions-fiche .btn-grand::after { content: "→"; transition: transform .3s var(--rapide); }
.actions-fiche .btn-grand:hover::after { transform: translateX(6px); }

/* Barre « Devis » en bas de l'écran sur téléphone */
.barre-devis { position: fixed; left: 0; right: 0; bottom: 0; z-index: 29; background: var(--encre); color: #fff; display: flex; align-items: center;
               gap: 12px; padding: 10px 16px; border-top: 3px solid var(--rouge); transform: translateY(110%);
               transition: transform .35s var(--rapide); }
.barre-devis.visible { transform: none; }
body.avec-barre-devis .wa-flottant { bottom: 84px; transition: bottom .35s var(--rapide), transform .25s var(--rapide); }
.barre-devis[hidden] { display: none; }
.barre-devis div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.barre-devis b { color: var(--rouge-clair); font-size: .74rem; letter-spacing: .1em; }
.barre-devis span { font-size: .86rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-devis .btn { padding: 12px 18px; }
.barre-devis .btn::before { background: #fff; } .barre-devis .btn:hover { color: var(--rouge); }
@media (min-width: 861px) { .barre-devis { display: none; } }

/* ── Recrutement ── */
.recrutement-chiffres { margin-top: 22px; }
.liste-offres { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.carte-offre { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--trait);
               padding: 22px 22px 18px; text-decoration: none; color: inherit; transition: transform .3s var(--rapide), box-shadow .3s, border-color .3s; }
.carte-offre::before { content: attr(data-num); position: absolute; right: 14px; top: 4px; font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em;
                       color: transparent; -webkit-text-stroke: 1.5px #E2E6EC; transition: -webkit-text-stroke-color .3s; }
.carte-offre::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--rouge);
                      transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--rapide); }
.carte-offre:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); border-color: transparent; }
.carte-offre:hover::after { transform: scaleY(1); } .carte-offre:hover::before { -webkit-text-stroke-color: var(--rouge); }
.carte-offre h3 { font-size: 1.25rem; text-transform: uppercase; margin: 0; padding-right: 70px; }
.carte-offre p { margin: 0; color: #3A4553; flex: 1; }
.offre-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 70px; }
.offre-etiquettes span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; background: var(--fond); color: var(--gris); }
.offre-etiquettes .offre-contrat { background: var(--rouge); color: #fff; }
.offre-etiquettes-sombre { margin-bottom: 14px; padding-right: 0; animation: entree .6s var(--rapide) both; }
.offre-etiquettes-sombre span { background: rgba(255,255,255,.1); color: #DCE4EE; }
.offre-pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--trait); padding-top: 12px; }
.offre-lien { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }
.offre-lien span { display: inline-block; transition: transform .3s var(--rapide); } .carte-offre:hover .offre-lien span { transform: translateX(6px); }
.colonne-offre { display: grid; gap: 24px; min-width: 0; }
.fiche-poste h2, .colonne-offre form h2 { font-size: 1.1rem; margin-top: 6px; }
.fiche-poste h2 + .liste-car { margin-bottom: 22px; }
.colonne-offre input[type=file] { padding: 10px; background: var(--fond); }
.autres-offres { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.autres-offres a { display: grid; gap: 2px; padding: 10px 12px; background: var(--fond); border-left: 3px solid var(--rouge); text-decoration: none; color: var(--encre);
                   transition: background .2s, padding-left .25s var(--rapide); }
.autres-offres a:hover { background: #E8ECF1; padding-left: 18px; }
.autres-offres span { font-size: .8rem; color: var(--gris); }
@media (max-width: 1100px) { .nav a.lien-texte { padding: 10px 8px; font-size: .76rem; } }
