/* Site QGSS Sidibé Services.
   Polices hébergées avec le site (Outfit, DM Sans, licence OFL dans fonts/LICENCE.txt) :
   la politique de sécurité du site (default-src 'self') interdit Google Fonts. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(fonts/dmsans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(fonts/dmsans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #060a3d; --ink: #0a0e5c; --ink-2: #111795; --ink-3: #1d24c4;
  --brand: #0000f8; --brand-2: #2b3bff; --brand-soft: #eceeff;
  --sun: #f5a524; --sun-2: #fbbf24; --sun-soft: #fff4dc; --sun-ink: #3d2600;
  --sky: #0ea5e9; --sky-soft: #e3f4fd; --green: #16a34a; --green-soft: #e7f7ec;
  --bg: #f5f6fa; --card: #fff; --line: #e3e6ef; --line-2: #d2d7e4;
  --text: #11152e; --muted: #5d637f; --ok: #15803d; --warn: #b45309; --bad: #b91c1c;
  --r: 16px; --r-lg: 26px;
  --shadow: 0 1px 2px rgba(10,14,92,.06), 0 10px 30px -14px rgba(10,14,92,.22);
  --shadow-lg: 0 40px 80px -30px rgba(6,10,61,.55);
  --font-t: "Outfit", system-ui, sans-serif;
  --font: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16px/1.65 var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-t); line-height: 1.12; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
main { min-height: 60vh; outline: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15.5px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s; white-space: nowrap; }
.btn svg { font-size: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-sun { background: var(--sun); color: var(--sun-ink); box-shadow: 0 14px 28px -14px rgba(245,165,36,.95); }
.btn-sun:hover { background: var(--sun-2); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 14px 28px -14px rgba(0,0,248,.7); }
.btn-brand:hover { background: var(--brand-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.16); }
.btn-wa { background: #1faa59; color: #fff; }
.btn-wa:hover { background: #18934c; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link svg { transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }

/* ── Bandeau du haut + en-tête ───────────────────────────── */
.tb { background: var(--night); color: #c5c9f2; font-size: 13.5px; }
.tb-in { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.tb-loc, .tb-tel a, .tb-soc a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.tb svg { color: var(--sun); font-size: 15px; }
.tb-tel { display: flex; gap: 18px; margin-left: auto; }
.tb-tel a:hover { color: #fff; }
.tb-soc { display: flex; gap: 4px; }
.tb-soc a { width: 30px; height: 30px; justify-content: center; border-radius: 8px; }
.tb-soc a:hover { background: rgba(255,255,255,.1); }
.tb-soc svg { color: #fff; }

.hd { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(10,14,92,.5); }
.hd-in { display: flex; align-items: center; gap: 20px; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-img { height: 50px; width: auto; display: block; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.1; padding-left: 12px; border-left: 1px solid var(--line); }
.logo-txt b { font: 700 16px var(--font-t); color: var(--ink); }
.logo-txt small { font: 500 12px var(--font); color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 500; color: var(--muted); font-size: 15.5px; border-radius: 10px; }
.nav a:hover { color: var(--ink); }
.nav a.is-on { color: var(--ink); font-weight: 600; }
.nav a.is-on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--sun); }
.nav .nav-devis { display: none; }
.hd-act { display: flex; align-items: center; gap: 4px; }
.hd-ico { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.hd-ico:hover { background: var(--brand-soft); }
.hd-ico svg { font-size: 22px; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--sun); color: var(--sun-ink); font: 700 11px/19px var(--font); text-align: center; }
.hd-menu { display: none; }
.hd-devis { margin-left: 8px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: radial-gradient(900px 520px at 88% -8%, rgba(245,165,36,.26), transparent 60%), radial-gradient(800px 600px at -10% 110%, rgba(43,59,255,.45), transparent 60%), linear-gradient(160deg, var(--night) 0%, #0a1078 60%, var(--night) 100%); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); z-index: -1; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding: 64px 0 84px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; font-weight: 600; color: #ffe2a8; letter-spacing: .01em; }
.kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(245,165,36,.25); }
.hero h1 { font-size: clamp(36px, 4.7vw, 62px); font-weight: 700; margin: 24px 0 20px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--sun-2), #ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 18px; color: #c9cdf3; max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-call { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.hero-call .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--sun); color: var(--sun-ink); font-size: 21px; }
.hero-call small { display: block; color: #a6abe0; font-size: 12.5px; }
.hero-call b { font: 600 17px var(--font-t); letter-spacing: .01em; }
.hero-call:hover { background: rgba(255,255,255,.1); }

.mosaic { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(560px, 62vw); }
.mosaic figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); background: #1a1f6b; }
.mosaic figure:first-child { grid-row: 1 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(6,10,61,.62); backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600; }
.mosaic::before { content: ""; position: absolute; width: 170px; height: 170px; right: -40px; top: -40px; border-radius: 50%; border: 2px dashed rgba(245,165,36,.55); z-index: -1; animation: spin 40s linear infinite; }
.stamp { position: absolute; left: -26px; top: 30px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.stamp img { height: 42px; width: auto; }
.stamp b { display: block; font: 700 15px var(--font-t); }
.stamp small { color: var(--muted); font-size: 12.5px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Bandeau des métiers */
.marquee { background: var(--sun); color: var(--sun-ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding: 17px 0 17px 22px; font: 600 17px var(--font-t); white-space: nowrap; letter-spacing: .01em; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .5; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────── */
.sec { padding: 104px 0; }
.sec-tight { padding: 60px 0; }
.sec-white { background: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 46px; flex-wrap: wrap; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sec-sub { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sun); border-radius: 2px; }
.sec h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.025em; }
.sec-sub { color: var(--muted); font-size: 17.5px; max-width: 640px; margin-top: 14px; }
.sec-dark { background: radial-gradient(700px 400px at 100% 0%, rgba(245,165,36,.16), transparent 60%), linear-gradient(160deg, var(--night), #0b1180); color: #fff; }
.sec-dark .sec-sub { color: #aeb3e6; }
.sec-dark .eyebrow, .cta-photo .eyebrow, .aside .eyebrow { color: var(--sun-2); }

/* Pôles : grandes cartes photo */
.poles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pole { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.pole img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.pole::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,10,61,0) 25%, rgba(6,10,61,.55) 55%, rgba(6,10,61,.94) 100%); }
.pole:hover img { transform: scale(1.06); }
.pole-body { padding: 30px; }
.pole .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; background: var(--sun); color: var(--sun-ink); margin-bottom: 16px; }
.pole h3 { font-size: 26px; }
.pole p { color: #d0d3f2; margin-top: 8px; max-width: 440px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 500; }
.pole .more { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); font-size: 20px; transition: background .2s, transform .2s; }
.pole:hover .more { background: var(--sun); color: var(--sun-ink); transform: rotate(-45deg); }

/* Pourquoi QGSS */
.why { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.why-photo { position: relative; }
.why-photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.why-photo .badge-card { position: absolute; right: -22px; bottom: 30px; padding: 20px 24px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); max-width: 240px; }
.why-photo .badge-card b { display: block; font: 700 38px/1 var(--font-t); color: var(--sun-2); }
.why-photo .badge-card span { font-size: 14px; color: #c5c9f2; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 34px; }
.why-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.why-item h3 { font-size: 18px; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 15px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); transition: background .2s, transform .2s; }
.step:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 48px/1 var(--font-t); color: transparent; -webkit-text-stroke: 1.3px rgba(245,165,36,.85); display: block; margin-bottom: 20px; }
.step h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.step p { color: #aeb3e6; font-size: 15px; }

/* Galerie */
.masonry { columns: 3 300px; column-gap: 16px; }
.shot { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; break-inside: avoid; background: #dfe2f0; }
.shot img { width: 100%; height: auto; transition: transform .8s ease; }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(6,10,61,.85)); color: #fff; font: 600 14.5px/1.3 var(--font); text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.shot:hover span, .shot:focus-visible span { opacity: 1; transform: none; }
.shot .zoom { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink); font-size: 16px; opacity: 0; transition: opacity .25s; }
.shot:hover .zoom { opacity: 1; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.bento .shot { margin: 0; height: 100%; }
.bento .shot img { height: 100%; object-fit: cover; }
.bento .shot:nth-child(1), .bento .shot:nth-child(3) { grid-row: span 2; }
.bento .shot:nth-child(2), .bento .shot:nth-child(6), .bento .shot:nth-child(7) { grid-column: span 2; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .15s; text-decoration: none; }
.chip svg { font-size: 17px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: var(--muted); font-weight: 500; }
.chip.is-on small { color: #aeb3e6; }

/* Vidéo */
.video-box { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; }
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 10; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bandeau photo d'appel */
.cta-photo { position: relative; border-radius: 30px; overflow: hidden; color: #fff; isolation: isolate; padding: 72px 60px; }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,10,61,.95) 0%, rgba(6,10,61,.78) 50%, rgba(6,10,61,.25) 100%); }
.cta-photo h2 { font-size: clamp(28px, 3.3vw, 44px); max-width: 620px; }
.cta-photo p { color: #d0d3f2; margin-top: 14px; max-width: 540px; font-size: 17.5px; }
.cta-photo .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Rayons et cartes produit */
.rayons { display: flex; flex-wrap: wrap; gap: 10px; }
.rayon { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.rayon .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: var(--brand-soft); color: var(--brand); }
.rayon small { color: var(--muted); font-weight: 500; }
.rayon:hover { border-color: var(--ink); }
.rayon.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rayon.is-on .ic { background: rgba(255,255,255,.15); color: #fff; }
.rayon.is-on small { color: #aeb3e6; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(160deg, #f3f4fb, #e8eaf6); color: var(--ink-3); text-decoration: none; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media > svg { font-size: 58px; opacity: .55; }
.card-media .avail { position: absolute; left: 10px; top: 10px; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 15px 16px; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.card-name { font: 600 15.5px/1.3 var(--font); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-name:hover { color: var(--brand); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font: 700 18px/1 var(--font-t); color: var(--ink); }
.price small { font: 500 12.5px var(--font); color: var(--muted); }
.add { width: 42px; height: 42px; border-radius: 13px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 20px; transition: background .15s, transform .15s; }
.add:hover { background: var(--brand); transform: scale(1.05); }
.add:disabled { background: var(--line); color: var(--muted); cursor: default; transform: none; }
.avail { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; box-shadow: 0 2px 6px rgba(10,14,92,.08); }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail-in { color: var(--ok); }
.avail-low { color: var(--warn); }
.avail-out { color: var(--bad); }

/* Pages intérieures */
.page-hd { position: relative; color: #fff; padding: 64px 0 70px; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--night), #0b1180); }
.page-hd > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hd.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,10,61,.95) 15%, rgba(6,10,61,.7) 60%, rgba(6,10,61,.45)); }
.page-hd:not(.has-photo)::after { content: ""; position: absolute; right: -120px; top: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(245,165,36,.25), transparent 65%); z-index: -1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #a6abe0; margin-bottom: 18px; }
.crumbs a { color: #d6d9f6; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hd h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.025em; max-width: 780px; }
.page-hd p { color: #d0d3f2; margin-top: 14px; max-width: 680px; font-size: 18px; }
.page-hd:not(:has(h1)) { padding: 24px 0 26px; }
.page-hd:not(:has(h1)) .crumbs { margin: 0; }

.svc-detail { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 500; }
.checks li svg { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; font-size: 22px; flex: none; }
.aside { position: sticky; top: 104px; padding: 30px; border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.aside::after { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(245,165,36,.35), transparent 65%); }
.aside > * { position: relative; z-index: 1; }
.aside h3 { font-size: 23px; }
.aside p { color: #c5c9f2; margin: 10px 0 22px; font-size: 15.5px; }
.aside .btn + .btn { margin-top: 10px; }
.aside .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #c5c9f2; }
.aside .who b { color: #fff; display: block; font-size: 15px; }
.aside .who a { color: #fff; text-decoration: none; font: 600 16px var(--font-t); }

/* Catalogue */
.cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.cat-side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 3px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cat-side h3 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 10px; }
.cat-side button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: transparent; border-radius: 11px; cursor: pointer; text-align: left; font-weight: 500; }
.cat-side button .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; background: var(--brand-soft); color: var(--brand); }
.cat-side button small { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.cat-side button:hover { background: var(--bg); }
.cat-side button.is-on { background: var(--ink); color: #fff; }
.cat-side button.is-on .ic { background: rgba(255,255,255,.15); color: #fff; }
.cat-side button.is-on small { color: #aeb3e6; }
.cat-chips { display: none; overflow-x: auto; gap: 8px; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.cat-chips .rayon { flex: none; }
.cat-tools { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.searchbox { position: relative; flex: 1 1 280px; }
.searchbox svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; }
.searchbox input { width: 100%; height: 52px; padding: 0 16px 0 48px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font-size: 16px; }
.searchbox input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.select { height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; }
.cat-count { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty svg { font-size: 44px; color: var(--line-2); margin: 0 auto 12px; display: block; }
.empty h3 { color: var(--text); font-size: 19px; margin-bottom: 6px; }

/* Fiche produit */
.prod { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prod-media { border-radius: var(--r-lg); aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(160deg, #f3f4fb, #e3e6f6); color: var(--ink-3); overflow: hidden; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-media > svg { font-size: 140px; opacity: .5; }
.prod h1 { font-size: clamp(28px, 3vw, 38px); margin: 12px 0 14px; }
.prod .price { font-size: 34px; }
.prod-desc { color: var(--muted); margin-top: 18px; white-space: pre-line; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; overflow: hidden; }
.qty button { width: 46px; height: 50px; border: 0; background: transparent; cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.qty button:hover { background: var(--bg); }
.qty input { width: 64px; height: 50px; border: 0; text-align: center; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.prod-buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.prod-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: 16px; background: var(--sun-soft); color: #5c3b00; font-size: 14.5px; }
.prod-note svg { font-size: 20px; margin-top: 1px; }

/* Panier et formulaires */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.box h2 { font-size: 22px; margin-bottom: 18px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-media { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); overflow: hidden; font-size: 28px; }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 600; text-decoration: none; }
.line-sub { color: var(--muted); font-size: 13.5px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line .qty button { width: 36px; height: 36px; font-size: 15px; }
.line .qty input { width: 44px; height: 36px; font-size: 15px; }
.rm { border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 0; }
.rm:hover { color: var(--bad); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--muted); }
.sum-row.total { color: var(--text); font: 700 22px/1.2 var(--font-t); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.form { display: grid; gap: 18px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 15px; border-radius: 13px; border: 1.5px solid var(--line-2); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field .err { color: var(--bad); font-size: 13.5px; margin-top: 6px; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.types label { display: flex; align-items: center; gap: 10px; padding: 15px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 14.5px; background: #fff; transition: all .15s; }
.types label:hover { border-color: var(--ink); }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types label:has(input:checked) { border-color: var(--brand); background: var(--brand); color: #fff; }
.types label:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.alert-bad { background: #fdecec; color: var(--bad); }
.alert-info { background: var(--sky-soft); color: #075985; }
.done { text-align: center; padding: 44px 24px; }
.done .ok { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: var(--green-soft); color: var(--ok); display: grid; place-items: center; font-size: 40px; }
.done h2 { font-size: 30px; }
.done p { color: var(--muted); margin-top: 10px; }
.ref { display: inline-flex; gap: 24px; margin: 24px 0; padding: 18px 24px; border-radius: 18px; background: var(--bg); text-align: left; }
.ref span { display: block; font-size: 12.5px; color: var(--muted); }
.ref b { font: 700 20px/1.2 var(--font-t); }
.done .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.steps-mini { display: grid; gap: 16px; }
.steps-mini div { display: flex; gap: 14px; }
.steps-mini b { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 700 15px var(--font-t); }
.steps-mini strong { display: block; color: var(--text); }
.steps-mini span { color: var(--muted); font-size: 14.5px; }

/* Suivi de commande */
.track { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.track li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); position: relative; }
.track li span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-2); font: 700 15px var(--font-t); }
.track li.is-done span { background: var(--green); border-color: var(--green); color: #fff; }
.track li.is-on { color: var(--ink); }
.track li.is-on span { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--brand-soft); }

/* Contact et plan */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.c-list { display: grid; gap: 12px; align-content: start; }
.c-item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .15s, transform .15s; }
.c-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex: none; background: var(--brand-soft); color: var(--brand); }
.c-item small { display: block; color: var(--muted); font-size: 13px; }
.c-item b { font-weight: 600; font-size: 16px; }
a.c-item:hover { border-color: var(--brand); transform: translateX(3px); }
.map-card { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #e8ebf5; box-shadow: var(--shadow); }
.map { position: absolute; inset: 0; }
.map-acts { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 500; }
.map-acts .btn { box-shadow: var(--shadow); }
.map-pin { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); border: 4px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.3); display: grid; place-items: center; }
.map-pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }

/* Pied de page */
.ft { background: var(--night); color: #b5bae6; }
.ft-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 72px 0 48px; }
.ft-brand img { height: 66px; width: auto; }
.ft-brand p { margin-top: 18px; font-size: 14.5px; max-width: 330px; }
.ft-social { display: flex; gap: 10px; margin-top: 20px; }
.ft-social a { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; font-size: 20px; transition: background .15s; }
.ft-social a:hover { background: var(--sun); color: var(--sun-ink); }
.ft h3 { font: 600 13px/1 var(--font); color: #fff; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.ft-links, .ft-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; }
.ft-links a, .ft-contact a { text-decoration: none; }
.ft-links a:hover, .ft-contact a:hover { color: #fff; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact svg { font-size: 18px; margin-top: 3px; color: var(--sun); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #8d92c4; }
.ft-bottom a { color: #d6d9f6; }

/* Visionneuse */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(4,6,32,.94); backdrop-filter: blur(6px); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100vh; padding: 40px 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 14px; box-shadow: var(--shadow-lg); }
.lb-fig figcaption { color: #fff; font: 600 16px var(--font); text-align: center; }
.lb-fig figcaption small { display: block; color: #9ea3d6; font-weight: 500; margin-top: 4px; }
.lb button { border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); display: grid; place-items: center; border-radius: 50%; transition: background .15s; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb-nav { width: 52px; height: 52px; justify-self: center; font-size: 24px; }
.lb-x { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; font-size: 22px; }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1faa59; color: #fff; font-size: 30px; box-shadow: 0 16px 30px -10px rgba(16,120,60,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
body[data-view="commande"] .wa-float, body[data-view="panier"] .wa-float { display: none; }

/* Divers */
.boot { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 60vh; color: var(--muted); }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--sun); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { border-radius: 20px; background: linear-gradient(90deg, #eceef5 25%, #f6f7fb 50%, #eceef5 75%); background-size: 200% 100%; animation: sk 1.2s infinite; min-height: 300px; }
@keyframes sk { to { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; padding: 14px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .25s; z-index: 95; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.offline { background: var(--sun-soft); color: #6b4300; text-align: center; padding: 10px 16px; font-size: 14px; }
.closed { text-align: center; padding: 120px 20px; }
.closed img { height: 90px; width: auto; margin: 0 auto 20px; }
.closed h1 { font-size: 30px; }
.closed p { color: var(--muted); margin: 12px auto 24px; max-width: 520px; }
.closed .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.mt-28 { margin-top: 28px; }
.mt-18 { margin-top: 18px; }

/* Leaflet : la feuille de style de la bibliothèque est chargée à la demande. */
.leaflet-container { font: inherit; }

/* ── Écrans moyens et téléphone ─────────────────────────── */
@media (max-width: 1100px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(10,14,92,.35); margin: 0; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 16.5px; }
  .nav a.is-on::after { left: 12px; right: auto; width: 26px; bottom: 6px; }
  .nav .nav-devis { display: inline-flex; margin-top: 10px; color: var(--sun-ink); }
  .hd-menu { display: grid; }
  .hd-act { margin-left: auto; }
  .hd-devis { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .tb-loc { display: none; }
  .tb-tel { margin-left: 0; }
  .tb-soc { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; padding: 52px 0 70px; gap: 44px; }
  .mosaic { height: 440px; }
  .stamp { left: 12px; top: auto; bottom: -18px; }
  .poles, .why, .video-box, .svc-detail, .prod, .two, .contact-grid { grid-template-columns: 1fr; }
  .why { gap: 50px; }
  .why-photo .badge-card { right: 14px; }
  .aside { position: static; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { display: none; }
  .cat-chips { display: flex; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .types { grid-template-columns: 1fr 1fr; }
  .sec { padding: 76px 0; }
  .cta-photo { padding: 48px 30px; }
  .map-card { min-height: 360px; }
  .lb { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 22px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-fig { padding: 70px 12px 100px; }
}
@media (max-width: 600px) {
  .tb-tel a:nth-child(2) { display: none; }
  .hd-in { height: 66px; gap: 8px; }
  .logo-img { height: 42px; }
  .logo-txt { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .mosaic { height: 360px; gap: 10px; }
  .mosaic figcaption { display: none; }
  .stamp { padding: 10px 14px 10px 10px; }
  .stamp img { height: 34px; }
  .pole { min-height: 340px; }
  .pole-body { padding: 24px; }
  .pole h3 { font-size: 22px; }
  .why-list { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .bento .shot:nth-child(4), .bento .shot:nth-child(5) { grid-column: span 1; }
  .shot { margin-bottom: 10px; border-radius: 14px; }
  .shot span { opacity: 1; transform: none; font-size: 12.5px; padding: 28px 10px 9px; }
  .grid, .grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 11px 11px 13px; }
  .card-name { font-size: 14px; }
  .price { font-size: 16px; }
  .add { width: 38px; height: 38px; }
  .form-2 { grid-template-columns: 1fr; }
  .ft-in { grid-template-columns: 1fr; gap: 32px; }
  .box { padding: 20px; }
  .ref { flex-direction: column; gap: 12px; }
  .marquee span { font-size: 15px; padding: 14px 0 14px 18px; gap: 18px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
