/* Layout : héro "plan qui se dessine" sur fond nuit bordeaux, puis chapitres crème alternés ;
   une seule audace (le plan doré animé), le reste reste sobre et aéré. */
:root {
  --creme: #F2EADD;
  --creme-2: #FAF4E9;
  --bordeaux: #5E1B2E;
  --bordeaux-clair: #7A2A40;
  --nuit: #1E0A0F;
  --nuit-2: #2A1018;
  --or: #B8954C;
  --or-clair: #CBA85E;
  --encre: #3C3537;
  --encre-doux: #7C7370;
  --trait: #E4D9C7;
  --font-titre: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-texte: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gouttiere: clamp(16px, 5vw, 64px);
  --largeur: 1180px;
  --rayon: 20px;
  --rayon-s: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-titre); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; color: var(--bordeaux); }
p { margin: 0; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.surtitre { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--or); font-weight: 500; display: flex; align-items: center; gap: 14px; }
.surtitre::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--encre-doux); max-width: 58ch; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

/* ── Barre de progression + en-tête ── */
.progression { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--bordeaux), var(--or)); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
header.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: transform .5s cubic-bezier(.2,.7,.2,1), background .4s, color .4s; color: var(--creme); }
header.entete.cache { transform: translateY(-110%); }
header.entete.plein { background: rgba(242,234,221,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--encre); border-bottom: 1px solid var(--trait); }
.bandeau { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { font-family: var(--font-titre); letter-spacing: .2em; font-size: 17px; text-decoration: none; white-space: nowrap; }
.r-mono { color: var(--bordeaux-clair); }
.entete:not(.plein) .r-mono { color: var(--creme); }
.b-mono, .pt { color: var(--or); }
nav.menu ul { list-style: none; display: flex; gap: clamp(18px, 3vw, 40px); margin: 0; padding: 0; }
nav.menu a { text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 6px 0; opacity: .8; transition: opacity .3s; }
nav.menu a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
nav.menu a:hover, nav.menu a.actif { opacity: 1; }
nav.menu a:hover::after, nav.menu a.actif::after { transform: scaleX(1); transform-origin: left; }
.hamburger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; color: inherit; cursor: pointer; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s, opacity .3s; }
.hamburger span:nth-child(1) { top: 16px; } .hamburger span:nth-child(2) { top: 22px; } .hamburger span:nth-child(3) { top: 28px; }
.hamburger.ouvert span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.ouvert span:nth-child(2) { opacity: 0; }
.hamburger.ouvert span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; gap: 14px; background: var(--bordeaux); color: var(--creme); padding: 17px 34px; text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--bordeaux); cursor: pointer; font-family: var(--font-texte); position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--or); transform: translateY(101%); transition: transform .55s cubic-bezier(.7,0,.2,1); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--or); color: var(--nuit); }
.btn .fleche { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .4s; }
.btn .fleche::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .fleche { width: 32px; }
.btn-ligne { background: transparent; color: var(--bordeaux); }
.btn-clair { background: transparent; color: var(--creme); border-color: rgba(242,234,221,.4); }

