/* Azothia — v5 : mélange Morningside (sections sombres, grands énoncés fins) + KrishaWeb (sections claires, titres gras, blocs split) */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 300; font-style: italic; font-display: swap; src: url("/assets/fonts/poppins-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --black: #0A0A0B;
  --black-2: #111214;
  --card: #151619;
  --line-d: rgba(255,255,255,.1);
  --gold: #E4B04A;
  --gold-l: #F6D78F;
  --gold-d: #8A5D0E;
  --white: #FFFFFF;
  --off: #F4F4F2;
  --ink: #111111;
  --muted: #555B66;
  --muted-d: #B3B8C2;
  --line-l: #E3E3E0;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bold: "Manrope", "Poppins", system-ui, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--black); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-l); color: var(--black); }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; background: var(--white); color: var(--black); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
[hidden] { display: none !important; }

/* Boutons : rectangles blancs + chevron (Morningside), pilules noires (KrishaWeb) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; font: 500 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover .chev { transform: translateX(3px); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gold-l); }
.btn-line { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-dark { border-radius: 10px; background: var(--black); color: var(--white); text-transform: none; letter-spacing: 0; font: 500 15px/1 var(--sans); }
.btn-dark:hover { background: #2A2B2F; }
.btn-outline-dark { border-radius: 10px; border: 2px solid var(--black); color: var(--black); text-transform: none; letter-spacing: 0; font: 500 15px/1 var(--sans); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-line-dark { border-radius: 10px; border-color: #C9CBD0; color: var(--ink); background: transparent; text-transform: none; letter-spacing: 0; font: 500 15px/1 var(--sans); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 12px; }
.full { width: 100%; }

/* Typo */
.dark { color: var(--white); background: var(--black); }
.light { color: var(--ink); background: var(--white); }
.display { font: 300 clamp(2.6rem, 7.4vw, 5.6rem)/1.08 var(--sans); letter-spacing: -.02em; }
.display-sm { font: 300 clamp(2.1rem, 5.2vw, 4.1rem)/1.12 var(--sans); letter-spacing: -.02em; text-align: center; }
.display-sm.left { text-align: left; }
.grad { background: linear-gradient(90deg, var(--gold-l) 0%, var(--gold) 55%, #C98A1E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-soft { background: linear-gradient(90deg, #9DA2AB, #E9D6A6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title { font: 800 clamp(2rem, 4.6vw, 3.4rem)/1.12 var(--bold); letter-spacing: -.02em; }
.accent { color: var(--gold-d); }
.kicker { margin-bottom: 14px; color: var(--muted); font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.kicker-dark { display: block; margin-bottom: 8px; color: var(--gold-l); font: 500 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.center-head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 48px; text-align: center; }
.center-head.dark-text .title { max-width: 18ch; }
.center-cta { display: flex; justify-content: center; margin-top: 44px; }

/* En-tête */
.header { position: fixed; z-index: 100; inset: 0 0 auto; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(10,10,11,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-d); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand img { width: auto; height: 30px; }
.brand span { font: 400 20px/1 var(--sans); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { color: #E6E7EA; font-size: 14px; text-decoration: none; }
.nav > a:not(.btn):hover { color: var(--gold-l); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: 8px; background: transparent; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); transition: transform .25s ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* 1. Hero */
.hero { position: relative; overflow: hidden; padding: 150px 0 70px; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 45% at 50% 62%, rgba(228,176,74,.16), transparent 70%),
  linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 100%) 0 0 / 220px 100%,
  linear-gradient(180deg, #121316 0%, var(--black) 70%); }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 8px 14px; border: 1px solid var(--line-d); border-radius: 999px; color: #D9DBE0; background: rgba(255,255,255,.03); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero h1 { max-width: 15ch; }
.hero h1 .grad { display: inline-block; }
.logo-stage { position: relative; isolation: isolate; display: grid; place-items: center; width: min(100%, 620px); min-height: 230px; margin: 26px auto 10px; }
.stage-glow { position: absolute; z-index: -1; inset: 10% 15%; border-radius: 50%; background: radial-gradient(ellipse, rgba(228,176,74,.25), transparent 70%); filter: blur(12px); animation: breathe 6s ease-in-out infinite; }
.logo-fallback { width: min(80%, 480px); height: auto; aspect-ratio: 1474/680; filter: drop-shadow(0 0 24px rgba(228,176,74,.3)); transition: opacity .8s ease; animation: sign 1.5s cubic-bezier(.65,.05,.36,1) .3s backwards; }
.logo-stage canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.logo-stage.is-live canvas { opacity: 1; }
.logo-stage.is-live .logo-fallback { opacity: 0; }
.tilt-button { position: absolute; z-index: 4; right: 0; bottom: -4px; min-height: 44px; padding: 6px 12px; border: 1px solid rgba(228,176,74,.35); border-radius: 999px; color: var(--gold-l); background: rgba(10,10,11,.7); font-size: 12px; cursor: pointer; }
.tilt-status { position: absolute; z-index: 4; bottom: 0; left: 0; color: var(--gold-l); font-size: 12px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero-stats li { display: flex; align-items: center; gap: 10px; color: var(--muted-d); font-size: 14px; }
.hero-stats svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-stats b { color: var(--white); font-weight: 500; }
@keyframes sign { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes breathe { 50% { opacity: .75; transform: scale(1.06); } }

/* 2. Récit au défilement : flou → net */
.story { padding: 60px 0 40px; }
.story-in { display: flex; flex-direction: column; align-items: center; gap: 14vh; padding-block: 8vh; }
@media (max-width: 720px) { .story { padding: 32px 0 16px; } .story-in { gap: 56px; padding-block: 24px; } }
.story-line { max-width: 24ch; font: 300 clamp(1.7rem, 4vw, 2.9rem)/1.3 var(--sans); text-align: center; transition: filter .6s ease, opacity .6s ease; }
.story-line .hl { color: var(--gold-l); }
html.js-motion .story-line { filter: blur(8px); opacity: .25; }
html.js-motion .story-line.is-in { filter: none; opacity: 1; }

/* 3. Bande dorée */
.why { position: relative; overflow: hidden; padding: 120px 0 130px; background: linear-gradient(180deg, var(--black) 0%, #1B160B 45%, #5A400F 100%); }
.why-grid { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 12.5%), repeating-linear-gradient(180deg, rgba(255,255,255,.06) 0 1px, transparent 1px 180px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
.why-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 880px; text-align: center; }
.why-in > p { max-width: 46ch; color: #E9E6DD; font-size: clamp(17px, 2vw, 20px); }
.why-in b { color: var(--white); font-weight: 600; }
.why-lead { font-size: clamp(18px, 2.2vw, 22px) !important; }
.why-in .btn { margin-top: 18px; }

/* 4. Qui sommes-nous (KrishaWeb) */
.about { position: relative; z-index: 1; margin-top: -28px; border-radius: 28px 28px 0 0; }
.about-in { display: grid; grid-template-columns: 1fr; gap: 44px; padding: 100px 0; }
.about-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.about-text p:not(.kicker) { color: #2E3138; font-size: 17px; }
.about-text .btn { margin-top: 10px; }
.stat-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.stat-box { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 170px; padding: 24px; border: 1px solid #D9D9D6; }
.stat-box:nth-child(even) { transform: translateY(26px); }
.stat-box b { font: 800 clamp(2.2rem, 5vw, 3.2rem)/1 var(--bold); letter-spacing: -.02em; }
.stat-box span { color: #2E3138; font-size: 15px; line-height: 1.4; }

/* 5. Méthode (Morningside) */
.method { padding: 110px 0; border-radius: 28px 28px 0 0; }
.mini-logo { height: 26px; width: auto; }
.steps { display: flex; flex-direction: column; gap: 26px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 1fr; gap: 6px; }
.step:nth-child(3) .step-card { margin-left: 0; }
.step-num { font: 300 italic clamp(4rem, 10vw, 7rem)/1 var(--sans); background: linear-gradient(180deg, var(--gold-l), rgba(228,176,74,.15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-card { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 32px 26px; border: 1px solid var(--line-d); border-radius: 12px; background: linear-gradient(160deg, #18191C, #0F1012); }
.step-icon { width: 110px; height: 110px; fill: none; stroke: #E8E8EA; stroke-width: 1.3; }
.step-card h3 { margin-bottom: 12px; font: 400 clamp(1.8rem, 3.6vw, 2.5rem)/1.1 var(--sans); }
.step-card p { color: #CFD2D8; font-size: 16px; }

/* 6. Schéma à nœuds (KrishaWeb) */
.hub-in { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; padding: 100px 0; }
.hub-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hub-text p:not(.kicker) { color: #2E3138; font-size: 17px; }
.hub-visual { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, #FBF4E3 0%, #FFFFFF 70%); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { fill: none; stroke: #D9C79C; stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -220; } }
.hub-core { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 24px; background: var(--black); box-shadow: 0 20px 50px rgba(0,0,0,.25), 0 0 0 10px rgba(228,176,74,.12); transform: translate(-50%, -50%); }
.hub-core img { width: 72%; height: auto; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #E6E2D8; border-radius: 10px; background: var(--white); box-shadow: 0 10px 26px rgba(17,17,17,.1); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--black); color: var(--gold); font-style: normal; font-size: 13px; }
.c1 { top: 10%; left: 2%; } .c2 { top: 10%; right: 0; animation-delay: -1s; }
.c3 { top: 46%; left: -4%; animation-delay: -2s; } .c4 { top: 46%; right: -4%; animation-delay: -3s; }
.c5 { bottom: 10%; left: 4%; animation-delay: -4s; } .c6 { bottom: 10%; right: 4%; animation-delay: -5s; }
@keyframes float { 50% { transform: translateY(-7px); } }

/* 7. Services en blocs split (KrishaWeb) */
.services { padding: 90px 0 0; background: var(--off); }
.case { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-l); }
.case-visual { position: relative; min-height: 340px; overflow: hidden; background: linear-gradient(140deg, #ECEBE6, #FFFFFF); }
.case-alt .case-visual { background: linear-gradient(140deg, #16171A, #24221C); }
.tilt-stack { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; transform: rotate(-10deg) scale(1.05); }
.mock { flex: 0 0 auto; border-radius: 10px; background: var(--white); box-shadow: 0 30px 60px rgba(0,0,0,.18); overflow: hidden; }
.mock-browser { width: 300px; height: 230px; }
.mock-bar { display: flex; gap: 6px; padding: 10px; background: #EFEFEC; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D3D3CE; }
.mock-hero { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--black); }
.mock-hero.small { padding: 14px; }
.m-line { display: block; height: 10px; border-radius: 3px; background: #F1F1F1; }
.m-line.light-l { background: #6B6B6B; }
.m-line.dark-l { background: #1C1C1C; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.m-btn { width: 70px; height: 16px; margin-top: 4px; border-radius: 3px; background: var(--gold); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.mock-grid span { height: 56px; border-radius: 6px; background: #F0EEE8; }
.mock-phone { width: 120px; height: 230px; border: 6px solid #111; border-radius: 18px; }
.mock-list { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.mock-list span { height: 26px; border-radius: 6px; background: #F0EEE8; }
.mock-quote { width: 260px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mq-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px dashed #DDD; }
.mq-badge { padding: 3px 8px; border-radius: 4px; background: #E3F4EA; color: #1D6B3F; font-size: 10px; font-weight: 600; }
.mq-row { display: flex; justify-content: space-between; gap: 10px; }
.mq-row span { width: 55%; height: 8px; border-radius: 3px; background: #E7E7E3; }
.mq-row b { width: 22%; height: 8px; border-radius: 3px; background: #BDBDB7; }
.mq-total { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 10px; border-radius: 6px; background: var(--black); }
.mq-total span { width: 30%; height: 8px; border-radius: 3px; background: #555; }
.mq-total b { color: var(--gold); font-size: 15px; font-weight: 600; }
.mock-mail { width: 200px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mm-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 6px; background: #F4F4F1; }
.mm-row i { width: 14px; height: 14px; border-radius: 4px; background: #CFCFC9; }
.mm-row.on i { background: var(--gold); }
.mm-row span { flex: 1; height: 7px; border-radius: 3px; background: #DDDDD8; }
.vlabel { position: absolute; right: 14px; bottom: 18px; color: #6E6E6A; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.case-alt .vlabel { color: #8D8A80; }
.case-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 50px 22px 60px; background: var(--off); }
.tagline { display: flex; align-items: center; gap: 14px; color: var(--gold-d); font: 700 12px/1.5 var(--bold); letter-spacing: .08em; text-transform: uppercase; }
.tagline::before { content: ""; flex: 0 0 34px; height: 1.5px; background: var(--gold-d); }
.case-title { font: 800 clamp(2rem, 4.2vw, 3.3rem)/1.08 var(--bold); letter-spacing: -.02em; }
.case-text > p:not(.tagline):not(.price-note) { max-width: 52ch; color: #2E3138; font-size: 17px; }
.price-note { color: var(--muted); font-size: 14px; }

/* 8. Démo + calculateur (Morningside sombre) */
.try { padding: 110px 0; }
.try h2 { max-width: 20ch; margin-bottom: 48px; }
.try-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.panel { display: flex; flex-direction: column; gap: 18px; padding: 28px 22px; border: 1px solid var(--line-d); border-radius: 14px; background: linear-gradient(160deg, #17181B, #0E0F11); }
.panel h3 { font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--sans); }
.ctl { display: flex; flex-direction: column; gap: 8px; color: #E4E5E8; font-size: 14px; }
.ctl > span:first-child { display: flex; justify-content: space-between; gap: 12px; }
.ctl output { color: var(--gold-l); font-weight: 500; }
.ctl select, .suffix input { min-height: 46px; padding: 8px 12px; border: 1px solid #34363C; border-radius: 6px; color: var(--white); background: #0B0C0E; }
.ctl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type="range"] { width: 100%; height: 30px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.suffix { display: flex; align-items: center; gap: 10px; }
.suffix input { width: 120px; }
.suffix span { color: var(--muted-d); }
.qt { border-top: 1px solid var(--line-d); }
.qr { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-d); color: #D9DBE0; font-size: 14px; }
.qr b { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .3s ease; }
.qr.sub { color: var(--muted-d); }
.qtotal { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 8px; background: var(--white); color: var(--black); }
.qtotal b { font: 600 clamp(1.4rem, 3vw, 1.9rem)/1 var(--sans); font-variant-numeric: tabular-nums; }
.is-updating { color: var(--gold) !important; }
.big-stats { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px 0 6px; border-top: 1px solid var(--line-d); }
.big-stats div { display: flex; align-items: baseline; gap: 12px; }
.big-stats b { font: 300 clamp(2.4rem, 5vw, 3.2rem)/1 var(--sans); background: linear-gradient(90deg, var(--gold-l), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.big-stats span { color: var(--muted-d); font-size: 14px; }
.fine { color: #8F949E; font-size: 12px; line-height: 1.55; }

/* 9. Secteurs (KrishaWeb) */
.sectors { padding: 100px 0; }
.sector-list { border-top: 1px solid var(--line-l); }
.sector { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num name arrow" "num desc arrow"; gap: 4px 16px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line-l); text-decoration: none; transition: background .25s ease, padding .25s ease; }
.sector:hover { background: var(--off); padding-inline: 18px; }
.s-num { grid-area: num; align-self: start; padding-top: 8px; color: var(--gold-d); font: 700 13px/1 var(--bold); }
.s-name { grid-area: name; font: 800 clamp(1.4rem, 3.4vw, 2.2rem)/1.15 var(--bold); letter-spacing: -.01em; }
.s-desc { grid-area: desc; color: var(--muted); font-size: 15px; }
.s-arrow { grid-area: arrow; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 18px; transition: background .25s ease, transform .25s ease; }
.sector:hover .s-arrow { background: var(--gold); color: var(--black); transform: rotate(-45deg); }

/* 10. FAQ */
.faq { padding: 110px 0; }
.faq-in { display: grid; grid-template-columns: 1fr; gap: 40px; }
.faq-list { border-top: 1px solid var(--line-d); }
.faq-list details { border-bottom: 1px solid var(--line-d); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 18px 0; font: 400 clamp(1rem, 2vw, 1.2rem)/1.4 var(--sans); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid #3A3C42; border-radius: 50%; transition: transform .25s ease, background .25s ease; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--gold-l); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus { transform: rotate(45deg); background: rgba(228,176,74,.12); }
.faq-list p { max-width: 64ch; padding: 0 0 22px; color: #C4C7CE; font-size: 15px; }

/* 11. Contact */
.contact { position: relative; overflow: hidden; padding: 120px 0; background: linear-gradient(180deg, var(--black) 0%, #1B160B 55%, #3E2D0C 100%); }
.contact-in { position: relative; display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.contact-text { display: flex; flex-direction: column; gap: 22px; }
.contact-text h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.contact-text p { max-width: 44ch; color: #E3E0D8; font-size: 17px; }
.mail-link { color: var(--gold-l); font-size: 20px; text-underline-offset: 6px; }
.form { position: relative; padding: 26px 20px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 40px 90px rgba(0,0,0,.4); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.progress, .step-label { display: none; }
html.has-js .progress { display: block; height: 3px; margin-bottom: 12px; background: #ECECEA; }
html.has-js .progress span { display: block; width: 33.3%; height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold)); transition: width .4s ease; }
html.has-js .step-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.fstep { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
html.has-js .fstep:not(.is-current) { display: none; }
html.has-js .fstep.is-current { animation: stepin .35s ease both; }
@keyframes stepin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.fstep legend { margin-bottom: 16px; padding: 0; font: 800 clamp(1.4rem, 3vw, 1.9rem)/1.15 var(--bold); letter-spacing: -.01em; }
.choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 52px; padding: 12px 16px 12px 46px; border: 1px solid #D5D5D1; border-radius: 10px; font-weight: 500; transition: border-color .2s ease, background .2s ease; }
.choice span::before { content: ""; position: absolute; left: 16px; width: 18px; height: 18px; border: 2px solid #A3A39E; border-radius: 50%; }
.choice:hover span { border-color: var(--black); }
.choice input:checked + span { border-color: var(--black); background: #FAF5E9; }
.choice input:checked + span::before { border-color: var(--black); background: var(--black); box-shadow: inset 0 0 0 3px #FAF5E9; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #C9C9C4; border-radius: 8px; color: var(--ink); background: var(--white); font-size: 16px; font-weight: 400; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(228,176,74,.4); }
.two { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.consent { display: flex; align-items: flex-start; gap: 12px; color: #43464D; font-size: 13px; line-height: 1.5; }
.consent input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--black); }
.consent a { color: var(--gold-d); font-weight: 600; }
.form-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.form-nav .btn { flex: 1 1 160px; min-height: 52px; }
.form-nav .form-prev { flex: 0 0 auto; }
.form-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.form-feedback { margin-top: 12px; font-size: 14px; font-weight: 600; }
.form-feedback.is-success { color: #17633C; }
.form-feedback.is-error { color: #9C2020; }

/* Pied de page */
.footer { padding: 70px 0 30px; color: #C6C9CF; background: #050506; border-top: 1px solid var(--line-d); }
.footer-in { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.f-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.f-brand p { max-width: 38ch; font-size: 14px; }
.f-brand > a:last-child { color: var(--gold-l); }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h2 { margin-bottom: 4px; color: var(--white); font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.f-col a { min-height: 28px; color: #C6C9CF; font-size: 14px; text-decoration: none; }
.f-col a:hover { color: var(--gold-l); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 12px; }
.f-bottom a { color: #C6C9CF; text-decoration: none; }

.mobile-cta { display: none; }

/* Apparitions au défilement */
html.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.js-motion .reveal.is-in { opacity: 1; transform: none; }

/* ===== Téléphone ===== */
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 22px; background: rgba(10,10,11,.98); border-bottom: 1px solid var(--line-d); }
  html.has-js .nav:not(.open) { display: none; }
  .nav > a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-d); font-size: 17px; }
  .nav .nav-cta { margin-top: 16px; min-height: 52px; }
  .header { background: rgba(10,10,11,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .hero { padding-top: 120px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .logo-stage { min-height: 170px; }
  .stat-box { min-height: 140px; padding: 18px; }
  .stat-box:nth-child(even) { transform: translateY(18px); }
  .chip { font-size: 11px; padding: 7px 9px; }
  .chip i { width: 20px; height: 20px; font-size: 11px; }
  .c3 { left: 0; } .c4 { right: 0; }
  .mobile-cta { position: fixed; z-index: 90; inset: auto 0 0; display: block; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,11,.96); border-top: 1px solid var(--line-d); }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ===== Tablette et ordinateur ===== */
@media (min-width: 861px) {
  .about-in { grid-template-columns: 1fr 1fr; gap: 70px; padding: 120px 0 140px; align-items: center; }
  .about-in::before { content: ""; position: absolute; }
  .step { grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 30px; }
  .step:nth-child(2) { padding-left: 40px; }
  .step:nth-child(3) { padding-left: 80px; }
  .step-num { text-align: right; }
  .step-card { grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 36px; padding: 44px 48px; }
  .step-icon { width: 130px; height: 130px; }
  .hub-in { grid-template-columns: 1fr 1fr; gap: 70px; padding: 130px 0; }
  .case { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .case-alt .case-visual { order: 2; }
  .case-text { padding: 70px 60px; }
  .try-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .panel { padding: 36px 32px; }
  .big-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .big-stats div { flex-direction: column; gap: 6px; }
  .sector { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.1fr) auto; grid-template-areas: "num name desc arrow"; gap: 24px; padding-block: 30px; }
  .s-num { align-self: center; padding-top: 0; }
  .faq-in { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .contact-in { grid-template-columns: 1fr 1fr; gap: 70px; }
  .form { padding: 36px 34px; }
  .choices { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .f-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js-motion .story-line, html.js-motion .reveal { filter: none; opacity: 1; transform: none; }
}

/* Ajustements */
.hero h1 { max-width: 21ch; font-size: clamp(2.5rem, 6.4vw, 5rem); }
.ctl output { white-space: nowrap; }
.big-stats b { font-size: clamp(2rem, 3.4vw, 2.7rem); white-space: nowrap; }

/* Fond « verre cannelé » du haut de page */
.fluted { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.has-fluted .fluted { opacity: 1; }
.has-fluted .hero-bg { opacity: 0; }
.hero-in { z-index: 1; }

/* Barre mobile masquée sur la section contact ; en-tête décalé sous l'encoche des téléphones */
.mobile-cta { transition: transform .35s ease; }
.mobile-cta.is-away { transform: translateY(110%); }
.header { padding-top: env(safe-area-inset-top, 0px); }

/* Services empilés : section épinglée, découpe de bas en haut (esprit KrishaWeb) */
.stack.stack-on { height: calc(var(--n) * 100vh); }
.stack.stack-on .stack-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.stack.stack-on .case { position: absolute; inset: 0; min-height: 0; height: 100%; border-top: 0; will-change: clip-path; }
.stack.stack-on .case-text { padding-top: 96px; }
@media (max-width: 860px) {
  .stack .case-visual { min-height: 230px; }
  .stack .case-text { padding: 24px 22px 28px; gap: 14px; justify-content: flex-start; }
  .stack.stack-on .case { grid-template-rows: auto 1fr; }
  .stack.stack-on .case-visual { margin-top: 74px; }
}

.stack .case-alt .case-visual { order: 0; }
.mobile-cta.is-pinned { transform: translateY(110%); }

/* Message cookies : petit, en bas à gauche */
.cookie-note { position: fixed; z-index: 95; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; max-width: min(360px, calc(100% - 32px)); padding: 10px 12px 10px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(17,18,20,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #D9DBE0; font-size: 12.5px; line-height: 1.45; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.cookie-note p { margin: 0; }
.cookie-note b { color: #FFFFFF; font-weight: 500; }
.cookie-note a { color: var(--gold-l); }
.cookie-close { flex: 0 0 auto; min-width: 44px; min-height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: transparent; color: #FFFFFF; font-size: 12px; cursor: pointer; }
.cookie-close:hover { border-color: var(--gold); color: var(--gold-l); }
@media (max-width: 860px) { .cookie-note { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ===== Chiffres sourcés ===== */
.facts-in { padding: 90px 0; }
.facts-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid #E6E1D6; border-radius: 16px; background: #FBFAF7; }
.fact-num { margin: 0; font: 800 clamp(2rem, 4vw, 2.6rem)/1 var(--bold); color: var(--gold-d); letter-spacing: -.02em; }
.fact-txt { margin: 0; color: #2E3138; font-size: 16px; }
.fact-src { margin: auto 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.fact-src a, .facts-quote a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.facts-quote { margin: 48px 0 0; padding: 0 0 0 24px; border-left: 3px solid var(--gold); }
.facts-quote blockquote { margin: 0; }
.facts-quote blockquote p { margin: 0; font: 300 clamp(1.25rem, 2.6vw, 1.7rem)/1.4 var(--sans); color: var(--ink); }
.facts-quote figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
.facts-note { margin: 28px 0 0; color: #2E3138; font-size: 17px; max-width: 60ch; }
@media (max-width: 720px) { .facts-in { padding: 64px 0; } }
