@charset "utf-8";
/* =====================================================
   DANIEL KUC — PAGE DE PRÉSENTATION (maquette v2)
   Inspirée de victoria-miro.com : en-tête transparent sur une
   bannière pleine largeur, légende sur bandeau clair en bas.
   Polices libres (SIL Open Font License), hébergées ici :
   - D-DIN (Datto) pour le menu et les textes ;
   - Baskervville (ANRT) pour les titres.
   ===================================================== */
@font-face { font-family: "D-DIN"; src: url("../fonts/D-DIN-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "D-DIN"; src: url("../fonts/D-DIN-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "D-DIN"; src: url("../fonts/D-DIN-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Baskervville"; src: url("../fonts/Baskervville-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Baskervville"; src: url("../fonts/Baskervville-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Baskervville"; src: url("../fonts/Baskervville-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --fond: #fffdf1;
  --titre: rgb(73, 73, 73);      /* titres (Victoria Miro : #494949) */
  --texte: rgb(117, 117, 117);   /* textes et menu (#757575) */
  --din: "D-DIN", "Helvetica Neue", Arial, sans-serif;
  --serif: "Baskervville", "Baskerville", Georgia, serif;
  --marge: 62px;                 /* marge latérale des contenus */
  --tete-h: 157px;               /* hauteur de l'en-tête sur la bannière */
  --courbe-tete: cubic-bezier(.65, .06, .19, .96);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--din); font-size: 14.83px; line-height: 24.77px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---------- soulignement Victoria Miro : un filet de 1 px qui se déroule ---------- */
.tete-liens a {
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size .4s cubic-bezier(0, 0, .58, 1), color .3s ease;
}
.tete-liens a:hover, .tete-liens a:focus-visible {
  background-position: left bottom; background-size: 100% 1px;
}

/* ================= EN-TÊTE ================= */
/* fondu enchaîné vers une section : un voile crème passe sur tout l'écran */
.fondu { position: fixed; inset: 0; z-index: 60; background: var(--fond); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .38s ease, visibility 0s linear .38s; }
.fondu.actif { opacity: 1; visibility: visible; transition: opacity .38s ease, visibility 0s; }
.tete { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: transform .6s var(--courbe-tete), background-color .2s linear, box-shadow .5s linear, color .2s linear; }
.tete-cadre { display: flex; align-items: center; height: var(--tete-h); padding: 0 var(--marge); transition: height .4s var(--courbe-tete); }
.marque { font-family: var(--din); font-size: 24px; line-height: 1; letter-spacing: .04em; white-space: nowrap; }
/* « Parlons-en » rejoint les autres liens : un seul groupe centré, même écart partout */
.tete-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: 34px; }
.tete-liens { display: flex; gap: 34px; margin: 0; }
.tete-liens a { font-size: 16.5px; line-height: 26px; white-space: nowrap; }
.tete-droite { margin: 0; }
.tete-burger, .tete-voile { display: none; }
/* au-dessus de la bannière : léger voile pour garder le menu lisible sur les captures claires */
.banniere::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 220px; z-index: 3; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, 0)); }

/* ---------- légendes de la bannière, d'après xippas.com ----------
   Sous chaque diapo, un trait blanc de 1 px ; celui de la diapo active se remplit en 6 s (barre de progression).
   Au-dessus du trait actif, une carte crème translucide (flou d'arrière-plan) monte depuis le bas ;
   l'ancienne redescend en même temps. Courbe et durée de xippas : 1 s, cubic-bezier(.76, 0, .24, 1). */
.banniere::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 2; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .28)); }
/* les légendes ne sont pas dans la bannière mais dans la page, juste après elle (comme xippas.com) :
   remontées de leur hauteur pour se poser sur le bas de l'image, elles remontent avec la page en défilant
   et passent par-dessus la bannière fixe. */