/* ── HÉRO ── */
.hero { position: relative; background: var(--nuit); color: var(--creme); min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-block: 110px 70px; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 70% 45%, rgba(94,27,46,.55), transparent 70%); pointer-events: none; }
.hero-grille { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero .slogan { color: var(--creme); font-size: clamp(40px, 5.2vw, 76px); font-weight: 300; letter-spacing: -.01em; margin-top: 22px; }
.hero .slogan em { font-style: italic; color: var(--or-clair); }
.hero .slogan .ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.hero .slogan .ligne > span { display: inline-block; }
.hero .tagline { font-family: var(--font-titre); font-style: italic; color: var(--or-clair); font-size: 20px; margin-top: 22px; }
.hero .lead { color: rgba(242,234,221,.68); margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .btn { background: var(--or); border-color: var(--or); color: var(--nuit); }
.hero .btn::before { background: var(--creme); }
.hero .btn.btn-clair { background: transparent; color: var(--creme); border-color: rgba(242,234,221,.35); }
.hero .btn.btn-clair:hover { color: var(--nuit); }
.defiler { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(242,234,221,.55); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.defiler i { width: 1px; height: 42px; background: rgba(242,234,221,.2); position: relative; overflow: hidden; }
.defiler i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--or); animation: goutte 2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes goutte { to { top: 100%; } }

/* Plan SVG */
.plan { width: 100%; height: auto; overflow: visible; }
.plan text { font-family: var(--font-texte); font-size: 10px; letter-spacing: .14em; fill: rgba(242,234,221,.6); text-anchor: middle; }
.plan text.gauche, .plan .legende text, .plan .cartouche text { text-anchor: start; }
.plan .murs { fill: rgba(242,234,221,.88); stroke: var(--creme); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .ouvertures path { fill: none; stroke: rgba(242,234,221,.55); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .mobilier rect, .plan .mobilier path { fill: none; stroke: rgba(242,234,221,.22); stroke-width: 1; }
.plan .mobilier .ecran { stroke: rgba(242,234,221,.6); stroke-width: 3; stroke-linecap: round; }
.plan .cotes path { fill: none; stroke: rgba(242,234,221,.4); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .cotes text { font-size: 10px; letter-spacing: .08em; }
.plan .pieces text { font-size: 9.5px; fill: rgba(242,234,221,.72); }
.plan .pieces tspan { font-size: 9px; fill: var(--or-clair); letter-spacing: .06em; }
.plan text.mini { font-size: 8px; letter-spacing: .1em; }
.plan .hach { stroke: var(--or); stroke-width: 1.2; }
.plan .tableau rect { stroke: var(--or); stroke-width: 1.2; }
.plan .tableau text { fill: var(--or-clair); font-size: 9px; text-anchor: start; letter-spacing: .08em; }
.plan .liaisons path { fill: none; stroke: var(--or); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .85; }
.plan .pt circle, .plan .pt path { fill: none; stroke: var(--or-clair); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .pt circle.plein, .plan .sym .plein { fill: var(--or-clair); stroke: none; }
.plan .halo { fill: var(--or-clair); opacity: 0; filter: url(#flou); }
.plan .nord path { fill: none; stroke: rgba(242,234,221,.6); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .echelle rect { stroke: rgba(242,234,221,.6); stroke-width: .8; }
.plan .echelle .plein { fill: rgba(242,234,221,.6); } .plan .echelle .vide { fill: none; }
.plan .echelle text { font-size: 8.5px; letter-spacing: .04em; }
.plan .legende text { font-size: 11px; letter-spacing: .02em; fill: rgba(242,234,221,.75); }
.plan .legende .titre, .plan .cartouche .titre { font-size: 10px; letter-spacing: .22em; fill: var(--or-clair); }
.plan .legende .note, .plan .cartouche .note { font-size: 9.5px; fill: rgba(242,234,221,.45); }
.plan .legende .filet { stroke: rgba(203,168,94,.4); stroke-width: 1; }
.plan .sym circle, .plan .sym path, .plan .sym rect { fill: none; stroke: var(--or-clair); stroke-width: 1.3; }
.plan .sym rect { stroke: var(--or); }
.plan .sym .tirets { stroke: var(--or); stroke-width: 1; }
.plan .cartouche rect, .plan .cartouche path { fill: none; stroke: rgba(242,234,221,.4); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .cartouche text { font-size: 10.5px; letter-spacing: .02em; fill: rgba(242,234,221,.75); }
.plan .cartouche rect { rx: 6px; }

/* ── Manifeste ── */
.approche { padding-block: clamp(110px, 16vw, 200px); background: var(--creme); }
.approche .grand { font-family: var(--font-titre); font-size: clamp(28px, 4.2vw, 58px); line-height: 1.18; color: var(--bordeaux); font-weight: 300; max-width: 22ch; letter-spacing: -.01em; }
.approche .mot { opacity: 1; }
.approche em { color: var(--or); }
.approche .surtitre { margin-bottom: 40px; }

/* ── Métier (piste horizontale) ── */
.metier { background: var(--creme-2); position: relative; overflow: hidden; }
.metier-tete { padding-block: 90px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.metier-tete h2 { font-size: clamp(32px, 4vw, 54px); max-width: 16ch; margin-top: 16px; }
.metier-tete .lead { max-width: 40ch; }
.piste-cadre { position: relative; padding-bottom: 90px; }
.piste { display: flex; gap: clamp(20px, 3vw, 40px); padding-inline: var(--gouttiere); width: max-content; }
.fil { position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--trait); }
.fil i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bordeaux), var(--or)); transform-origin: 0 50%; transform: scaleX(1); }
.etape { width: min(78vw, 440px); flex: none; position: relative; padding-top: 70px; }
.etape .noeud { position: absolute; top: 27px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--creme-2); border: 1px solid var(--or); }
.etape .noeud::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--or); }
.etape .num { font-family: var(--font-titre); font-size: clamp(64px, 7vw, 104px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--or); font-weight: 300; }
.etape h3 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 18px; }
.etape p { color: var(--encre-doux); margin-top: 14px; max-width: 38ch; }
.etape .voir { margin-top: 22px; background: none; border: 0; padding: 0; font: inherit; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bordeaux); display: inline-flex; gap: 12px; align-items: center; cursor: pointer; }
.etape .voir::after { content: ''; width: 24px; height: 1px; background: var(--or); transition: width .4s; }
.etape .voir:hover::after { width: 44px; }
.etape.specialite { width: min(78vw, 500px); background: var(--bordeaux); color: var(--creme); padding: 70px 40px 44px; }
.etape.specialite .noeud { left: 40px; background: var(--bordeaux); }
.etape.specialite h3 { color: var(--creme); }
.etape.specialite p { color: rgba(242,234,221,.75); }
.etape.specialite .num { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--or-clair); -webkit-text-stroke: 0; font-family: var(--font-texte); }

/* ── Chiffre ── */
.chiffre { background: var(--bordeaux); color: var(--creme); padding-block: clamp(90px, 12vw, 160px); position: relative; overflow: hidden; }
.chiffre-grille { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.compteur { font-family: var(--font-titre); font-weight: 300; font-size: clamp(130px, 22vw, 300px); line-height: .85; color: var(--or-clair); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.chiffre h2 { color: var(--creme); font-size: clamp(28px, 3.4vw, 46px); }
.chiffre p { color: rgba(242,234,221,.72); margin-top: 18px; max-width: 46ch; }
.chiffre .surtitre { color: var(--or-clair); margin-bottom: 18px; }
.chiffre .filigrane { position: absolute; right: -2vw; bottom: -6vw; font-family: var(--font-titre); font-size: 26vw; color: rgba(242,234,221,.03); line-height: 1; pointer-events: none; white-space: nowrap; }

/* ── Spécialité image ── */
.specialite-bloc { padding-block: clamp(90px, 12vw, 160px); background: var(--creme); }
.spe-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.spe-image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; clip-path: inset(0 0 0 0); }
.spe-image img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0; }
.spe-texte h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 18px; }
.spe-texte p { color: var(--encre-doux); margin-top: 20px; }
.spe-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.spe-tags span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--trait); padding: 6px 12px; color: var(--encre); }

/* ── Réalisations ── */
.realisations { padding-block: clamp(90px, 12vw, 150px); background: var(--creme-2); }
.rea-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 56px; }
.rea-tete h2 { font-size: clamp(34px, 4.6vw, 64px); margin-top: 16px; }
.rea-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.rea-carte { position: relative; text-decoration: none; color: var(--creme); display: block; cursor: pointer; }
.rea-carte:nth-child(1) { grid-column: 1 / 8; }
.rea-carte:nth-child(2) { grid-column: 8 / 13; margin-top: 120px; }
.rea-carte:nth-child(3) { grid-column: 1 / 6; }
.rea-carte:nth-child(4) { grid-column: 6 / 13; margin-top: -60px; }
.rea-cadre { position: relative; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--nuit); }
.rea-carte:nth-child(2) .rea-cadre, .rea-carte:nth-child(3) .rea-cadre { aspect-ratio: 4 / 5; }
.rea-cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .8s; }
.rea-carte:hover .rea-cadre img { transform: scale(1.06); filter: brightness(.7); }
.voile { position: absolute; inset: 0; background: var(--bordeaux); transform-origin: 50% 0; transform: scaleY(0); z-index: 2; }
.rea-info { margin-top: 16px; color: var(--encre); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.rea-info h3 { font-size: clamp(20px, 1.8vw, 26px); }
.rea-info span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); }
.rea-badge { position: absolute; top: 16px; left: 16px; z-index: 3; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: rgba(30,10,15,.6); backdrop-filter: blur(6px); padding: 6px 12px; color: var(--creme); }

