/* ==========================================================================
   PÉDA CONCEPT — version 6 (novembre 2026), direction « arc clair »
   Charte : rouge impact #FF033E · bleu minuit #243447 · noir bleu nuit #141D26
            jaune pastel #FFF4A3
   Fond clair, grands titres fins, carrousel des offres posé sur un arc.
   ========================================================================== */
@font-face { font-family: "League Spartan"; font-weight: 700; font-display: swap; src: url("../fonts/league-spartan-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-weight: 800; font-display: swap; src: url("../fonts/league-spartan-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }

:root {
  --rouge: #FF033E; --rouge-fonce: #C7002F; --minuit: #243447; --nuit: #141D26; --jaune: #FFF4A3;
  --fond: #FAF8F4; --texte: #33414E; --doux: #5E6B78; --trait: rgba(36,52,71,.14);
  --f-titre: "League Spartan", "Arial Black", Arial, sans-serif;
  --f-fin: "Jost", "Segoe UI", Arial, sans-serif;
  --f-plume: "Cormorant Garamond", Georgia, serif;
  --marge: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--f-fin); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rouge-fonce); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- En-tête ---------- */
.tete { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tete-in { display: flex; align-items: center; gap: 34px; padding: 18px var(--marge); }
.marque { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--nuit); font-family: var(--f-titre); font-weight: 700; font-size: 15px; letter-spacing: .16em; }
.marque img { width: 42px; height: 42px; border-radius: 50%; display: block; }
.menu ul { display: flex; align-items: center; gap: 34px; }
.menu a { color: #4a5866; text-decoration: none; font-size: 15.5px; transition: color .2s; white-space: nowrap; }
.marque { white-space: nowrap; }
.menu a:hover { color: var(--nuit); }
.menu a.devis, .menu a.devis:hover { background: var(--nuit); color: #fff; padding: 12px 24px; border-radius: 40px; transition: background .25s; }
.menu a.devis:hover { background: var(--rouge); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--trait); border-radius: 50%; background: #fff; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: var(--nuit); margin: 4px auto; border-radius: 2px; }

/* ---------- Accueil ---------- */
.accueil { padding-top: clamp(28px, 5vw, 54px); }
.sur { text-align: center; font-size: 12.5px; letter-spacing: .32em; color: var(--rouge-fonce); padding: 0 var(--marge); }
.accueil h1 { margin: 18px auto 0; max-width: 1360px; padding: 0 var(--marge); text-align: center; font-family: var(--f-fin); font-weight: 400; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.025em; color: var(--nuit); text-wrap: balance; }
.accueil h1 em { font-family: var(--f-plume); font-style: italic; font-weight: 400; font-size: 1.16em; letter-spacing: -.01em; color: var(--rouge); }

/* ---------- Carrousel en arc ---------- */
.arc { --l: 250px; --h: 360px; --R: 1250px; --pas: 15deg; position: relative; height: 560px; margin-top: clamp(18px, 3vw, 40px); overflow: hidden; touch-action: pan-y; }
.arc .cercle { position: absolute; left: 50%; border-radius: 50%; transform: translateX(-50%); pointer-events: none; }
.arc .c1 { top: 190px; width: 1700px; height: 1700px; border: 1px solid var(--trait); }
.arc .c2 { top: 290px; width: 1700px; height: 1700px; background: var(--nuit); }
.arc .c3 { top: 350px; width: 1500px; height: 1500px; border: 1px solid rgba(255,244,163,.22); }
.k { --o: 0; position: absolute; left: 50%; top: 78px; width: var(--l); height: var(--h); margin-left: calc(var(--l) / -2); transform-origin: 50% var(--R); transform: rotate(calc(var(--o) * var(--pas))); transition: transform .9s cubic-bezier(.22,.8,.2,1), opacity .5s; text-decoration: none; color: #fff; display: block; -webkit-tap-highlight-color: transparent; }
.k.saut { transition: none; }
.k-in { position: absolute; inset: 0; border-radius: 40px; overflow: hidden; transform-origin: 50% 100%; transition: transform .9s cubic-bezier(.22,.8,.2,1), box-shadow .6s; box-shadow: 0 30px 60px -28px rgba(20,29,38,.5); }
.k.actif .k-in { transform: scale(1.16); box-shadow: 0 44px 80px -30px rgba(20,29,38,.7); }
.k:not(.actif):hover .k-in { transform: translateY(-8px); }
.k-txt { position: absolute; left: 24px; right: 20px; bottom: 26px; }
.k small { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.k strong { display: block; font-family: var(--f-titre); font-weight: 700; font-size: 25px; line-height: 1.05; }
.k p { font-size: 14px; line-height: 1.42; margin-top: 9px; opacity: .9; }
.k .va { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .4s .2s, transform .5s .2s; }
.k .va svg { width: 16px; height: 16px; }
.k.actif .va { opacity: 1; transform: none; }
/* les cinq cartes */
.k-former .k-in { background: radial-gradient(circle at 100% 0%, rgba(255,244,163,.95) 0%, rgba(255,3,62,.8) 22%, rgba(255,3,62,0) 55%), linear-gradient(180deg, #2F4660, #141D26); }
.k-concevoir { color: var(--nuit); }
.k-concevoir .k-in { background: linear-gradient(180deg, #F1F3F6, #DDE3EA); }
.k-ameliorer .k-in { background: linear-gradient(180deg, #FF033E, #b0002a); }
.k-biblio { color: var(--nuit); }
.k-biblio .k-in { background: #fff; border: 1px solid var(--trait); }
.k-plateforme .k-in { background: var(--minuit); }
.k-plateforme img { position: absolute; left: 0; top: 0; width: 100%; height: 52%; object-fit: cover; object-position: left top; }
/* motifs discrets en haut des cartes sans image */
.k .motif { position: absolute; left: 24px; top: 26px; width: 74px; height: 74px; }
/* commandes */
.arc-cmd { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: center; gap: 18px; z-index: 8; }
.arc-cmd .fl { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s; padding: 0; }
.arc-cmd .fl:hover { background: var(--rouge); border-color: var(--rouge); }
.arc-cmd .fl svg { width: 18px; height: 18px; }
.arc-cmd :focus-visible { outline-color: var(--jaune); }
.puces { display: flex; gap: 9px; align-items: center; }
.puces button { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: rgba(255,255,255,.32); cursor: pointer; transition: width .4s, background .4s; }
.puces button.on { width: 30px; background: var(--jaune); }

/* ---------- Chiffres (dans le prolongement du disque bleu nuit) ---------- */
.chiffres { background: var(--nuit); color: #fff; padding: 34px var(--marge) 84px; }
.chiffres ul { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.chiffres li { border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
.chiffres b { display: block; font-family: var(--f-fin); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -.02em; }
.chiffres b i { font-family: var(--f-plume); font-style: italic; font-size: .62em; color: var(--jaune); margin-left: 4px; }
.chiffres li > span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.7); }

/* ---------- Écrans étroits ---------- */
@media (max-width: 1040px) {
  .burger { display: block; }
  .menu { position: absolute; left: 12px; right: 12px; top: 100%; background: #fff; border: 1px solid var(--trait); border-radius: 24px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(20,29,38,.4); display: none; }
  .menu.ouvert { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu a { display: block; padding: 12px 14px; }
  .menu a.devis { text-align: center; margin-top: 8px; }
  .chiffres ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) { br.large { display: none; } }
@media (max-width: 700px) {
  .sur { font-size: 11px; letter-spacing: .2em; white-space: nowrap; }
  .arc { --l: 204px; --h: 300px; --R: 760px; --pas: 18deg; height: 500px; }
  .arc .c1 { top: 170px; width: 1100px; height: 1100px; }
  .arc .c2 { top: 262px; width: 1100px; height: 1100px; }
  .arc .c3 { top: 312px; width: 980px; height: 980px; }
  .k { top: 70px; }
  .k-in { border-radius: 32px; }
  .k strong { font-size: 22px; }
  .k p { font-size: 13.5px; }
  .k-txt { left: 20px; right: 16px; bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .k, .k-in, .k .va { transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Suite de la page (sections sous l'accueil)
   ========================================================================== */
html { scroll-padding-top: 92px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; background: var(--nuit); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
.dedans { width: 100%; max-width: calc(1180px + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.eyebrow { font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--rouge-fonce); margin-bottom: 18px; }
h2 { font-family: var(--f-fin); font-weight: 400; font-size: clamp(30px, 3.7vw, 52px); line-height: 1.1; letter-spacing: -.022em; color: var(--nuit); margin: 0; text-wrap: balance; }
h2 em { font-family: var(--f-plume); font-style: italic; font-size: 1.14em; letter-spacing: -.01em; color: var(--rouge); }
h3 { font-family: var(--f-titre); font-weight: 700; color: var(--nuit); margin: 0; line-height: 1.15; }
.tete-section { max-width: 840px; margin-bottom: clamp(40px, 5vw, 72px); }
.tete-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.tete-section p:not(.eyebrow), .chapo { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--doux); }
a { color: var(--rouge-fonce); }
.menu a.is-active { color: var(--nuit); box-shadow: 0 2px 0 var(--rouge); }
.menu a.devis.is-active { color: #fff; box-shadow: none; }

.btn { display: inline-flex; align-items: center; gap: 14px; background: var(--nuit); color: #fff; padding: 8px 8px 8px 26px; border-radius: 50px; text-decoration: none; font: 500 16px var(--f-fin); border: 0; cursor: pointer; transition: background .25s; }
.btn svg { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--rouge); color: #fff; transition: transform .3s; flex: none; }
.btn:hover { background: var(--minuit); color: #fff; }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .7; cursor: wait; padding: 18px 26px; }
.btn-clair { background: #fff; color: var(--nuit); }
.btn-clair:hover { background: #EEF1F4; color: var(--nuit); }

.liste li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--trait); font-size: 16px; line-height: 1.45; }
.liste li::before { content: ""; position: absolute; left: 0; top: 21px; width: 11px; height: 1.5px; background: var(--rouge); }

.panneau { background: #fff; border: 1px solid var(--trait); border-radius: 44px; padding: clamp(26px, 4.5vw, 64px); }
.panneau.teinte { background: #EEF1F4; border-color: transparent; }

/* apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Offre 1 ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--nuit); }
.trio article { padding: 34px 34px 8px 0; }
.trio article + article { padding-left: 34px; border-left: 1px solid var(--trait); }
.trio article:last-child { padding-right: 0; }
.trio-num { font-family: var(--f-plume); font-style: italic; font-size: 56px; line-height: 1; color: var(--rouge); }
.trio-verbe { font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--doux); margin: 14px 0 10px; }
.trio h3 { font-size: 23px; margin-bottom: 20px; min-height: 2.3em; }
.formes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: clamp(40px, 5vw, 64px) 0; }
.formes p { font-size: 17px; color: var(--doux); margin-right: 8px; }
.formes li { display: inline-block; }
.formes ul { display: flex; flex-wrap: wrap; gap: 10px; }
.formes li { border: 1px solid var(--trait); background: #fff; border-radius: 40px; padding: 9px 18px; font-size: 15.5px; color: var(--nuit); }
.deroule h3 { font-family: var(--f-fin); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }
.etapes { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: e; }
.etapes li { counter-increment: e; border-top: 1px solid var(--nuit); padding-top: 16px; }
.etapes li::before { content: "0" counter(e); display: block; font-family: var(--f-plume); font-style: italic; font-size: 34px; line-height: 1; color: var(--rouge); margin-bottom: 12px; }
.etapes strong { display: block; font-family: var(--f-titre); font-size: 18px; color: var(--nuit); margin-bottom: 6px; }
.etapes span { font-size: 15.5px; color: var(--doux); line-height: 1.5; display: block; }
.cadre { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--trait); }
.cadre dt { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--rouge-fonce); margin-bottom: 6px; }
.cadre dd { margin: 0; font-size: 16px; color: var(--nuit); }
.pied-panneau { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 38px; }
.mention { font-size: 13.5px; line-height: 1.5; color: var(--doux); max-width: 620px; }
.signature { font-family: var(--f-plume); font-style: italic; font-size: clamp(26px, 3.1vw, 42px); line-height: 1.2; text-align: center; color: var(--nuit); max-width: 920px; margin: clamp(56px, 7vw, 104px) auto 0; text-wrap: balance; }

/* ---------- Offre 2 : grand pan bleu nuit ---------- */
.pan-nuit { margin: 0 clamp(8px, 2vw, 28px); border-radius: clamp(32px, 4vw, 56px); padding: clamp(60px, 7.5vw, 116px) 0; color: #fff; background: radial-gradient(circle min(620px, 90vw) at 100% 0%, rgba(255,244,163,.9) 0%, rgba(255,3,62,.72) 32%, rgba(255,3,62,0) 100%), linear-gradient(180deg, #2F4660 0%, #141D26 100%); }
.pan-nuit h2, .pan-nuit h3 { color: #fff; }
.pan-nuit h2 em { color: var(--jaune); }
.pan-nuit .eyebrow { color: rgba(255,255,255,.75); }
.pan-nuit .tete-section p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.pan-nuit :focus-visible { outline-color: var(--jaune); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.outil { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 40px; padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.outil-visuel { width: 100%; height: 240px; border-radius: 26px; overflow: hidden; margin-bottom: 28px; position: relative; background: rgba(255,255,255,.07); }
.outil-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.feuilles span { position: absolute; left: 50%; bottom: -34px; width: 150px; height: 210px; margin-left: -75px; border-radius: 16px; background: #fff; transform-origin: 50% 190%; box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); padding: 20px 16px; }
.feuilles span:nth-child(1) { transform: rotate(-22deg); background: #DDE3EA; }
.feuilles span:nth-child(2) { transform: rotate(22deg); background: #DDE3EA; }
.feuilles span b { display: block; width: 46%; height: 7px; border-radius: 4px; background: var(--rouge); margin-bottom: 14px; }
.feuilles span i { display: block; height: 5px; border-radius: 3px; background: rgba(36,52,71,.18); margin-bottom: 9px; }
.feuilles span i:last-child { width: 60%; }
.outil-type { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.outil h3 { font-size: 27px; }
.accroche { font-family: var(--f-plume); font-style: italic; font-size: 25px; line-height: 1.2; margin: 10px 0 20px; color: #fff; }
.outil .liste { width: 100%; margin-bottom: 30px; }
.outil .liste li { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.86); }
.outil .liste li::before { background: var(--jaune); }
.outil .btn { margin-top: auto; }

/* ---------- À propos ---------- */
.apropos { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.portrait { position: sticky; top: 110px; }
.portrait img { display: block; width: 100%; border-radius: 44px; }
.portrait-nom { margin-top: 16px; font-size: 14.5px; color: var(--doux); }
.portrait-nom strong { display: block; font-family: var(--f-titre); font-size: 18px; color: var(--nuit); }
.apropos .texte p { margin-top: 18px; }
.casquettes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.casquettes div { border-top: 1px solid var(--nuit); padding-top: 16px; }
.casquettes h3 { font-size: 19px; margin-bottom: 8px; }
.casquettes p { font-size: 15.5px; color: var(--doux); margin: 0 !important; }
.citation { margin: 44px 0 0; padding-left: 26px; border-left: 2px solid var(--rouge); font-family: var(--f-plume); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--nuit); }
.citation strong { font-weight: 500; }
.realisation { margin-top: clamp(48px, 6vw, 90px); display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 4vw, 60px); }
.realisation h3 { font-family: var(--f-fin); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.15; }
.realisation p:last-child { font-size: 17px; }

/* ---------- Références ---------- */
.refs { border-bottom: 1px solid var(--trait); }
.refs article { display: grid; grid-template-columns: 90px 1fr 1.5fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--trait); align-items: baseline; }
.refs .ref-num { font-family: var(--f-plume); font-style: italic; font-size: 36px; line-height: 1; color: var(--rouge); }
.refs h3 { font-size: 23px; }
.refs .ref-type { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--doux); margin-top: 8px; }
.refs article > p { font-size: 16.5px; }
.qualite { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 4vw, 60px); }
.qualite h3 { font-family: var(--f-fin); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
.coords { margin-top: 36px; border-top: 1px solid var(--nuit); }
.coords > div { padding: 18px 0; border-bottom: 1px solid var(--trait); display: grid; grid-template-columns: 130px 1fr; gap: 16px; font-size: 18px; color: var(--nuit); }
.coords dt { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--rouge-fonce); padding-top: 5px; }
.coords dd { margin: 0; }
.coords a { color: var(--nuit); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--nuit); margin-bottom: 7px; }
.req { color: var(--rouge-fonce); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--f-fin); color: var(--nuit); background: var(--fond); border: 1px solid var(--trait); border-radius: 16px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--nuit); background: #fff; }
.field-error { display: none; margin-top: 6px; font-size: 14px; color: var(--rouge-fonce); }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--rouge); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.form-hint { font-size: 13.5px; line-height: 1.45; color: var(--doux); max-width: 330px; }
.form-success, .form-error { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 16px; font-size: 15.5px; }
.form-success.is-visible, .form-error.is-visible { display: block; }
.form-success { background: #E9F5EE; color: #1c5b34; }
.form-error { background: #FFE9EE; color: #8f0022; }
.form-error span { display: none; }
.form-error[data-cas="validation"] .form-error-validation, .form-error[data-cas="envoi"] .form-error-envoi { display: inline; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: rgba(255,255,255,.72); border-radius: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 56px) 0 0; padding: clamp(52px, 6vw, 84px) 0 30px; font-size: 15.5px; }
.pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.pied .marque { color: #fff; margin-bottom: 16px; }
.pied-titre { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.pied li { margin-bottom: 8px; }
.pied a { color: rgba(255,255,255,.72); text-decoration: none; }
.pied a:hover { color: #fff; }
.pied :focus-visible { outline-color: var(--jaune); }
.pied-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: var(--nuit); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; display: grid; place-items: center; padding: 0; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; }
  .trio article, .trio article + article { padding: 30px 0 10px; border-left: 0; }
  .trio article + article { border-top: 1px solid var(--trait); }
  .trio h3 { min-height: 0; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .cadre, .duo, .apropos, .realisation, .qualite, .contact { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 420px; }
  .refs article { grid-template-columns: 60px 1fr; }
  .refs article > p { grid-column: 2; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .etapes, .form-row, .casquettes, .pied-grille { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .panneau { border-radius: 30px; }
  .coords > div { grid-template-columns: 1fr; gap: 2px; }
  .refs article { grid-template-columns: 1fr; gap: 10px; }
  .refs article > p { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
/* ---------- Pages légales ---------- */
.page-legale { padding-top: clamp(40px, 6vw, 84px); }
.page-legale h1 { font-family: var(--f-fin); font-weight: 400; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -.025em; color: var(--nuit); margin: 0; }
.page-legale .tete-section p:not(.eyebrow) { font-size: 17px; }
.legal { max-width: 860px; }
.legal p { margin: 0 0 1em; }
.legal h2 { font-size: clamp(22px, 2.3vw, 29px); margin: 54px 0 18px; padding-top: 22px; border-top: 1px solid var(--nuit); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal ul { margin: 0 0 1em; }
.legal li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .82em; width: 11px; height: 1.5px; background: var(--rouge); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 26px; margin: 0 0 1.2em; padding: 24px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--trait); }
.legal dt { font-weight: 600; font-size: 14.5px; color: var(--nuit); }
.legal dd { margin: 0; }
.legal a:hover { color: var(--nuit); }
.legal-sommaire { padding: 22px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--trait); }
.legal-table { margin: 0 0 1.2em; }
.legal table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 24px; background: #fff; border: 1px solid var(--trait); }
.legal th, .legal td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); font-size: 15.5px; }
.legal th { font-weight: 600; font-size: 14px; color: var(--nuit); }
.legal td:first-child { color: var(--nuit); }
.legal tbody tr:last-child td { border-bottom: 0; }
.legal .btn svg { transform: rotate(180deg); order: -1; }
.legal .btn { padding: 8px 26px 8px 8px; }
.legal .btn:hover svg { transform: rotate(180deg) translateX(3px); }
@media (max-width: 700px) {
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; padding: 18px 20px; }
  .legal dd { margin-bottom: 10px; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal tr { padding: 14px 18px; border-bottom: 1px solid var(--trait); }
  .legal tbody tr:last-child { border-bottom: 0; }
  .legal td { padding: 0 0 8px; border-bottom: 0; }
  .legal td:last-child { padding-bottom: 0; }
  .legal td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--nuit); }
}
/* ---------- Logo animé de l'en-tête : le disque arrive, les lettres tombent une à une,
   « Concept » s'écrit, un éclat passe, puis le vrai logo se pose par-dessus. Boucle de 9 s.
   Calques produits par outils\decouper_logo.ps1 à partir de assets/logo.png. ---------- */
.logo-anime { position: relative; display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; animation: lgDisque 9s cubic-bezier(.3,.9,.3,1) infinite; }
.logo-anime img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; display: block; }
.logo-anime .lg-p { animation: lgHaut 9s cubic-bezier(.2,1.4,.4,1) infinite; --a: 7%; --b: 17%; }
.logo-anime .lg-e { animation: lgBasE 9s cubic-bezier(.2,1.4,.4,1) infinite; }
.logo-anime .lg-d { animation: lgHautD 9s cubic-bezier(.2,1.4,.4,1) infinite; }
.logo-anime .lg-a { animation: lgBasA 9s cubic-bezier(.2,1.4,.4,1) infinite; }
.logo-anime .lg-concept { animation: lgEcrit 9s ease-in-out infinite; }
.logo-anime .lg-entier { animation: lgEntier 9s linear infinite; }
.logo-anime::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,244,163,.85) 50%, rgba(255,255,255,0) 60%); transform: translateX(-120%); animation: lgEclat 9s ease-in-out infinite; pointer-events: none; }
@keyframes lgDisque { 0% { transform: scale(.2); opacity: 0; } 5% { transform: scale(1.08); opacity: 1; } 8%, 94% { transform: scale(1); opacity: 1; } 100% { transform: scale(.2); opacity: 0; } }
@keyframes lgHaut  { 0%, 7%  { transform: translateY(-70%); opacity: 0; } 17%, 100% { transform: none; opacity: 1; } }
@keyframes lgBasE  { 0%, 13% { transform: translateY(60%);  opacity: 0; } 22%, 100% { transform: none; opacity: 1; } }
@keyframes lgHautD { 0%, 17% { transform: translateY(-60%); opacity: 0; } 26%, 100% { transform: none; opacity: 1; } }
@keyframes lgBasA  { 0%, 21% { transform: translateY(60%);  opacity: 0; } 30%, 100% { transform: none; opacity: 1; } }
@keyframes lgEcrit { 0%, 28% { clip-path: inset(0 78% 0 0); } 44%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes lgEntier { 0%, 46% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes lgEclat { 0%, 46% { transform: translateX(-120%); } 58%, 100% { transform: translateX(120%); } }

/* ---------- Fond animé de l'accueil (dessiné par le navigateur, aucun fichier vidéo) ---------- */
.accueil { position: relative; overflow: hidden; }
.accueil > * { position: relative; z-index: 1; }
.accueil > .fond-anime { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fond-anime i { position: absolute; display: block; border-radius: 50%; filter: blur(70px); will-change: transform; }
.fond-anime i:nth-child(1) { width: 46vw; height: 46vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(255,3,62,.20), rgba(255,3,62,0) 68%); animation: derive1 26s ease-in-out infinite; }
.fond-anime i:nth-child(2) { width: 52vw; height: 52vw; right: -18vw; top: -10vw; background: radial-gradient(circle, rgba(47,70,96,.15), rgba(47,70,96,0) 68%); animation: derive2 32s ease-in-out infinite; }
.fond-anime i:nth-child(3) { width: 26vw; height: 26vw; left: 38vw; top: 6vw; background: radial-gradient(circle, rgba(255,244,163,.55), rgba(255,244,163,0) 68%); animation: derive3 22s ease-in-out infinite; }
@keyframes derive1 { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 40% { transform: translate3d(22vw,10vw,0) scale(1.25); } 70% { transform: translate3d(8vw,22vw,0) scale(.9); } }
@keyframes derive2 { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 35% { transform: translate3d(-26vw,12vw,0) scale(1.15); } 70% { transform: translate3d(-10vw,-4vw,0) scale(.85); } }
@keyframes derive3 { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-24vw,14vw,0) scale(1.4); } }
/* ondes : des cercles fins partent du disque bleu nuit et s'effacent en s'élargissant */
.arc .onde { top: 290px; width: 1700px; height: 1700px; border: 1.5px solid rgba(255,3,62,.5); transform-origin: 50% 50%; opacity: 0; animation: onde 9s ease-out infinite; }
.arc .o2 { animation-delay: 3s; border-color: rgba(36,52,71,.45); }
.arc .o3 { animation-delay: 6s; }
@keyframes onde { 0% { transform: translateX(-50%) scale(1); opacity: 0; } 12% { opacity: .9; } 100% { transform: translateX(-50%) scale(1.22); opacity: 0; } }
@media (max-width: 700px) { .arc .onde { top: 262px; width: 1100px; height: 1100px; } .fond-anime i { filter: blur(46px); } }
@media (prefers-reduced-motion: reduce) {
  .logo-anime, .logo-anime img, .logo-anime::after, .fond-anime i, .arc .onde { animation: none; }
  .logo-anime::after, .arc .onde { display: none; }
}
/* ---------- Bandeau de devises qui défile ---------- */
.devises { padding: clamp(34px, 4.5vw, 60px) 0; overflow: hidden; border-bottom: 1px solid var(--trait); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.devises-piste { display: flex; width: max-content; animation: defile 60s linear infinite; }
.devises:hover .devises-piste { animation-play-state: paused; }
.devises ul { display: flex; flex: none; align-items: center; }
.devises li { display: flex; align-items: center; white-space: nowrap; font-family: var(--f-plume); font-style: italic; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.2; color: var(--nuit); }
.devises li:nth-child(even) { color: var(--rouge); }
.devises li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--nuit); margin: 0 clamp(26px, 3.5vw, 54px); flex: none; }
.devises li:nth-child(3n)::after { background: var(--jaune); box-shadow: 0 0 0 1px rgba(36,52,71,.35); }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-anime, .logo-anime img, .logo-anime::after { animation: none; }
  .logo-anime::after { display: none; }
  .devises-piste { animation: none; width: auto; flex-wrap: wrap; }
  .devises ul { flex-wrap: wrap; justify-content: center; gap: 10px 0; padding: 0 var(--marge); }
  .devises ul[aria-hidden] { display: none; }
  .devises li { white-space: normal; }
}@media (min-width: 901px) and (max-width: 1040px) { .chiffres ul { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Dessins légers des cartes de l'éventail : ils se tracent quand la carte s'ouvre au centre ---------- */
.illu { position: absolute; left: 22px; top: 22px; width: 62%; height: auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .32; transition: opacity .6s; overflow: visible; }
.illu * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.illu .t { stroke: var(--touche, currentColor); }
.k-former, .k-ameliorer { --touche: var(--jaune); }
.k-concevoir, .k-biblio { --touche: var(--rouge); }
.k.actif .illu { opacity: 1; }
.k.actif .illu * { animation: trace 1.1s cubic-bezier(.6,0,.2,1) both; }
.k.actif .illu :nth-child(2) { animation-delay: .08s; } .k.actif .illu :nth-child(3) { animation-delay: .16s; }
.k.actif .illu :nth-child(4) { animation-delay: .24s; } .k.actif .illu :nth-child(5) { animation-delay: .32s; }
.k.actif .illu :nth-child(6) { animation-delay: .40s; } .k.actif .illu :nth-child(7) { animation-delay: .48s; }
.k.actif .illu :nth-child(8) { animation-delay: .56s; } .k.actif .illu :nth-child(9) { animation-delay: .64s; }
.k.actif .illu :nth-child(10) { animation-delay: .70s; } .k.actif .illu :nth-child(11) { animation-delay: .76s; }
.k.actif .illu :nth-child(12) { animation-delay: .82s; } .k.actif .illu :nth-child(13) { animation-delay: .88s; }
.k.actif .illu :nth-child(14) { animation-delay: .94s; }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 700px) { .illu { left: 18px; top: 18px; width: 58%; } }
@media (prefers-reduced-motion: reduce) { .k.actif .illu * { animation: none; } }
/* ==========================================================================
   Accueil : cartes minutées dans tout le premier bloc. La carte active remplit le bloc,
   les suivantes attendent en file à droite ; js/v6.js les fait s'ouvrir une à une.
   ========================================================================== */
/* filet doré lumineux qui tourne autour d'un encadré (réutilisé plus bas dans la page) */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes filetTourne { to { --ang: 360deg; } }
.filet::before, .vue.prochaine::before { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 3px; pointer-events: none; background: conic-gradient(from var(--ang), rgba(232,190,92,0) 0deg, rgba(232,190,92,0) 190deg, #C9952B 240deg, #F6DC8C 290deg, #FFFBE3 318deg, #F6DC8C 338deg, rgba(232,190,92,0) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: filetTourne 3.2s linear infinite; }
.vue.prochaine { box-shadow: 0 0 0 1px rgba(246,220,140,.35), 0 0 34px rgba(246,220,140,.55), 0 26px 46px -20px rgba(0,0,0,.55); }

.accueil-scene { padding-top: 0; }
.scene { --cw: 200px; --ch: 286px; --gap: 22px; --x0: 56%; --bas: 116px; --ui: #fff; position: relative; isolation: isolate; height: clamp(560px, calc(100vh - 82px), 900px); overflow: hidden; background: var(--nuit); touch-action: pan-y; }
.scene[data-theme="clair"] { --ui: var(--nuit); }
.scene-entete { position: absolute; z-index: 4; left: clamp(22px, 5vw, 72px); top: clamp(22px, 5vh, 52px); width: min(46%, 560px); color: var(--ui); transition: color .6s; }
.scene-entete .sur { text-align: left; padding: 0; color: inherit; opacity: .8; }
.accueil .scene-entete h1 { margin: 10px 0 0; padding: 0; max-width: none; text-align: left; color: inherit; font-family: var(--f-plume); font-style: italic; font-weight: 400; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.3; letter-spacing: 0; }
.vue { position: absolute; overflow: hidden; left: calc(var(--x0) + var(--s, 0) * (var(--cw) + var(--gap))); top: calc(100% - var(--ch) - var(--bas)); width: var(--cw); height: var(--ch); border-radius: 22px; z-index: 3; color: #fff; box-shadow: 0 26px 46px -20px rgba(0,0,0,.55); transition: left .95s cubic-bezier(.7,0,.2,1), top .95s cubic-bezier(.7,0,.2,1), width .95s cubic-bezier(.7,0,.2,1), height .95s cubic-bezier(.7,0,.2,1), border-radius .95s, opacity .5s, box-shadow .6s; }
.vue[data-theme="clair"] { color: var(--nuit); }
.vue.fond { left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; z-index: 1; box-shadow: none; }
.vue.fond::before { display: none; }
.vue.monte { z-index: 2; }
.vue.saut { transition: none; opacity: 0; }
/* les cinq fonds (une vidéo légère peut venir par-dessus : <video class="vue-video">) */
.vue-former { background: radial-gradient(circle at 100% 0%, rgba(255,244,163,.95) 0%, rgba(255,3,62,.82) 16%, rgba(255,3,62,0) 46%), linear-gradient(180deg, #2F4660, #141D26); }
.vue-concevoir { background: linear-gradient(160deg, #F4F6F8, #D6DDE5); }
.vue-ameliorer { background: radial-gradient(circle at 0% 100%, rgba(20,29,38,.55), rgba(20,29,38,0) 55%), linear-gradient(180deg, #FF033E, #A80028); }
.vue-biblio { background: linear-gradient(160deg, #FFFFFF, #F1ECE3); }
.vue-plateforme { background: var(--minuit); }
.vue-img, .vue-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vue-img { object-position: left top; }
.vue-plateforme::after, .vue.avec-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,29,38,.92) 0%, rgba(20,29,38,.72) 40%, rgba(20,29,38,.2) 100%), linear-gradient(0deg, rgba(20,29,38,.85), rgba(20,29,38,0) 55%); }
.vue-motif { position: absolute; left: 12%; top: 9%; width: 44%; transition: left .95s cubic-bezier(.7,0,.2,1), top .95s cubic-bezier(.7,0,.2,1), width .95s cubic-bezier(.7,0,.2,1), opacity .6s; }
.vue.fond .vue-motif { left: 76%; top: 8%; width: min(12%, 140px); }
.vue.avec-video .vue-motif { display: none; }
/* texte de la carte ouverte */
.vue-txt { position: absolute; z-index: 2; left: clamp(22px, 5vw, 72px); top: 56%; width: min(47%, 600px); transform: translateY(-46%); opacity: 0; visibility: hidden; transition: opacity .35s, transform .6s, visibility 0s .35s; }
.vue.fond .vue-txt { opacity: 1; visibility: visible; transform: translateY(-54%); transition: opacity .6s .5s, transform .8s .5s, visibility 0s; }
.vue-sur { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-bottom: 18px; }
.vue-sur::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.vue-txt h2 { color: inherit; font-size: clamp(40px, 6vw, 92px); line-height: .98; letter-spacing: -.03em; }
.vue-txt h2 em { color: var(--jaune); font-size: 1.1em; }
.vue[data-theme="clair"] .vue-txt h2 em { color: var(--rouge); }
.vue-txt h2 + p { margin: 22px 0 30px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; opacity: .92; max-width: 470px; }
/* étiquette de la carte en attente (toute la carte est le bouton) */
.vue-etq { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 0 16px 18px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: opacity .3s; }
.vue.fond .vue-etq { opacity: 0; pointer-events: none; visibility: hidden; }
.vue-etq::before { content: ""; width: 24px; height: 2px; background: currentColor; margin-bottom: 6px; }
.vue-etq small { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.vue-etq strong { font-family: var(--f-titre); font-weight: 700; font-size: 20px; line-height: 1.05; }
/* commandes : flèches, ligne d'avancement, numéro */
.scene-cmd { position: absolute; z-index: 5; left: var(--x0); right: clamp(20px, 4vw, 56px); bottom: 34px; display: flex; align-items: center; gap: 14px; color: var(--ui); transition: color .6s; }
.scene-cmd .fl { width: 50px; height: 50px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; transition: background .25s, color .25s, border-color .25s; }
.scene-cmd .fl:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.scene-cmd .fl svg { width: 18px; height: 18px; }
.scene-ligne { flex: 1; height: 2px; background: color-mix(in srgb, currentColor 25%, transparent); position: relative; margin: 0 8px; }
.scene-ligne i { position: absolute; left: 0; top: 0; height: 100%; width: 20%; background: #E8BE5C; transition: width .8s cubic-bezier(.7,0,.2,1); }
.scene-num { font-family: var(--f-titre); font-weight: 800; font-size: 50px; line-height: 1; min-width: 1.3em; text-align: right; }
.scene-temps { position: absolute; z-index: 6; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, #C9952B, #F6DC8C, #FFFBE3); box-shadow: 0 0 12px rgba(246,220,140,.9); }
.scene :focus-visible { outline-color: var(--jaune); }
.scene[data-theme="clair"] .scene-cmd :focus-visible { outline-color: var(--rouge-fonce); }
@keyframes sceneTemps { from { width: 0; } to { width: 100%; } }

/* les chiffres clés sur fond clair, sous le premier bloc */
.chiffres { background: transparent; color: var(--nuit); padding: clamp(40px, 5vw, 64px) var(--marge) clamp(30px, 4vw, 50px); }
.chiffres li { border-top-color: var(--nuit); }
.chiffres b i { color: var(--rouge); }
.chiffres li > span { color: var(--doux); }

@media (max-width: 1100px) { .scene { --x0: 52%; --cw: 164px; --ch: 234px; } }
@media (max-width: 760px) {
  .scene { --x0: 20px; --cw: 116px; --ch: 156px; --gap: 12px; --bas: 92px; height: clamp(600px, calc(100vh - 78px), 720px); }
  .scene-entete { width: calc(100% - 44px); top: 22px; }
  .accueil .scene-entete h1 { font-size: 17px; }
  .vue-txt, .vue.fond .vue-txt { left: 22px; top: 150px; width: calc(100% - 44px); transform: none; }
  .vue-txt h2 { font-size: clamp(36px, 11vw, 52px); }
  .vue-txt h2 + p { margin: 14px 0 20px; }
  .vue-sur { font-size: 11px; letter-spacing: .14em; margin-bottom: 12px; }
  .vue.fond .vue-motif { opacity: 0; }
  .vue-etq { padding: 0 12px 13px; }
  .vue-etq strong { font-size: 15px; }
  .vue-etq small { font-size: 9px; letter-spacing: .1em; }
  .scene-cmd { left: 20px; right: 20px; bottom: 24px; }
  .scene-cmd .fl { width: 44px; height: 44px; }
  .scene-num { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { .vue, .vue-motif, .vue-txt, .vue.fond .vue-txt, .scene-ligne i { transition: none; } .scene-temps { display: none; } .filet::before, .vue.prochaine::before { animation: none; } }
/* ==========================================================================
   En-tête resserré, en dégradé léger bleu nuit → rouge, avec le faisceau doré autour du logo
   ========================================================================== */
.tete { background: linear-gradient(90deg, #141D26 0%, #243447 46%, #5A1A36 78%, #B8083A 100%); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 rgba(246,220,140,.28); }
.tete-in { padding: 7px var(--marge); gap: 30px; }
.tete .marque { color: #fff; font-size: 14.5px; gap: 12px; }
.logo-halo { position: relative; display: block; padding: 3px; border-radius: 50%; flex: none; box-shadow: 0 0 16px rgba(246,220,140,.45); }
.logo-halo.filet::before { padding: 2.5px; animation-duration: 3.6s; }
.logo-halo .logo-anime { width: 42px; height: 42px; }
.tete .menu a { color: rgba(255,255,255,.86); font-size: 15px; }
.tete .menu a:hover { color: #fff; }
.tete .menu a.is-active { color: #fff; box-shadow: 0 2px 0 #F6DC8C; }
.tete .menu a.devis, .tete .menu a.devis:hover { background: #fff; color: var(--nuit); padding: 9px 20px; box-shadow: none; }
.tete .menu a.devis:hover { background: var(--jaune); }
.tete .menu a.devis.is-active { color: var(--nuit); }
.tete .burger { width: 42px; height: 42px; background: transparent; border-color: rgba(255,255,255,.45); }
.tete .burger span { background: #fff; }
.tete :focus-visible { outline-color: var(--jaune); }
html { scroll-padding-top: 72px; }
@media (max-width: 1040px) {
  .tete .menu a { color: #4a5866; }
  .tete .menu a:hover, .tete .menu a.is-active { color: var(--nuit); }
  .tete .menu a.devis, .tete .menu a.devis:hover { background: var(--nuit); color: #fff; padding: 12px 14px; }
}

/* Premier bloc : titres et contenu bien plus visibles */
.scene { height: clamp(560px, calc(100vh - 62px), 900px); }
.vue-plateforme::after, .vue.avec-video::after { background: linear-gradient(90deg, rgba(14,20,27,.94) 0%, rgba(14,20,27,.82) 34%, rgba(14,20,27,.38) 66%, rgba(14,20,27,.2) 100%), linear-gradient(0deg, rgba(14,20,27,.88), rgba(14,20,27,0) 50%), linear-gradient(180deg, rgba(14,20,27,.55), rgba(14,20,27,0) 24%); }
.scene-entete .sur { opacity: 1; font-size: 13px; font-weight: 600; color: #F6DC8C; }
.accueil .scene-entete h1 { font-size: clamp(20px, 1.95vw, 29px); font-weight: 500; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.vue-txt { width: min(52%, 680px); }
.vue-sur { font-size: 14px; font-weight: 600; opacity: 1; }
.vue-sur::before { background: #F6DC8C; height: 3px; width: 40px; }
.vue-txt h2 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(46px, 7vw, 112px); line-height: .92; letter-spacing: -.025em; text-shadow: 0 4px 34px rgba(0,0,0,.55); }
.vue-txt h2 em { font-family: var(--f-plume); font-weight: 500; font-size: 1.04em; letter-spacing: -.01em; }
.vue-txt h2 + p { font-size: clamp(18px, 1.6vw, 23px); font-weight: 500; line-height: 1.45; opacity: 1; max-width: 540px; margin: 24px 0 30px; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.vue-txt .btn { font-size: 18px; padding: 10px 10px 10px 30px; }
.vue-txt .btn svg { width: 46px; height: 46px; padding: 13px; }
.vue-etq strong { font-size: 22px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.vue-etq small { font-size: 11px; font-weight: 600; opacity: 1; }
@media (max-width: 760px) {
  .scene { height: clamp(600px, calc(100vh - 58px), 720px); }
  .accueil .scene-entete h1 { font-size: 18px; }
  .vue-txt, .vue.fond .vue-txt { top: 158px; }
  .vue-txt h2 { font-size: clamp(42px, 13vw, 58px); }
  .vue-txt h2 + p { font-size: 17px; margin: 14px 0 20px; }
  .vue-txt .btn { font-size: 16px; padding: 8px 8px 8px 24px; }
  .vue-txt .btn svg { width: 40px; height: 40px; padding: 11px; }
  .vue-etq strong { font-size: 15px; }
  .vue-etq small { font-size: 9px; }
}@media (max-width: 760px) { .scene-entete .sur { font-size: 10.5px; letter-spacing: .14em; white-space: normal; } }

/* ---------- Devises : une sur deux en dégradé foncé (bleu nuit → rouge profond), une sur deux en dégradé clair (rouge → doré) ---------- */
.devises { padding: clamp(38px, 5vw, 70px) 0; }
.devises li { font-size: clamp(30px, 3.7vw, 54px); padding: .12em .06em; }
.devises li, .devises li:nth-child(even) { color: transparent; -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-clip: text; }
.devises li:nth-child(odd) { background-image: linear-gradient(90deg, #141D26 0%, #243447 40%, #8C0F35 78%, #C7002F 100%); }
.devises li:nth-child(even) { background-image: linear-gradient(90deg, #FF033E 0%, #FF5E57 42%, #F0A640 78%, #E8BE5C 100%); }
.devises li::after { background: #E8BE5C; box-shadow: 0 0 10px rgba(232,190,92,.8); }
.devises li:nth-child(3n)::after { background: #E8BE5C; box-shadow: 0 0 10px rgba(232,190,92,.8); }
@media (forced-colors: active) { .devises li, .devises li:nth-child(even) { color: CanvasText; -webkit-text-fill-color: CanvasText; background-image: none; } }

/* ==========================================================================
   Sous le premier bloc : titres affirmés, liserés colorés au bord des encadrés, plus de couleur.
   (Le liseré utilise ::after : ::before reste libre pour le filet doré .filet.)
   ========================================================================== */
:root {
  --lisere: linear-gradient(180deg, #FFF4A3 0%, #FF033E 30%, #243447 60%, #FF033E 85%, #FFF4A3 100%);
  --lisere-h: linear-gradient(90deg, #FFF4A3 0%, #FF033E 30%, #243447 60%, #FF033E 85%, #FFF4A3 100%);
  --lisere-clair: linear-gradient(180deg, #FFF4A3 0%, #FF033E 50%, #FFF4A3 100%);
  --pastille: linear-gradient(140deg, #FF033E 0%, #C7002F 100%);
  --pastille-nuit: linear-gradient(140deg, #2F4660 0%, #141D26 100%);
}
@keyframes lisere  { from { background-position: 0 0; } to { background-position: 0 100%; } }
@keyframes lisereH { from { background-position: 0 0; } to { background-position: 100% 0; } }

/* ---------- Titres ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .24em; }
.eyebrow::before { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--rouge); flex: none; }
.pan-nuit .eyebrow, .panneau.teinte .eyebrow { color: #F6DC8C; }
.pan-nuit .eyebrow::before, .panneau.teinte .eyebrow::before { background: #F6DC8C; }
.tete-section h2, .texte h2, .contact h2, .page-legale h1 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(36px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -.02em; }
.tete-section h2 em, .texte h2 em, .contact h2 em { font-family: var(--f-plume); font-style: italic; font-weight: 500; font-size: 1.1em; letter-spacing: -.01em; }
.tete-section h2::after, .texte h2::after, .contact h2::after { content: ""; display: block; width: 96px; height: 6px; border-radius: 6px; margin-top: 22px; background: linear-gradient(90deg, #FF033E, #243447); }
.pan-nuit .tete-section h2::after { background: linear-gradient(90deg, #FF033E, #F6DC8C); }
.tete-section { max-width: 940px; }
.deroule h3, .realisation h3, .qualite h3 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(26px, 2.9vw, 38px); line-height: 1.08; letter-spacing: -.015em; }
.trio h3 { font-weight: 800; font-size: 25px; }
.refs h3 { font-weight: 800; font-size: 26px; }
.outil h3 { font-weight: 800; font-size: clamp(27px, 2.6vw, 32px); }
.casquettes h3 { font-weight: 800; font-size: 21px; color: var(--rouge-fonce); }
.etapes strong { font-weight: 800; font-size: 19px; }

/* ---------- Liserés : un pan de couleur qui glisse lentement sur le bord des encadrés ---------- */
.panneau, .outil, .trio article, .refs article, .casquettes div { position: relative; overflow: hidden; }
.panneau::after, .outil::after, .trio article::after, .refs article::after, .casquettes div::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--lisere); background-size: 100% 200%; animation: lisere 9s ease-in-out infinite alternate; pointer-events: none; }
.outil::after, .panneau.teinte::after { background-image: var(--lisere-clair); }
.contact .panneau::after { right: 0; bottom: auto; width: auto; height: 8px; background: var(--lisere-h); background-size: 200% 100%; animation: lisereH 11s ease-in-out infinite alternate; }

/* ---------- Couleur : fonds teintés, pastilles, numéros ---------- */
#prestations { background: radial-gradient(circle min(760px, 90vw) at 100% 0%, rgba(255,3,62,.10), rgba(255,3,62,0) 70%), radial-gradient(circle min(720px, 90vw) at 0% 62%, rgba(36,52,71,.12), rgba(36,52,71,0) 70%); }
#a-propos { background: radial-gradient(circle min(720px, 90vw) at 0% 8%, rgba(255,3,62,.09), rgba(255,3,62,0) 70%), radial-gradient(circle min(680px, 90vw) at 100% 70%, rgba(36,52,71,.11), rgba(36,52,71,0) 70%); }
#references { background: radial-gradient(circle min(700px, 90vw) at 100% 30%, rgba(255,3,62,.08), rgba(255,3,62,0) 70%); }
#contact { background: radial-gradient(circle min(700px, 90vw) at 0% 40%, rgba(36,52,71,.11), rgba(36,52,71,0) 70%); }

/* chiffres clés */
.chiffres b { font-family: var(--f-titre); font-weight: 800; font-size: clamp(38px, 4vw, 58px); padding-bottom: .06em; color: var(--rouge-fonce); background: linear-gradient(120deg, #243447 0%, #C7002F 55%, #FF033E 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.chiffres b i { font-family: var(--f-titre); font-style: normal; font-weight: 800; font-size: .56em; }
.chiffres li { border-top: 0; padding-top: 22px; position: relative; }
.chiffres li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #FF033E, #243447); }
.chiffres li:nth-child(even)::before { background: linear-gradient(90deg, #243447, #FF033E); }
.chiffres li > span { color: var(--texte); font-weight: 500; }

/* les trois axes : trois encadrés, numéro en pastille */
.trio { border-top: 0; gap: 22px; }
.trio article, .trio article + article, .trio article:last-child { background: #fff; border: 1px solid var(--trait); border-radius: 36px; padding: 34px 30px 20px 38px; box-shadow: 0 30px 50px -40px rgba(20,29,38,.45); }
.trio-num { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--pastille); color: #fff; font-family: var(--f-titre); font-style: normal; font-weight: 800; font-size: 27px; padding-top: 3px; box-shadow: 0 14px 24px -12px rgba(255,3,62,.7); }
.trio article:nth-child(2) .trio-num { background: var(--pastille-nuit); box-shadow: 0 14px 24px -12px rgba(20,29,38,.7); }
.trio article:nth-child(3) .trio-num { background: linear-gradient(140deg, #FF033E 0%, #243447 100%); }
.trio-verbe { font-weight: 600; font-size: 13.5px; color: var(--rouge-fonce); margin: 20px 0 10px; }
.liste li::before { height: 3px; width: 13px; border-radius: 3px; top: 20px; }

/* formes d'intervention : pastilles pleines */
.formes li { background: var(--minuit); border-color: transparent; color: #fff; font-weight: 500; padding: 10px 20px; }
.formes li:nth-child(even) { background: var(--rouge-fonce); }

/* les quatre étapes */
.deroule { background: radial-gradient(circle 460px at 100% 0%, rgba(255,3,62,.10), rgba(255,3,62,0) 70%), #fff; }
.etapes li { border-top: 3px solid var(--nuit); padding-top: 20px; }
.etapes li:nth-child(even) { border-top-color: var(--rouge); }
.etapes li::before { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--pastille); color: #fff; font-family: var(--f-titre); font-style: normal; font-weight: 800; font-size: 19px; padding-top: 2px; margin-bottom: 16px; }
.etapes li:nth-child(even)::before { background: var(--pastille-nuit); }
.cadre dt, .coords dt { font-weight: 600; }
.signature { color: var(--rouge-fonce); background: linear-gradient(90deg, #141D26 0%, #243447 30%, #C7002F 72%, #FF033E 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: .08em .1em; }

/* outils (pan bleu nuit) */
.outil { background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); padding-left: clamp(30px, 3vw, 44px); }
.outil-type { color: #F6DC8C; font-weight: 600; }

/* à propos */
.portrait img { box-shadow: -14px 14px 0 var(--rouge), -28px 28px 0 rgba(36,52,71,.14); }
.portrait-nom { margin-top: 44px; }
.casquettes div { border-top: 0; border-radius: 24px; padding: 22px 22px 22px 30px; background: #FFEDF1; }
.casquettes div + div { background: #E6EBF1; }
.casquettes div + div h3 { color: var(--minuit); }
.casquettes p { color: var(--texte); }
.citation { border-left: 6px solid var(--rouge); }
.citation strong { color: var(--rouge-fonce); font-weight: 500; }
.panneau.teinte { background: radial-gradient(circle 460px at 100% 0%, rgba(255,3,62,.6), rgba(255,3,62,0) 70%), linear-gradient(180deg, #2F4660, #141D26); color: rgba(255,255,255,.88); border-color: transparent; }
.panneau.teinte h3 { color: #fff; }

/* références : chaque ligne devient un encadré */
.refs { border-bottom: 0; display: grid; gap: 14px; }
.refs article { background: #fff; border: 1px solid var(--trait); border-radius: 30px; padding: 26px 32px 26px 40px; align-items: center; box-shadow: 0 26px 44px -40px rgba(20,29,38,.45); }
.refs .ref-num { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--pastille); color: #fff; font-family: var(--f-titre); font-style: normal; font-weight: 800; font-size: 23px; padding-top: 3px; }
.refs article:nth-child(even) .ref-num { background: var(--pastille-nuit); }
.refs .ref-type { color: var(--rouge-fonce); font-weight: 600; }
.qualite { background: radial-gradient(circle 420px at 0% 100%, rgba(36,52,71,.12), rgba(36,52,71,0) 70%), #fff; }

/* contact */
.coords { border-top: 3px solid var(--rouge); }
.contact .panneau { box-shadow: 0 40px 70px -50px rgba(20,29,38,.55); }

@media (max-width: 900px) {
  .trio article, .trio article + article, .trio article:last-child { padding: 28px 24px 16px 32px; border: 1px solid var(--trait); }
  .portrait img { box-shadow: -10px 10px 0 var(--rouge); }
  .portrait-nom { margin-top: 28px; }
}
@media (max-width: 560px) {
  .tete-section h2, .texte h2, .contact h2, .page-legale h1 { font-size: clamp(33px, 9.6vw, 40px); }
  .eyebrow { font-size: 12px; letter-spacing: .16em; gap: 10px; }
  .eyebrow::before { width: 26px; }
  .refs article { padding: 24px 22px 24px 30px; border-radius: 26px; }
  .trio article, .trio article + article, .trio article:last-child { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .panneau::after, .outil::after, .trio article::after, .refs article::after, .casquettes div::after, .contact .panneau::after { animation: none; }
}
@media (forced-colors: active) {
  .chiffres b, .signature { -webkit-text-fill-color: CanvasText; background: none; }
}

/* ==========================================================================
   Une ouverture par bloc : les encadrés s'ouvrent quand ils arrivent à l'écran (classe .is-visible
   posée par js/main.js), le filet doré fait trois tours autour d'eux puis s'efface.
   Les cinq collaborations deviennent cinq ronds qui s'ouvrent de gauche à droite (grand écran).
   ========================================================================== */
@media (min-width: 1100px) {
  .refs { grid-template-columns: repeat(5, 1fr); gap: 26px 20px; align-items: start; }
  .refs article { --rond: 184px; display: flex; flex-direction: column; align-items: center; text-align: center; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; overflow: visible; }
  .refs article > div:not(.ref-num) { display: contents; }
  .refs article::before { content: ""; position: absolute; left: 50%; top: 0; width: var(--rond); height: var(--rond); margin-left: calc(var(--rond) / -2); border-radius: 50%; background: var(--pastille); box-shadow: 0 26px 40px -22px rgba(255,3,62,.8); }
  .refs article:nth-child(even)::before { background: var(--pastille-nuit); box-shadow: 0 26px 40px -22px rgba(20,29,38,.8); }
  .refs article::after { left: 50%; top: -6px; bottom: auto; width: calc(var(--rond) + 12px); height: calc(var(--rond) + 12px); margin-left: calc(var(--rond) / -2 - 6px); border-radius: 50%; padding: 3px; opacity: 0; animation: none; background: conic-gradient(from var(--ang), rgba(232,190,92,0) 0deg, rgba(232,190,92,0) 190deg, #C9952B 240deg, #F6DC8C 290deg, #FFFBE3 318deg, #F6DC8C 338deg, rgba(232,190,92,0) 360deg); background-size: auto; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
  .refs article .ref-num, .refs article:nth-child(even) .ref-num { position: relative; z-index: 1; background: none; width: auto; height: 34px; margin-top: 26px; padding: 0; font-size: 22px; color: #F6DC8C; }
  .refs h3 { position: relative; z-index: 1; color: #fff; font-size: 18.5px; line-height: 1.12; height: 96px; width: calc(var(--rond) - 40px); display: flex; align-items: center; justify-content: center; }
  .refs .ref-type { margin-top: 46px; min-height: 4.8em; }
  .refs article > p { font-size: 15.5px; margin-top: 12px; }
  .refs article:nth-child(2) { --dr: .28s; } .refs article:nth-child(3) { --dr: .56s; } .refs article:nth-child(4) { --dr: .84s; } .refs article:nth-child(5) { --dr: 1.12s; }
}

@keyframes filetVie { 0% { opacity: 0; } 8%, 80% { opacity: .95; } 100% { opacity: 0; } }
@keyframes ouvreDroite { from { opacity: 0; clip-path: inset(0 0 0 100% round 40px); transform: translateX(70px); } 25% { opacity: 1; } to { opacity: 1; clip-path: inset(-70px -70px -70px -70px round 40px); transform: none; } }
@keyframes ouvreGauche { from { opacity: 0; clip-path: inset(0 100% 0 0 round 40px); transform: translateX(-70px); } 25% { opacity: 1; } to { opacity: 1; clip-path: inset(-70px -70px -70px -70px round 40px); transform: none; } }
@media (max-width: 900px) { /* sans glissement de côté : rien ne dépasse de l'écran du téléphone */
  @keyframes ouvreDroite { from { opacity: 0; clip-path: inset(0 0 0 100% round 40px); } 25% { opacity: 1; } to { opacity: 1; clip-path: inset(-70px 0 -70px 0 round 40px); } }
  @keyframes ouvreGauche { from { opacity: 0; clip-path: inset(0 100% 0 0 round 40px); } 25% { opacity: 1; } to { opacity: 1; clip-path: inset(-70px 0 -70px 0 round 40px); } }
}
@keyframes ouvreCentre { from { opacity: 0; clip-path: inset(46% 46% 46% 46% round 40px); } 25% { opacity: 1; } to { opacity: 1; clip-path: inset(-70px -70px -70px -70px round 40px); } }
@keyframes ouvreRond { from { opacity: 0; clip-path: circle(0% at 50% 38%); } 20% { opacity: 1; } to { opacity: 1; clip-path: circle(130% at 50% 38%); } }
@keyframes rondOuvre { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pastillePop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* le filet doré, discret, autour de chaque encadré qui s'ouvre */
  .js .trio article.reveal::before, .js .panneau.reveal::before, .js .outil.reveal::before { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 2.5px; pointer-events: none; opacity: 0; background: conic-gradient(from var(--ang), rgba(232,190,92,0) 0deg, rgba(232,190,92,0) 190deg, #C9952B 240deg, #F6DC8C 290deg, #FFFBE3 318deg, #F6DC8C 338deg, rgba(232,190,92,0) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
  .js .trio article.reveal.is-visible::before, .js .panneau.reveal.is-visible::before, .js .outil.reveal.is-visible::before { animation: filetTourne 3.2s linear var(--do, 0s) 3, filetVie 9.6s ease var(--do, 0s) backwards; }

  /* la barre sous les titres se déploie */
  .js .reveal:not(.is-visible) h2::after { width: 0; }
  .js .reveal h2::after { transition: width 1s cubic-bezier(.7,0,.2,1) .35s; }

  /* les services : trois encadrés qui s'ouvrent depuis la droite, l'un après l'autre */
  .js .trio article.reveal:nth-child(2) { --do: .22s; } .js .trio article.reveal:nth-child(3) { --do: .44s; }
  .js .trio article.reveal.is-visible { animation: ouvreDroite 1s cubic-bezier(.7,0,.2,1) var(--do, 0s) backwards; }
  .js .trio article.reveal.is-visible .trio-num { animation: pastillePop .6s cubic-bezier(.2,1.5,.4,1) calc(var(--do, 0s) + .7s) backwards; }
  .js .formes.reveal.is-visible li { animation: pastillePop .5s cubic-bezier(.2,1.4,.4,1) backwards; }
  .js .formes.reveal.is-visible li:nth-child(1) { animation-delay: .3s; } .js .formes.reveal.is-visible li:nth-child(2) { animation-delay: .45s; }
  .js .formes.reveal.is-visible li:nth-child(3) { animation-delay: .6s; } .js .formes.reveal.is-visible li:nth-child(4) { animation-delay: .75s; }

  /* les étapes : l'encadré s'ouvre depuis la gauche, puis les quatre étapes arrivent une à une */
  .js .deroule.reveal.is-visible, .js .qualite.reveal.is-visible { animation: ouvreGauche 1.1s cubic-bezier(.7,0,.2,1) backwards; }
  .js .deroule.reveal.is-visible .etapes li { animation: monte .7s cubic-bezier(.2,.7,.2,1) backwards; }
  .js .deroule.reveal.is-visible .etapes li:nth-child(1) { animation-delay: .7s; } .js .deroule.reveal.is-visible .etapes li:nth-child(2) { animation-delay: .95s; }
  .js .deroule.reveal.is-visible .etapes li:nth-child(3) { animation-delay: 1.2s; } .js .deroule.reveal.is-visible .etapes li:nth-child(4) { animation-delay: 1.45s; }

  /* les deux outils s'ouvrent depuis leur centre */
  .js .outil.reveal + .outil.reveal { --do: .3s; }
  .js .outil.reveal.is-visible { animation: ouvreCentre 1.1s cubic-bezier(.7,0,.2,1) var(--do, 0s) backwards; }

  /* portrait : ouverture en rond ; réalisation marquante et formulaire : depuis la droite */
  .js .portrait.reveal.is-visible { animation: ouvreRond 1.3s cubic-bezier(.6,0,.2,1) backwards; }
  .js .realisation.reveal.is-visible, .js .contact .panneau.reveal.is-visible { animation: ouvreDroite 1.1s cubic-bezier(.7,0,.2,1) backwards; }

  /* collaborations, en encadrés (écrans étroits) : ouverture depuis la gauche */
  .js .refs article.reveal.is-visible { animation: ouvreGauche 1s cubic-bezier(.7,0,.2,1) backwards; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  /* collaborations : cinq ronds qui s'ouvrent de gauche à droite, le filet doré tourne autour */
  .js .refs article.reveal, .js .refs article.reveal.is-visible { opacity: 1; transform: none; transition: none; animation: none; }
  .js .refs article.reveal:not(.is-visible)::before { transform: scale(0); }
  .js .refs article.reveal:not(.is-visible) :is(.ref-num, h3, p) { opacity: 0; }
  .js .refs article.reveal.is-visible::before { animation: rondOuvre .8s cubic-bezier(.2,1.35,.4,1) var(--dr, 0s) backwards; }
  .js .refs article.reveal.is-visible::after { animation: filetTourne 3.2s linear var(--dr, 0s) 3, filetVie 9.6s ease var(--dr, 0s) backwards; }
  .js .refs article.reveal.is-visible :is(.ref-num, h3) { animation: pastillePop .6s cubic-bezier(.2,1.3,.4,1) calc(var(--dr, 0s) + .35s) backwards; }
  .js .refs article.reveal.is-visible p { animation: monte .7s ease calc(var(--dr, 0s) + .6s) backwards; }
}

/* ---------- Premier bloc : le contenu de la carte ouverte est calé en bas, sous la phrase d'accueil,
   et le grand titre se règle aussi sur la hauteur de l'écran : les deux ne se chevauchent plus ---------- */
@media (min-width: 761px) {
  .vue-txt { top: auto; bottom: clamp(30px, 6.5vh, 76px); transform: translateY(26px); }
  .vue.fond .vue-txt { transform: none; }
  .vue-txt h2 { font-size: clamp(44px, min(7vw, 11.5vh), 112px); }
  .vue-txt h2 + p { margin: clamp(14px, 2.6vh, 24px) 0 clamp(18px, 3.2vh, 30px); }
  .vue-sur { margin-bottom: clamp(10px, 2vh, 18px); }
}
@media (max-width: 760px) { /* téléphone : cartes en attente plus petites et bloc un peu plus haut, pour que le texte ne passe plus dessous */
  .scene { --cw: 104px; --ch: 122px; --bas: 84px; height: clamp(730px, calc(100vh - 58px), 800px); }
  .vue-txt, .vue.fond .vue-txt { top: 142px; }
  .vue-txt h2 + p { font-size: 16px; margin: 12px 0 16px; }
}
@media (min-width: 761px) { /* le sous-titre de la carte ouverte démarre exactement à la hauteur du haut des cartes en attente */
  .scene { --bas: clamp(120px, 22vh, 200px); }
  .vue-txt { top: calc(100% - var(--ch) - var(--bas)); bottom: auto; }
  .vue-sur { line-height: 1.2; }
  .vue-txt h2 { font-size: clamp(42px, min(6.4vw, 10.5vh), 104px); }
  .scene-cmd { bottom: calc(var(--bas) - 82px); }
}
@media (min-width: 761px) and (max-width: 1100px) { .scene { --bas: clamp(150px, 27vh, 240px); } }
/* ---------- Or métallisé avec éclat, à la place des écritures jaunes (premier bloc) ----------
   Deux couches découpées dans les lettres : un reflet blanc qui traverse, sur un dégradé d'or. */
:root { --or-metal: linear-gradient(100deg, #D9A93F 0%, #F6DC8C 14%, #FFF8D6 28%, #F2CF73 42%, #DDB04A 58%, #F6DC8C 74%, #FFF8D6 86%, #E3B853 100%); --or-reflet: linear-gradient(105deg, rgba(255,255,255,0) 44%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 56%); }
@keyframes orEclat { 0%, 55% { background-position: 140% 0, 0 0; } 100% { background-position: -40% 0, 0 0; } }
.vue-txt h2 em, .vue[data-theme="clair"] .vue-txt h2 em, .scene-entete .sur { color: #E8BE5C; background-image: var(--or-reflet), var(--or-metal); background-size: 260% 100%, 100% 100%; background-position: 140% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; animation: orEclat 5.5s ease-in-out infinite; }
.vue-txt h2 em { display: inline-block; padding: 0 .14em .1em .04em; margin: 0 -.14em -.1em -.04em; filter: drop-shadow(0 1px 0 rgba(120,82,14,.9)) drop-shadow(0 4px 18px rgba(0,0,0,.55)); }
.scene-entete .sur { display: inline-block; filter: drop-shadow(0 1px 6px rgba(0,0,0,.6)); }
.vue-sur::before { background: linear-gradient(90deg, #C9952B, #FFF6CF, #E8BE5C); box-shadow: 0 0 10px rgba(246,220,140,.6); }
@media (prefers-reduced-motion: reduce) { .vue-txt h2 em, .scene-entete .sur { animation: none; } }
@media (forced-colors: active) { .vue-txt h2 em, .scene-entete .sur { background-image: none; -webkit-text-fill-color: CanvasText; } }
/* voile bleu nuit du premier bloc, légèrement plus foncé du côté gauche (derrière le texte) */
.vue-plateforme::after, .vue.avec-video::after { background: linear-gradient(90deg, rgba(11,16,22,1) 0%, rgba(11,16,22,.97) calc(30% + 38px), rgba(12,18,24,.74) calc(52% + 38px), rgba(14,20,27,.42) calc(70% + 38px), rgba(14,20,27,.22) 100%), linear-gradient(0deg, rgba(14,20,27,.88), rgba(14,20,27,0) 50%), linear-gradient(180deg, rgba(14,20,27,.55), rgba(14,20,27,0) 24%); }/* les petites cartes en attente gardent leur voile d'avant (le voile foncé ne vaut que pour la carte ouverte) */
.vue-plateforme:not(.fond)::after, .vue.avec-video:not(.fond)::after { background: linear-gradient(90deg, rgba(14,20,27,.94) 0%, rgba(14,20,27,.82) 34%, rgba(14,20,27,.38) 66%, rgba(14,20,27,.2) 100%), linear-gradient(0deg, rgba(14,20,27,.88), rgba(14,20,27,0) 50%), linear-gradient(180deg, rgba(14,20,27,.55), rgba(14,20,27,0) 24%); }
/* ==========================================================================
   Charte : dégradé bleu nuit → rouge partout, plus de rose (fonds pâles rosés, halos roses, saumon des devises)
   ========================================================================== */
:root { --charte: linear-gradient(120deg, #141D26 0%, #243447 42%, #A30B33 82%, #FF033E 100%); --charte-inv: linear-gradient(120deg, #FF033E 0%, #A30B33 18%, #243447 58%, #141D26 100%); }
/* fonds de blocs : teinte bleu nuit seulement */
#prestations { background: radial-gradient(circle min(760px, 90vw) at 100% 0%, rgba(36,52,71,.13), rgba(36,52,71,0) 70%), radial-gradient(circle min(720px, 90vw) at 0% 62%, rgba(36,52,71,.10), rgba(36,52,71,0) 70%); }
#a-propos { background: radial-gradient(circle min(720px, 90vw) at 0% 8%, rgba(36,52,71,.12), rgba(36,52,71,0) 70%), radial-gradient(circle min(680px, 90vw) at 100% 70%, rgba(36,52,71,.10), rgba(36,52,71,0) 70%); }
#references { background: radial-gradient(circle min(700px, 90vw) at 100% 30%, rgba(36,52,71,.11), rgba(36,52,71,0) 70%); }
.deroule { background: #fff; }
/* pastilles et ronds : le dégradé de la charte, ombres bleu nuit (plus de halo rose) */
.trio-num, .trio article:nth-child(2) .trio-num, .trio article:nth-child(3) .trio-num { background: var(--charte); box-shadow: 0 14px 24px -12px rgba(20,29,38,.75); }
.trio article:nth-child(2) .trio-num { background: var(--charte-inv); }
.etapes li::before { background: var(--charte); }
.etapes li:nth-child(even)::before { background: var(--charte-inv); }
.formes li, .formes li:nth-child(even) { background: var(--charte); }
.formes li:nth-child(even) { background: var(--charte-inv); }
.refs .ref-num { background: var(--charte); }
.refs article:nth-child(even) .ref-num { background: var(--charte-inv); }
@media (min-width: 1100px) {
  .refs article::before { background: var(--charte); box-shadow: 0 26px 40px -22px rgba(20,29,38,.8); }
  .refs article:nth-child(even)::before { background: var(--charte-inv); box-shadow: 0 26px 40px -22px rgba(20,29,38,.8); }
  .refs article .ref-num, .refs article:nth-child(even) .ref-num { background: none; }
}
/* « Le terrain » / « La pédagogie » : deux encadrés dans le dégradé de la charte */
.casquettes div { background: var(--charte); }
.casquettes div + div { background: var(--charte-inv); }
.casquettes h3, .casquettes div + div h3 { color: #fff; }
.casquettes p { color: rgba(255,255,255,.88); }
.casquettes div::after { background-image: var(--lisere-clair); }
/* barres et filets */
.chiffres li::before, .chiffres li:nth-child(even)::before { background: var(--charte); }
.chiffres b { background-image: linear-gradient(120deg, #141D26 0%, #243447 35%, #C7002F 80%, #FF033E 100%); }
.tete-section h2::after, .texte h2::after, .contact h2::after { background: linear-gradient(90deg, #243447, #FF033E); }
.panneau.teinte { background: linear-gradient(120deg, #141D26 0%, #243447 55%, #7A1034 100%); }

/* ---------- Devises : bandeau bien moins haut, lettres en dégradé bleu nuit → rouge puis rouge → bleu nuit ---------- */
.devises { padding: clamp(14px, 1.6vw, 22px) 0; }
.devises li { font-size: clamp(20px, 2vw, 28px); }
.devises li:nth-child(odd) { background-image: linear-gradient(90deg, #141D26 0%, #243447 45%, #C7002F 85%, #FF033E 100%); }
.devises li:nth-child(even) { background-image: linear-gradient(90deg, #FF033E 0%, #C7002F 18%, #243447 62%, #141D26 100%); }
.devises li::after { width: 7px; height: 7px; margin: 0 clamp(20px, 2.4vw, 38px); }
/* ---------- Paragraphes justifiés (avec césure française pour éviter les grands blancs) ---------- */
.tete-section p:not(.eyebrow), .chapo, .apropos .texte > p, .realisation > p, .qualite > p, .casquettes p, .refs article > p, .mention, .legal p, .legal li, .pied-grille > div:first-child > p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
@media (min-width: 1100px) { .refs article > p { text-align: center; -webkit-hyphens: manual; hyphens: manual; } } /* sous les ronds, colonnes trop étroites pour justifier sans grands blancs */

/* ---------- « Formation, conseil et solutions sur mesure » sur une seule ligne (écrans d'ordinateur) ---------- */
@media (min-width: 900px) { #titre-prestations { white-space: nowrap; font-size: clamp(34px, 4.9vw, 66px); } }
/* ---------- « Réalisation marquante » : titre et texte face à face, à la même hauteur ---------- */
@media (min-width: 901px) { .realisation { grid-template-columns: 5fr 6fr; align-items: center; } }
/* ---------- Collaborations : chiffres en or métallisé en relief ; dans les ronds, chiffre et titre regroupés au centre ---------- */
.refs .ref-num { color: #E8BE5C; }
@media (min-width: 1100px) {
  .refs article .ref-num, .refs article:nth-child(even) .ref-num { margin-top: 32px; height: 48px; font-size: 42px; line-height: 48px; letter-spacing: .01em; background: var(--or-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 #9A6F17) drop-shadow(0 2px 0 #7A560F) drop-shadow(0 3px 0 #5C3F09) drop-shadow(0 7px 8px rgba(0,0,0,.55)); }
  .refs h3 { margin-top: 6px; height: 64px; font-size: 18.5px; }
  .refs .ref-type { margin-top: 56px; }
}
@media (max-width: 1099px) {
  .refs .ref-num { -webkit-text-fill-color: #F6DC8C; text-shadow: 0 1px 0 #9A6F17, 0 2px 0 #7A560F, 0 3px 0 #5C3F09, 0 6px 8px rgba(0,0,0,.5); }
}
/* ---------- Collaborations : chiffres en or sans relief ; titres remontés pour ne plus toucher le bord du rond ---------- */
@media (min-width: 1100px) {
  .refs article .ref-num, .refs article:nth-child(even) .ref-num { margin-top: 24px; height: 44px; font-size: 38px; line-height: 44px; filter: none; }
  .refs h3 { margin-top: 2px; height: 60px; font-size: 17px; line-height: 1.14; width: calc(var(--rond) - 52px); }
  .refs .ref-type { margin-top: 72px; }
}
@media (max-width: 1099px) { .refs .ref-num { text-shadow: none; } }
/* ==========================================================================
   Or métallisé avec éclat à la place de toutes les écritures jaunes, dans tout le site
   ========================================================================== */
.pan-nuit h2 em, .pan-nuit .eyebrow, .panneau.teinte .eyebrow, .outil-type { color: #E8BE5C; background-image: var(--or-reflet), var(--or-metal); background-size: 260% 100%, 100% 100%; background-position: 140% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: orEclat 5.5s ease-in-out infinite; }
.pan-nuit h2 em { display: inline-block; padding: 0 .14em .1em .04em; margin: 0 -.14em -.1em -.04em; }
.pan-nuit .eyebrow, .panneau.teinte .eyebrow, .outil-type { width: -moz-fit-content; width: fit-content; max-width: 100%; }
.pan-nuit .eyebrow, .panneau.teinte .eyebrow { animation-delay: .6s; }
.outil-type { animation-delay: 1.2s; }
.pan-nuit .eyebrow::before, .panneau.teinte .eyebrow::before, .outil .liste li::before { background: linear-gradient(90deg, #C9952B, #FFF6CF, #E8BE5C); }
.pan-nuit .tete-section h2::after { background: linear-gradient(90deg, #FF033E, #E8BE5C, #FFF6CF); }
@media (min-width: 1100px) {
  .refs article .ref-num, .refs article:nth-child(even) .ref-num { background: var(--or-reflet), var(--or-metal); background-size: 260% 100%, 100% 100%; background-position: 140% 0, 0 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; }
}
/* en-tête : le bouton « Demander un devis » au survol, et le trait du lien actif */
.tete .menu a.devis:hover { background: linear-gradient(100deg, #E8BE5C, #FFF6CF 50%, #E3B853); }
.tete .menu a.is-active { box-shadow: 0 2px 0 #E8BE5C; }
.tete .menu a.devis.is-active { box-shadow: none; }
@media (max-width: 1040px) { .tete .menu a.devis:hover { background: var(--nuit); } .tete .menu a.is-active { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .pan-nuit h2 em, .pan-nuit .eyebrow, .panneau.teinte .eyebrow, .outil-type { animation: none; } }
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  .js .refs article.reveal.is-visible .ref-num { animation: pastillePop .6s cubic-bezier(.2,1.3,.4,1) calc(var(--dr, 0s) + .35s) backwards, orEclat 5.5s ease-in-out calc(var(--dr, 0s) + 1.5s) infinite; }
}
@media (forced-colors: active) { .pan-nuit h2 em, .pan-nuit .eyebrow, .panneau.teinte .eyebrow, .outil-type, .refs .ref-num { background-image: none; -webkit-text-fill-color: CanvasText; } }
/* ---------- Justification : aussi la citation et les textes sous les ronds des collaborations ---------- */
.citation { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
@media (min-width: 1100px) { .refs article > p { text-align: justify; text-align-last: center; -webkit-hyphens: auto; hyphens: auto; } }

/* ---------- Les filets dorés restent en place autour des encadrés et des ronds (ils ne s'effacent plus après trois tours) ---------- */
@keyframes filetArrive { from { opacity: 0; } to { opacity: .95; } }
@media (prefers-reduced-motion: no-preference) {
  .js .trio article.reveal.is-visible::before, .js .panneau.reveal.is-visible::before, .js .outil.reveal.is-visible::before { animation: filetTourne 5s linear var(--do, 0s) infinite, filetArrive 1s ease var(--do, 0s) both; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  .js .refs article.reveal.is-visible::after { animation: filetTourne 5s linear var(--dr, 0s) infinite, filetArrive 1s ease var(--dr, 0s) both; }
}
/* ---------- Encadré de la Bibliothèque : trois vraies pages en éventail, à la place des feuilles dessinées ---------- */
.outil-visuel.pages img { position: absolute; left: 50%; bottom: -58px; width: 178px; height: auto; margin-left: -89px; border-radius: 7px; object-fit: fill; background: #fff; transform-origin: 50% 185%; box-shadow: 0 18px 30px -14px rgba(0,0,0,.65); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.outil-visuel.pages img:nth-child(1) { transform: rotate(-21deg); }
.outil-visuel.pages img:nth-child(2) { transform: rotate(21deg); }
.outil-visuel.pages img:nth-child(3) { transform: none; }
.outil:hover .outil-visuel.pages img:nth-child(1) { transform: rotate(-25deg); }
.outil:hover .outil-visuel.pages img:nth-child(2) { transform: rotate(25deg); }
.outil:hover .outil-visuel.pages img:nth-child(3) { transform: translateY(-8px); }
@media (max-width: 560px) { .outil-visuel.pages img { width: 150px; margin-left: -75px; bottom: -44px; } }
@media (prefers-reduced-motion: reduce) { .outil-visuel.pages img { transition: none; } }
/* ---------- Questions fréquentes (24/11/2026) : encadré blanc avec liseré et filet doré, questions qui s'ouvrent au clic ---------- */
.faq { padding: clamp(14px, 2.4vw, 30px) clamp(24px, 4.5vw, 64px); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-family: var(--f-titre); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; color: var(--nuit); transition: color .25s ease; }
.faq summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background-position: center, center; background-repeat: no-repeat, no-repeat; background-size: 16px 16px, 100% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"), var(--pastille); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.faq details[open] summary::after { transform: rotate(45deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"), var(--pastille-nuit); }
.faq summary:hover h3, .faq details[open] summary h3 { color: var(--rouge-fonce); }
.faq summary:focus-visible { outline: 3px solid #E8BE5C; outline-offset: 4px; border-radius: 8px; }
.faq details p { margin: 0 0 26px; max-width: 74ch; font-size: 17px; line-height: 1.65; color: var(--texte); text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: monte .45s ease both; }
  .js .faq.reveal.is-visible { animation: ouvreGauche 1.1s cubic-bezier(.7,0,.2,1) backwards; }
}
@media (max-width: 560px) { .faq summary { padding: 20px 0; } .faq summary::after { width: 34px; height: 34px; } .faq details p { font-size: 16px; } }

/* ===== Pages de service (24/11/2026) : tout est limité à body.page-service ===== */
.page-service .fil-ariane { padding: 92px 0 14px; font-size: 14px; color: var(--doux); }
.page-service .fil-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.page-service .fil-ariane li + li::before { content: "›"; margin-right: 10px; color: var(--rouge); }
.page-service .fil-ariane a { color: var(--doux); }
.page-service .fil-ariane a:hover { color: var(--nuit); }
.page-service .service-accroche .tete-section { max-width: 900px; margin-bottom: 0; }
.page-service .service-accroche h1 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.02em; color: #fff; margin: 0; }
.page-service .service-accroche h1 em { display: block; font-family: var(--f-plume); font-weight: 400; font-style: italic; color: var(--jaune); letter-spacing: 0; }
.page-service .service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.page-service .lien-clair { color: #fff; text-decoration: underline; text-underline-offset: 5px; font-size: 16px; }
.page-service .lien-clair:hover { color: var(--jaune); }
.page-service .service-confiance { justify-content: center; margin: 28px 0 0; }
.page-service .gains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.page-service .gains li { grid-column: span 2; } .page-service .gains li:nth-child(4):nth-last-child(2), .page-service .gains li:nth-child(5):nth-last-child(1) { grid-column: span 3; }
.page-service .gains li { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--trait); border-radius: 28px; padding: 24px 22px 22px 30px; box-shadow: 0 30px 50px -42px rgba(20,29,38,.45); }
.page-service .gains li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--charte); }
.page-service .gains strong { display: block; font-family: var(--f-titre); font-weight: 800; font-size: 18px; line-height: 1.25; color: var(--nuit); margin-bottom: 8px; }
.page-service .gains span { display: block; font-size: 15.5px; line-height: 1.5; color: var(--doux); }
.page-service .trio.quatre { grid-template-columns: repeat(2, 1fr); }
.page-service .trio.quatre article:nth-child(4) .trio-num { background: var(--charte-inv); }
.page-service .h3-taille { font-size: clamp(22px, 2.4vw, 30px); }
.page-service .service-texte .legal { max-width: 900px; }
.page-service .service-texte .legal p { font-size: 17px; line-height: 1.65; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.page-service .tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (min-width: 701px) { .page-service .tableau-defile table { min-width: 720px; } }
@media (max-width: 700px) { .page-service .tableau-defile th[scope="row"] { display: block; font-size: 16px; padding-top: 18px; background: rgba(36,52,71,.05); } }
.page-service .tableau-defile th[scope="row"] { font-weight: 600; color: var(--nuit); }
.page-service .tableau-defile thead th:nth-child(2), .page-service .tableau-defile td:nth-child(2) { background: rgba(36,52,71,.05); }
.page-service .service-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.page-service .service-final h2 { color: #fff; }
.page-service .service-final p:not(.eyebrow) { margin-top: 10px; color: rgba(255,255,255,.82); max-width: 60ch; }
.page-service .exemples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.page-service .exemples li { background: #fff; border: 1px solid var(--trait); border-radius: 28px; padding: 24px 26px; box-shadow: 0 30px 50px -42px rgba(20,29,38,.45); }
.page-service .exemples .ex-type { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--rouge-fonce); font-weight: 600; margin: 0 0 8px; }
.page-service .exemples h3 { font-size: 19px; margin: 0 0 10px; }
.page-service .exemples p { font-size: 15.5px; line-height: 1.55; color: var(--doux); margin: 0; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.page-service .gains span { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 900px) { .page-service .trio.quatre, .page-service .gains { grid-template-columns: 1fr; } .page-service .gains li, .page-service .gains li:nth-child(4):nth-last-child(2), .page-service .gains li:nth-child(5):nth-last-child(1) { grid-column: auto; } .page-service .fil-ariane { padding-top: 84px; } }
.page-service .service-produits { margin-top: clamp(24px, 4vw, 48px); }
.page-service .exemples.produits li { display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.page-service .exemples.produits h3 { color: #fff; margin: 0; }
.page-service .exemples.produits .ex-type { color: var(--jaune); margin: 0; }
.page-service .exemples.produits p:not(.ex-type) { color: rgba(255,255,255,.82); }
.page-service .exemples.produits strong { color: #fff; }
.page-service .exemples.produits .lien-clair { margin-top: auto; padding-top: 8px; font-weight: 500; }
.page-service .produits-pont { margin: 34px 0 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.86); max-width: 70ch; }
/* Lien vers la page de service, dans la carte « Concevoir » de l'accueil (24/11/2026) */
.trio .lien-trio { display: inline-block; margin: 18px 0 6px; color: var(--rouge-fonce); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.trio .lien-trio:hover { color: var(--nuit); }
/* Troisième outil : CoachRecap (28/11/2026) — 3 colonnes sur grand écran, la 3e carte en pleine largeur entre 901 et 1179 px */
@media (min-width: 1180px) { .duo { grid-template-columns: repeat(3, 1fr); gap: 24px; } .duo .outil h3 { font-size: clamp(24px, 2vw, 30px); } }
@media (min-width: 901px) and (max-width: 1179px) { .duo .outil:nth-child(3) { grid-column: 1 / -1; } .duo .outil:nth-child(3) .outil-visuel { height: 300px; } }