/* ===== Sky Scrapper – feuille de style ===== */
:root {
  --navy: #0b1d3a;
  --navy-2: #12305e;
  --blue: #1f5fbf;
  --blue-2: #2f7be0;
  --yellow: #f5c518;
  --yellow-2: #ffd84a;
  --ink: #12203a;
  --muted: #5b6b85;
  --line: #e3e9f3;
  --bg-light: #f4f7fc;
  --white: #fff;
  --green: #0f3d33;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(11, 29, 58, .35);
  --ff-title: 'Montserrat', system-ui, sans-serif;
  --ff-text: 'Inter', system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font-family: var(--ff-text); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--ff-title); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { flex-shrink: 0; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; }
.hide-sm { display: inline-flex; }
[hidden] { display: none !important; }

/* ----- Boutons ----- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.4em; border-radius: 999px; font: 700 .95rem var(--ff-title); text-decoration: none; border: 2px solid transparent; background: transparent; color: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.02rem; }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(245, 197, 24, .8); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue); text-decoration: none; }
.link:hover { gap: .7em; }
.link, .link svg { transition: gap .2s; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 700 .78rem var(--ff-title); text-transform: uppercase; letter-spacing: .16em; color: var(--blue); margin-bottom: 1em; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--yellow); }
.section--dark .eyebrow, .hero .eyebrow, .section--green .eyebrow { color: var(--yellow); }

/* ----- Header ----- */
.header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, height .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11,29,58,.4); border-color: var(--line); --header-h: 66px; height: 66px; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo img { height: 41px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 10px; white-space: nowrap; font: 600 .86rem var(--ff-title); text-decoration: none; color: var(--ink); border-radius: 8px; }
.nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--blue); }
.header__cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--bg-light); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Corde / altimètre ----- */
.rope { position: fixed; right: 26px; top: calc(var(--header-h) + 20px); bottom: 30px; width: 40px; z-index: 40; pointer-events: none; }
.rope__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, var(--yellow) 0 8px, #e2a800 8px 12px); opacity: .7; border-radius: 2px; }
.rope__climber { position: absolute; left: 50%; top: 0; transform: translate(-50%, 0); color: var(--navy); transition: top .15s linear; display: flex; flex-direction: column; align-items: center; }
.rope__climber svg { filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.rope__alt { margin-top: 2px; background: var(--navy); color: var(--yellow); font: 700 .66rem var(--ff-title); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.rope.on-dark .rope__climber { color: #fff; }

/* ----- Hero ----- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 140px; color: #fff; background: radial-gradient(1200px 600px at 75% 10%, #1d4b8f 0%, transparent 60%), linear-gradient(170deg, var(--navy-2) 0%, var(--navy) 65%); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s; }
.hero__bg.has-img { opacity: 1; }
.hero__bg.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,29,58,.94) 0%, rgba(11,29,58,.75) 45%, rgba(11,29,58,.35) 100%); }
.hero__city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; color: rgba(255,255,255,.06); z-index: -1; }
.hero__bg.has-img ~ .hero__city { opacity: .35; }
.hero__bg.has-img ~ .hero__swing { display: none; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: 70% 35%; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); }
.hero__slide.is-on { opacity: 1; animation: heroZoom 8s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.hero__windows rect { animation: blink 4s infinite; opacity: .7; }
.hero__windows rect:nth-child(3n) { animation-delay: 1.3s; }
.hero__windows rect:nth-child(4n) { animation-delay: 2.4s; }
@keyframes blink { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
.hero__swing { position: absolute; top: 0; right: 14%; height: 62%; transform-origin: top center; animation: swing 5s ease-in-out infinite; z-index: -1; }
.hero__cord { width: 2px; height: 100%; margin: 0 auto; background: repeating-linear-gradient(to bottom, var(--yellow) 0 10px, #d79b00 10px 14px); }
.hero__worker { width: 70px; height: 105px; margin: -4px auto 0; color: #fff; display: block; }
@keyframes swing { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-3deg); } }
.hero__content { max-width: 1200px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 900; max-width: 14ch; margin-bottom: .4em; }
.hl { color: var(--yellow); position: relative; white-space: nowrap; }
.hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--yellow); opacity: .35; border-radius: 4px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: rgba(255,255,255,.85); }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { color: var(--yellow); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--yellow); border-radius: 2px; animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* ----- Chiffres ----- */
.stats { position: relative; margin-top: -70px; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 900 clamp(2.2rem, 4vw, 3.2rem) var(--ff-title); color: var(--blue); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .92rem; line-height: 1.4; display: block; }

/* ----- Sections ----- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--light { background: var(--bg-light); }
.section--dark { background: radial-gradient(900px 500px at 10% 0%, #173f7a 0%, transparent 60%), var(--navy); color: #fff; }
.section--dark p { color: rgba(255,255,255,.8); }
.section--green { background: radial-gradient(800px 500px at 90% 20%, #1a5a4a 0%, transparent 60%), var(--green); color: #fff; }
.section--green p { color: rgba(255,255,255,.85); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__head p { color: rgba(255,255,255,.75); }

/* ----- Services ----- */
.services { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.services__tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.stab { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; transition: all .25s; font: inherit; color: inherit; }
.stab svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--bg-light); color: var(--blue); transition: all .25s; }
.stab b { display: block; font-family: var(--ff-title); font-size: 1rem; }
.stab small { color: var(--muted); font-size: .82rem; }
.stab:hover { border-color: var(--blue-2); transform: translateX(4px); }
.stab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); transform: translateX(8px); }
.stab.is-active small { color: rgba(255,255,255,.7); }
.stab.is-active svg { background: var(--yellow); color: var(--navy); }
.services__panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); min-height: 520px; }
.spanel { animation: fadeUp .45s ease both; }
.spanel__media { position: relative; height: 280px; background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); overflow: hidden; }
.spanel__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 6s ease-out; }
.spanel__media:hover img { transform: scale(1.06); }
.spanel__media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.18); }
.spanel__media .ph svg { width: 140px; height: 140px; }
.spanel__dots { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.spanel__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.spanel__dots button.is-active { background: var(--yellow); width: 22px; border-radius: 6px; }
.spanel__body { padding: 30px 34px 34px; }
.spanel__body h3 { font-size: 1.6rem; }
.spanel__body > p { color: var(--muted); }
.subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 26px; }
.sub { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg-light); transition: background .2s, transform .2s; }
.sub:hover { background: #e9f0fb; transform: translateY(-2px); }
.sub--img { cursor: pointer; align-items: center; border: 2px solid transparent; }
.sub--img img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.sub--img.is-active { border-color: var(--yellow); background: #fffbea; }
.sec-photo { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); grid-column: 1 / -1; }
.sec-photo img { width: 100%; height: 230px; object-fit: cover; }
.sec-photo span { position: absolute; left: 14px; bottom: 14px; background: rgba(11,29,58,.8); color: #fff; padding: 5px 12px; border-radius: 999px; font: 700 .8rem var(--ff-title); }
.jobs__photo { border-radius: 20px; overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow); }
.jobs__photo img { width: 100%; height: 320px; object-fit: cover; object-position: center 30%; }
.sub i { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-style: normal; font: 800 .75rem var(--ff-title); color: var(--navy); }
.sub b { display: block; font-size: .95rem; }
.sub span { font-size: .85rem; color: var(--muted); line-height: 1.4; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ----- Quiz ----- */
.quiz { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.quiz__progress { height: 6px; background: rgba(255,255,255,.12); border-radius: 6px; overflow: hidden; margin-top: 24px; max-width: 360px; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .4s; }
.quiz__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 34px; backdrop-filter: blur(6px); min-height: 340px; }
.quiz__q { animation: fadeUp .4s both; }
.quiz__q h3 { font-size: 1.35rem; margin-bottom: 20px; }
.quiz__q small { display: block; color: var(--yellow); font: 700 .75rem var(--ff-title); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.qopts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.qopt { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: #fff; font: 600 .95rem var(--ff-text); text-align: left; cursor: pointer; transition: all .2s; }
.qopt:hover { border-color: var(--yellow); background: rgba(245,197,24,.1); transform: translateY(-2px); }
.qopt em { font-style: normal; font-size: 1.4rem; }
.quiz__res { animation: fadeUp .4s both; }
.quiz__res .tag { display: inline-block; background: var(--yellow); color: var(--navy); font: 800 .78rem var(--ff-title); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.quiz__res h3 { font-size: 1.6rem; }
.quiz__res ul { padding-left: 1.2em; color: rgba(255,255,255,.85); }
.quiz__res .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ----- Comparateur ----- */
.compare { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.compare__switch { display: inline-flex; padding: 6px; background: var(--bg-light); border-radius: 999px; margin-bottom: 30px; flex-wrap: wrap; }
.compare__switch button { border: 0; background: transparent; padding: 10px 24px; border-radius: 999px; font: 700 .95rem var(--ff-title); color: var(--muted); cursor: pointer; transition: all .25s; }
.compare__switch button.is-active { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px var(--navy); }
.crow { display: grid; grid-template-columns: 260px 1fr 70px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.crow:last-child { border-bottom: 0; }
.crow b { font-family: var(--ff-title); font-size: .95rem; }
.crow small { display: block; color: var(--muted); font-size: .82rem; }
.cbar { height: 12px; background: var(--bg-light); border-radius: 12px; overflow: hidden; }
.cbar span { display: block; height: 100%; border-radius: 12px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.cbar span.top { background: linear-gradient(90deg, #e2a800, var(--yellow)); }
.cscore { font: 800 .9rem var(--ff-title); color: var(--navy); text-align: right; }
.compare__note { margin: 20px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--bg-light); color: var(--muted); font-size: .92rem; }

/* ----- Méthode ----- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 30px; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 12px, transparent 12px 20px); }
.step { position: relative; background: #fff; border-radius: 18px; padding: 72px 20px 24px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__n { position: absolute; top: 6px; left: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font: 900 1.25rem var(--ff-title); box-shadow: 0 0 0 6px var(--bg-light); }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ----- Avant / après ----- */
.ba-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--navy); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--yellow); transform: translateX(-50%); }
.ba__handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font: 900 1rem var(--ff-title); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ba__lbl { position: absolute; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(11,29,58,.75); color: #fff; font: 700 .75rem var(--ff-title); text-transform: uppercase; letter-spacing: .1em; }
.ba__lbl--l { left: 14px; } .ba__lbl--r { right: 14px; background: var(--yellow); color: var(--navy); }
.ba__title { position: absolute; left: 14px; bottom: 14px; color: #fff; font: 700 .95rem var(--ff-title); text-shadow: 0 2px 10px rgba(0,0,0,.6); text-transform: capitalize; }

/* ----- Galerie ----- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font: 600 .9rem var(--ff-title); cursor: pointer; transition: all .2s; color: var(--ink); }
.filters button.is-active, .filters button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; animation: fadeUp .5s both; }
.gallery img { width: 100%; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(11,29,58,.8); color: #fff; padding: 4px 10px; border-radius: 999px; font: 600 .75rem var(--ff-title); opacity: 0; transform: translateY(6px); transition: all .25s; }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery__more { display: flex; margin: 26px auto 0; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,26,.94); display: grid; place-items: center; padding: 30px; }
.lightbox img { max-height: 88vh; max-width: min(1200px, 92vw); border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: var(--yellow); color: var(--navy); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; } .lightbox__next { right: 20px; top: 50%; }

/* ----- Références ----- */
.refs { overflow: hidden; }
.marquee { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 85s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { padding: 14px 24px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); font: 700 1rem var(--ff-title); color: rgba(255,255,255,.9); white-space: nowrap; transition: all .2s; }
.marquee__track span:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }
.refs__sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.refs__sectors div { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); border-left: 3px solid var(--yellow); }
.refs__sectors b { display: block; font-family: var(--ff-title); color: var(--yellow); margin-bottom: 6px; }
.refs__sectors span { color: rgba(255,255,255,.8); font-size: .92rem; }

/* ----- Sécurité ----- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.split--reverse { grid-template-columns: .8fr 1.2fr; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding: 12px 14px 12px 50px; border-radius: 12px; background: var(--bg-light); }
.checklist li::before { content: ''; position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b1d3a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M6 13l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cert { padding: 28px 22px; border-radius: 20px; background: var(--navy); color: #fff; transition: transform .3s; position: relative; overflow: hidden; }
.cert::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(245,197,24,.12); transition: transform .4s; }
.cert:hover { transform: translateY(-6px) rotate(-.5deg); }
.cert:hover::after { transform: scale(1.6); }
.cert:nth-child(2), .cert:nth-child(3) { background: var(--blue); }
.cert svg { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--yellow); color: var(--navy); margin-bottom: 16px; }
.cert b { display: block; font: 800 1.2rem var(--ff-title); margin-bottom: 4px; }
.cert span { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ----- Engagement ----- */
.engage__visual svg { width: 100%; max-width: 360px; margin-inline: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
.pills { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .9rem; }

/* ----- FAQ ----- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 700 1.05rem var(--ff-title); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--bg-light); display: grid; place-items: center; font-size: 1.3rem; color: var(--blue); transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--navy); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; animation: fadeUp .35s both; }

/* ----- Recrutement ----- */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job { padding: 28px; border: 1px solid var(--line); border-radius: 20px; transition: all .25s; background: #fff; }
.job:hover { border-color: var(--yellow); box-shadow: var(--shadow); transform: translateY(-4px); }
.job__tag { display: inline-block; font: 700 .72rem var(--ff-title); text-transform: uppercase; letter-spacing: .12em; color: var(--blue); background: #e8f0fc; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.job p { color: var(--muted); font-size: .94rem; }

/* ----- Devis ----- */
.devis { display: grid; grid-template-columns: .9fr 1.3fr; gap: 50px; align-items: start; }
.devis__perks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.devis__perks li { display: flex; gap: 10px; align-items: center; }
.devis__perks svg { color: var(--navy); background: var(--yellow); border-radius: 50%; padding: 4px; }
.devis__call { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.25); }
.devis__call span { color: rgba(255,255,255,.7); font-size: .9rem; }
.devis__call a { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); font: 800 1.5rem var(--ff-title); text-decoration: none; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); position: relative; }
.form__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; }
.form__progress span { position: relative; padding-top: 14px; font: 700 .78rem var(--ff-title); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.form__progress span::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 5px; background: var(--line); transition: background .3s; }
.form__progress span.is-active, .form__progress span.is-done { color: var(--navy); }
.form__progress span.is-active::before, .form__progress span.is-done::before { background: var(--yellow); }
.form__step { border: 0; padding: 0; margin: 0; display: none; }
.form__step.is-active { display: block; animation: fadeUp .35s both; }
.form legend { font: 800 1.3rem var(--ff-title); margin-bottom: 18px; padding: 0; }
.form legend small { font: 500 .85rem var(--ff-text); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font: 600 .92rem var(--ff-title); transition: all .2s; }
.chips span::before { content: '+'; font-weight: 800; color: var(--blue); }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips input:checked + span::before { content: '✓'; color: var(--yellow); }
.chips input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: .88rem; font-weight: 600; }
.field em { color: #d33; font-style: normal; }
.field input, .field select, .field textarea { font: 400 1rem var(--ff-text); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcfe; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47,123,224,.15); background: #fff; }
.field .is-invalid, .is-invalid { border-color: #e04848 !important; box-shadow: 0 0 0 4px rgba(224,72,72,.12) !important; }
.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; color: var(--muted); font-size: .92rem; transition: all .2s; }
.drop b { color: var(--navy); }
.drop svg { color: var(--blue); }
.drop:hover, .drop.is-over { border-color: var(--blue-2); background: #f1f6fe; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop__list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.drop__list li { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 10px; background: var(--bg-light); font-size: .8rem; }
.drop__list img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; }
.form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.form .btn--ghost-light { color: var(--navy); border-color: var(--line); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form__error { color: #c62828; font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: 10px 0 0; }
.form__done { text-align: center; padding: 40px 10px; animation: fadeUp .5s both; }
.form__done-icon { width: 86px; height: 86px; margin: 0 auto 20px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.form__done p { color: var(--muted); }
.form__done a { white-space: nowrap; color: var(--blue); font-weight: 700; }

/* ----- Contact ----- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; }
.contact__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 16px; padding: 16px; border-radius: 14px; background: var(--bg-light); }
.contact__list svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--navy); color: var(--yellow); }
.contact__list b { display: block; font-family: var(--ff-title); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__list a { color: var(--navy); font-weight: 700; text-decoration: none; }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.8); }

/* ----- Footer ----- */
.footer { background: #071327; color: rgba(255,255,255,.7); padding: 64px 0 24px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer__grid b { color: #fff; font-family: var(--ff-title); margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__logo { background: #fff; padding: 10px 14px; border-radius: 12px; width: 200px; height: auto; margin-bottom: 10px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.social svg { width: 18px; height: 18px; }
.social a:hover { background: var(--yellow); color: var(--navy); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

.fab { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: none; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); z-index: 60; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,197,24,.6); } 70% { box-shadow: 0 0 0 16px rgba(245,197,24,0); } 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); } }

/* ----- Apparition au défilement ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ----- Pages légales ----- */
.legal { padding: calc(var(--header-h) + 60px) 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.todo { background: #fff6cc; padding: 1px 6px; border-radius: 4px; color: #7a5b00; }

/* ----- Responsive ----- */
@media (max-width: 1240px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 20px 24px; box-shadow: 0 30px 40px -20px rgba(0,0,0,.3); transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }
  .header__cta { margin-left: auto; }
  .rope { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .refs__sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .services, .quiz, .split, .split--reverse, .devis, .contact { grid-template-columns: 1fr; }
  .services__tabs { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .stab { flex: 0 0 240px; scroll-snap-align: start; }
  .stab.is-active { transform: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .jobs { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__swing { right: 6%; opacity: .5; }
  .engage__visual svg { max-width: 220px; }
  .crow { grid-template-columns: 1fr 60px; }
  .crow .cbar { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .container, .narrow { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .logo img { height: 34px; }
  .header__cta .btn--yellow { display: none; }
  .fab { display: grid; }
  .hero { padding-bottom: 120px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .subs, .qopts, .grid2, .certs, .refs__sectors, .steps { grid-template-columns: 1fr; }
  .spanel__body, .quiz__card, .compare, .form { padding: 22px; }
  .spanel__media { height: 200px; }
  .footer__grid { grid-template-columns: 1fr; }
  .ba-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