/* ── Pour qui ── */
.pourqui { padding-block: clamp(90px, 12vw, 150px); background: var(--creme); }
.pourqui h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 16px; max-width: 20ch; }
.cibles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--trait); }
.cible { padding: 36px 30px 36px 0; border-right: 1px solid var(--trait); position: relative; }
.cible + .cible { padding-left: 30px; }
.cible:last-child { border-right: 0; }
.cible::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--or); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.cible + .cible::before { left: 0; }
.cible:hover::before { width: 100%; }
.cible h3 { font-size: 24px; }
.cible p { color: var(--encre-doux); margin-top: 12px; }

/* ── À propos ── */
.apropos { padding-block: clamp(90px, 12vw, 150px); background: var(--creme-2); }
.apropos-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }
.apropos h2 { font-size: clamp(30px, 3.6vw, 50px); margin-top: 16px; }
.apropos-texte p { color: var(--encre); margin-bottom: 18px; max-width: 60ch; }
.valeurs { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; }
.valeurs li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--trait); }
.valeurs strong { font-family: var(--font-titre); font-weight: 400; font-size: 22px; color: var(--bordeaux); }
.valeurs span { color: var(--encre-doux); }

/* ── Ressources ── */
.ressources { padding-block: clamp(80px, 10vw, 130px); background: var(--creme); }
.ressources h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 16px; }
.liens { margin-top: 44px; border-top: 1px solid var(--trait); }
.lien-res { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--trait); text-decoration: none; position: relative; overflow: hidden; }
.lien-res::before { content: ''; position: absolute; inset: 0; background: var(--bordeaux); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.7,0,.2,1); z-index: 0; }
.lien-res > * { position: relative; z-index: 1; transition: color .4s, transform .6s cubic-bezier(.2,.7,.2,1); }
.lien-res:hover::before { transform: scaleY(1); }
.lien-res:hover > * { color: var(--creme); }
.lien-res:hover h3 { transform: translateX(14px); }
.lien-res .n { font-size: 11px; letter-spacing: .2em; color: var(--or); }
.lien-res h3 { font-size: clamp(20px, 2.2vw, 30px); }
.lien-res .mention { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--encre-doux); }

/* ── Contact ── */
.contact { background: var(--nuit); color: var(--creme); padding-block: clamp(110px, 14vw, 190px); position: relative; overflow: hidden; text-align: center; }
.contact h2 { color: var(--creme); font-size: clamp(44px, 8vw, 120px); font-weight: 300; letter-spacing: -.02em; }
.contact h2 em { color: var(--or-clair); }
.contact .lead { color: rgba(242,234,221,.65); margin: 26px auto 0; }
.coord { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 6vw, 80px); margin-top: 56px; }
.coord div { display: grid; gap: 6px; }
.coord small { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--or); }
.coord span { font-family: var(--font-titre); font-size: clamp(18px, 2vw, 24px); user-select: all; overflow-wrap: anywhere; }
.contact .btn { margin-top: 56px; background: var(--or); border-color: var(--or); color: var(--nuit); }
.contact .btn::before { background: var(--creme); }

/* ── Pied de page ── */
footer.pied { background: var(--bordeaux); color: rgba(242,234,221,.7); padding-block: 56px 32px; font-size: 14px; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.pied .logo { color: var(--creme); }
.pied .r-mono { color: var(--creme); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(242,234,221,.15); font-size: 12px; color: rgba(242,234,221,.5); }

/* ── Modals ── */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(30,10,15,.94); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px var(--gouttiere); overflow-y: auto; }
.modal[hidden] { display: none !important; }
.modal-inner { background: var(--creme-2); max-width: 720px; width: 100%; padding: clamp(28px, 5vw, 52px); position: relative; max-height: calc(100svh - 48px); overflow-y: auto; }
.modal-inner h2 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 22px; }
.modal-inner p { color: #4A4346; margin-bottom: 14px; font-size: 15px; }
.modal-fermer { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid var(--trait); background: none; font-size: 20px; cursor: pointer; color: var(--bordeaux); }
.modal-fermer:hover { background: var(--bordeaux); color: var(--creme); }

/* ── Curseur personnalisé (souris uniquement) ── */
.curseur, .curseur-anneau { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 400; border-radius: 50%; display: none; }
.curseur { width: 6px; height: 6px; background: var(--or); margin: -3px 0 0 -3px; }
.curseur-anneau { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--or); transition: width .35s, height .35s, margin .35s, background .35s, border-color .35s; display: none; align-items: center; justify-content: center; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--nuit); }
.curseur-anneau.survol { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: transparent; border-color: var(--or); color: var(--or); }
@media (pointer: fine) {
  body.avec-curseur .curseur, body.avec-curseur .curseur-anneau { display: flex; }
  body.avec-curseur, body.avec-curseur a, body.avec-curseur button, body.avec-curseur .rea-carte { cursor: none; }
}

