/* Distrib Concept — feuille de style du site public */
:root {
  --navy: #13294b;
  --navy-2: #1f3a5f;
  --night: #0b1830;
  --ink: #1e293b;
  --muted: #5b6577;
  --line: #dbe3ec;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-soft: #eef3f8;
  --orange: #e8742a;
  --orange-2: #d65a14;
  --orange-text: #a8420b;
  --orange-light: #ffb26b;
  --red: #d7261e;
  --green: #16a34a;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 41, 75, .06), 0 12px 32px rgba(19, 41, 75, .08);
  --shadow-lg: 0 24px 60px rgba(11, 24, 48, .18);
  --font-head: Montserrat, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--font-body); color: var(--ink); background: var(--bg); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(840px, 100% - 32px); }
.center { text-align: center; }
.muted { opacity: .7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ico-wa { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 1rem/1 var(--font-head); padding: .95em 1.55em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s, color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; box-shadow: 0 10px 24px rgba(215, 38, 30, .28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(215, 38, 30, .38); }
.btn-wa { background: var(--wa); color: #052e16; }
.btn-wa:hover { background: #2fe07a; }
.btn-ghost { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-outline { border-color: var(--navy-2); color: var(--navy-2); background: #fff; }
.btn-outline:hover { background: var(--navy-2); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-sm { padding: .68em 1.15em; font-size: .88rem; }
.btn-lg { padding: 1.08em 1.75em; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* Barre du haut + en-tête */
.topbar { background: var(--night); color: #b8c4d6; font-size: .84rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; align-items: center; justify-content: flex-end; padding: .5rem 0; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: #fff; }
.topbar .topbar-wa { color: var(--wa); font-weight: 600; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(219,227,236,.6); transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 10px 30px rgba(11,24,48,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font: 800 1.02rem var(--font-head); letter-spacing: .03em; }
.brand small { font: 700 .66rem var(--font-head); letter-spacing: .2em; color: var(--orange-text); }
.brand-light { color: #fff; }
.brand-light small { color: var(--orange-light); }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav > a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; position: relative; padding: .35em 0; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--red)); transition: right .25s; }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-soft); }
.lang-switch a { font: 700 .76rem var(--font-head); letter-spacing: .06em; text-decoration: none; color: var(--muted); padding: .42em .75em; border-radius: 999px; }
.lang-switch a[aria-current="true"] { background: var(--navy); color: #fff; }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.burger .ico { width: 28px; height: 28px; }
.burger .ico-close { display: none; }
.burger[aria-expanded="true"] .ico-open { display: none; }
.burger[aria-expanded="true"] .ico-close { display: block; }

/* Héros */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(80px, 11vw, 140px);
  background: linear-gradient(100deg, rgba(8,18,38,.94) 0%, rgba(8,18,38,.78) 42%, rgba(8,18,38,.25) 75%, rgba(8,18,38,.1) 100%), var(--bg) center right / cover no-repeat, var(--night); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, rgba(8,18,38,.55)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { display: block; background: linear-gradient(90deg, #ffd29c, var(--orange-light) 30%, var(--orange) 70%, #ff6b4a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .45em .95em; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: #dbe4f0; max-width: 640px; }
.eyebrow { font: 700 .78rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-text); margin-bottom: .8rem; }
.eyebrow-light { color: var(--orange-light); }
.hero-btns { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-note { margin-top: 1.4rem; font-size: .92rem; color: #aebbd0; }
.hero-text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }
.hero-text > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.call-card { position: relative; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 22px; padding: 1.3rem; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.3); max-width: 430px; margin-left: auto; animation: float 7s ease-in-out infinite; will-change: transform; }
@keyframes float { 50% { transform: translateY(-10px); } }
.call-top { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.call-badge { margin-left: auto; background: #fff1e6; color: var(--orange-text); font-weight: 600; border-radius: 999px; padding: .2em .7em; font-size: .75rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.bubbles { display: grid; gap: .55rem; }
.bubble { max-width: 86%; padding: .7em 1em; border-radius: 16px; font-size: .92rem; line-height: 1.45; }
.bubble-in { background: var(--bg-soft); border-bottom-left-radius: 4px; }
.bubble-out { background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.call-foot { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--green); font-weight: 600; border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .9rem; }

/* Mini-héros avec image de fond */
.page-hero { position: relative; isolation: isolate; color: #fff; padding: clamp(64px, 9vw, 112px) 0;
  background: linear-gradient(105deg, rgba(8,18,38,.93) 0%, rgba(13,31,59,.8) 50%, rgba(13,31,59,.45) 100%), var(--bg) center / cover no-repeat, var(--night); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 380px at 88% 0%, rgba(232,116,42,.28), transparent 60%); }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero-inner > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.page-hero-plain { padding: clamp(48px, 7vw, 80px) 0; }
.page-hero-tall { padding: clamp(96px, 14vw, 180px) 0; }
.hero-sub { color: var(--orange-light); font: 700 .9rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.partners { margin-top: 1.6rem; font-size: .92rem; color: #cbd5e1; max-width: 680px; }

/* Sections */
.section { padding: clamp(64px, 8.5vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: radial-gradient(900px 400px at 85% 0%, rgba(232,116,42,.18), transparent 60%), linear-gradient(160deg, var(--night), var(--navy)); color: #dbe4f0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 2.8rem; }
.section-head.left { text-align: left; margin: 0 0 1.6rem; }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark .eyebrow { color: var(--orange-light); }
.section-head.on-dark .section-sub { color: #b8c4d6; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-top: .95rem; }
.feature, .sector, .service, .plan, .step { transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover, .sector:hover, .service:hover, .step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #f3c9a8; }
.ico-box { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; box-shadow: 0 8px 18px rgba(19,41,75,.22); }
.ico-box .ico, .ico-box .ico-wa { width: 24px; height: 24px; }
.ico-warm { background: linear-gradient(135deg, var(--orange), var(--red)); box-shadow: 0 8px 18px rgba(215,38,30,.25); }
.ico-soft { background: #fff1e6; color: var(--orange-2); box-shadow: none; }
.ico-red { background: #fde8e7; color: var(--red); box-shadow: none; }
.ico-green { background: #e5f6ec; color: var(--green); box-shadow: none; }
.ico-wa-box { background: #e3f9ec; color: #128c4a; box-shadow: none; }
.tag { font-size: .8rem; font-weight: 600; color: var(--orange-text) !important; margin: -.2rem 0 .5rem !important; }

/* Apparition au défilement (visible par défaut) */
.reveal.pre { transform: translateY(28px); }
.reveal.in { transform: none; transition: transform .8s cubic-bezier(.2,.7,.2,1); }

.problem { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
.problem-card h3 { font-size: 1.3rem; }
.problem-bad { border-top: 4px solid var(--red); }
.problem-good { border-top: 4px solid var(--green); }
.problem-arrow { color: var(--orange); }
.problem-arrow .ico { width: 40px; height: 40px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.section-dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; backdrop-filter: blur(6px); }
.section-dark .step h3 { color: #fff; }
.section-dark .step p { color: #b8c4d6; }
.section-dark .step:hover { border-color: rgba(255,178,107,.5); background: rgba(255,255,255,.08); }
.step p { color: var(--muted); margin: 0; }
.step h3 { margin-top: .95rem; }
.step-num { position: absolute; top: 1.1rem; right: 1.3rem; font: 800 2.3rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px #7d8ca3; }
.section-dark .step-num { -webkit-text-stroke-color: rgba(255,178,107,.45); }

.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { margin-top: 0; font-size: 1.25rem; }
.plan-vol { font: 800 1.35rem var(--font-head); color: var(--navy) !important; margin: .3rem 0 0 !important; }
.plan-unit { font-size: .85rem; margin-bottom: .9rem !important; }
.plan-text { flex: 1; margin-bottom: 1.3rem !important; }
.plan-featured { border: 2px solid var(--orange); box-shadow: 0 20px 50px rgba(232,116,42,.18); }
.badge { position: absolute; top: -13px; left: 1.6rem; background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; font: 700 .72rem var(--font-head); padding: .35em .9em; border-radius: 999px; letter-spacing: .04em; }
.note { color: var(--muted); font-size: .92rem; margin-top: 1.4rem; }
.setup { margin-top: 2rem; }
.setup h3 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li div { display: grid; }
.checklist li div span { color: var(--muted); font-size: .93rem; }
.setup .checklist { grid-template-columns: repeat(2, 1fr); }
.ico-ok { color: var(--green); margin-top: .2em; }
.checklist.big li { font-size: 1.05rem; }
.who h3 { margin-top: .2rem; }
.lead-sm { font: 700 1.1rem var(--font-head); color: var(--navy); margin-top: 2rem; }

.pill-list { list-style: none; padding: 0; margin: 0 auto 2.6rem; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 980px; }
.pill-list li { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: .6em 1.1em; font-weight: 500; font-size: .95rem; box-shadow: var(--shadow); }
.pill-list .ico { color: var(--orange-2); margin: 0; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.35rem; font: 700 1.02rem var(--font-head); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--muted); }

/* Services */
.svc-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc-media { overflow: hidden; aspect-ratio: 5 / 3; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-photo:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-body p { flex: 1; }
.svc-photo .ico-box { margin-top: -2.9rem; box-shadow: 0 6px 16px rgba(0,0,0,.12); background: #fff; position: relative; }
.service .link { display: inline-flex; gap: .4em; align-items: center; margin-top: 1rem; font-weight: 600; color: var(--orange-text); text-decoration: none; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.svc-row-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-rev .svc-row-media { order: 2; }
.svc-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: .9rem 0 .4rem; letter-spacing: .02em; }
.svc-row .checklist li { color: var(--ink); }
.svc-links { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.svc-links h3 { margin: 0 0 1rem; }
.svc-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.svc-links a { display: flex; gap: .55rem; align-items: center; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--navy); font-weight: 600; text-decoration: none; transition: background .2s; }
.svc-links a:hover { background: #fff1e6; }
.svc-links .ico { color: var(--orange-2); }
.spotlight { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; border-left: 5px solid var(--orange); padding: clamp(1.6rem, 4vw, 2.6rem); }
.spotlight-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.spotlight-media img { width: 100%; height: auto; }
.notice { display: flex; gap: .6rem; align-items: center; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: .9rem 1.1rem; margin: 1.6rem 0; color: #7c2d12; }
.notice .ico { color: var(--orange-2); }

/* Bandeaux photo */
.brand-band, .dossier { position: relative; color: #fff; }
.brand-band { text-align: center; padding: clamp(72px, 11vw, 132px) 0; background: linear-gradient(rgba(8,18,38,.7), rgba(8,18,38,.84)), var(--bg) center / cover no-repeat fixed, var(--night); }
.brand-band h2 { color: var(--orange-light); font-size: clamp(2.3rem, 6.5vw, 4.4rem); letter-spacing: .05em; margin-bottom: .25em; }
.brand-band-tag { font: 700 clamp(1.1rem, 2.6vw, 1.6rem)/1.35 var(--font-head); text-transform: uppercase; max-width: 920px; margin: 0 auto 1rem; }
.brand-band-sub { color: #dbe4f0; letter-spacing: .14em; text-transform: uppercase; font-size: .88rem; margin: 0; }
.dossier { padding: clamp(60px, 8vw, 100px) 0; background: linear-gradient(110deg, rgba(8,18,38,.96) 40%, rgba(8,18,38,.7)), var(--bg) center / cover no-repeat, var(--navy); }
.dossier-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; }
.dossier-txt { font: 600 1.15rem/1.5 var(--font-head); color: #fff; margin: 0; }
.dossier h2 { color: #fff; }
.experts { margin-top: 2.6rem; }
.experts p { color: var(--muted); max-width: 640px; margin: 0 auto 1.2rem; }

/* Démo + formulaires */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.form h3 { margin-top: 0; font-size: 1.35rem; }
.form-intro { margin-bottom: 1.2rem !important; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--ink); width: 100%; padding: .82em .95em; border: 1px solid #c6d0dc; border-radius: 11px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,116,42,.15); outline: none; }
.form textarea { resize: vertical; }
.form-glass { border-top: 4px solid var(--orange); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 0 !important; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.form-status a { color: inherit; font-weight: 600; }

.wa-group { display: flex; gap: 1.4rem; align-items: center; }
.wa-group img { width: 140px; border-radius: 10px; border: 1px solid var(--line); padding: 6px; background: #fff; flex: none; }
.wa-group h3 { margin-top: 0; }
.wa-group .btn { margin-top: 1rem; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 980px; margin: 0 auto; }
.contact-card { align-items: center; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.contact-card > span:last-child { display: grid; min-width: 0; gap: .15rem; }
.contact-card small { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.contact-card .strong { color: var(--navy); overflow-wrap: anywhere; font-weight: 700; font-size: .95rem; text-decoration: none; }
.contact-card .sm { font-weight: 600; font-size: .85rem; color: var(--muted); }
.map { margin-top: 1.4rem; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-soft); }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); }
.socials-footer a { background: rgba(255,255,255,.08); color: #fff; }
.socials-contact { justify-content: center; margin-top: 1.8rem; }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; max-width: 960px; margin: 0 auto; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.about-photo { width: 100%; max-width: 400px; justify-self: center; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; object-fit: cover; object-position: top; margin-inline: auto; }
.prose p { color: var(--ink); }
.prose .strong-p { font-weight: 600; color: var(--navy); }
.prose h2 { margin-top: 1.6rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: .78rem 0; border-bottom: 1px solid var(--line); }
.facts li > span { color: var(--muted); }
.facts strong { color: var(--navy); overflow-wrap: anywhere; }

/* Appel à l'action final + pied de page */
.cta-final { background: linear-gradient(120deg, var(--orange) 0%, var(--red) 100%); color: #fff; padding: clamp(52px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); }
.cta-inner { position: relative; display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-final h2 { color: #fff; margin-bottom: .3em; }
.cta-final p { margin: 0; color: #fff3ea; }
.cta-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.footer { background: var(--night); color: #aebbd0; padding: 60px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.4rem; }
.footer h3 { color: #fff; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: #dbe4f0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { margin-bottom: 1rem; }
.footer-tag { font-style: italic; color: #dbe4f0; }
.news { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem 2.5rem; align-items: center; border-top: 1px solid rgba(255,255,255,.1); padding: 1.8rem 0; }
.news h3 { color: #fff; margin: 0 0 .3rem; }
.news p { margin: 0; }
.news-form { display: grid; grid-template-columns: 1fr auto; gap: .7rem; }
.news-form input[type=email] { font: inherit; padding: .85em 1.1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; min-width: 0; }
.news-form input::placeholder { color: #93a3b8; }
.news-form .form-status { grid-column: 1 / -1; }
.news-form .form-status.ok { color: #6ee7a0; }
.news-form .form-status.err { color: #fca5a5; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0 1.8rem; font-size: .84rem; }
.credits a { color: var(--orange-light); font-weight: 600; }

.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico-wa { width: 32px; height: 32px; }

/* Boîte de dialogue « Sur devis » */
.quote { border: 0; border-radius: var(--radius); padding: 0; width: min(560px, 100% - 24px); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.quote::backdrop { background: rgba(8,18,38,.62); backdrop-filter: blur(4px); }
.quote .form { position: relative; padding: 1.8rem; }
.quote-close { position: absolute; top: .8rem; right: .8rem; background: var(--bg-soft); border: 0; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; color: var(--navy); cursor: pointer; }

/* Responsive */
@media (max-width: 1180px) {
  .g4, .contact-cards, .svc-links ul { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1280px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: .5rem 20px 2rem; display: none; overflow: auto; }
  .nav.open { display: flex; animation: rise .25s ease both; }
  .nav > a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 600; }
  .nav > a::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1.4rem; gap: 1rem; }
  .lang-switch { align-self: center; }
  .nav-actions .btn { padding: 1em; font-size: 1rem; }
}
@media (max-width: 1020px) {
  .hero { background: linear-gradient(180deg, rgba(8,18,38,.88), rgba(8,18,38,.82)), var(--bg) 70% center / cover no-repeat, var(--night); }
  .hero-grid, .demo-grid, .about-grid, .spotlight, .svc-row, .dossier-inner, .news { grid-template-columns: 1fr; }
  .call-card { margin: 0 auto; animation: none; }
  .svc-rev .svc-row-media { order: 0; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .problem { grid-template-columns: 1fr; }
  .problem-arrow { justify-self: center; transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .brand-band { background-attachment: scroll; }
}
@media (max-width: 760px) { .topbar .hide-md { display: none; } }
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .topbar .hide-sm, .topbar .hide-xs { display: none; }
  .topbar-inner { justify-content: center; gap: .3rem 1rem; font-size: .8rem; }
  .brand img { width: 44px; height: 44px; }
  .g2, .g3, .g4, .steps, .contact-cards, .setup .checklist, .row2, .footer-grid, .svc-links ul { grid-template-columns: 1fr; }
  .hero-btns .btn, .cta-btns .btn { width: 100%; white-space: normal; }
  .facts li { grid-template-columns: 1fr; gap: .1rem; }
  .wa-group { flex-direction: column; align-items: flex-start; }
  .news-form { grid-template-columns: 1fr; }
  .card { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.pre { transform: none; }
}

/* À propos : illustration et galerie */
.vision-art { max-width: 760px; margin: -1rem auto 2.4rem; opacity: .16; mix-blend-mode: multiply; }
.vision-art img { width: 100%; height: auto; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.2rem; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 220px; background: var(--bg-soft); }
.gallery-1 { grid-row: 1 / span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.2rem 1rem; color: #fff; font: 600 .95rem var(--font-head); background: linear-gradient(transparent, rgba(8,18,38,.85)); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-1 { grid-row: auto; }
  .gallery-item { aspect-ratio: 3 / 2; min-height: 0; }
}