.legendes-flux { position: relative; z-index: 1; margin-top: -203px; padding: 0 var(--marge) 6px; pointer-events: none; }
.legendes { position: relative; }
.legendes-traits { pointer-events: auto; }
.legendes-cartes { position: relative; height: 175px; overflow: hidden; pointer-events: none; }
.legende-carte { position: absolute; bottom: 0; width: 400px; height: 175px; padding: 21px 30px 0; border-radius: 5px 5px 0 0; background: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(7px) saturate(1.2) brightness(1.15); backdrop-filter: blur(7px) saturate(1.2) brightness(1.15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); color: #262626; transform: translateY(101%); transition: transform 1s cubic-bezier(.76, 0, .24, 1); pointer-events: auto; }
.legende-carte.actif { transform: translateY(0); }
.legende-carte a { display: block; }
.legende-nom { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 29px; color: #1f1f1f; }
.legende-lieu { display: block; margin-top: 3px; font-size: 15.5px; line-height: 22px; color: #262626; }
.legende-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
/* catégorie : fond noir, texte blanc ; état : vert-gris plein, fond clair au survol */
.legende-tag { padding: 4px 12px 5px; border: 1px solid #1f1f1f; background: #1f1f1f; color: #fff; font-size: 13px; line-height: 18px; white-space: nowrap; }
.legende-tag.etat { border-color: #799a9e; background: #799a9e; color: #fff; transition: .3s all ease-in-out; }
.legende-carte a:hover .legende-tag.etat, .legende-carte a:focus-visible .legende-tag.etat { background: var(--fond); color: #799a9e; }
.legende-carte a:hover .legende-nom, .legende-carte a:focus-visible .legende-nom { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legendes-traits { display: flex; gap: 6px; }
.legende-trait { position: relative; flex: 1; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
/* le trait est en haut du bouton : la carte s'y pose directement, la zone cliquable descend dessous */
.legende-trait::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .7); transition: height .25s ease; }
.legende-trait:hover::before, .legende-trait:focus-visible::before { height: 5px; }
.legende-trait i { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left center; }
.legende-trait.vu i { transform: scaleX(1); }
.legende-trait.actif i { animation: legende-progres var(--duree, 6s) linear forwards; }
@keyframes legende-progres { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.legende-progres { display: none; }
/* après la bannière : l'en-tête se cache en descendant, revient en remontant, sur fond clair */
.tete.defile { background: var(--fond); color: var(--texte); box-shadow: 0 0 8px rgba(0, 0, 0, .1); }
.tete.defile .tete-cadre { height: 96px; }
.tete.defile .marque { color: var(--titre); }
.tete.cache { transform: translate3d(0, -150%, 0); }

/* ================= 1. BANNIÈRE =================
   Comme victoria-miro.com : pleine largeur, hauteur = 40 % de la largeur (format 5:2),
   aucun titre. La capture (1440 × 900) est calée en bas : le haut du site capturé
   (son menu et ses titres) est rogné. */
/* la bannière reste fixe : la section suivante remonte et vient la recouvrir */
.banniere { position: sticky; top: 0; z-index: 0; background: #222; }
main > section:not(.banniere) { position: relative; z-index: 1; background: var(--fond); }
.banniere-diapos { list-style: none; margin: 0; padding: 0; display: grid; }
.diapo { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.diapo.actif { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; z-index: 1; }
.diapo-image { position: relative; display: block; aspect-ratio: 5 / 2; overflow: hidden; }
.diapo-image img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transform: scale(1.04); transform-origin: center bottom; transition: transform 7s linear; }
.diapo.actif .diapo-image img { transform: scale(1); }

/* ================= 2. INTRODUCTION (bandeau sous la bannière) =================
   Mêmes marges que le bandeau de légende de victoria-miro.com (35 px / 62 px). */
.intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 35px var(--marge) 90px; }
.intro h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 36.65px; line-height: 42.69px; color: var(--titre); }
.intro h1 i { font-style: italic; }
.intro .intro-accroche { margin: 18px 0 16px; font-family: var(--serif); font-size: 26.45px; line-height: 34px; color: var(--titre); }
.intro-accroche .fleche { display: inline-block; width: 26px; height: 13px; margin: 0 4px; vertical-align: 2px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.intro p { margin: 0; max-width: 620px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* flèches du carrousel : comme victoria-miro.com (chevrons fins de 14 × 27 px, gris-vert #799A9E, 54 px d'axe à axe) */
.banniere-commandes { display: flex; gap: 22px; flex-shrink: 0; padding-top: 4px; }
.banniere-btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: #799a9e; cursor: pointer; transition: color .3s ease, transform .3s ease; }
.banniere-btn svg { width: 14px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1; }
.banniere-btn:hover, .banniere-btn:focus-visible { color: var(--titre); }

/* ================= 3. LES RÉALISATIONS : en-tête comme « What's Happening » (victoria-miro.com) =================
   Titre Baskervville 29 px gris, filet de 1 px #E9E9E9 qui se déroule jusqu'au bouton,
   bouton « Catégories » bordé de #799A9E, menu déroulant sous le bouton. */
.realisations { min-height: 70vh; padding: 0 var(--marge) 90px; }
.panneau-tete { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 49px; }
.panneau-titre { display: flex; flex: 1; align-items: center; gap: 34.66px; min-height: 46px; margin: 0; font-family: var(--serif); font-weight: 400; font-size: 29.15px; line-height: 1; color: var(--texte); white-space: nowrap; }
.panneau-titre::after { content: ""; flex: 1; height: 1px; background: #e9e9e9; transform: scaleX(0); transform-origin: left center; transition: transform 1.1s ease-in-out; }
.panneau-tete.visible .panneau-titre::after { transform: scaleX(1); }
.filtre { position: relative; flex-shrink: 0; }
.filtre-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 29.66px; min-width: 184px; padding: 10px 34.66px; border: 1px solid #799a9e; background: transparent; color: #799a9e; font-family: var(--din); font-size: 15.83px; line-height: 23.75px; cursor: pointer; transition: .3s all ease-in-out; }
.filtre-bouton::after { content: ""; width: 10px; height: 10px; margin-top: -5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(135deg); transition: transform .3s ease-in-out; }
.filtre-bouton:hover, .filtre-bouton:focus-visible, .filtre-bouton[aria-expanded="true"] { background: #799a9e; color: #fff; }
.filtre-bouton:hover::after, .filtre-bouton:focus-visible::after { transform: translate(-30%, 5px) rotate(-45deg); }
.filtre-bouton[aria-expanded="true"]::after { transform: translateY(5px) rotate(-45deg); }
.filtre-liste { position: absolute; top: 44px; left: 0; right: 0; z-index: 10; margin: 0; padding: 10px 0; list-style: none; background: var(--fond); border: 1px solid #799a9e; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height .4s, opacity .4s, visibility 0s linear .4s; }
.filtre-liste.ouvert { max-height: 600px; opacity: 1; visibility: visible; transition: max-height .4s, opacity .4s, visibility 0s; }
.filtre-liste a { display: block; padding: 2px 10px; color: #799a9e; white-space: nowrap; transition: color .3s ease; }
.filtre-liste a:hover, .filtre-liste a:focus-visible { color: #a1b5b5; }

/* ---------- le bandeau : carrousel horizontal pleine largeur ----------
   Il ne bloque jamais le défilement vertical : la molette verticale fait défiler la page,
   le défilement horizontal (flèches, pavé tactile, doigt) fait défiler les réalisations. */
.bandeau { margin: 0 calc(-1 * var(--marge)); background: #efebd8; border-top: 1px solid #e2ddc8; border-bottom: 1px solid #e2ddc8; }
.piste { cursor: grab; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; outline: none; }
.piste::-webkit-scrollbar { display: none; }
.chapitre { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 60px; padding: 70px var(--marge) 60px; }
.chapitre-num { margin: 0 0 14px; font-size: 14.83px; line-height: 24.77px; color: #799a9e; }
.chapitre-num span { color: var(--titre); }
.chapitre h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 36.65px; line-height: 42.69px; color: var(--titre); }
.chapitre-lieu { margin: 6px 0 22px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 28px; color: var(--texte); }
.chapitre-resume { margin: 0 0 20px; max-width: 480px; }
.chapitre-faits { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; max-width: 480px; color: #799a9e; font-size: 14px; }
.chapitre-faits li:not(:last-child)::after { content: "·"; margin: 0 10px; }
.chapitre-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* boutons : même dessin que « Catégories » */
.bouton-vm { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 26px; border: 1px solid #799a9e; background: transparent; color: #799a9e; font-family: var(--din); font-size: 15.83px; line-height: 23.75px; white-space: nowrap; cursor: pointer; transition: .3s all ease-in-out; }
.bouton-vm:hover, .bouton-vm:focus-visible, .bouton-vm[aria-pressed="true"] { background: #799a9e; color: #fff; }
.bouton-vm svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; }
/* couleurs des boutons des réalisations et du formulaire (toutes tailles d'écran) :
   « Naviguer en direct » noir, « Ouvrir le site » et « Envoyer le message » vert-gris ;
   au survol, fond blanc, texte et bordure sombres */
.bouton-pastille.noir { border-color: #1f1f1f; background: #1f1f1f; color: #fff; }
.bouton-pastille.vert, .contact-envoyer { border-color: #799a9e; background: #799a9e; color: #fff; }
.bouton-pastille:hover, .bouton-pastille:focus-visible, .bouton-pastille[aria-pressed="true"],
.contact-envoyer:hover, .contact-envoyer:focus-visible { border-color: #1f1f1f; background: #fff; color: #1f1f1f; }
/* les écrans dessinés */
.chapitre-scene { position: relative; padding-right: 9%; }
.appareil { position: relative; }
.vitre { position: relative; overflow: hidden; background: #ddd; }
.vitre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.vitre iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; pointer-events: none; }
.chapitre.en-direct .vitre iframe { pointer-events: auto; }
.vitre .chargement { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.vitre.charge .chargement { opacity: 1; }
.laptop { width: 100%; }
.laptop-ecran { padding: 2.2% 2.2% 3%; background: #26262a; border-radius: 14px 14px 5px 5px; box-shadow: 0 0 0 1px #46464c inset, 0 40px 70px -40px rgba(40, 40, 36, .5); }
.laptop .vitre { aspect-ratio: 16 / 10; border-radius: 2px; }
.laptop-socle { position: relative; height: 0; padding-bottom: 3%; width: 114%; margin-left: -7%; background: linear-gradient(#e6e6e2, #b6b5af); border-radius: 2px 2px 12px 12px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .35); }
.laptop-socle::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 40%; transform: translateX(-50%); background: #cbcac4; border-radius: 0 0 8px 8px; }
.phone { position: absolute; width: 22%; right: 0; bottom: -6%; }
.phone-cadre { position: relative; padding: 6.5%; background: #26262a; border-radius: 15% / 7.2%; box-shadow: 0 0 0 1.5px #4a4a50 inset, 0 40px 60px -30px rgba(40, 40, 36, .55); }
.phone-cadre::before { content: ""; position: absolute; top: 3%; left: 50%; z-index: 3; width: 28%; height: 2.2%; transform: translateX(-50%); background: #111; border-radius: 999px; }
.phone .vitre { aspect-ratio: 390 / 845; border-radius: 10% / 4.6%; }
/* pied du bandeau : avancement, compteur, flèches (comme la bannière) */
.piste.glisse { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.piste.glisse .chapitre { pointer-events: none; }
.bandeau-pied { display: flex; align-items: center; gap: 30px; padding: 46px calc(var(--marge) + 50px) 40px; }   /* resserré : la flèche de remontée garde sa place à droite */
/* avancement : 8 segments, celui de la réalisation affichée et les précédents en gris-vert */
.bandeau-progres { flex: 1; display: flex; gap: 6px; }
.bandeau-progres button { flex: 1; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.bandeau-progres button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 3px; background: #d6d1bb; transition: background-color .4s ease, height .2s ease, top .2s ease; }
.bandeau-progres button.fait::before { background: #1f1f1f; }
.bandeau-progres button:hover::before, .bandeau-progres button:focus-visible::before { top: 5px; height: 5px; }
.bandeau-compte { margin: 0; font-size: 14.83px; color: var(--texte); font-variant-numeric: tabular-nums; }
.bandeau-compte span { color: var(--titre); }
.bandeau-commandes { display: flex; gap: 22px; }
.bandeau-btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: #799a9e; cursor: pointer; transition: color .3s ease, opacity .3s ease; }
.bandeau-btn svg { width: 14px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bandeau-btn:hover, .bandeau-btn:focus-visible { color: #5b7a7e; }
.bandeau-btn:disabled { color: #d6d1bb; cursor: default; }

/* ================= 4. LA DÉMARCHE : le parcours animé =================
   Icônes dans des carrés bordés comme les boutons (#799A9E), qui se remplissent à l'arrivée. */
.demarche { padding: 0 var(--marge) 120px; }
.demarche .panneau-tete { margin-bottom: 26px; }
.demarche-chapo { margin: 0 0 70px; max-width: 640px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 30px; color: var(--titre); }
.parcours { position: relative; }
.parcours-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trace-fond { fill: none; stroke: #d6d1bb; stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.trace { fill: none; stroke: #799a9e; stroke-width: 2; stroke-linecap: round; }
.voyageur { fill: #799a9e; opacity: 0; }
.voyageur.actif { opacity: 1; }
.parcours-etapes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.etape { display: flex; flex-direction: column; align-items: center; text-align: center; }
.etape-icone { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 14px; background: var(--fond); border-radius: 50%; color: #c4bfab; transition: color .6s ease, transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.etape-icone svg { width: 62px; height: 62px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.etape.allume .etape-icone { color: #799a9e; transform: scale(1.1); }
.etape-num { font-size: 13px; letter-spacing: .08em; color: #799a9e; }
.etape h3 { margin: 4px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 26px; color: #b9b5a6; transition: color .5s ease; }
.etape.allume h3 { color: var(--titre); }
.etape-texte { margin: 0; min-height: 50px; max-width: 200px; font-size: 14.83px; line-height: 24.77px; color: var(--texte); }
.etape-tape .reste { visibility: hidden; }
.etape-tape .curseur { position: relative; }
.etape-tape.ecrit .curseur::after { content: ""; position: absolute; left: 1px; top: 0; display: block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #799a9e; animation: curseur .7s steps(1) infinite; }
@keyframes curseur { 50% { opacity: 0; } }
/* petites animations des icônes allumées */
.etape.allume .vapeur { animation: vapeur 2.4s ease-in-out infinite; }
@keyframes vapeur { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-1.5px); opacity: .55; } }
.etape.allume .bravo { animation: bravo 1.2s ease-in-out infinite; transform-origin: 14.5px 6px; }
@keyframes bravo { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.25); } }
.etape.allume .flamme { animation: flamme .5s ease-in-out infinite alternate; transform-origin: 12px 18.6px; }
@keyframes flamme { to { transform: scaleY(1.35); } }
.demarche-rejouer { margin: 50px 0 0; text-align: center; }
.rejouer { padding: 8px 20px; font-size: 14.83px; }

/* ================= TABLETTE ET TÉLÉPHONE (moins de 1024 px) =================
   En-tête de web.kuc.fr : fond crème légèrement transparent, nom en 20 px, burger, panneau sombre. */

/* ================= 5. UN SITE, TOUS LES ÉCRANS : section sombre =================
   Valeurs inversées pour rythmer la page : ardoise vert-de-gris (le #799A9E assombri),
   textes crème. Retirer la classe « sombre » dans le HTML pour revenir au fond clair. */
.ecrans { --e-fond: var(--fond); --e-titre: var(--titre); --e-texte: var(--texte); --e-accent: #799a9e; --e-ligne: #e9e9e9; --e-trait: #d6d1bb; }
.ecrans.sombre { --e-fond: #263335; --e-titre: #fffdf1; --e-texte: rgba(255, 253, 241, .66); --e-accent: #a9c4c7; --e-ligne: rgba(255, 253, 241, .16); --e-trait: rgba(255, 253, 241, .2); }
main > section.ecrans { background: var(--e-fond); color: var(--e-texte); }
.ecrans-collant { padding: 90px var(--marge) 90px; overflow: hidden; }
.ecrans .panneau-tete { margin-bottom: 30px; }
.ecrans .panneau-titre { color: var(--e-titre); }
.ecrans .panneau-titre::after { background: var(--e-ligne); }
.ecrans-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(30px, 4vw, 70px); }
.ecrans-accroche { margin: 0; max-width: 430px; font-family: var(--serif); font-size: 30px; line-height: 38px; color: var(--e-titre); }
.ecrans-accroche i { color: var(--e-accent); }
.ecrans-chapo { max-width: 430px; margin: 22px 0 30px; }
.ecrans-etapes { list-style: none; margin: 0 0 34px; padding: 0; max-width: 330px; }
.ecrans-etapes li { border-left: 1px solid var(--e-trait); transition: color .4s ease, border-color .4s ease; }
.ecrans-etapes button { display: flex; justify-content: space-between; width: 100%; padding: 9px 0 9px 16px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: color .3s ease; }
.ecrans-etapes button:hover { color: var(--e-titre); }
.ecrans-etapes li.actif { color: var(--e-titre); border-left-color: var(--e-accent); }
.ecrans-etapes li span:last-child { font-variant-numeric: tabular-nums; }
.ecrans-etapes li.actif span:last-child { color: var(--e-accent); }
.ecrans-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 400px; }   /* 2 × 2, mêmes largeurs : boutons alignés */
.ecrans-choix button { padding: 6px 12px; text-align: center; white-space: nowrap; border: 1px solid var(--e-accent); background: transparent; color: var(--e-accent); font-family: var(--din); font-size: 14.83px; line-height: 22px; cursor: pointer; transition: .3s all ease-in-out; }
.ecrans-choix button:hover, .ecrans-choix button:focus-visible, .ecrans-choix button[aria-pressed="true"] { background: var(--e-accent); color: var(--e-fond); }
.ecrans-scene { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: min(72vh, 680px); min-height: 420px; }
.ecrans-appareil { position: relative; padding: 14px; background: #141a1b; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 50px 80px -40px rgba(0, 0, 0, .55); }
.ecrans-vitre { position: relative; overflow: hidden; border-radius: 6px; background: #fff; }
.ecrans-vitre iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.ecrans-camera { position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2c3436; }
.ecrans-socle { height: 14px; background: linear-gradient(#e6e4da, #a9a79e); border-radius: 2px 2px 14px 14px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5); }
/* la jauge : on fait glisser pour resserrer ou élargir l'écran */
.ecrans-jauge { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(100%, 420px); margin-top: 22px; }
.jauge { display: flex; align-items: center; gap: 14px; width: 100%; color: var(--e-accent); cursor: pointer; }
.jauge-ico { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.jauge input { --p: 100%; flex: 1; height: 24px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.jauge input:focus-visible { outline: 1px solid var(--e-accent); outline-offset: 6px; }
.jauge input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(var(--e-accent), var(--e-accent)) 0 0 / var(--p) 100% no-repeat, var(--e-trait); }
.jauge input::-moz-range-track { height: 1px; background: var(--e-trait); }
.jauge input::-moz-range-progress { height: 1px; background: var(--e-accent); }
.jauge input::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -7px; border: 1px solid var(--e-accent); border-radius: 50%; background: var(--e-fond); box-shadow: 0 0 0 4px var(--e-fond); transition: background-color .2s ease, transform .2s ease; }
.jauge input::-moz-range-thumb { width: 13px; height: 13px; border: 1px solid var(--e-accent); border-radius: 50%; background: var(--e-fond); transition: background-color .2s ease; }
.jauge input:hover::-webkit-slider-thumb, .jauge input:active::-webkit-slider-thumb { background: var(--e-accent); transform: scale(1.15); }
.jauge input:hover::-moz-range-thumb, .jauge input:active::-moz-range-thumb { background: var(--e-accent); }
.ecrans-largeur { margin: 0; font-size: 14.83px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ecrans-largeur span { font-family: var(--serif); font-size: 32px; letter-spacing: 0; color: var(--e-titre); }


/* ================= 6. LES POSSIBLES : fond clair, grille de 12 savoir-faire =================
   Filets de 1 px #E9E9E9 comme les séparations de victoria-miro.com, icônes au trait #799A9E. */
.possibles { padding: 90px var(--marge) 120px; }
.possibles .panneau-tete { margin-bottom: 30px; }
.possibles-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(30px, 4vw, 70px); align-items: end; margin-bottom: 56px; }
.possibles-accroche { margin: 0; max-width: 460px; font-family: var(--serif); font-size: 30px; line-height: 38px; color: var(--titre); }
.possibles-accroche i { color: #799a9e; }
.possibles-chapo { margin: 0; max-width: 520px; }
.possibles-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* chaque carte comme le bouton « Catégories » : filet #799A9E, fond transparent, rempli au survol */
.possibles-grille li { padding: 32px 28px 30px; border: 1px solid #799a9e; background: transparent; transition: .3s all ease-in-out; }
@media (hover: hover) { .possibles-grille li:hover { background: #799a9e; color: #fff; } .possibles-grille li:hover h3 { color: #fff; } .possibles-grille li:hover svg { stroke: #fff; transform: translateY(-3px) scale(1.06); } }
.possibles-grille svg { display: block; width: 34px; height: 34px; margin-bottom: 22px; fill: none; stroke: #799a9e; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease-in-out, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.possibles-grille h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 26px; color: var(--titre); transition: color .3s ease-in-out; }
.possibles-grille p { margin: 0; }
/* entrée en douceur, case après case */
.js .possibles-grille li { opacity: 0; translate: 0 18px; }
.js .possibles-grille li.vu { opacity: 1; translate: 0 0; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), background-color .3s ease-in-out, color .3s ease-in-out; }


/* ================= 7. PARLONS-EN : fond sable du bandeau des réalisations =================
   Champs dans l'esprit de yannsaintigny.fr (cadre fin, fond crème, étiquette au-dessus),
   aux couleurs du site : filet #799A9E, bouton comme « Catégories ». */
main > section.contact { padding: 90px var(--marge) 110px; background: #efebd8; border-top: 1px solid #e2ddc8; }
.contact .panneau-titre::after { background: #d6d1bb; }
.contact .panneau-tete { margin-bottom: 30px; }
.contact-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(30px, 5vw, 90px); align-items: start; }
.contact-accroche { margin: 0; max-width: 440px; font-family: var(--serif); font-size: 30px; line-height: 38px; color: var(--titre); }
.contact-accroche i { color: #799a9e; }
.contact-chapo { max-width: 430px; margin: 22px 0 34px; }
/* coordonnées : icône au trait, filet qui se déroule de gauche à droite */
.contact-coord { list-style: none; margin: 0; padding: 0; max-width: 430px; }
.contact-coord li { position: relative; display: flex; align-items: center; gap: 16px; padding: 15px 0; color: var(--titre); }
.contact-coord li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #799a9e; opacity: .55; transform: scaleX(0); transform-origin: left center; transition: transform 1.1s ease-in-out; }
.contact-coord li:nth-child(2)::after { transition-delay: .2s; }
.contact-coord li:nth-child(3)::after { transition-delay: .4s; }
.contact-coord li:nth-child(4)::after { transition-delay: .6s; }
.contact-coord li:nth-child(5)::after { transition-delay: .8s; }
.contact.visible .contact-coord li::after { transform: scaleX(1); }
.contact-coord svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: #799a9e; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-coord a { transition: color .3s ease; }
.contact-coord a:hover, .contact-coord a:focus-visible { color: #799a9e; }
/* le formulaire */
.contact-form { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 22px; }
.contact-form .large { grid-column: 1 / -1; }
.champ label { display: block; margin-bottom: 7px; font-size: 14.83px; color: var(--titre); }
.champ label b { font-weight: 400; color: #799a9e; }
.champ label em { font-style: normal; color: var(--texte); opacity: .8; }
.champ input, .champ select, .champ textarea { display: block; width: 100%; height: 50px; padding: 0 15px; border: 1px solid rgba(121, 154, 158, .5); border-radius: 0; background: var(--fond); color: var(--titre); font-family: var(--din); font-size: 16px; transition: border-color .3s ease, box-shadow .3s ease; -webkit-appearance: none; appearance: none; }
.champ textarea { height: auto; min-height: 150px; padding: 13px 15px; line-height: 24px; resize: vertical; }
.champ ::placeholder { color: #b9b5a6; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: #799a9e; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: #799a9e; box-shadow: 0 0 0 3px rgba(121, 154, 158, .18); }
.champ.erreur input, .champ.erreur textarea { border-color: #b4664f; }
.champ-err { margin: 5px 0 0; min-height: 0; font-size: 13px; line-height: 18px; color: #b4664f; }
.champ-err:empty { display: none; }
.choix { position: relative; }
.choix::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1px solid #799a9e; border-bottom: 1px solid #799a9e; transform: rotate(45deg); pointer-events: none; }
.champ select { padding-right: 44px; cursor: pointer; }
/* fichiers joints : zone de dépôt en pointillés, liste des fichiers choisis */
.champ-etiquette { display: block; margin-bottom: 7px; font-size: 14.83px; color: var(--titre); }
.champ-etiquette em { font-style: normal; color: var(--texte); opacity: .8; }
.champ .depot { margin: 0; position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px dashed #799a9e; background: var(--fond); color: var(--texte); cursor: pointer; transition: background-color .3s ease, border-color .3s ease; }
.depot svg { flex-shrink: 0; width: 30px; height: 30px; fill: none; stroke: #799a9e; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.depot strong { font-weight: 400; color: #5b7a7e; text-decoration: underline; text-underline-offset: 3px; }
.depot small { font-size: 13px; }
.depot:hover, .depot.survol { background: #fff; border-style: solid; }
.depot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.depot:focus-within { outline: 1px solid #799a9e; outline-offset: 3px; }
.depot-liste { list-style: none; margin: 8px 0 0; padding: 0; }
.depot-liste:empty { display: none; }
.depot-liste li { display: flex; align-items: center; gap: 12px; padding: 8px 4px 8px 12px; border-bottom: 1px solid #e2ddc8; color: var(--titre); font-size: 14.5px; }
.depot-liste .nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.depot-liste .poids { color: var(--texte); font-size: 13px; white-space: nowrap; }
.depot-liste button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--texte); cursor: pointer; transition: color .2s ease; }
.depot-liste button:hover, .depot-liste button:focus-visible { color: #b4664f; }
.depot-liste button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.depot-total { margin: 6px 0 0; font-size: 13px; text-align: right; }
.depot-total.trop { color: #b4664f; }
/* case à cocher « recevoir des informations » */
.case { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 22px; color: var(--titre); cursor: pointer; }
.case input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.case-boite { position: relative; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border: 1px solid #799a9e; background: var(--fond); transition: background-color .2s ease; }
.case-boite::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transition: transform .2s ease; }
.case input:checked + .case-boite { background: #799a9e; }
.case input:checked + .case-boite::after { transform: rotate(45deg) scale(1); }
.case input:focus-visible + .case-boite { outline: 1px solid #799a9e; outline-offset: 3px; }
/* progression de l'envoi */
.contact-progres { flex-basis: 100%; display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--titre); }
.contact-progres[hidden] { display: none; }
.contact-progres-barre { position: relative; flex: 1; height: 3px; background: #d6d1bb; overflow: hidden; }
.contact-progres-barre i { position: absolute; inset: 0; background: #1f1f1f; transform: scaleX(0); transform-origin: left center; transition: transform .25s linear; }
.contact-progres-texte { white-space: nowrap; font-variant-numeric: tabular-nums; }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-rgpd { margin: 4px 0 0; font-size: 13px; line-height: 20px; }
.contact-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.contact-envoyer svg { width: 16px; height: 16px; stroke-width: 1.4; transition: transform .3s ease; }
.contact-envoyer:hover svg, .contact-envoyer:focus-visible svg { transform: translateX(4px); }
.contact-envoyer[disabled] { opacity: .6; cursor: wait; }
.contact-etat { margin: 0; font-size: 14px; color: var(--titre); }
.contact-etat.erreur { color: #b4664f; }
.contact-merci { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 26px 28px; border: 1px solid #799a9e; background: var(--fond); color: var(--titre); }
.contact-form [hidden] { display: none !important; }
.contact-merci svg { flex-shrink: 0; width: 34px; height: 34px; fill: none; stroke: #799a9e; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.contact-merci p { margin: 0; }
.contact-merci strong { font-family: var(--serif); font-weight: 400; font-size: 21px; margin-right: 6px; }


/* ---------- flèche de remontée, comme sur web.kuc.fr et yannsaintigny.fr ----------
   Carré bordé #799A9E comme les boutons, rempli au survol ; apparaît après 400 px de défilement. */
.remonter { position: fixed; right: 26px; bottom: 26px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #799a9e; background: rgba(255, 253, 241, .92); color: #799a9e; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s, background-color .3s ease-in-out, color .3s ease-in-out; }
.remonter.visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .4s ease, visibility 0s, background-color .3s ease-in-out, color .3s ease-in-out; }
.remonter svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.remonter:hover, .remonter:focus-visible { background: #799a9e; color: #fff; }
.remonter:hover svg, .remonter:focus-visible svg { transform: translateY(-3px); }

/* ---------- pied de page : copyright, mentions légales, accès discret à l'administration ---------- */
.pied { position: relative; z-index: 1; padding: 26px var(--marge) 30px; background: var(--fond); border-top: 1px solid #e2ddc8; font-size: 13.5px; line-height: 22px; color: var(--texte); }
.pied p { margin: 0; }
.pied a { color: var(--titre); text-decoration: underline; text-decoration-color: #d6d1bb; text-underline-offset: 3px; transition: color .3s ease, text-decoration-color .3s ease; }
.pied a:hover, .pied a:focus-visible { color: #5b7a7e; text-decoration-color: currentColor; }
.pied-sep { margin: 0 8px; color: #b9b5a6; }
.pied .pied-admin { margin-left: 14px; font-size: 11px; letter-spacing: .06em; color: #c4bfab; text-decoration: none; }
.pied .pied-admin:hover, .pied .pied-admin:focus-visible { color: #799a9e; }

@media (max-width: 1023px) {
  :root { --marge: 24px; }
  html { scroll-padding-top: 60px; }
  .tete, .tete.defile { color: rgba(0, 0, 0, .85); background: rgba(255, 253, 241, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
  .tete-cadre, .tete.defile .tete-cadre { height: 60px; padding: 0 24px; }
  .marque, .tete.defile .marque { font-size: 20px; color: rgba(0, 0, 0, .85); letter-spacing: 1px; }
  .tete.cache { transform: translate3d(0, -100%, 0); }   /* téléphone aussi : caché en descendant, de retour en remontant */
  .tete-burger { display: flex; flex-direction: column; justify-content: space-between; margin-left: auto; width: 32px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; z-index: 3; }
  .tete-burger span { display: block; height: 3px; background: rgba(0, 0, 0, .85); border-radius: 2px; transition: transform .35s ease, background-color .35s ease; }
  .tete-burger.actif span { background: rgba(255, 255, 255, .85); }
  .tete-burger.actif span:nth-child(1) { transform: translateX(6px); }
  .tete-burger.actif span:nth-child(2) { transform: translateX(-6px); }
  .tete-burger.actif span:nth-child(3) { transform: translateX(6px); }
  .tete-nav { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; z-index: 2; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding-top: 60px; background: rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: right .3s ease; }
  .tete-nav.ouvert { right: 0; }
  .tete-liens { flex-direction: column; gap: 0; margin: 0; }
  .tete-liens a { display: inline-block; margin: 16px 20px; font-size: 22px; line-height: 1.3; color: rgba(245, 238, 218, .85); }
  .tete-voile { position: fixed; inset: 0; z-index: 1; }
  .tete-voile.actif { display: block; }
  .banniere { padding-top: 60px; }
  .banniere::before { display: none; }
  .banniere::after { display: none; }
  /* tablette et téléphone, d'après xippas.com : bannière plus haute (80 % de la largeur),
     cartes dans la page, à cheval sur le bas de l'image, défilant latéralement */
  .diapo-image { aspect-ratio: 5 / 4; }
  .legendes-flux { margin-top: -26px; padding: 0 0 6px; background: linear-gradient(transparent 26px, var(--fond) 26px); pointer-events: auto; overflow: hidden; overflow: clip; }
  /* une seule carte visible : la fenêtre a la largeur d'une carte, la suivante y entre en glissant */
  /* (overflow-x: clip et non clip-path : clip-path empêcherait le flou de voir l'image de la bannière) */
  .legendes-flux .legendes { width: min(80vw, 384px); margin: 0 auto; overflow-x: clip; }
  .legendes-flux .legendes-cartes { display: flex; gap: 24px; height: auto; overflow: visible; padding: 0 0 14px; transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
  .legendes-flux .legende-carte { position: relative; left: auto; flex: 0 0 min(80vw, 384px); width: auto; height: auto; min-height: 176px; padding: 18px 24px 34px; border-radius: 5px; transform: none; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1); box-shadow: 0 0 12px rgba(0, 0, 0, .08); pointer-events: auto; transition: none; }
  .legendes-flux .legende-tags { display: flex; }
  .legendes-flux .legende-nom { font-size: 21px; line-height: 26px; }
  .legendes-flux .legende-lieu { font-size: 14.83px; }
  .legendes-flux .legendes-traits { display: none; }
  .legende-progres { display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #1f1f1f; transform: scaleX(0); transform-origin: left center; opacity: 0; }
  .legende-carte.actif .legende-progres { opacity: 1; }
  .legende-carte.actif .legende-progres.court { animation: legende-progres var(--duree, 6s) linear forwards; }
  .intro { gap: 16px; padding: 24px var(--marge) 80px; }
  .intro h1 { font-size: 28px; line-height: 34px; }
  .intro .intro-accroche { font-size: 21px; line-height: 28px; }
  .banniere-commandes { gap: 10px; padding-top: 0; }
  .panneau-tete { flex-direction: column; align-items: stretch; gap: 28px; margin-bottom: 36px; }
  .panneau-titre { font-size: 26px; min-height: 0; gap: 24px; }
  .filtre-bouton { width: 100%; }
  .chapitre { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px var(--marge) 34px; }
  .chapitre h3 { font-size: 28px; line-height: 34px; }
  .chapitre-scene { max-width: 560px; }
  .phone { width: 26%; }
  .bandeau-pied { gap: 16px; padding: 46px 74px 26px var(--marge); }
  .bandeau-commandes { gap: 10px; }
  .demarche { padding: 0 var(--marge) 80px; }
  .demarche-chapo { margin-bottom: 44px; font-size: 18px; line-height: 27px; }
  .ecrans-collant { padding: 80px var(--marge) 80px; }
  .ecrans-grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ecrans-scene { height: 62vh; min-height: 380px; }
  .chapitre-actions { flex-wrap: nowrap; gap: 8px; }
  /* tablette et téléphone — boutons des réalisations : même taille que les étiquettes des cartes de la bannière ;
     « Naviguer » noir, « Ouvrir le site » vert-gris ; au survol, fond blanc et bordure sombre */
  .bouton-pastille { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 5px; border: 1px solid transparent; font-family: var(--din); font-size: 13px; line-height: 18px; white-space: nowrap; cursor: pointer; transition: .3s all ease-in-out; }
  .bouton-pastille svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.3; }
  .possibles { padding: 80px var(--marge) 90px; }
  .possibles-intro { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .possibles-accroche { font-size: 26px; line-height: 33px; }
  .possibles-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .possibles-grille { gap: 14px; }
  .possibles-grille li { padding: 26px 20px; }
  main > section.contact { padding: 80px var(--marge) 90px; }
  .remonter { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .pied { padding-right: 74px; }   /* la flèche de remontée ne cache pas « Admin » */
  .contact-grille { grid-template-columns: minmax(0, 1fr); }
  .contact-accroche { font-size: 26px; line-height: 33px; }
  .ecrans-accroche { font-size: 26px; line-height: 33px; }
}
/* téléphone : le parcours devient vertical */
@media (max-width: 700px) {
  /* textes d'introduction sur toute la largeur, justifiés */
  .intro { position: relative; display: block; }
  .intro h1 { padding-right: 84px; }                       /* place des chevrons, en haut à droite */
  .banniere-commandes { position: absolute; top: 24px; right: var(--marge); }
  .intro p, .demarche-chapo, .possibles-chapo { max-width: none; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  .intro .intro-accroche { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
  /* « Les possibles » : la carte qui passe au milieu de l'écran prend l'aspect du survol */
  .possibles-grille li.centre { background: #799a9e; color: #fff; }
  .possibles-grille li.centre h3 { color: #fff; }
  .possibles-grille li.centre svg { stroke: #fff; transform: translateY(-3px) scale(1.06); }
  /* fondu plus doux qu'au survol : 0,6 s au lieu de 0,3 s */
  .js .possibles-grille li.vu { transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), background-color .6s ease-in-out, color .6s ease-in-out; }
  .possibles-grille h3 { transition: color .6s ease-in-out; }
  .possibles-grille svg { transition: stroke .6s ease-in-out, transform .7s cubic-bezier(.3, 1.6, .5, 1); }
  .parcours-etapes { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .etape { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; align-items: start; text-align: left; }
  .etape-icone { grid-row: span 3; width: 72px; height: 72px; margin: 0; }
  .etape-icone svg { width: 50px; height: 50px; stroke-width: 1.65; }
  .etape h3 { margin: 0 0 4px; }
  .etape-texte { min-height: 0; max-width: none; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .possibles-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .js .possibles-grille li { opacity: 1; translate: none; }
  .diapo, .diapo.actif, .diapo-image img, .tete { transition: none; }
  .legende-carte, .legendes-flux .legendes-cartes { transition: none; }
  .legende-trait.actif i { animation: none; transform: scaleX(1); }
}