/* Pastille "maquette" */
.pastille { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 150; background: var(--nuit); color: var(--or-clair); border: 1px solid rgba(203,168,94,.4); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 14px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grille { grid-template-columns: minmax(0, 1fr); }
  .hero .plan-zone { order: 2; }
  .spe-grille, .apropos-grille, .chiffre-grille { grid-template-columns: minmax(0, 1fr); }
  .rea-grille { grid-template-columns: minmax(0, 1fr); }
  .rea-carte:nth-child(n) { grid-column: auto; margin-top: 0; }
  .rea-carte:nth-child(n) .rea-cadre { aspect-ratio: 4 / 3; }
  .cibles { grid-template-columns: minmax(0, 1fr); }
  .cible, .cible + .cible { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--trait); }
}
@media (max-width: 760px) {
  .hamburger { display: block; z-index: 2; }
  nav.menu { position: fixed; inset: 0; background: var(--nuit); display: flex; align-items: center; justify-content: center; transform: translateY(-100%); visibility: hidden; transition: transform .7s cubic-bezier(.7,0,.2,1), visibility 0s .7s; }
  nav.menu.ouverte { transform: translateY(0); visibility: visible; transition: transform .7s cubic-bezier(.7,0,.2,1), visibility 0s; }
  .pastille { font-size: 9px; padding: 6px 10px; }
  nav.menu ul { flex-direction: column; align-items: center; gap: 26px; }
  nav.menu a { font-family: var(--font-titre); font-size: 30px; letter-spacing: .04em; text-transform: none; color: var(--creme); opacity: 1; }
  header.entete.menu-ouvert { color: var(--creme); background: transparent; border-color: transparent; backdrop-filter: none; }
  .valeurs li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lien-res { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .piste { width: auto; flex-direction: column; }
  .etape, .etape.specialite { width: 100%; }
  .fil { display: none; }
  .defiler { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ══ v2 : angles adoucis ══ */
.btn { border-radius: 999px; }
.btn::before { border-radius: inherit; }
header.entete { transition: transform .5s cubic-bezier(.2,.7,.2,1), background .4s, color .4s, margin .4s, border-radius .4s; }
header.entete.plein { margin: 10px clamp(8px, 2vw, 24px) 0; border-radius: 999px; border: 1px solid var(--trait); box-shadow: 0 10px 30px -18px rgba(60,53,55,.35); }
header.entete.plein .bandeau { height: 60px; }
.etape { background: var(--creme); border-radius: var(--rayon); padding: 70px 32px 34px; border: 1px solid var(--trait); }
.etape .noeud { left: 32px; }
.etape .phase { display: inline-block; margin-top: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--bordeaux); background: rgba(94,27,46,.07); padding: 5px 12px; border-radius: 999px; }
.etape h3 { margin-top: 14px; }
.metier-tete .lead { font-size: 15px; }
.modal-inner { border-radius: 24px; }
.modal-fermer { border-radius: 50%; }
.pastille { border-radius: 999px; }
.chiffre { border-radius: 36px; margin-inline: clamp(8px, 2vw, 24px); }
.contact { border-radius: 36px 36px 0 0; }
footer.pied { margin-top: -1px; }
.surtitre.centre { justify-content: center; }

/* Approche */
.approche .grand { max-width: 24ch; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 90px); }
.point { background: var(--creme-2); border-radius: var(--rayon); padding: 30px 28px; border: 1px solid var(--trait); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.point:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(94,27,46,.35); }
.point-n { font-family: var(--font-titre); color: var(--or); font-size: 15px; }
.point h3 { font-size: 22px; margin-top: 10px; }
.point p { color: var(--encre-doux); margin-top: 10px; font-size: 15px; }

/* Spécialité : plan de salle 7.1 */
.spe-plan { background: var(--creme-2); border-radius: 28px; padding: clamp(12px, 2vw, 24px); border: 1px solid var(--trait); }
.cine { width: 100%; height: auto; display: block; }
.cine text { font-family: var(--font-texte); font-size: 10px; fill: var(--encre-doux); letter-spacing: .08em; text-anchor: middle; }
.cine .c-murs { fill: var(--encre); stroke: var(--encre); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cine .c-trait { fill: none; stroke: var(--encre-doux); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cine .c-acou { stroke: var(--or); stroke-width: .8; }
.cine .acou-trait { stroke: var(--or); stroke-width: 1; }
.cine .c-ecran { stroke: var(--bordeaux); stroke-width: 4; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cine .c-siege { fill: none; stroke: rgba(60,53,55,.35); stroke-width: 1; }
.cine .c-siege.ref { fill: rgba(184,149,76,.18); stroke: var(--or); }
.cine .c-faisceau { fill: none; stroke: rgba(94,27,46,.25); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cine .c-rayons path { fill: none; stroke: var(--or); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cine .c-hp rect { fill: var(--bordeaux); }
.cine .c-nom { fill: var(--bordeaux); font-weight: 600; text-anchor: start; letter-spacing: .06em; }
.cine .c-angle { fill: var(--or); font-weight: 400; }
.cine .c-ref { font-size: 9px; fill: var(--or); }
.cine .c-cotes path { fill: none; stroke: var(--encre-doux); stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cine .c-titre { text-anchor: start; letter-spacing: .18em; fill: var(--bordeaux); font-size: 10px; }
.spe-texte .note-plan { font-size: 13px; border-left: 2px solid var(--or); padding-left: 14px; }
.spe-tags span { border-radius: 999px; }

/* Réalisations sans images */
.rea-cadre { border-radius: var(--rayon); background:
  radial-gradient(ellipse 70% 80% at 30% 20%, rgba(122,42,64,.55), transparent 70%),
  repeating-linear-gradient(135deg, rgba(203,168,94,.08) 0 1px, transparent 1px 14px), var(--nuit);
  display: grid; place-items: center; }
.rea-attente { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,234,221,.55); border: 1px solid rgba(242,234,221,.25); border-radius: 999px; padding: 8px 16px; transition: background .5s, color .5s; }
.rea-carte:hover .rea-attente { background: var(--or); color: var(--nuit); border-color: var(--or); }
.voile { border-radius: inherit; }
.rea-badge { border-radius: 999px; }
.rea-info { flex-direction: column; align-items: flex-start; gap: 4px; }
.rea-info small { font-size: 12px; color: var(--encre-doux); }

/* Pour qui : 4 profils */
.cibles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); border-top: 0; }
.cible, .cible + .cible { padding: 30px 26px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--creme-2); }
.cible::before { display: none; }
.cible { transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .5s; }
.cible:hover { transform: translateY(-4px); border-color: var(--or); }
.cible h3 { font-size: 21px; }

/* Ressources */
.liens { border-top: 0; display: grid; gap: 10px; }
.lien-res { border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px 28px; grid-template-columns: 90px minmax(0, 1fr) auto; }
.lien-res::before { border-radius: inherit; }
.lien-txt { display: grid; gap: 4px; }
.lien-txt > span { font-size: 14px; color: var(--encre-doux); transition: color .4s; }
.lien-res:hover .lien-txt > span { color: rgba(242,234,221,.75); }
.lien-res .mention { border: 1px solid currentColor; border-radius: 999px; padding: 6px 16px; }

@media (max-width: 1100px) { .cibles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .points { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .cibles { grid-template-columns: minmax(0, 1fr); }
  .lien-res { grid-template-columns: minmax(0, 1fr); }
  .chiffre { border-radius: 24px; }
  header.entete.plein { margin: 8px 8px 0; }
  .etape { padding: 60px 24px 28px; }
  .etape .noeud { left: 24px; }
}

/* v2 : héro plus large, plan lisible ; réalisations en grille régulière */
.hero > .conteneur { max-width: 1480px; }
.hero-grille { grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); }
.plan .legende text { font-size: 14px; }
.plan .legende .titre, .plan .cartouche .titre { font-size: 12.5px; }
.plan .cartouche text { font-size: 13px; }
.plan .legende .note, .plan .cartouche .note { font-size: 11.5px; }
.plan .pieces text { font-size: 11px; } .plan .pieces tspan { font-size: 10.5px; }
.rea-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rea-carte:nth-child(n) { grid-column: auto; margin-top: 0; }
.rea-carte:nth-child(even) { transform: translateY(70px); }
.rea-carte:nth-child(n) .rea-cadre { aspect-ratio: 4 / 3; }
.realisations { padding-bottom: clamp(150px, 16vw, 220px); }
.lien-res .mention { justify-self: start; }
@media (max-width: 960px) { .rea-grille { grid-template-columns: minmax(0, 1fr); } .rea-carte:nth-child(even) { transform: none; } .realisations { padding-bottom: 90px; } }

/* v3 : logo en tête d'accueil, 5 profils */
.hero-logo { width: clamp(92px, 9vw, 132px); height: auto; margin-bottom: 26px; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); }
.cibles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) !important; }
@media (max-width: 960px) { .hero-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .plan .legende, .plan .cartouche { display: none; } .plan { overflow: hidden; } }

