/* Martinez Morante — styles
   Fonds : gris foncé du logo #4d4f53 (ardoise). Bleu du t-shirt #1d4fc1 : seulement le menu du haut (et l'intro).
   Rouge du logo #ac0018, métal #c9ccd1. Motif : les 3 lignes du logo. */

@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bleu: #1d4fc1; --bleu-2: #2a5fd6; --bleu-fonce: #153c99; --bleu-pale: #eef3ff; /* menu du haut uniquement */
  --ardoise: #4d4f53; --ardoise-2: #3d3f43; --ardoise-3: #2d2f32; --ardoise-4: #1f2023; --pale: #eff0f2;
  --rouge: #ac0018; --rouge-vif: #d3132f;
  --metal-1: #f4f5f7; --metal-2: #c9ccd1; --metal-3: #9ea2a8;
  --encre: #1c1d20; --texte: #3a3d43; --gris: #6b6f76; --fond: #fff; --fond-2: #f5f5f6; --bord: #e4e5e8;
  --f-titre: 'Archivo', 'Arial Narrow', Arial, sans-serif; --f-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --r: 18px; --r-s: 12px;
  --ombre: 0 1px 2px rgba(20,21,23,.06), 0 12px 32px -12px rgba(20,21,23,.2);
  --ombre-forte: 0 2px 4px rgba(20,21,23,.08), 0 30px 60px -20px rgba(20,21,23,.38);
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2,.8,.2,1);
  /* grand fond gris foncé : léger relief lumineux, sans motif */
  --fond-ardoise: radial-gradient(48% 60% at 96% 0%, rgba(211,19,47,.13), transparent 70%), radial-gradient(110% 80% at 10% 0%, rgba(255,255,255,.08), transparent 55%), radial-gradient(80% 70% at 100% 100%, rgba(0,0,0,.3), transparent 65%), linear-gradient(165deg, #515358, #36383c);
  --carte-ardoise: radial-gradient(90% 80% at 0% 0%, rgba(255,255,255,.1), transparent 60%), linear-gradient(150deg, #55575c, #313336);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.65 var(--f-texte); color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titre); color: var(--encre); margin: 0; line-height: 1.08; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--rouge); color: #fff; padding: 10px 16px; border-radius: 8px; }
.evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--rouge-vif); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sec-in { max-width: 1260px; margin: 0 auto; padding: 0 var(--pad); }
.titre-xl { font-size: clamp(2.2rem, 5.2vw, 4.4rem); font-stretch: 112%; letter-spacing: -.025em; line-height: 1; }
.titre-l { font-size: clamp(1.75rem, 3.3vw, 2.75rem); font-stretch: 110%; letter-spacing: -.02em; }
.titre-m { font-size: clamp(1.25rem, 2vw, 1.55rem); font-stretch: 106%; letter-spacing: -.01em; }
.chapo { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--texte); }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 700 .78rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--rouge); }
.kicker i { width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--rouge) 0 40%, transparent 40% 52%, var(--metal-3) 52% 76%, transparent 76% 84%, var(--metal-2) 84%); }
.sec-tete { margin-bottom: clamp(28px, 4vw, 48px); max-width: 880px; }
.sec-tete-ligne { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; max-width: none; }
.sec-tete-ligne .kicker { flex-basis: 100%; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 1rem/1 var(--f-texte); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-petit { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-rouge { background: linear-gradient(180deg, var(--rouge-vif), var(--rouge)); color: #fff; box-shadow: 0 10px 24px -10px rgba(172,0,24,.7); }
.btn-rouge:hover { box-shadow: 0 16px 34px -12px rgba(172,0,24,.8); }
.btn-blanc { background: #fff; color: var(--ardoise-3); }
.btn-ligne { border-color: var(--ardoise); color: var(--ardoise-3); }
.btn-ligne:hover { background: var(--ardoise-3); border-color: var(--ardoise-3); color: #fff; }
.btn-ligne-blanc { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ligne-blanc:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn .fl { transition: transform .25s var(--ease); }
.btn:hover .fl, .lien-fleche:hover .fl, .tuile:hover .fl, .metier:hover .fl { transform: translate(3px, -3px); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--rouge); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* Grand fond gris foncé du logo */
.ardoise { background: var(--fond-ardoise); background-color: var(--ardoise-2); color: #fff; }

/* Les 3 lignes du logo (forme exacte), qui se déroulent depuis la gauche */
.lignes { display: block; height: 52px; pointer-events: none; }
.lignes svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* le masque est sur le dessin (svg), pas sur le cadre observé : Chrome et Edge ne déclenchent pas l'apparition d'un élément entièrement masqué */
.js .lignes > svg { clip-path: inset(0 100% 0 0); }
.js .lignes.vu > svg { clip-path: inset(0 0 0 0); transition: clip-path 1.8s var(--ease); }

/* ---------- En-tête : le seul endroit en bleu ----------
   Capsule bleue translucide qui flotte au-dessus du contenu, toujours (choix de Christophe, 28/10/2026). */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 10px; transition: transform .35s var(--ease); }
.entete-in { position: relative; display: flex; align-items: center; gap: 18px; height: 64px; max-width: min(1320px, calc(100% - 24px)); margin: 0 auto; padding: 0 12px 0 22px; border-radius: 20px; background: rgba(29,79,193,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 18px 40px -16px rgba(10,30,90,.55), inset 0 1px 0 rgba(255,255,255,.2), 0 0 0 1px rgba(255,255,255,.08); }
.entete-logo { flex: none; display: block; }
.entete .logo { height: 48px; width: auto; }
.entete .logo-txt { fill: #fff; }
.entete.cache { transform: translateY(-110%); }
.nav { margin-left: auto; }
.nav-liste { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-liste > li > a, .nav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .96rem; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.nav-liste > li > a:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { background: rgba(255,255,255,.14); }
.nav-liste > li > a[aria-current], .nav-btn[data-actif] { background: rgba(255,255,255,.16); }
.chev { transition: transform .25s; width: 1em; height: 1em; }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.entete-tel { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--pad); }
.mega[hidden] { display: none; }
.mega-in { max-width: 1260px; margin: 8px auto 0; background: #fff; border-radius: 22px; box-shadow: var(--ombre-forte); padding: 28px; display: grid; grid-template-columns: repeat(4, 1fr) 1.05fr; gap: 8px 22px; animation: megaIn .3s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
.mega-titre { font: 800 .74rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin: 6px 0 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; color: var(--encre); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.mega li a .ic { color: var(--bleu); }
.mega li a:hover, .mega li a[aria-current] { background: var(--bleu-pale); }
.mega em, .metier em { font-style: normal; font: 700 .62rem/1 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; background: var(--rouge-vif); color: #fff; padding: 3px 6px; border-radius: 4px; vertical-align: 2px; margin-left: 4px; }
.mega-carte { display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; padding: 22px; border-radius: 16px; text-decoration: none; color: #fff; min-height: 220px; position: relative; overflow: hidden; background: radial-gradient(90% 70% at 100% 0%, rgba(255,255,255,.22), transparent 60%), linear-gradient(150deg, var(--bleu-2), var(--bleu-fonce)); }
.mega-carte strong { font: 800 1.25rem/1.15 var(--f-titre); font-stretch: 108%; }
.mega-carte-k { font: 700 .72rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.mega-carte .fl { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu-mobile { position: fixed; inset: 0; z-index: 45; background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 96px var(--pad) 120px; }
.menu-mobile[hidden] { display: none; }
.menu-mobile ul { list-style: none; margin: 0 0 8px; padding: 0; }
.mm-titre { font: 800 .74rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin: 22px 0 8px; }
.menu-mobile li a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--bord); color: var(--encre); text-decoration: none; font-weight: 600; }
.menu-mobile li a .ic { color: var(--bleu); }
.mm-pages { margin-top: 22px !important; }
.mm-pages a { font: 800 1.3rem/1.2 var(--f-titre) !important; }
.mm-pied { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 30px -18px rgba(20,21,23,.4); }
.mm-pied .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; }
body.menu-ouvert .burger { background: rgba(255,255,255,.24); }

/* ---------- Héros de l'accueil ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--ardoise-3); color: #fff; isolation: isolate; }
.hero-fond { position: absolute; inset: 0; z-index: -2; }
/* sans 3D : grille de cellules de panneau solaire en CSS */
.hero-fond.ardoise { background: repeating-linear-gradient(90deg, rgba(160,163,170,.35) 0 2px, transparent 2px 72px), repeating-linear-gradient(0deg, rgba(160,163,170,.35) 0 2px, transparent 2px 72px), var(--fond-ardoise); background-color: var(--ardoise-2); }
.scene3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1s; }
.scene3d.pret { opacity: 1; }
.scene3d.pret ~ .hero-fond { opacity: 0; transition: opacity 1s; }
.scene3d.pret ~ .hero-mono { opacity: 0; }
.scene3d.pret ~ .hero-lignes { display: none; } /* en 3D, les traits arrivent au monogramme */
.hero-in { position: relative; width: 100%; max-width: 1400px; margin: 0 auto; padding: 130px var(--pad) 150px; }
.hero-sur { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: .9rem; margin-bottom: 24px; backdrop-filter: blur(6px); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(22,23,26,.55), rgba(22,23,26,.2) 55%, rgba(22,23,26,0) 80%), linear-gradient(0deg, rgba(22,23,26,.4), transparent 35%); transition: opacity 1s; }
.intro-active .hero::before { opacity: 0; }
.hero-in, .hero-lignes, .hero-bas { z-index: 1; }
.hero-titre { color: #fff; font-size: clamp(2.2rem, 4.4vw, 4.2rem); font-stretch: 110%; letter-spacing: -.03em; line-height: 1; max-width: 920px; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-titre > span { display: block; }
.hero-titre .l3 { background: linear-gradient(100deg, #fff 0%, var(--metal-2) 45%, #fff 60%, var(--metal-1) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: reflet 6s ease-in-out infinite; }
@keyframes reflet { 50% { background-position: 100% 0; } }
.hero-lieu { display: block; margin-top: 18px; font: 600 clamp(1rem, 1.6vw, 1.3rem)/1.3 var(--f-texte); letter-spacing: 0; color: var(--metal-2); text-shadow: none; }
.hero-sous { max-width: 600px; margin: 22px 0 32px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255,255,255,.88); }
.hero-actions, .ph-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mono { position: absolute; right: 6vw; top: 50%; width: min(30vw, 380px); transform: translateY(-50%) rotate(-4deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); transition: opacity 1s; }
.hero-lignes { position: absolute; left: 0; width: 70%; bottom: 82px; height: 58px; }
.hero-bas { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(22,23,26,.3); backdrop-filter: blur(6px); animation: flotte 2.4s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translate(-50%, 6px); } }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: none; }
.intro-active .intro { display: block; }
.intro-etincelles { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-legende { position: absolute; left: var(--pad); bottom: 28px; display: flex; gap: 24px; margin: 0; font: 700 .78rem/1 var(--f-texte); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.intro-passer { position: absolute; right: var(--pad); bottom: 22px; pointer-events: auto; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(10,22,56,.35); color: #fff; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
.intro-active .entete, .intro-active .hero-in, .intro-active .hero-bas, .intro-active .hero-lignes, .intro-active .appel-flottant { opacity: 0; visibility: hidden; }
.intro-active body { overflow: hidden; }
.intro-active .scene3d { opacity: 1; transition: none; }
.intro-active .hero-fond, .intro-active .hero-mono { opacity: 0; }
.intro-fin .entete, .intro-fin .hero-in > *, .intro-fin .hero-bas, .intro-fin .hero-lignes { animation: entree .9s var(--ease) both; }
.intro-fin .hero-in > :nth-child(2) { animation-delay: .08s; } .intro-fin .hero-in > :nth-child(3) { animation-delay: .16s; } .intro-fin .hero-in > :nth-child(4) { animation-delay: .24s; }
@keyframes entree { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Héros des pages intérieures ---------- */
.ph { position: relative; overflow: hidden; padding: 140px 0 0; isolation: isolate; }
.ph-in { position: relative; max-width: 1260px; margin: 0 auto; padding: 0 var(--pad); }
.ph .fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 26px; }
.ph .fil a { color: #fff; text-decoration: none; } .ph .fil a:hover { text-decoration: underline; }
.ph .kicker { color: #fff; } .ph .kicker i { background: linear-gradient(90deg, var(--rouge-vif) 0 40%, transparent 40% 52%, var(--metal-2) 52% 76%, transparent 76% 84%, #fff 84%); }
.titre-page { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-stretch: 114%; letter-spacing: -.03em; line-height: 1; max-width: 16ch; }
.titre-page span { display: block; }
.titre-page .l2 { color: var(--metal-2); }
.ph-intro { max-width: 640px; margin: 24px 0 30px; font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: rgba(255,255,255,.9); }
.ph-visuel { position: absolute; right: max(var(--pad), calc((100vw - 1260px) / 2 + var(--pad))); top: 150px; width: clamp(180px, 24vw, 330px); aspect-ratio: 1; display: grid; place-items: center; }
.ph-icone { position: relative; z-index: 2; width: 50%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 30%; background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.3); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.4); backdrop-filter: blur(8px); animation: flotte2 6s ease-in-out infinite; }
.ph-icone .ic { width: 56%; height: 56%; stroke: #fff; stroke-width: 1.6; }
.ic-trace path, .ic-trace circle, .ic-trace rect, .ic-trace line, .ic-trace polyline, .ic-trace polygon { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js .ic-trace * { animation: trace 1.8s var(--ease) .3s both; }
@keyframes trace { from { stroke-dashoffset: 100; } }
.ph-avec-illu .titre-page { max-width: min(14ch, calc(100vw - 2 * var(--pad) - clamp(300px, 34vw, 470px) - 60px)); font-size: clamp(2.2rem, 4.4vw, 4rem); }
.ph-avec-illu .ph-intro, .ph-avec-illu .kicker { max-width: min(620px, calc(100vw - 2 * var(--pad) - clamp(300px, 34vw, 470px) - 60px)); }
.ph-illu { width: clamp(300px, 34vw, 470px); aspect-ratio: auto; top: 128px; animation: entree 1s var(--ease) .2s both; }
.ph-mono { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; transform: rotate(-8deg) scale(1.15); }
@keyframes flotte2 { 50% { transform: translateY(-10px) rotate(2deg); } }
.ph-points { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1260px; margin: 54px auto 0; padding: 0 var(--pad); list-style: none; }
.ph-points li { animation: entree .9s var(--ease) both; animation-delay: calc(.35s + var(--i, 0) * .1s); padding: 20px 22px; background: rgba(20,21,23,.24); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 2px; }
.ph-points li:first-child { border-radius: 16px 0 0 0; } .ph-points li:last-child { border-radius: 0 16px 0 0; }
.ph-points strong { font: 800 1.15rem/1.2 var(--f-titre); font-stretch: 108%; color: #fff; }
.ph-points span { font-size: .92rem; color: var(--metal-2); }
.ph-lignes { position: relative; width: 100%; height: 50px; margin-top: 26px; }
.ph-court { padding-bottom: 30px; }
.ph-court .ph-lignes { margin-top: 30px; }
.pied { overflow: hidden; }

/* ---------- Chiffres ---------- */
.chiffres { padding: clamp(40px, 6vw, 70px) 0; border-bottom: 1px solid var(--bord); }
.chiffres-liste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0 auto; }
.chiffres li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.chiffres b { font: 900 clamp(2.6rem, 5vw, 4.2rem)/1 var(--f-titre); font-stretch: 120%; letter-spacing: -.04em; background: linear-gradient(180deg, #6a6d73, var(--ardoise-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffres i { font: 800 1.4rem/1 var(--f-titre); font-style: normal; color: var(--rouge); }
.chiffres span { flex-basis: 100%; margin-top: 8px; font-weight: 600; color: var(--gris); font-size: .95rem; }

/* ---------- Métiers ---------- */
.metiers { padding: clamp(70px, 10vw, 130px) 0; }
.metiers-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 54px) clamp(20px, 3vw, 40px); }
.metiers-g-titre { display: flex; align-items: center; gap: 12px; font: 800 .8rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); margin: 0 0 14px; }
.metiers-g-titre::after { content: ''; flex: 1; height: 1px; background: var(--bord); }
.metiers-groupe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.metier { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--fond); border: 1px solid var(--bord); text-decoration: none; color: var(--encre); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.metier::before { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rouge-vif), var(--metal-3) 70%, var(--metal-2)); transition: width .45s var(--ease); }
.metier:hover { border-color: transparent; box-shadow: var(--ombre); transform: translateY(-2px); }
.metier:hover::before { width: 100%; }
.metier-ic { grid-row: 1 / 3; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--pale); color: var(--ardoise); transition: background .3s, color .3s; }
.metier:hover .metier-ic { background: var(--rouge); color: #fff; }
.metier-ic .ic { width: 24px; height: 24px; }
.metier strong { font: 800 1.08rem/1.2 var(--f-titre); font-stretch: 106%; }
.metier > span:not(.metier-ic) { grid-column: 2; font-size: .9rem; line-height: 1.45; color: var(--gris); }
.metier .fl { grid-row: 1 / 3; grid-column: 3; color: var(--rouge); transition: transform .25s var(--ease); }

/* ---------- Engagements ---------- */
.engagements { position: relative; padding: clamp(70px, 10vw, 120px) 0; background: linear-gradient(170deg, rgba(61,63,67,.8), rgba(31,32,35,.93)), url(/assets/img/realisations/fond-photo-cinema-fonce.webp) center 40% / cover no-repeat, var(--ardoise-3); color: rgba(255,255,255,.85); overflow: hidden; }
.engagements::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 85% 0%, rgba(255,255,255,.09), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(172,0,24,.2), transparent 70%); pointer-events: none; }
.engagements .sec-in { position: relative; }
.engagements h2 { color: #fff; }
.engagements .kicker { color: #ff6b7c; }
.eng-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: e; }
.eng { position: relative; padding: 26px 22px 24px; border-radius: var(--r); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); transition: transform .35s var(--ease), border-color .3s, background .3s; }
.eng:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); }
.eng-num { position: absolute; top: 18px; right: 20px; font: 800 .8rem/1 var(--f-titre); color: rgba(255,255,255,.35); }
.eng-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, var(--metal-1), var(--metal-3)); color: var(--ardoise-3); margin-bottom: 20px; box-shadow: inset 0 1px 0 #fff, 0 10px 20px -8px rgba(0,0,0,.6); }
.eng-ic .ic { width: 24px; height: 24px; }
.eng h3 { color: #fff; font-size: 1.2rem; font-stretch: 108%; margin-bottom: 10px; }
.eng p { margin: 0; font-size: .93rem; line-height: 1.55; }

/* ---------- T-shirt ---------- */
.tshirt { padding: clamp(70px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--fond-2), #fff); overflow: hidden; }
.tshirt-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.tshirt-visuel { position: relative; max-width: 520px; width: 100%; margin: 0 auto; transform-origin: 50% 5%; animation: balance 7s ease-in-out infinite; }
@keyframes balance { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-6px); } }
.tshirt-svg { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgba(20,21,23,.28)); }
.ts-corps { fill: var(--bleu); }
.tshirt-logo { position: absolute; left: 52%; top: 22.5%; width: 22%; height: auto; transform: rotate(-7deg); filter: drop-shadow(0 1px 0 rgba(0,0,0,.15)); }
.ts-col { stroke: #163f9f; stroke-width: 9; stroke-linecap: round; }
.certifs { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.certif { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--bord); }
.certif img { width: 46px; height: 52px; object-fit: contain; }
.certif strong { display: block; font: 800 1rem/1.2 var(--f-titre); color: var(--encre); }
.certif span { font-size: .85rem; color: var(--gris); line-height: 1.35; display: block; }
.certif-badge { flex: none; width: 52px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 12px 12px 14px 14px; background: linear-gradient(160deg, var(--rouge-vif), var(--rouge)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 14px -6px rgba(172,0,24,.6); color: #fff; }
.certif .certif-badge b { display: block; font: 900 1.45rem/.9 var(--f-titre); font-stretch: 112%; letter-spacing: -.02em; color: #fff; }
.certif .certif-badge i { display: block; font: 800 .56rem/1 var(--f-texte); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #fff; }

/* ---------- Réalisations ---------- */
.realisations { padding: clamp(70px, 10vw, 120px) 0; }
.reals { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.real { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--bord); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.real:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.real-photo { aspect-ratio: 4 / 3; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(255,255,255,.85); font-weight: 600; font-size: .9rem; background: var(--carte-ardoise); position: relative; }
.real-photo .ic { width: 40px; height: 40px; }
.real-avenir .real-photo { background: linear-gradient(150deg, var(--ardoise-2), var(--ardoise-4)); }
.real-txt { padding: 20px 22px 24px; }
.real-lieu { font: 700 .74rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin-bottom: 10px; }
.real h3 { font-size: 1.25rem; font-stretch: 106%; }
.real-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.real-tags li { padding: 5px 10px; border-radius: 999px; background: var(--pale); color: var(--ardoise-3); font-size: .8rem; font-weight: 700; }
.reals-grandes { grid-template-columns: 1fr; }
.reals-grandes .real { flex-direction: row; }
.reals-grandes .real-photo { flex: 0 0 46%; aspect-ratio: auto; min-height: 280px; }
.reals-grandes .real-txt { padding: clamp(22px, 3vw, 40px); align-self: center; }

/* Carrousel des photos de chantier (src/js/carrousel.js) */
.real-photo[data-carrousel] { display: block; overflow: hidden; background: var(--ardoise-3, #2d2f32); cursor: zoom-in; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reals-grandes .real-photo[data-carrousel] { min-height: 340px; }
.car-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity .9s var(--ease), transform 0s .9s; -webkit-user-drag: none; }
.car-img.est-active { opacity: 1; transform: scale(1); transition: opacity .9s var(--ease), transform 7s cubic-bezier(.2,.6,.3,1); }
.real:hover .car-img.est-active { transform: scale(1.03); transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.real-photo[data-carrousel]::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(20,21,23,.55)); pointer-events: none; z-index: 1; }
.car-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(20,21,23,.38); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; transition: opacity .3s, transform .3s var(--ease), background .25s; }
.car-btn svg { width: 20px; height: 20px; }
.car-btn:hover { background: var(--rouge); border-color: var(--rouge); }
.car-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.car-prec, .car-suiv { top: 50%; margin-top: -21px; }
.car-prec { left: 14px; } .car-suiv { right: 14px; }
.car-grand { top: 14px; right: 14px; width: 38px; height: 38px; }
.car-grand svg { width: 17px; height: 17px; }
@media (pointer: fine) {
  .car-btn { opacity: 0; }
  .car-prec { transform: translateX(-8px); } .car-suiv { transform: translateX(8px); }
  .real-photo:hover .car-btn, .real-photo:focus-within .car-btn { opacity: 1; transform: none; }
}
.car-compte { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(20,21,23,.45); color: #fff; font: 700 .74rem/1 var(--f-texte); letter-spacing: .06em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.car-points { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.car-point { position: relative; width: 22px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .4s var(--ease); }
.car-point i { position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.45); overflow: hidden; }
.car-point.est-active { width: 46px; }
.car-point.est-active i::after { content: ''; position: absolute; inset: 0; background: #fff; border-radius: 4px; transform-origin: left; animation: car-remplir var(--duree, 5s) linear var(--decalage, 0ms) both; }
.car-manuel .car-point.est-active i::after { animation: none; }
.real-photo[class*="pause-"] .car-point.est-active i::after { animation-play-state: paused; }
@keyframes car-remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Visionneuse plein écran */
.visionneuse { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14,15,16,.94); color: #fff; overflow: hidden; }
.visionneuse::backdrop { background: rgba(14,15,16,.6); }
.visionneuse[open] { display: grid; place-items: center; animation: vis-entree .35s var(--ease); }
@keyframes vis-entree { from { opacity: 0; } }
.vis-fig { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; padding: 64px clamp(12px, 7vw, 96px) 40px; touch-action: pan-y; }
.vis-img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -30px #000; user-select: none; -webkit-user-drag: none; }
.vis-img.entre-d { animation: vis-d .45s var(--ease); } .vis-img.entre-g { animation: vis-g .45s var(--ease); }
@keyframes vis-d { from { opacity: 0; transform: translateX(40px); } } @keyframes vis-g { from { opacity: 0; transform: translateX(-40px); } }
.vis-legende { font-weight: 600; color: rgba(255,255,255,.85); text-align: center; }
.vis-compte { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); margin: 0; font: 700 .85rem/1 var(--f-texte); letter-spacing: .08em; color: rgba(255,255,255,.75); }
.vis-btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background .25s; }
.vis-btn:hover { background: var(--rouge); border-color: var(--rouge); }
.vis-btn svg { width: 24px; height: 24px; }
.vis-prec { left: clamp(8px, 2vw, 28px); top: 50%; margin-top: -25px; } .vis-suiv { right: clamp(8px, 2vw, 28px); top: 50%; margin-top: -25px; }
.vis-fermer { top: 12px; right: 12px; }
.visionneuse.seule .vis-prec, .visionneuse.seule .vis-suiv { display: none; }
@media (max-width: 760px) { .vis-prec, .vis-suiv { top: auto; bottom: 18px; margin: 0; } .vis-fig { padding-bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .car-img, .car-img.est-active { transform: none; transition: opacity .3s; } .vis-img { animation: none !important; } }

/* ---------- Confiance : murs de logos ---------- */
.confiance { padding: clamp(70px, 10vw, 120px) 0; background: var(--fond-2); }
.mur-logos { --gap: 12px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.mur-logos li { flex: 0 0 calc((100% - (var(--cols, 4) - 1) * var(--gap)) / var(--cols, 4)); background: #fff; border: 1px solid var(--bord); border-radius: 16px; display: grid; place-items: center; min-height: 112px; padding: 20px 16px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.mur-logos li:hover { border-color: transparent; box-shadow: var(--ombre); transform: translateY(-2px); }
.logo-m { height: auto; max-width: 100%; filter: grayscale(1) contrast(1.05); opacity: .7; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.mur-logos li:hover .logo-m { filter: none; opacity: 1; transform: scale(1.05); }
.marques-tete { margin-top: clamp(56px, 8vw, 90px); }
.marques-groupes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 28px; }
.marques-groupe h3 { font: 800 .76rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin: 0 0 12px; }
.mur-petit li { min-height: 96px; padding: 16px 14px; }
.mur-petit .logo-m { transform: scale(.86); }
.mur-petit li:hover .logo-m { transform: scale(.92); }

/* Bandeau des marques (toutes les pages sauf l'accueil) */
.toutes-marques { padding: clamp(50px, 7vw, 80px) 0; background: var(--fond-2); border-top: 1px solid var(--bord); }
.tm-tete { margin-bottom: 22px; }
.mur-tm { --cols: 8 !important; }
.carte-logo, .gamme-logo { display: flex; align-items: center; height: 58px; margin-bottom: 18px; }
.carte-logo .logo-m, .gamme-logo .logo-m { filter: none; opacity: 1; max-height: 52px; width: auto; transform: none; }
.gamme h3 { font-size: 1.15rem; }

/* ---------- Entreprise, zone ---------- */
.entreprise { padding: clamp(70px, 10vw, 120px) 0; }
.entreprise-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.zone { padding: clamp(60px, 8vw, 100px) 0; background: var(--fond-2); }
.zone-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.communes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.communes li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--bord); font-weight: 600; font-size: .92rem; color: var(--encre); }
.communes li.ici { background: var(--rouge); color: #fff; border-color: var(--rouge); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 10vw, 120px) 0; }
.faq-liste { max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--bord); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font: 700 clamp(1.02rem, 1.4vw, 1.15rem)/1.35 var(--f-titre); font-stretch: 104%; color: var(--encre); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pale); position: relative; transition: background .3s, transform .3s; }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ardoise); transform: translate(-50%, -50%); border-radius: 2px; transition: transform .3s; }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { background: var(--rouge); } .faq-item[open] summary i::before, .faq-item[open] summary i::after { background: #fff; transform: translate(-50%, -50%) rotate(180deg); }
.faq-r { padding: 0 54px 22px 0; color: var(--texte); }

/* ---------- Contact ---------- */
.contact { padding: clamp(70px, 10vw, 120px) 0; background: linear-gradient(180deg, #fff, var(--fond-2)); }
.contact-in { max-width: 1260px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.contact-tel { display: flex; align-items: center; gap: 16px; margin: 30px 0 14px; text-decoration: none; color: var(--encre); }
.contact-tel > .ic { width: 58px; height: 58px; padding: 16px; border-radius: 18px; background: var(--rouge); color: #fff; box-shadow: 0 14px 30px -12px rgba(172,0,24,.7); }
.contact-tel span { display: flex; flex-direction: column; font: 900 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--f-titre); font-stretch: 112%; letter-spacing: -.02em; }
.contact-tel small { font: 600 .85rem/1.4 var(--f-texte); color: var(--gris); letter-spacing: 0; }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--rouge); font-weight: 700; text-decoration: none; margin-bottom: 26px; }
.contact-infos p { display: flex; gap: 12px; color: var(--texte); font-size: .96rem; }
.contact-infos .ic { color: var(--rouge); margin-top: 4px; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: #fff; box-shadow: var(--ombre-forte); border: 1px solid var(--bord); }
.champ { position: relative; }
.champ-large, .accord, .formulaire .btn, .formulaire-etat { grid-column: 1 / -1; }
.champ input, .champ textarea, .champ select { width: 100%; padding: 24px 16px 10px; border: 1.5px solid var(--bord); border-radius: 12px; font: inherit; font-size: 1rem; color: var(--encre); background: var(--fond-2); transition: border-color .2s, background .2s; appearance: none; }
.champ select { padding: 17px 16px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%234d4f53' stroke-width='2.5'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.champ textarea { resize: vertical; min-height: 130px; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--ardoise); background: #fff; }
.champ label { position: absolute; left: 17px; top: 17px; color: var(--gris); pointer-events: none; transition: transform .2s, font-size .2s, top .2s; transform-origin: left; }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label, .champ textarea:focus + label, .champ textarea:not(:placeholder-shown) + label { top: 7px; font-size: .74rem; font-weight: 600; color: var(--ardoise); }
.piege { position: absolute; left: -9999px; }
.accord { display: flex; gap: 10px; font-size: .86rem; color: var(--gris); align-items: flex-start; }
.accord input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--rouge); flex: none; }
.formulaire .btn { justify-self: start; }
.formulaire-etat { margin: 0; font-weight: 600; min-height: 1.4em; }
.formulaire-etat.ok { color: #157a3b; } .formulaire-etat.erreur { color: var(--rouge); }

/* ---------- Bande d'appel ---------- */
.cta-bande { background: radial-gradient(60% 140% at 100% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(100deg, var(--rouge), var(--rouge-vif)); color: #fff; padding: 34px 0; }
.cta-in { max-width: 1260px; margin: 0 auto; padding: 0 var(--pad); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-t { margin: 0; font: 800 clamp(1.3rem, 2.4vw, 1.8rem)/1.2 var(--f-titre); font-stretch: 108%; }

/* ---------- Blocs des pages de service ---------- */
.bloc { padding: clamp(50px, 7vw, 90px) 0; }
.bloc + .bloc:not(.bloc-alt):not(.bloc-encart) { padding-top: 0; }
.bloc-alt { background: var(--fond-2); }
.bloc-alt + .bloc { padding-top: clamp(50px, 7vw, 90px) !important; }
.bloc-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 5vw, 80px); align-items: start; }
.bloc-grille .bloc-tete { position: sticky; top: 110px; }
.bloc-tete { margin-bottom: 26px; }
.bloc-sous { margin: 14px 0 0; color: var(--gris); font-size: 1.05rem; }
.bloc-corps p { font-size: 1.04rem; }
.puces { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.puces li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--bord); font-weight: 600; color: var(--encre); font-size: .95rem; }
.bloc-alt .puces li { background: #fff; }
.puces .ic { color: #fff; background: var(--rouge); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3; }
.cartes { display: grid; gap: 16px; }
.cartes-2 { grid-template-columns: repeat(2, 1fr); } .cartes-3 { grid-template-columns: repeat(3, 1fr); }
.carte, .gamme { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r); background: #fff; border: 1px solid var(--bord); transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; }
.carte:hover, .gamme:hover { box-shadow: var(--ombre); }
.carte-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--carte-ardoise); color: #fff; margin-bottom: 22px; box-shadow: 0 12px 24px -12px rgba(20,21,23,.7); }
.carte-ic .ic { width: 26px; height: 26px; }
.carte h3, .gamme h3 { font-size: 1.3rem; font-stretch: 108%; margin-bottom: 10px; }
.carte p, .gamme p { margin: 0; color: var(--texte); font-size: .97rem; }
.gammes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gamme h3 { font: 900 1.6rem/1.1 var(--f-titre); font-stretch: 118%; letter-spacing: -.02em; background: linear-gradient(180deg, #6a6d73, var(--ardoise-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.type { position: relative; padding: 26px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--bord); overflow: hidden; }
.type-n { display: block; font: 900 5rem/.8 var(--f-titre); font-stretch: 120%; color: var(--pale); margin-bottom: 12px; -webkit-text-stroke: 2px var(--ardoise); }
.type:last-child { background: var(--carte-ardoise); border-color: transparent; }
.type:last-child h3 { color: #fff; } .type:last-child p { color: rgba(255,255,255,.82); } .type:last-child .type-n { color: var(--rouge); -webkit-text-stroke: 0; }
.type h3 { font-size: 1.15rem; margin-bottom: 8px; }
.type p { margin: 0; font-size: .92rem; }
.encart { display: flex; gap: clamp(16px, 3vw, 30px); align-items: flex-start; padding: clamp(24px, 3.4vw, 42px); border-radius: 22px; background: var(--fond-ardoise); color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.encart::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); }
.encart h2 { color: #fff; margin-bottom: 10px; }
.encart p { margin: 0 0 12px; max-width: 760px; }
.encart .lien-fleche { color: #fff; }
.encart-ic { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, var(--metal-1), var(--metal-3)); color: var(--rouge); }
.encart-ic .ic { width: 28px; height: 28px; }
.marques { display: block; }
.marques-titre { margin: 0 0 14px; font: 800 .78rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.tuiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tuile { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 22px; border-radius: var(--r); border: 1px solid var(--bord); background: #fff; text-decoration: none; color: var(--encre); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.tuile:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: transparent; }
.tuile-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--pale); color: var(--ardoise); margin-bottom: 8px; transition: background .3s, color .3s; }
.tuile:hover .tuile-ic { background: var(--rouge); color: #fff; }
.tuile strong { font: 800 1.12rem/1.2 var(--f-titre); font-stretch: 106%; }
.tuile > span:not(.tuile-ic) { font-size: .9rem; color: var(--gris); line-height: 1.45; }
.tuile .fl { position: absolute; top: 22px; right: 20px; color: var(--rouge); }
.tuiles-petites { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.bloc-voisins { background: var(--fond-2); padding-top: clamp(50px, 7vw, 90px) !important; }
.bloc-certifs .certifs { grid-template-columns: repeat(4, 1fr); margin: 0; }
.plan { display: flex; align-items: center; gap: 14px; padding: 26px; border-radius: var(--r); background: var(--carte-ardoise); color: #fff; text-decoration: none; font: 800 1.2rem/1.2 var(--f-titre); }
.plan .fl { margin-left: auto; }

/* ---------- Pages texte ---------- */
.texte-legal { max-width: 860px !important; padding-top: 60px !important; padding-bottom: 90px !important; }
.texte-legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.a-completer { background: #fff3b0; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

/* ---------- Pied ---------- */
.pied { position: relative; background: linear-gradient(180deg, var(--ardoise-3), var(--ardoise-4)); color: rgba(255,255,255,.72); padding: 0 0 30px; font-size: .94rem; }
.pied-lignes { width: 100%; height: 46px; margin-top: 34px; }
.pied-in { max-width: 1260px; margin: 0 auto; padding: 40px var(--pad) 40px; display: grid; grid-template-columns: 1.3fr 1.35fr repeat(4, 1fr); gap: 30px; }
.logo-pied { width: 230px; height: auto; margin-bottom: 18px; }
.logo-pied .logo-txt { fill: #fff; }
.pied-marque p { margin: 0 0 6px; }
.pied-depuis { color: var(--metal-2); font-weight: 600; }
.pied-titre { font: 800 .74rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { color: rgba(255,255,255,.85); text-decoration: none; } .pied a:hover { color: #fff; text-decoration: underline; }
.pied-horaires { font-size: .88rem; }
/* e-mail : coupure seulement après « @ » (jamais « .fr » seul sur une ligne) */
.insecable { white-space: nowrap; }
.pied-bas { max-width: 1260px; margin: 0 auto; padding: 22px var(--pad) 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; }
.pied-bas p { margin: 0; }
.appel-flottant { display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; place-items: center; background: linear-gradient(180deg, var(--rouge-vif), var(--rouge)); color: #fff; box-shadow: 0 14px 30px -10px rgba(172,0,24,.8); }
.appel-flottant .ic { width: 26px; height: 26px; }

/* ---------- Apparition au défilement ---------- */
.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-r].vu { opacity: 1; transform: none; }
.carte[data-tilt]:hover, .metier[data-tilt]:hover, .gamme[data-tilt]:hover { transition: transform .12s linear, box-shadow .35s, border-color .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .entete-tel { display: none; }
  .burger { display: block; }
  .entete-devis { margin-left: auto; }
  .burger { margin-left: 0; }
  .eng-liste { grid-template-columns: repeat(3, 1fr); }
  .pied-in { grid-template-columns: 1fr 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  .types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-mono { display: none; }
  .metiers-grille, .tshirt-in, .entreprise-in, .zone-in, .contact-in, .bloc-grille { grid-template-columns: 1fr; }
  .bloc-grille .bloc-tete { position: static; }
  .chiffres-liste { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .reals { grid-template-columns: 1fr 1fr; } .reals .real:first-child { grid-column: 1 / -1; }
  .reals-grandes .real { flex-direction: column; } .reals-grandes .real-photo { min-height: 220px; } .reals-grandes .real-photo[data-carrousel] { min-height: 0; aspect-ratio: 4 / 3; }
  .cartes-3, .gammes { grid-template-columns: 1fr 1fr; }
  .ph-visuel { position: relative; right: auto; top: auto; width: 150px; margin: 30px 0 0 var(--pad); }
  .ph-illu { width: auto; max-width: 520px; margin: 32px var(--pad) 0; }
  .ph-avec-illu .titre-page, .ph-avec-illu .ph-intro, .ph-avec-illu .kicker { max-width: none; }
  .ph-points { grid-template-columns: 1fr; margin-top: 30px; }
  .ph-points li:first-child { border-radius: 16px 16px 0 0; } .ph-points li:last-child { border-radius: 0; }
  .bloc-certifs .certifs { grid-template-columns: 1fr 1fr; }
  .marques-groupes { grid-template-columns: 1fr; }
  .mur-tm { --cols: 4 !important; }
  .tshirt-visuel { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .entete { padding-top: 8px; }
  .entete-in { height: 58px; gap: 10px; max-width: calc(100% - 16px); padding: 0 8px 0 14px; border-radius: 18px; }
  .entete .logo { height: 40px; }
  .entete-devis { display: none; }
  .burger { margin-left: auto; }
  .appel-flottant { display: grid; }
  .hero-in { padding: 110px var(--pad) 140px; }
  .hero-actions .btn, .ph-actions .btn { flex: 1 1 100%; }
  .eng-liste { grid-template-columns: 1fr; }
  .reals, .cartes-2, .cartes-3, .gammes, .types, .puces, .certifs, .bloc-certifs .certifs { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; }
  .formulaire .btn { justify-self: stretch; }
  .pied-in { grid-template-columns: 1fr 1fr; }
  .ph { padding-top: 110px; }
  .encart { flex-direction: column; }
  .mur-logos { --cols: var(--cols-m, 2) !important; --gap: 8px; }
  .mur-logos li { min-height: 96px; padding: 16px 12px; }
  .mur-tm { --cols-m: 3 !important; --cols: 3 !important; }
  .faq-r { padding-right: 0; }
  .contact-tel span { font-size: 1.7rem; }
  .intro-legende span:last-child { display: none; }
  .ph-visuel:not(.ph-illu) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; transform: none; }
  .js .lignes > svg { clip-path: none; }
}
.statique *, .statique *::before, .statique *::after { animation: none !important; transition: none !important; }
.statique [data-r] { opacity: 1 !important; transform: none !important; }
.statique .lignes > svg { clip-path: none !important; }

/* ---------- Animations des pages de service (src/illustrations.js) ---------- */
.illu { position: relative; width: 100%; padding: 14px; border-radius: 26px; background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.illu svg { display: block; width: 100%; height: auto; overflow: hidden; border-radius: 14px; }
.illu .f-blanc { fill: #fff; } .illu .f-ciel { fill: #cfdcff; } .illu .f-metal { fill: #c9ccd1; } .illu .f-nuit { fill: #232428; }
.illu .f-rouge { fill: #e3263b; } .illu .f-jaune { fill: #ffd84d; } .illu .f-vert { fill: #3fd17a; } .illu .f-orange { fill: #ff9a3c; }
.illu .f-led { fill: #f4fbff; } .illu .f-peau { fill: #f1c7a3; } .illu .f-bleu-clair { fill: #7fb2ff; } .illu .f-chaud { fill: #ff6b4a; }
.illu .f-vert-sortie { fill: #1fae5b; } .illu .f-bleu-ts { fill: #2a5fe0; stroke: #fff; stroke-width: 1.3; }
.illu .f-carte { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.28); }
.illu .s { stroke-linecap: round; stroke-linejoin: round; } .illu .s-net { stroke-linecap: butt; }
.illu .t-illu { font: 700 11px var(--f-texte); fill: #fff; text-anchor: middle; }
.illu .t-gros { font-size: 18px; } .illu .t-petit { font-size: 9px; } .illu .t-gauche { text-anchor: start; } .illu .t-sombre { fill: #232428; }
.illu .a-spin, .illu .a-charge, .illu .a-monte, .illu .a-descend, .illu .a-remplit, .illu .a-notif, .illu .a-flamme, .illu .a-fumee, .illu .a-pulse, .illu .a-volet, .illu .a-conso, .illu .a-flotte { transform-box: fill-box; }
@keyframes il-flux { to { stroke-dashoffset: -40; } }
.illu .a-flux { stroke-dasharray: 6 14; animation: il-flux 1s linear infinite; }
.illu .a-flux-rapide { animation-duration: .55s; }
.illu .a-flux-lent { stroke-dasharray: 4 12; animation: il-flux 1.8s linear infinite reverse; }
@keyframes il-blink { 50% { opacity: .2; } }
.illu .a-blink { animation: il-blink 1.2s ease-in-out infinite; } .illu .a-blink-rapide { animation: il-blink .45s steps(2) infinite; }
@keyframes il-charge { 0% { transform: scaleX(.06); } 85%, 100% { transform: scaleX(1); } }
.illu .a-charge { transform-origin: left; animation: il-charge 4.5s ease-in-out infinite; }
@keyframes il-scintille { 0%, 100% { opacity: 1; } 40% { opacity: .75; } 45% { opacity: 1; } 70% { opacity: .85; } }
.illu .a-scintille { animation: il-scintille 1.6s infinite; }
@keyframes il-chaleur { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-22px); opacity: 0; } }
.illu .a-chaleur { animation: il-chaleur 2.4s ease-in infinite; }
@keyframes il-lumiere { 50% { opacity: .34; } }
.illu .a-lumiere { animation: il-lumiere 3s ease-in-out infinite; }
@keyframes il-conso { 0%, 15% { transform: scaleX(1); fill: #e3263b; } 70%, 100% { transform: scaleX(.22); fill: #3fd17a; } }
.illu .a-conso { transform-origin: left; animation: il-conso 4s ease-in-out infinite alternate; }
@keyframes il-conso-led { 0%, 20% { transform: scaleX(1); } 70%, 100% { transform: scaleX(.2); } }
.illu .a-conso-led { transform-box: fill-box; transform-origin: left; animation: il-conso-led 4s ease-in-out infinite alternate; }
@keyframes il-spin { to { transform: rotate(360deg); } }
.illu .a-spin { transform-origin: center; animation: il-spin 1.4s linear infinite; }
.illu .a-spin-rapide { animation-duration: .7s; } .illu .a-spin-lent { animation-duration: 14s; }
@keyframes il-monte { 0% { transform: scaleY(.2); } 100% { transform: scaleY(1); } }
.illu .a-monte { transform-origin: bottom; animation: il-monte 4s ease-in-out infinite alternate; }
@keyframes il-thermo { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 30; } }
.illu .a-thermo { animation: il-thermo 3.5s ease-in-out infinite alternate; }
@keyframes il-chaud { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes il-froid { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.illu .a-mode-chaud { animation: il-chaud 9s infinite; } .illu .a-mode-froid { animation: il-froid 9s infinite; }
@keyframes il-volet { from { transform: rotate(-6deg); } to { transform: rotate(10deg); } }
.illu .a-volet { transform-origin: left top; animation: il-volet 2.2s ease-in-out infinite alternate; }
@keyframes il-air { 0% { stroke-dashoffset: 130; opacity: 0; } 25% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.illu .a-air { stroke-dasharray: 130; animation: il-air 2.2s ease-out infinite; }
@keyframes il-flocon { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(90px); opacity: 0; } }
.illu .a-flocon { animation: il-flocon 3.4s linear infinite; }
@keyframes il-descend { 0% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
.illu .a-descend { transform-origin: bottom; animation: il-descend 4s ease-in-out infinite alternate; }
@keyframes il-entre { 0% { transform: translateX(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(44px); opacity: 0; } }
.illu .a-entre { animation: il-entre 2s ease-out infinite; }
@keyframes il-sort { 0% { transform: translateY(0); opacity: .9; } 100% { transform: translateY(-16px); opacity: 0; } }
.illu .a-sort { animation: il-sort 2.1s ease-out infinite; }
@keyframes il-disj { 0%, 12% { opacity: 0; } 22%, 90% { opacity: 1; } 100% { opacity: 0; } }
.illu .a-disj { animation: il-disj 6s infinite; }
@keyframes il-allume { 0%, 42% { opacity: .25; } 52%, 90% { opacity: 1; } 100% { opacity: .25; } }
@keyframes il-halo { 0%, 42% { opacity: 0; } 52%, 90% { opacity: .25; } 100% { opacity: 0; } }
.illu .a-allume { animation: il-allume 6s infinite; } .illu .a-allume-halo { animation: il-halo 6s infinite; }
@keyframes il-trace { 0% { stroke-dashoffset: 700; } 35%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 700; } }
.illu .a-trace { stroke-dasharray: 700; animation: il-trace 7s ease-in-out infinite; }
@keyframes il-piece { 0%, 8% { opacity: 0; } 14%, 70% { opacity: 1; } 78%, 100% { opacity: 0; } }
.illu .a-piece { animation: il-piece 7s infinite; }
@keyframes il-pulse { 0% { transform: scale(.7); opacity: .4; } 100% { transform: scale(1.5); opacity: 0; } }
.illu .a-pulse { transform-origin: center; animation: il-pulse 2.4s ease-out infinite; }
@keyframes il-flotte { 50% { transform: translateY(-7px); } }
.illu .a-flotte { animation: il-flotte 3s ease-in-out infinite; }
@keyframes il-cone { 0%, 46% { fill: rgba(255,255,255,.2); } 50%, 90% { fill: rgba(227,38,59,.42); } 100% { fill: rgba(255,255,255,.2); } }
.illu .a-cone { animation: il-cone 7s infinite; }
@keyframes il-sirene { 0%, 48% { opacity: 0; } 50%, 58%, 66%, 74%, 82% { opacity: 1; } 54%, 62%, 70%, 78%, 86% { opacity: .15; } 92%, 100% { opacity: 0; } }
.illu .a-sirene { animation: il-sirene 7s infinite; }
@keyframes il-intrus { 0% { transform: translate(350px, 230px); opacity: 0; } 8% { opacity: 1; } 48%, 88% { transform: translate(214px, 230px); opacity: 1; } 95%, 100% { transform: translate(214px, 230px); opacity: 0; } }
.illu .a-intrus { animation: il-intrus 7s ease-in-out infinite; }
@keyframes il-notif { 0%, 52% { transform: scale(.4); opacity: 0; } 58%, 88% { transform: scale(1); opacity: 1; } 94%, 100% { transform: scale(.9); opacity: 0; } }
.illu .a-notif { transform-origin: center; animation: il-notif 7s infinite; }
@keyframes il-onde { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
.illu .a-onde { animation: il-onde 1.2s ease-out infinite; }
@keyframes il-fumee { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .8; } 100% { transform: translateY(-130px) scale(1.6); opacity: 0; } }
.illu .a-fumee { transform-origin: center; animation: il-fumee 3s ease-out infinite; }
@keyframes il-flamme { 50% { transform: scaleY(1.08) scaleX(.96); } }
.illu .a-flamme { transform-origin: bottom; animation: il-flamme .5s ease-in-out infinite; }
@keyframes il-sortie { 50% { opacity: .7; } }
.illu .a-sortie { animation: il-sortie 1s ease-in-out infinite; }
@keyframes il-camera { from { transform: rotate(-12deg); } to { transform: rotate(16deg); } }
.illu .a-camera { transform-origin: 30px 44px; animation: il-camera 4s ease-in-out infinite alternate; }
@keyframes il-balaye { from { transform: translateY(0); } to { transform: translateY(126px); } }
.illu .a-balaye { animation: il-balaye 2.4s linear infinite; }
@keyframes il-reflet { 0% { transform: skewX(-20deg) translateX(0); } 70%, 100% { transform: skewX(-20deg) translateX(260px); } }
.illu .a-reflet { animation: il-reflet 3.2s ease-in-out infinite; }
@keyframes il-remplit { 0% { transform: scaleY(.1); } 85%, 100% { transform: scaleY(1); } }
.illu .a-remplit { transform-origin: bottom; animation: il-remplit 5s ease-in-out infinite; }
@keyframes il-plus { 50% { opacity: .3; } }
.illu .a-plus { animation: il-plus 1.6s ease-in-out infinite; }
@keyframes il-inter { 0%, 10% { opacity: 0; } 16%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes il-bouton { 0%, 10% { transform: translateX(0); } 16%, 86% { transform: translateX(10px); } 92%, 100% { transform: translateX(0); } }
.illu .a-interrupteur { animation: il-inter 7s infinite; } .illu .a-bouton { animation: il-bouton 7s infinite; }
@keyframes il-lampe { 0%, 12% { opacity: .2; } 18%, 86% { opacity: 1; } 92%, 100% { opacity: .2; } }
@keyframes il-lampe-halo { 0%, 12% { opacity: 0; } 18%, 86% { opacity: .3; } 92%, 100% { opacity: 0; } }
.illu .a-lampe { animation: il-lampe 7s infinite; } .illu .a-lampe-halo { animation: il-lampe-halo 7s infinite; }
@keyframes il-volet-baisse { 0%, 26% { transform: translateY(-58px); } 36%, 86% { transform: translateY(0); } 94%, 100% { transform: translateY(-58px); } }
.illu .a-volet-baisse { animation: il-volet-baisse 7s ease-in-out infinite; }
@keyframes il-temp { 0%, 40% { fill: #fff; } 48%, 86% { fill: #ff9a3c; } 92%, 100% { fill: #fff; } }
.illu .a-temp { animation: il-temp 7s infinite; }
@keyframes il-wifi { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.illu .a-onde-wifi { animation: il-wifi 1.4s ease-in-out infinite; }
/* Photo de chantier + animation par-dessus */
.ph-photo { padding-bottom: 46px; }
.ph-photo-img { position: relative; margin: 0; aspect-ratio: 900 / 660; border-radius: 26px; overflow: hidden; background: var(--ardoise-3); box-shadow: 0 34px 70px -26px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.22); }
.ph-photo-img img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: il-photo 22s ease-in-out infinite alternate; }
@keyframes il-photo { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, 1%); } }
.ph-photo-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,23,26,0) 45%, rgba(22,23,26,.55) 100%); pointer-events: none; }
/* Les 3 fils du logo sur les photos : exactement le dessin et les couleurs des fils du site (lignes()), qui se déroulent ; montée qui sort par le bord droit */
.lignes-photo { position: absolute; left: 0; right: -2%; bottom: 14px; z-index: 1; height: clamp(30px, 9%, 46px); }
.ph-photo .illu { position: absolute; z-index: 2; right: -18px; bottom: 0; width: 54%; padding: 8px; border-radius: 18px; background: linear-gradient(150deg, #5a5c61, #2a2c2f); animation: il-encart 1s var(--ease) .7s both; }
.ph-photo .illu svg { border-radius: 11px; }
@keyframes il-encart { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@media (max-width: 640px) { .ph-photo .illu { right: 10px; width: 58%; } }
@media (prefers-reduced-motion: reduce) { .illu * { animation: none !important; } }
.statique .illu * { animation: none !important; }

/* ---------- Photos des chantiers du client dans les endroits vides (09/11/2026) ---------- */
/* En-tête avec photo seule (L'entreprise, Réalisations, Perpignan) */
.ph-photo-seule { padding-bottom: 0; }
/* Morceau de photo sous un titre, traversé par les 3 fils du logo */
.photo-frag { position: relative; margin: clamp(26px, 3vw, 40px) 0 0; aspect-ratio: 4 / 3; max-width: 500px; border-radius: 22px; overflow: hidden; background: var(--ardoise-3, #2d2f32); box-shadow: 0 30px 60px -32px rgba(20,21,23,.6), 0 0 0 1px rgba(20,21,23,.06); }
.photo-frag img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 40% 50%; animation: il-photo 24s ease-in-out infinite alternate; }
.photo-frag::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,23,26,0) 50%, rgba(22,23,26,.5) 100%); pointer-events: none; }

/* Photo floutée en fond, côté vide de la section, qui s'efface vers le texte */
.zone-fond, .bloc-fond-flou { position: relative; isolation: isolate; overflow: hidden; }
.zone-fond::before, .bloc-fond-flou::before { content: ''; position: absolute; inset: -40px; z-index: -1; background: url(/assets/img/realisations/fond-photo-girandiere.webp) center 55% / cover no-repeat; opacity: .34; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 40%, transparent 72%); mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 40%, transparent 72%); pointer-events: none; }
.bloc-fond-flou::before { background-image: url(/assets/img/realisations/fond-photo-hotel.webp); opacity: .34; }
.entreprise-in:has(.photo-frag) { align-items: center; }
@media (max-width: 900px) {
  .photo-frag { max-width: none; aspect-ratio: 16 / 10; margin-top: 22px; }
  .zone-fond::before, .bloc-fond-flou::before { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
}
/* Fond clair tiré de nos photos derrière « Toutes vos installations, une seule équipe » (accueil) */
.metiers { position: relative; isolation: isolate; overflow: hidden; }
.metiers::before { content: ''; position: absolute; inset: -30px; z-index: -1; background: url(/assets/img/realisations/fond-photo-hall-clair.webp) center 35% / cover no-repeat; opacity: .26; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 40%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 40%, transparent 92%); pointer-events: none; }

/* ---------- Plan d'accès de la page Contact : carte satellite qui plonge jusqu'à Pia (09/11/2026) ---------- */
.acces-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
.acces-infos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.acces-infos li { display: flex; gap: 12px; align-items: flex-start; }
.acces-infos .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--rouge); }
.acces-infos strong { display: block; font-weight: 700; color: var(--encre); }
.acces-infos a { color: inherit; font-weight: 600; text-decoration: none; }
.acces-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.acces-carte { position: relative; aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 40%, #5a5c61, #2d2f32 70%); box-shadow: 0 34px 70px -30px rgba(20,21,23,.7), 0 0 0 1px rgba(20,21,23,.08); font: 12px/1.4 var(--f-texte); }
.acces-carte::after { content: ''; position: absolute; inset: 0; z-index: 850; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, rgba(22,23,26,0) 62%, rgba(22,23,26,.62) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.carte-repli { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(255,255,255,.9); font: 600 .95rem var(--f-texte); transition: opacity .6s var(--ease); }
.carte-repli .ic { width: 34px; height: 34px; }
.carte-prete .carte-repli { opacity: 0; }
/* les 3 fils du logo, mêmes que ceux du site, en bas de la carte */
.lignes-carte { position: absolute; left: 0; right: -2%; bottom: 16px; z-index: 860; height: clamp(30px, 8%, 46px); }
.acces-carte .leaflet-control-attribution { background: rgba(20,21,23,.55); color: rgba(255,255,255,.8); padding: 2px 8px; font-size: 10px; border-radius: 8px 0 0 0; }
.acces-carte .leaflet-control-attribution a { color: inherit; }
.acces-carte .leaflet-bottom { z-index: 870; }
.acces-carte .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); margin: 14px 14px 0 0; }
.acces-carte .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; background: rgba(45,47,50,.9); color: #fff; border-color: rgba(255,255,255,.12); font: 600 18px/36px var(--f-texte); }
.acces-carte .leaflet-control-zoom a:hover { background: var(--rouge); color: #fff; }
/* repère : goutte blanche cerclée de rouge avec le monogramme MM, onde rouge, étiquette gris foncé */
.carte-repere { position: relative; }
.carte-pin { position: absolute; left: 4px; top: 0; width: 40px; height: 40px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: #fff; box-shadow: 0 0 0 3px var(--rouge), 0 10px 22px rgba(0,0,0,.5); display: grid; place-items: center; animation: carte-pose .6s var(--ease) both; }
.carte-pin img { width: 28px; height: auto; transform: rotate(45deg); }
.carte-pin::after { content: ''; position: absolute; inset: -9px; border-radius: inherit; border: 2px solid var(--rouge-vif); animation: carte-onde 2.2s var(--ease) .6s infinite; }
.carte-repere em { position: absolute; left: 50%; bottom: calc(100% + 16px); transform: translateX(-50%); white-space: nowrap; font-style: normal; text-align: center; color: rgba(255,255,255,.85); background: linear-gradient(150deg, #4d4f53, #2d2f32); padding: 8px 14px; border-radius: 14px; box-shadow: 0 12px 26px -10px rgba(0,0,0,.6); font: 500 .74rem/1.3 var(--f-texte); animation: carte-etiquette .5s var(--ease) .35s both; }
.carte-repere em strong { display: block; color: #fff; font: 800 .86rem/1.2 var(--f-titre); }
.carte-repere em::after { content: ''; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; background: #2d2f32; transform: translate(-50%, -5px) rotate(45deg); }
@keyframes carte-pose { from { transform: translateY(-30px) rotate(-45deg) scale(.6); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
@keyframes carte-onde { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes carte-etiquette { from { opacity: 0; transform: translate(-50%, 8px); } }
.carte-rejouer { position: absolute; left: 14px; top: 14px; z-index: 1000; border: 0; border-radius: 999px; padding: 9px 14px; background: rgba(45,47,50,.9); color: #fff; font: 700 .78rem/1 var(--f-texte); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); opacity: 0; transition: opacity .4s, background .2s; }
.carte-rejouer:hover { background: var(--rouge); }
.carte-arrivee .carte-rejouer { opacity: 1; }
@media (max-width: 900px) { .acces-grille { grid-template-columns: 1fr; } .acces-carte { aspect-ratio: 4 / 3.4; } }
@media (prefers-reduced-motion: reduce) { .carte-pin, .carte-pin::after, .carte-repere em { animation: none; } }

/* Horaires : le jour sur une ligne, les heures dessous (pied de page, bloc devis) */
.hor { display: block; }
.hor + .hor { margin-top: 8px; }
.hor-j { display: block; font-weight: 600; }
.pied .hor-j { color: rgba(255,255,255,.88); }
.contact-infos .hor-j { color: var(--encre); }