/* v5 : easter egg, maquette 3D technique de la salle de cinéma */
.plan .zone-cine { pointer-events: all; }
.cinema-noir { position: fixed; inset: 0; background: #0B0408; opacity: 0; pointer-events: none; z-index: 590; }
.cinema { position: fixed; inset: 0; z-index: 600; color: var(--creme); overflow: hidden;
  background: radial-gradient(ellipse 70% 70% at 50% 45%, #2A0F18 0%, #0B0408 75%); }
.cinema[hidden] { display: none !important; }
.cine3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.cine3d-canvas:active { cursor: grabbing; }
.cine3d-etiquettes { position: absolute; inset: 0; pointer-events: none; }
.c3-et { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--font-texte); font-size: 11px; letter-spacing: .1em; color: var(--creme); transition: opacity .5s; opacity: 0; }
.c3-et.hp { font-weight: 600; color: var(--or-clair); }
.c3-et.hp em { font-style: normal; font-weight: 400; color: var(--creme); margin-left: 4px; }
.c3-et.ref { color: var(--or-clair); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.c3-et.cote { color: rgba(242,234,221,.6); font-size: 10px; }
.c3-et.dim { color: var(--creme); font-size: 11px; letter-spacing: .04em; background: rgba(11,4,8,.7); padding: 1px 6px; border-radius: 4px; transform-origin: center; }
.cine3d-cartouche { position: absolute; left: clamp(16px, 3vw, 40px); top: calc(clamp(16px, 3vw, 40px) + env(safe-area-inset-top, 0px)); max-width: 340px; border: 1px solid rgba(242,234,221,.25); border-radius: 16px; padding: 16px 18px; background: rgba(11,4,8,.55); backdrop-filter: blur(6px); display: grid; gap: 4px; font-size: 12px; color: rgba(242,234,221,.75); }
.cine3d-cartouche .c3-titre { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--or-clair); margin-bottom: 4px; }
.cine3d-cartouche .c3-note { color: rgba(242,234,221,.5); font-size: 11px; }
.cine3d-aide { position: absolute; left: 0; right: 0; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,234,221,.45); pointer-events: none; }
.cinema.sans-3d .cine3d-aide::after { content: ' · la 3D n\'est pas disponible sur cet appareil'; }
.cinema-sortir { position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: rgba(242,234,221,.06); color: var(--creme); border: 1px solid rgba(242,234,221,.3); border-radius: 999px; padding: 12px 26px; font: inherit; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); }
.cinema-sortir:hover { border-color: var(--or); color: var(--or-clair); }
@media (max-width: 760px) { .cine3d-cartouche { right: 16px; max-width: none; font-size: 11px; } }

.curseur, .curseur-anneau { z-index: 700; }

/* v5 : espacements resserrés */
.hero { align-items: flex-start; padding-block: 86px 60px; }
.hero-logo { margin-bottom: 18px; }
.contact { padding-block: clamp(48px, 6vw, 72px); }
.contact .coord { margin-top: 32px; }
.contact .btn { margin-top: 32px; }
.contact .lead { margin-top: 16px; }
footer.pied { padding-block: 26px 18px; }
.pied-bas { margin-top: 18px; padding-top: 12px; }

/* v7 : bandeaux LED de la salle de cinéma + appel à l'exploration 3D */
.plan .led-halo { stroke: var(--or-clair); stroke-width: 9; stroke-linecap: round; opacity: .35; filter: url(#flou); animation: ledPulse 2.8s ease-in-out infinite; }
.plan .led-ruban { stroke: #FFE6A8; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1.5 4; }
.plan .led-liaison { fill: none; stroke: var(--or); stroke-width: 1; opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes ledPulse { 0%, 100% { opacity: .25; } 50% { opacity: .6; } }
.plan .sym-led { stroke: #FFE6A8; stroke-width: 2.2; stroke-dasharray: 1.5 4; stroke-linecap: round; fill: none; }
.plan .appel-3d rect { fill: rgba(203,168,94,.14); stroke: var(--or); stroke-width: 1; }
.plan .appel-3d text { fill: var(--or-clair); font-size: 8px; letter-spacing: .14em; }
.plan .zone-cine { cursor: pointer; transition: fill .4s; }
.plan .zone-cine:hover { fill: rgba(203,168,94,.07); }
.btn-3d { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; background: none; border: 1px solid var(--or); color: var(--bordeaux); border-radius: 999px; padding: 12px 22px; font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .4s, color .4s; }
.btn-3d:hover { background: var(--bordeaux); color: var(--creme); border-color: var(--bordeaux); }
.btn-3d svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .plan .led-halo { animation: none; } }

/* v8 : héro tenu dans la hauteur d'écran (plan, légende et cartouche toujours visibles pendant le dessin) */
.hero { min-height: 100svh; }
.hero .plan-zone { display: block; }
.hero .plan { display: block; width: min(100%, calc((100svh - 120px) * 1.5625)); margin-inline: auto; }
.hero-logo { width: clamp(72px, min(8vw, 12svh), 116px); margin-bottom: 14px; }
.hero .slogan { font-size: clamp(36px, min(5vw, 8.6svh), 72px); margin-top: 14px; }
.hero .tagline { margin-top: 14px; }
.hero .lead { margin-top: 12px; font-size: 15px; }
.hero-actions { margin-top: 22px; gap: 10px; }
.plan .legende text { font-size: 13px; }
/* v8 : lavage lumineux des bandeaux LED */
.plan .led-lavage { animation: ledLavage 2.8s ease-in-out infinite; }
.plan .led-halo { stroke-width: 12; }
@keyframes ledLavage { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .plan .led-lavage { animation: none; } }
/* v8 : boutons de l'accueil plus petits (−1/3), sans animation de couleur au survol */
.hero .btn { padding: 11px 23px; font-size: 10px; gap: 10px; }
.hero .btn::before { display: none; }
.hero .btn:hover { color: var(--nuit); border-color: var(--or); }
.hero .btn.btn-clair:hover { color: var(--creme); border-color: rgba(242,234,221,.35); }
.hero .btn .fleche { width: 15px; } .hero .btn:hover .fleche { width: 15px; }
/* v8 : cartouche 3D repliable sur téléphone */
.cine3d-cartouche summary { list-style: none; cursor: pointer; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--or-clair); display: flex; justify-content: space-between; gap: 12px; }
.cine3d-cartouche summary::-webkit-details-marker { display: none; }
.cine3d-cartouche summary::after { content: '+'; font-size: 14px; letter-spacing: 0; }
.cine3d-cartouche[open] summary::after { content: '−'; }
.cine3d-cartouche[open] summary { margin-bottom: 6px; }
@media (max-width: 760px) { .cine3d-cartouche { right: auto; padding: 10px 14px; } .cine3d-cartouche[open] { right: 16px; } }
.hero-grille { grid-template-columns: minmax(0, 3.8fr) minmax(0, 8.2fr); }
.hero-actions { flex-wrap: nowrap; }
@media (max-height: 820px) { .hero .lead { font-size: 14px; line-height: 1.55; } .hero .tagline { font-size: 17px; } }
@media (max-width: 960px) { .hero-grille { grid-template-columns: minmax(0, 1fr); } .hero-actions { flex-wrap: wrap; } }
.hero .btn { white-space: nowrap; }

/* v11 : accueil adapté aux grands écrans en plein écran (tout s'échelonne sur la hauteur disponible) */
@media (min-width: 961px) {
  .hero > .conteneur, header.entete .conteneur { max-width: min(94vw, 2100px); }
  .hero-grille { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: clamp(24px, 3vw, 80px); }
  .hero-logo { width: clamp(64px, 13svh, 180px); margin-bottom: clamp(8px, 1.8svh, 26px); }
  .hero .surtitre { font-size: clamp(10px, 1.25svh, 14px); }
  .hero .slogan { font-size: clamp(32px, min(5.4vw, 9.6svh), 132px); margin-top: clamp(8px, 1.6svh, 24px); }
  .hero .tagline { font-size: clamp(16px, 2.3svh, 30px); margin-top: clamp(10px, 1.6svh, 24px); }
  .hero .lead { font-size: clamp(13.5px, 1.95svh, 23px); max-width: 44ch; margin-top: clamp(10px, 1.4svh, 22px); }
  .hero-actions { margin-top: clamp(16px, 2.6svh, 40px); }
  .hero .btn { font-size: clamp(10px, 1.25svh, 14px); padding: 1.1em 2.3em; }
  .hero .plan { width: min(100%, calc((100svh - 130px) * 1.5625)); }
  .bandeau { height: clamp(60px, 8svh, 96px); }
  nav.menu a { font-size: clamp(12px, 1.3svh, 15px); }
  .logo { font-size: clamp(17px, 2svh, 24px); }
}
@media (min-width: 1700px) { :root { --largeur: 1440px; } body { font-size: 17px; } }
@media (min-width: 2300px) { :root { --largeur: 1720px; } body { font-size: 19px; } }
@media (min-width: 961px) {
  .hero > .conteneur, header.entete .conteneur { max-width: min(94vw, 2600px); }
  .hero-logo { width: clamp(64px, 13svh, 210px); }
  .hero .slogan { font-size: clamp(32px, min(5.4vw, 9.6svh), 170px); }
  .hero .lead { font-size: clamp(13.5px, 1.95svh, 30px); }
  .hero .tagline { font-size: clamp(16px, 2.3svh, 36px); }
  .hero .surtitre { font-size: clamp(10px, 1.25svh, 18px); }
  .hero .btn { font-size: clamp(10px, 1.25svh, 18px); }
}
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding-block: 78px 16px; }
  .hero-logo { width: 9svh; margin-bottom: 6px; }
  .hero .slogan { font-size: min(5vw, 8.2svh); margin-top: 8px; }
  .hero .tagline { font-size: 2.2svh; margin-top: 8px; }
  .hero .lead { font-size: 1.8svh; line-height: 1.5; margin-top: 8px; }
  .hero-actions { margin-top: 14px; }
}

/* v12 : mise à l'échelle progressive de l'accueil sur ordinateur.
   --k = min(largeur / 1440, hauteur / 900), borné entre 0,7 et 1,9 (calculé en JS). Référence : écran 1440 × 900. */
:root { --k: 1; }
@media (min-width: 961px) {
  .hero { padding-block: calc(86px * var(--k)) calc(36px * var(--k)); }
  .bandeau { height: calc(72px * var(--k)); }
  nav.menu a { font-size: calc(12px * var(--k)); }
  header.entete .logo { font-size: calc(17px * var(--k)); }
  .hero-grille { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: calc(48px * var(--k)); }
  .hero-logo { width: calc(116px * var(--k)); margin-bottom: calc(16px * var(--k)); }
  .hero .surtitre { font-size: calc(11px * var(--k)); gap: calc(14px * var(--k)); }
  .hero .surtitre::before { width: calc(28px * var(--k)); }
  .hero .slogan { font-size: calc(72px * var(--k)); margin-top: calc(14px * var(--k)); }
  .hero .tagline { font-size: calc(20px * var(--k)); margin-top: calc(14px * var(--k)); }
  .hero .lead { font-size: calc(16px * var(--k)); line-height: 1.6; max-width: 44ch; margin-top: calc(12px * var(--k)); }
  .hero-actions { margin-top: calc(24px * var(--k)); gap: calc(10px * var(--k)); flex-wrap: wrap; }
  .hero .btn { flex-shrink: 0; white-space: nowrap; font-size: calc(11px * var(--k)); padding: calc(12px * var(--k)) calc(24px * var(--k)); gap: calc(10px * var(--k)); letter-spacing: .18em; }
  .hero .btn .fleche, .hero .btn:hover .fleche { width: calc(15px * var(--k)); }
  .hero .plan { width: min(100%, calc((100svh - 130px * var(--k)) * 1.5625)); }
}
@media (min-width: 961px) {
  .hero-grille { grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: calc(40px * var(--k)); }
  .hero-logo { width: calc(100px * var(--k)); margin-bottom: calc(12px * var(--k)); }
  .hero .slogan { font-size: calc(64px * var(--k)); }
  .hero .lead { font-size: calc(15px * var(--k)); max-width: 46ch; }
  .hero .tagline { font-size: calc(18px * var(--k)); }
}
@media (min-width: 1700px) { .hero-grille { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); } }

/* compteur de pixels de la pastille (outil de maquette) */
#compteur-px { font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--creme); }
.pastille { z-index: 650; }

/* V12B.01 : étiquettes de la spécialité en boutons avec bulle d'information (bulle ancrée au bloc d'étiquettes) */
.spe-tags { position: relative; }
.tag-info { display: inline-block; }
.tag-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); background: var(--creme-2); border: 1px solid var(--trait); border-radius: 999px; padding: 6px 8px 6px 14px; cursor: pointer; transition: border-color .3s, color .3s; }
.tag-btn i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-titre); font-size: 10px; letter-spacing: 0; text-transform: none; color: var(--creme); background: var(--or); }
.tag-btn:hover, .tag-btn[aria-expanded="true"] { border-color: var(--or); color: var(--bordeaux); }
.bulle-pop { position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 20; width: min(360px, 100%); background: var(--nuit); color: rgba(242,234,221,.85); border-radius: 16px; padding: 16px 18px; font-size: 13.5px; line-height: 1.6; text-transform: none; letter-spacing: 0; text-align: left; box-shadow: 0 18px 40px -16px rgba(30,10,15,.6); }
.bulle-pop strong { display: block; font-family: var(--font-titre); font-weight: 400; font-size: 17px; color: var(--or-clair); margin-bottom: 6px; }
/* V12B.03 : Ressources, plus de fond bordeaux au survol (il masquait les titres) ; survol discret */
.lien-res::before { display: none; }
.lien-res:hover > *, .lien-res:hover .lien-txt > span { color: inherit; }
.lien-res:hover .lien-txt > span { color: var(--encre-doux); }
.lien-res:hover .n { color: var(--or); }
.lien-res:hover .mention { color: var(--bordeaux); }
.lien-res { transition: border-color .4s; }
.lien-res:hover { border-color: var(--or); }

/* V12B.04 : salle de cinéma 9.2.4 (plan 2D Spécialité et maquette 3D) */
.cine .c-hp .c-at { fill: rgba(94,27,46,.12); stroke: var(--bordeaux); stroke-width: 1.2; stroke-dasharray: 2.5 2; }
.cine .c-nom { font-size: 9px; }
.cine .c-nom-at { fill: var(--or); font-weight: 500; }
@media (max-width: 760px) { .c3-et.cote { display: none; } .c3-et.hp { font-size: 9px; letter-spacing: .06em; } }

/* V12B.05 : H1 SEO (surtitre) et slogan visuel ; intro de l'approche ; liens de contact */
.hero h1.hero-h1 { font-family: var(--font-texte); line-height: 1.7; margin: 0; text-wrap: wrap; }
.hero .slogan { font-family: var(--font-titre); line-height: 1.08; text-wrap: balance; margin-bottom: 0; }
.approche .grand-intro { font-size: clamp(20px, 2.2vw, 30px); max-width: 34ch; margin-top: 22px; color: var(--encre-doux); }
.coord a, .pied a { color: inherit; text-decoration: none; }
.coord a { font-family: var(--font-titre); font-size: clamp(18px, 2vw, 24px); overflow-wrap: anywhere; }
.coord a:hover, .pied a:hover { color: var(--or); }

/* V12B.05 : appel vers la salle 3D sur le plan d'accueil (halo + bouton) */
.plan .appel-3d .appel-btn { fill: rgba(30,10,15,.82); stroke: var(--or); stroke-width: 1.2; animation: appelPulse 2.6s ease-in-out infinite; }
.plan .appel-3d text { fill: #FFE6A8; font-size: 8.5px; letter-spacing: .16em; font-weight: 600; }
.plan .appel-3d .halo-cine { fill: none; stroke: var(--or-clair); stroke-width: 2; animation: haloCine 2.6s ease-in-out infinite; }
@keyframes haloCine { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
@keyframes appelPulse { 0%, 100% { stroke-width: 1.2; } 50% { stroke-width: 2.4; } }
.plan .zone-cine:hover ~ .appel-3d .appel-btn, .plan .appel-3d:hover .appel-btn { fill: var(--bordeaux); }
@media (prefers-reduced-motion: reduce) { .plan .appel-3d .appel-btn, .plan .appel-3d .halo-cine { animation: none; } }
/* vignette 3D au survol de la salle (ordinateur) */
.vignette-3d { position: fixed; z-index: 500; width: 260px; height: 175px; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s, transform .35s; background: radial-gradient(ellipse 80% 80% at 50% 45%, #2A0F18 0%, #0B0408 80%); border: 1px solid rgba(203,168,94,.45); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.vignette-3d.on { opacity: 1; transform: none; }
.vignette-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette-3d p { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 12px 10px; background: linear-gradient(transparent, rgba(11,4,8,.92) 55%); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); }
/* section salle : la 3D remplace le plan au fil du scroll */
.salle-visuel { position: relative; }
.salle3d { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; opacity: 0; transition: opacity .6s; pointer-events: none; background: radial-gradient(ellipse 75% 75% at 50% 45%, #2A0F18 0%, #0B0408 85%); }
.salle3d .cine3d-canvas { cursor: default; }
.salle-visuel.pret.vue3d .salle3d { opacity: 1; }
.salle3d-btn { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .45s, transform .45s, background .3s; display: inline-flex; align-items: center; gap: 12px; background: var(--or); color: var(--nuit); border: 0; border-radius: 999px; padding: 13px 24px; font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.salle-visuel.pret.vue3d.fin .salle3d-btn { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.salle3d-btn:hover { background: var(--or-clair); }
/* section domotique */
.domo-bloc { background: var(--creme-2); }
.domo-bloc .spe-plan { background: var(--creme); }
.spe-inverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 960px) { .spe-inverse { grid-template-columns: minmax(0, 1fr); } }
.domo { width: 100%; height: auto; display: block; }
.domo text { font-family: var(--font-texte); text-anchor: middle; }
.domo .d-bus { fill: none; stroke: var(--bordeaux); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.domo .d-flux { fill: none; stroke: var(--or-clair); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 26; opacity: 0; }
.domo.actif .d-flux { opacity: 1; animation: domoFlux 1.6s linear infinite; }
@keyframes domoFlux { to { stroke-dashoffset: -30; } }
.domo .d-bus-txt { font-size: 8.5px; letter-spacing: .18em; fill: var(--or); }
.domo .d-lien { fill: none; stroke: var(--bordeaux); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.domo .d-jonction { fill: var(--or); }
.domo .d-noeud rect { fill: var(--creme-2); stroke: var(--trait); stroke-width: 1.2; }
.domo .d-noeud .d-ic { fill: none; stroke: var(--bordeaux); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.domo .d-nom { font-size: 11px; font-weight: 600; letter-spacing: .06em; fill: var(--bordeaux); }
.domo .d-sous { font-size: 8.5px; font-weight: 400; letter-spacing: .04em; fill: var(--encre-doux); }
.domo .d-titre { text-anchor: start; font-size: 10px; letter-spacing: .18em; fill: var(--bordeaux); }
@media (prefers-reduced-motion: reduce) { .domo.actif .d-flux { animation: none; } }
/* menu : raccourci vers la salle 3D */
.menu a.nav-3d { display: inline-flex; align-items: center; gap: 8px; }
.nav-3d .point-or { width: 7px; height: 7px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 0 rgba(184,149,76,.6); animation: pointOr 2s ease-out infinite; }
@keyframes pointOr { 0% { box-shadow: 0 0 0 0 rgba(184,149,76,.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(184,149,76,0); } }
@media (prefers-reduced-motion: reduce) { .nav-3d .point-or { animation: none; } }

/* V12B.06 : accueil en format vertical (écran plus haut que large, hors téléphone) :
   texte au-dessus du plan, titre à gauche et texte à droite ; format horizontal inchangé */
@media (min-width: 761px) {
  html.vertical .hero { align-items: center; }
  html.vertical .hero-grille { grid-template-columns: minmax(0, 1fr); gap: calc(36px * var(--k)); }
  html.vertical .hero .plan-zone { order: 2; }
  html.vertical .hero-texte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(56px * var(--k)); align-items: end;
    grid-template-areas: "logo lead" "titre lead" "slogan lead" "tagline actions"; }
  html.vertical .hero-texte .hero-logo { grid-area: logo; }
  html.vertical .hero-texte .hero-h1 { grid-area: titre; }
  html.vertical .hero-texte .slogan { grid-area: slogan; }
  html.vertical .hero-texte .tagline { grid-area: tagline; }
  html.vertical .hero-texte .lead { grid-area: lead; align-self: end; max-width: none; }
  html.vertical .hero-texte .hero-actions { grid-area: actions; align-self: end; }
  html.vertical .hero .plan { width: min(calc(100% * var(--pf, 1)), calc((100svh - 520px * var(--k)) * 1.5625)); margin-inline: auto; display: block; }
}
/* menu sur tablette : pas de retour à la ligne */
nav.menu a { white-space: nowrap; }


/* V12B.08 : tailles de l'accueil 100 % proportionnelles à l'échelle continue --k, dès 761 px de large
   (neutralise les anciens paliers : 820 px de haut, 961 px et 1700 px de large) */
@media (min-width: 761px) {
  .hero { padding-block: calc(86px * var(--k)) calc(36px * var(--k)); }
  .hero-logo { width: calc(100px * var(--k)); margin-bottom: calc(12px * var(--k)); }
  .hero .surtitre { font-size: calc(11px * var(--k)); gap: calc(14px * var(--k)); }
  .hero .surtitre::before { width: calc(28px * var(--k)); }
  .hero .slogan { font-size: calc(64px * var(--k)); margin-top: calc(14px * var(--k)); }
  .hero .tagline { font-size: calc(18px * var(--k)); margin-top: calc(14px * var(--k)); }
  .hero .lead { font-size: calc(15px * var(--k)); line-height: 1.6; margin-top: calc(12px * var(--k)); }
  .hero-actions { margin-top: calc(24px * var(--k)); gap: calc(10px * var(--k)); flex-wrap: wrap; }
  .hero .btn { font-size: calc(11px * var(--k)); padding: calc(12px * var(--k)) calc(24px * var(--k)); gap: calc(10px * var(--k)); white-space: nowrap; }
  .hero .btn .fleche, .hero .btn:hover .fleche { width: calc(15px * var(--k)); }
  .bandeau { height: calc(72px * var(--k)); }
  header.entete .logo { font-size: calc(17px * var(--k)); }
  nav.menu ul { gap: clamp(14px, calc(36px * var(--k)), 52px); }
  nav.menu a { font-size: max(10.5px, calc(12px * var(--k))); letter-spacing: .15em; }
}
@media (min-width: 761px) {
  html:not(.vertical) .hero { align-items: flex-start; padding-top: calc(86px * var(--k) + max(0px, 100svh - 900px * var(--k)) * .5); }
  html:not(.vertical) .hero-grille { grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: calc(40px * var(--k)); }
  html:not(.vertical) .hero .plan-zone { order: 0; }
  html:not(.vertical) .hero .lead { max-width: 46ch; }
  html:not(.vertical) .hero .plan { width: min(100%, calc((100svh - 130px * var(--k)) * 1.5625)); }
}


/* V12B.09 : slogan proportionnel à --ks (échelle × ratio d'écran) ; ses trois mots peuvent tenir sur 1, 2 ou 3 lignes selon la place */
@media (min-width: 761px) {
  .hero .slogan { font-size: calc(64px * var(--ks, var(--k))); }
  .hero .slogan .ligne { display: inline-block; margin-right: .26em; vertical-align: top; }
  .hero .slogan .ligne:last-child { margin-right: 0; }
}

