/* ==========================================================================
   G.E.M. — Feuille de style
   Clarté, précision, confiance. Blanc, gris perle, bleu G.E.M.
   ========================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
	--bg: #FFFFFF;
	--soft: #F3F6FA;
	--soft-2: #F8FAFC;
	--ink: #0F172A;
	--ink-2: #334155;
	--muted: #5B6677;
	--faint: #8B95A5;
	--line: #E3E8EF;
	--line-2: #CFD7E2;

	--brand: #000E9C;
	--brand-hover: #1A2BC2;
	--brand-bright: #2E4BFF;
	--brand-soft: #EEF0FF;
	--brand-tint: #F6F7FF;
	--ok: #1F9D55;
	--accent: #FF5A36;
	--accent-ink: #E2441F;
	--live: #34C759;

	--f: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;

	--wrap: 1160px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 64px;
	--btn-h: 48px;
	--r-s: 12px;
	--r-m: 18px;
	--r-l: 28px;
	--ease: cubic-bezier(.25, .1, .25, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);

	--shadow-s: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 10px rgba(0, 0, 0, .035);
	--shadow-m: 0 2px 6px rgba(0, 0, 0, .04), 0 14px 36px -10px rgba(0, 14, 156, .12);
	--shadow-l: 0 6px 16px rgba(0, 0, 0, .04), 0 50px 100px -30px rgba(0, 14, 156, .25);
}

/* ---------- Transitions entre les pages (navigateurs compatibles) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-anchor: none; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0;
	font-family: var(--f);
	font-size: 1.0625rem;
	line-height: 1.6;
	letter-spacing: -.011em;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss01";
	overflow-x: clip;
}
::selection { background: var(--brand-soft); color: var(--brand); }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 600; }
h1, h2, h3, .h3, .display-hero, .display-1, .manifesto-txt, .faq-item summary h3 { text-wrap: balance; hyphens: manual; }
p, li { text-wrap: pretty; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.034em; }
h3, .h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.018em; }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 36em; letter-spacing: -.015em; }

.display-hero { font-size: clamp(2.9rem, 6.8vw, 5.6rem); line-height: 1.03; letter-spacing: -.048em; font-weight: 700; margin: 0; }
.display-1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; margin: 0 0 .3em; max-width: 15em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.15rem; line-height: 1.55; }
.section-head.center p { margin-left: auto; margin-right: auto; max-width: 36em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.ico { flex: none; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-m); }

/* ---------- Boutons : une seule taille, partout ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	height: var(--btn-h); padding: 0 26px; min-width: 190px;
	font: 500 1rem/1 var(--f); letter-spacing: -.01em; white-space: nowrap;
	border-radius: 999px; border: 1px solid transparent;
	text-decoration: none !important; cursor: pointer;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease);
}
.btn span { display: inline-flex; align-items: center; gap: .45em; }
.btn-lg { height: var(--btn-h); padding: 0 26px; font-size: 1rem; }
.btn-sm { height: 34px; min-width: 0; padding: 0 16px; font-size: .85rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-primary:active { transform: scale(.98); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn[disabled] { opacity: .55; cursor: progress; }
/* Paires de boutons : toujours de largeur identique */
.btn-group { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; }
.more-link { display: inline-flex; align-items: center; gap: 2px; color: var(--brand); font-weight: 500; }
.more-link .ico { transition: transform .35s var(--ease); }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid transparent;
	transition: border-color .4s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav-open .site-header::before { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--ink-2); font-size: .875rem; text-decoration: none; padding: 6px 0; position: relative; transition: color .25s; }
.main-nav ul a:hover, .main-nav ul a[aria-current] { color: var(--ink); text-decoration: none; }
.main-nav ul a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; border-radius: 2px; background: var(--ink); }
.header-phone { display: none; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--brand); text-decoration: none; }
.header-phone .ico { color: var(--brand); }
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0 12px; margin-right: -12px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .45s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Menu mobile (panneau dédié, hors de l'en-tête) ---------- */
.mm { display: none; }
@media (max-width: 1040px) {
	.main-nav { display: none; }
	.nav-toggle { display: block; }
	.mm {
		display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
		background: #fff; overflow-y: auto; overscroll-behavior: contain;
		visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility .35s;
	}
	.mm.is-open { visibility: visible; opacity: 1; }
	.mm-inner { padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
	.mm-label { margin: 22px 0 6px; font-size: .78rem; font-weight: 600; color: var(--faint); letter-spacing: .01em; }
	.mm-list { list-style: none; margin: 0; padding: 0; }
	.mm-list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
	.mm.is-open .mm-list li { opacity: 1; transform: none; }
	.mm.is-open .mm-list li:nth-child(1) { transition-delay: .04s; }
	.mm.is-open .mm-list li:nth-child(2) { transition-delay: .08s; }
	.mm.is-open .mm-list li:nth-child(3) { transition-delay: .12s; }
	.mm.is-open .mm-list li:nth-child(4) { transition-delay: .16s; }
	.mm.is-open .mm-list li:nth-child(5) { transition-delay: .2s; }
	.mm-list a { display: flex; align-items: center; gap: 14px; padding: 14px 0; color: var(--ink); text-decoration: none; }
	.mm-list a > .ico { color: var(--faint); margin-left: auto; transition: transform .3s var(--ease); }
	.mm-list a:active > .ico, .mm-list a:hover > .ico { transform: translateX(3px); color: var(--brand); }
	.mm-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--soft); color: var(--brand); flex: none; }
	.mm-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
	.mm-txt b { font-weight: 600; font-size: 1.02rem; letter-spacing: -.015em; }
	.mm-txt small { font-size: .82rem; color: var(--muted); line-height: 1.35; }
	.mm-simple a { padding: 16px 0; }
	.mm-list a[aria-current] b { color: var(--brand); }
	.mm-foot { margin-top: 28px; display: grid; gap: 18px; opacity: 0; transition: opacity .5s var(--ease) .22s; }
	.mm.is-open .mm-foot { opacity: 1; }
	.mm-foot .btn { width: 100%; }
	.mm-foot { gap: 12px; }
	.mm-foot p { margin: 0; font-size: .86rem; color: var(--muted); text-align: center; line-height: 1.6; }
	/* Menu ouvert : l'en-tête est fixé en haut et le panneau couvre tout l'écran, sans aucun vide */
	.nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; border-bottom-color: var(--line); }
	.nav-open body { padding-top: var(--header-h); }
	.mm { top: 0 !important; padding-top: var(--header-h); }
}

/* ---------- Navigation locale (pages services) ---------- */
.localnav { margin-bottom: clamp(36px, 5vw, 56px); position: sticky; top: var(--header-h); z-index: 90; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.localnav-inner { display: flex; align-items: center; gap: 24px; height: 52px; }
.localnav-title { margin: 0; font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: auto; }
.localnav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.localnav-links a { font-size: .8rem; color: var(--ink-2); text-decoration: none; }
.localnav-links a:hover, .localnav-links a.is-current { color: var(--brand); }

/* ---------- Fonds des heros ---------- */
.hero-bg { display: none; }
.hero-mark { position: absolute; z-index: -1; pointer-events: none; height: auto; }
.hero-mark-md { width: min(28vw, 340px); right: max(-2vw, -30px); top: 16%; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.hero-inner { text-align: center; }
.hero-tagline {
	margin: .2em 0 0; font-size: clamp(1.8rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.04em; font-weight: 600;
	color: var(--brand);
}
.hero-lead { margin: 1.2em auto 2em; max-width: 34em; }

.stage-wrap { perspective: 1800px; margin-top: clamp(56px, 7vw, 88px); padding: 0 var(--gutter); }
.stage { position: relative; max-width: 1000px; margin: 0 auto; }
.browser { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-l); overflow: hidden; transform: rotateX(var(--tilt, 0deg)) scale(var(--scale, 1)); transform-origin: 50% 100%; will-change: transform; }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 7px; flex: none; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #D5DCE6; }
.browser-dots.ghost { visibility: hidden; }
.browser-url { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 5px 44px; }
.browser-body { padding: clamp(20px, 3vw, 36px) clamp(18px, 4.5vw, 52px) clamp(20px, 3vw, 32px); text-align: left; min-height: 470px; }

.serp-bar { display: flex; align-items: center; gap: 12px; padding: 0 20px; height: 50px; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 1px 6px rgba(32, 33, 36, .08); color: var(--muted); max-width: 620px; }
.serp-query { color: var(--ink); font-size: 1rem; }
.serp-caret { width: 1.5px; height: 1.2em; background: var(--brand); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.serp-ai {
	max-width: 760px; margin: 0; padding: 0 20px; max-height: 0; overflow: hidden; opacity: 0;
	border-radius: var(--r-m); background: #F6F8FB; border: 1px solid transparent;
	font-size: .95rem; line-height: 1.55;
	transition: max-height .9s var(--ease-out), padding .9s var(--ease-out), margin .9s var(--ease-out), opacity .7s var(--ease) .15s, border-color .6s;
}
.is-ai .serp-ai { max-height: 240px; padding: 16px 20px; margin: 18px 0 6px; opacity: 1; border-color: var(--line); }
.serp-ai-label { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .82rem; font-weight: 600; color: var(--brand); }
.serp-ai-text { margin: 0 0 10px; color: var(--ink-2); }
.serp-ai mark { background: none; color: var(--ink); font-weight: 600; }
.serp-src { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px 4px 8px; }
.serp-results { list-style: none; margin: 8px 0 0; padding: 0; max-width: 760px; }
.serp-item { padding: 15px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid #EDF1F6; position: relative; }
.serp-item:last-child { border-bottom: 0; }
.sk { display: block; height: 8px; border-radius: 4px; background: #EDF1F6; }
.sk-url { width: 26%; height: 7px; }
.sk-title { width: 58%; height: 12px; background: #E3E8F2; }
.sk-line { width: 86%; }
.sk-line.short { width: 54%; }
.serp-item.is-gem { padding: 15px 18px; margin: 0 -18px; border-radius: 14px; border-bottom-color: transparent; transition: background .7s var(--ease), box-shadow .7s var(--ease); }
.is-ranked .serp-item.is-gem { background: #F6F8FB; box-shadow: inset 0 0 0 1px var(--line); }
.serp-site { display: flex; align-items: center; gap: 10px; font-size: .84rem; line-height: 1.25; }
.serp-site img { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.serp-site > span { display: flex; flex-direction: column; }
.serp-fav { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--fc, var(--brand)); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1; text-align: center; text-indent: 0; letter-spacing: 0; padding: 0; text-box: trim-both cap alphabetic; }
.serp-fav.sm { width: 16px; height: 16px; font-size: .58rem; }
.browser-body { transition: opacity .4s var(--ease); }
.browser-body.is-fading { opacity: 0; }
.stage-note { position: relative; z-index: 1; margin: 22px auto 0; text-align: center; font-size: .86rem; color: rgba(255, 255, 255, .78); padding: 0 var(--gutter); }
.serp-site b { font-weight: 500; color: var(--ink); }
.serp-url { font-size: .76rem; color: var(--muted); }
.serp-title { font-size: 1.12rem; color: #1A0DAB; line-height: 1.3; }
.serp-desc { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

/* Entrée de page */
.js .hero-in { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.is-loaded .hero-in { opacity: 1; transform: none; }

/* ---------- Pages internes ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.page-hero.compact { padding-bottom: 32px; }
.page-hero-inner { position: relative; }
.page-hero .lead { margin-bottom: 1.9em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 34px; font-size: .8rem; color: var(--faint); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--ink-2); }
.facts { margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, auto); max-width: 860px; padding: 4px; border-radius: var(--r-m); box-shadow: var(--shadow-s); }
.facts div { padding: 14px 22px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: .76rem; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 600; font-size: .98rem; line-height: 1.3; letter-spacing: -.015em; }

/* ---------- En bref (réponse directe pour Google et les IA) ---------- */
.tldr { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: start; padding: 26px 30px; border-radius: var(--r-l); background: var(--soft); }
.tldr-label { margin: 0; font-size: .85rem; font-weight: 600; color: var(--brand); }
.tldr p:last-child { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- Manifeste + chiffres ---------- */
.manifesto-txt { font-size: clamp(1.7rem, 3.5vw, 2.85rem); line-height: 1.24; letter-spacing: -.034em; font-weight: 600; max-width: 25em; margin: 0 auto; text-align: center; color: var(--ink); }
.js .manifesto-txt .w { color: #CFD7E2; transition: color .35s var(--ease); }
.js .manifesto-txt .w.on { color: var(--ink); }
.numbers { list-style: none; margin: clamp(72px, 9vw, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.numbers li { padding: 30px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.numbers strong { font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.numbers span { font-size: .92rem; color: var(--muted); max-width: 15em; }

/* ---------- Carrousel des expertises ---------- */
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4vw, 52px); }
.carousel-head h2 { margin-bottom: .3em; }
.carousel-head p { margin: 0; max-width: 34em; font-size: 1.12rem; }
.paddles { display: flex; gap: 12px; flex: none; }
.paddle { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s var(--ease), opacity .25s; }
.paddle:first-child .ico { transform: rotate(180deg); }
.paddle:hover { background: rgba(0, 0, 0, .1); }
.paddle[disabled] { opacity: .35; cursor: default; background: rgba(0, 0, 0, .04); }
.carousel { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.carousel::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 20px; list-style: none; margin: 0; padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 34px; width: max-content; }
.svc-card { flex: none; width: clamp(290px, 30vw, 360px); scroll-snap-align: start; }
/* Défilement horizontal piloté par le scroll vertical (ordinateur) */
.is-pinned.services { padding: 0; }
.is-pinned .pin-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.is-pinned .carousel { overflow: hidden; scroll-snap-type: none; }
.is-pinned .carousel-track { will-change: transform; padding-bottom: 20px; }
.pin-progress { display: none; }
.is-pinned .pin-progress { display: block; height: 2px; width: min(240px, 40%); margin: 18px auto 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.is-pinned .pin-progress i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.svc-card > a { display: flex; flex-direction: column; height: 100%; background: var(--bg); border-radius: var(--r-l); overflow: hidden; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow-s); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.svc-card > a:hover { transform: scale(1.015); box-shadow: var(--shadow-m); }
.svc-card > a:hover .more-link .ico { transform: translateX(3px); }
.svc-visual { display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.svc-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc-card > a:hover .svc-visual img { transform: scale(1.03); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.svc-body h3 { font-size: 1.45rem; letter-spacing: -.028em; margin-bottom: .35em; }
.svc-tag { color: var(--muted); margin-bottom: 20px; }
.svc-list { display: grid; gap: 9px; margin-bottom: 26px; font-size: .92rem; color: var(--ink-2); }
.svc-list span { display: flex; gap: 8px; align-items: flex-start; }
.svc-list .ico { color: var(--brand); margin-top: 4px; }
.svc-body .more-link { margin-top: auto; }

/* ---------- Preuve / mesures ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list b { color: var(--ink); font-weight: 600; }
.check-list .ico { color: var(--brand); margin-top: 3px; flex: none; }
.metrics { padding: clamp(22px, 3vw, 32px); }
.metrics-title { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 500; color: var(--muted); margin: 0 0 18px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(52, 199, 89, .5); animation: live 2.4s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric { background: var(--soft); border-radius: var(--r-m); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.metric-val { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-lbl { font-size: .84rem; color: var(--muted); }
.metric-types { margin: 16px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* ---------- SEO vs GEO ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { padding: clamp(30px, 3.6vw, 48px); box-shadow: var(--shadow-s); border-color: transparent; }
.feature-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 26px; }
.compare-col h3 { font-size: 1.5rem; letter-spacing: -.028em; }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 22px; color: var(--ink-2); }
.compare-col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- Méthode : récit au scroll ---------- */
.story { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); }
.story-visual { position: sticky; top: calc(var(--header-h) + max(40px, (100vh - var(--header-h) - 470px) / 2)); align-self: start; }
.device { background: var(--bg); border-radius: 22px; box-shadow: var(--shadow-l); border: 1px solid var(--line); overflow: hidden; }
.device-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.device-label { font-size: .8rem; font-weight: 500; color: var(--ink-2); margin-right: auto; }
.device-progress { display: flex; gap: 5px; }
.device-progress i { width: 18px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .5s var(--ease); }
.device-progress i.is-on { background: var(--brand); }
.device-screens { position: relative; height: 410px; }
.screen { position: absolute; inset: 0; padding: 30px 32px; display: flex; flex-direction: column; opacity: 0; transform: scale(.985); transition: opacity .6s var(--ease), transform .8s var(--ease-out); pointer-events: none; }
.screen.is-active { opacity: 1; transform: none; }
.screen-title { margin: 0 0 22px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; }
.screen-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.screen-client { font-size: .74rem; font-weight: 500; color: var(--accent-ink); letter-spacing: 0; }
.screen-note { margin: auto 0 0; font-size: .78rem; color: var(--faint); }
.kw { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kw li { display: grid; gap: 7px; }
.kw-q { font-size: .86rem; color: var(--ink-2); }
.kw-bar { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.kw-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s var(--ease-out); }
.kw li:nth-child(2) i { transition-delay: .08s; }
.kw li:nth-child(3) i { transition-delay: .16s; }
.kw li:nth-child(4) i { transition-delay: .24s; }
.kw li:nth-child(5) i { transition-delay: .32s; }
.screen.is-active .kw-bar i { transform: none; }
.tree { display: flex; flex-direction: column; align-items: center; gap: 26px; position: relative; }
.tree-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; }
.tree-row::before { content: ""; position: absolute; left: 50%; top: -26px; height: 26px; width: 1px; background: var(--line-2); }
.node { padding: 8px 14px; border-radius: 10px; background: var(--soft); font-size: .84rem; font-weight: 500; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.node-root { background: var(--brand); color: #fff; }
.node-city { background: var(--brand-soft); color: var(--brand); font-size: .8rem; }
.screen.is-active .node { opacity: 1; transform: none; }
.tree-row:nth-of-type(1) .node { transition-delay: .12s; }
.tree-row:nth-of-type(2) .node { transition-delay: .24s; }
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.gauge { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.gauge svg { width: 100%; max-width: 92px; transform: rotate(-90deg); }
.g-bg, .g-val { fill: none; stroke-width: 3.5; }
.g-bg { stroke: var(--soft); }
.g-val { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset 1.4s var(--ease-out); }
.screen.is-active .g-val { stroke-dashoffset: 6; }
.gauge b { position: absolute; top: 0; left: 0; right: 0; height: min(100%, 92px); aspect-ratio: 1; display: grid; place-items: center; font-size: 1.15rem; font-weight: 600; color: var(--ok); margin: 0 auto; max-width: 92px; }
.gauge span { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.growth { width: 100%; height: 230px; margin-top: 6px; }
.growth-area { fill: rgba(0, 14, 156, .06); opacity: 0; transition: opacity 1s var(--ease) .6s; }
.growth-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); vector-effect: non-scaling-stroke; }
.screen.is-active .growth-area { opacity: 1; }
.screen.is-active .growth-line { stroke-dashoffset: 0; }

.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.story-step:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 60px; }
.story-step:last-child { min-height: 54vh; }
.story-step.is-active { opacity: 1; }
.story-num { font-size: .85rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.story-step h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.034em; line-height: 1.12; margin-bottom: .45em; }
.story-step p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 28em; }

/* ---------- Zones / carte / recherche ---------- */
.zones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.city-search { position: relative; margin: 30px 0 0; max-width: 480px; z-index: 5; }
.city-field { display: flex; align-items: center; gap: 10px; height: var(--btn-h); padding: 0 18px; border-radius: 999px; background: var(--soft); color: var(--muted); border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.city-field:focus-within { background: var(--bg); border-color: var(--brand-bright); box-shadow: 0 0 0 4px rgba(46, 75, 255, .12); }
.city-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .98rem; color: var(--ink); }
.city-field input::-webkit-search-cancel-button { display: none; }
.city-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-l); max-height: 330px; overflow-y: auto; }
.city-results a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.city-results a small { color: var(--faint); font-size: .8rem; white-space: nowrap; }
.city-results a b { font-weight: 600; }
.city-results li[aria-selected="true"] a, .city-results a:hover { background: var(--brand-tint); color: var(--brand); }
.city-results .empty { padding: 12px 14px; color: var(--muted); font-size: .92rem; }
.hub-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hub-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 18px; height: 56px; border-radius: var(--r-m); background: var(--soft); color: var(--ink); font-weight: 600; letter-spacing: -.02em; text-decoration: none; transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s; }
.hub-list a:hover { background: var(--bg); box-shadow: var(--shadow-m); color: var(--brand); }
.hub-list small { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; max-height: 620px; background: var(--soft); border-radius: var(--r-l); }
.map figcaption { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.map-grid { stroke: rgba(0, 0, 0, .035); stroke-width: 1; }
.map-ring { fill: rgba(0, 14, 156, .05); stroke: rgba(0, 14, 156, .4); stroke-width: 1; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.8s var(--ease-out), fill .4s; }
.map.is-in .map-ring { stroke-dashoffset: 0; }
.map-hub.is-active .map-ring, .map-hub.is-hq .map-ring { fill: rgba(46, 75, 255, .12); stroke: var(--brand); }
.map-dot { fill: var(--brand); opacity: 0; transition: opacity .8s .6s; }
.map.is-in .map-dot { opacity: .5; }
.map-core { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.map-link { stroke: rgba(0, 14, 156, .2); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0; transition: opacity .8s .9s; }
.map.is-in .map-link { opacity: 1; }
.map-label { font: 600 14px var(--f); fill: var(--ink); letter-spacing: -.01em; }
.map a:hover .map-label { fill: var(--brand); }
.sticky-map { position: sticky; top: calc(var(--header-h) + 32px); }
.communes-title { margin-top: clamp(56px, 7vw, 88px); font-size: 1.15rem; }
.dir-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 1px solid var(--line); }
.dir-list li { border-bottom: 1px solid var(--line); }
.dir-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 50px; color: var(--ink-2); font-size: .92rem; text-decoration: none; transition: color .25s var(--ease); }
.dir-list a small { color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dir-list a:hover { color: var(--brand); }
.dir-list.compact { grid-template-columns: repeat(2, 1fr); }
.dir-list.compact a { height: 44px; font-size: .88rem; }
.zone-block { padding: 32px 0; border-bottom: 1px solid var(--line); }
.zone-block h2 a { color: var(--ink); }
.zone-block h2 a:hover { color: var(--brand); text-decoration: none; }
.zone-svc { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; margin: 0 0 10px; }

/* ---------- Contenus des pages internes ---------- */
.prose-section { padding-bottom: clamp(72px, 9vw, 120px); }
.prose-section + .prose-section { padding-top: 0; }
.prose-section h2 { margin-top: 1.4em; }
.prose-section h2:first-child { margin-top: 0; }
.prose-section p { color: var(--ink-2); }
.big-p { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4; letter-spacing: -.026em; font-weight: 500; color: var(--ink) !important; }
.prose h2 { font-size: 1.5rem; }

.deliv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliv-grid.two { grid-template-columns: 1fr 1fr; }
.deliv { padding: clamp(26px, 2.8vw, 34px); border-radius: var(--r-l); background: var(--bg); box-shadow: var(--shadow-s); transition: box-shadow .5s var(--ease-out); }
.deliv:hover { box-shadow: var(--shadow-m); }
.deliv h3 { margin-bottom: .45em; }
.deliv p { color: var(--muted); margin: 0 0 1em; }
.deliv p:last-child { margin: 0; }
.deliv-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; }
.text-link { font-weight: 500; }

.local-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.local-grid h3 { margin-top: 1.4em; }
.local-grid p { color: var(--ink-2); }
.sectors-intro { margin-top: 1.5em; font-weight: 600; color: var(--ink) !important; }
.tags { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.tags li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .94rem; }
.tags li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex: none; }

.city-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.city-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 24px 26px; height: 100%; background: var(--soft); border-radius: var(--r-m); text-decoration: none !important; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.city-card:hover { background: var(--bg); box-shadow: var(--shadow-m); }
.city-name { font-weight: 600; font-size: 1.1rem; letter-spacing: -.02em; color: var(--ink); grid-column: 1; }
.city-meta { color: var(--muted); font-size: .84rem; grid-column: 1; }
.city-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--brand); transition: transform .35s var(--ease); }
.city-card:hover .city-arrow { transform: translateX(4px); }

.expertise-list { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.expertise-list li { border-bottom: 1px solid var(--line); }
.expertise-list a { display: flex; align-items: center; gap: 18px; padding: 20px 4px; color: var(--ink); text-decoration: none; }
.expertise-list .exp-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); flex: none; }
.expertise-list .exp-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.expertise-list b { font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em; }
.expertise-list .exp-txt span { color: var(--muted); font-size: .94rem; }
.expertise-list a > .ico { color: var(--faint); transition: transform .3s var(--ease), color .3s; }
.expertise-list a:hover b { color: var(--brand); }
.expertise-list a:hover > .ico { color: var(--brand); transform: translateX(3px); }
.cross-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 13px 0; color: var(--ink-2); }
.link-list a:hover { color: var(--brand); text-decoration: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 60px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.06rem; font-weight: 600; transition: color .25s; }
.faq-item summary:hover h3 { color: var(--brand); }
.faq-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); position: relative; transition: transform .45s var(--ease-out), background .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: background .3s; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--brand); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 54px 24px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-facts li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.cf-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--brand); box-shadow: var(--shadow-s); flex: none; }
.trust { list-style: none; padding: 24px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--ok); }
.contact-form { padding: clamp(24px, 3.4vw, 40px); border-color: transparent; position: relative; min-height: 300px; }
.form-body { display: grid; gap: 18px; transition: opacity .4s var(--ease); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .88rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--faint); }
.field input, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 0 15px; height: var(--btn-h);
	border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--bg);
	transition: border-color .25s, box-shadow .25s;
}
.field textarea { height: auto; padding: 13px 15px; resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 4px rgba(46, 75, 255, .12); }
.field.has-error input, .field.has-error textarea { border-color: #D93025; }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: 10px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 14px 14px 13px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--bg); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.choice-box .ico { color: var(--muted); transition: color .25s; }
.choice-box b { font-weight: 500; font-size: .86rem; line-height: 1.3; color: var(--ink); }
.choice-box::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg) no-repeat center / 11px; transition: all .25s var(--ease); }
.choice:hover .choice-box { border-color: var(--faint); }
.choice input:checked + .choice-box { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:checked + .choice-box .ico { color: var(--brand); }
.choice input:checked + .choice-box::after { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--brand-bright); outline-offset: 2px; }
.consent { display: flex; gap: 10px; font-size: .84rem; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 3px; accent-color: var(--brand); width: 17px; height: 17px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-weight: 500; font-size: .92rem; }
.form-status.is-err { color: #D93025; }
.btn.is-loading span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.form-success[hidden] { display: none; }
.success-check { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; margin-bottom: 20px; animation: pop .6s var(--ease-out) both; }
.success-title { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; margin: 0 0 6px; animation: fade-up .6s var(--ease-out) .1s both; }
.form-success .muted { animation: fade-up .6s var(--ease-out) .2s both; max-width: 26em; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
@keyframes fade-up { from { transform: translateY(8px); opacity: 0; } }
.contact-form.is-sent .form-body { opacity: 0; visibility: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 80px) 0 28px; font-size: .84rem; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line-2); }
.footer-logo img { height: 38px; width: auto; }
.footer-pitch { max-width: 34em; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr 1fr; gap: 32px; }
.footer-title { color: var(--ink); font-weight: 600; font-size: .84rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.big-404 { font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; margin: 0; color: var(--brand-soft); }

/* ==========================================================================
   Couleur & rythme : blocs pleins, accent corail, couleur par expertise
   ========================================================================== */

/* Sections en bleu G.E.M. plein */
.section-brand { background: var(--brand); color: rgba(255, 255, 255, .86); }
.section-brand h2, .section-brand h3 { color: #fff; }
.section-brand .muted { color: rgba(255, 255, 255, .72); }
.section-brand a { color: #fff; }
.section-brand .btn-primary { background: #fff; color: var(--brand); }
.section-brand .btn-primary:hover { background: var(--accent); color: #fff; }
.section-brand .card a { color: var(--brand); }

/* Manifeste sur fond bleu */
.section-brand .manifesto-txt { color: #fff; }
.js .section-brand .manifesto-txt .w { color: rgba(255, 255, 255, .22); }
.js .section-brand .manifesto-txt .w.on { color: #fff; }
.section-brand .numbers { border-top-color: rgba(255, 255, 255, .2); }
.section-brand .numbers strong { color: #fff; }
.section-brand .numbers span { color: rgba(255, 255, 255, .7); }
.numbers li::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 20px; }

/* Hero : la fenêtre repose sur un socle bleu */
.tpl-home .hero { padding-bottom: 0; }
.stage-wrap { position: relative; padding-bottom: clamp(48px, 7vw, 96px); }
.stage-wrap::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: var(--brand); z-index: -1; }
.stage { z-index: 1; }
.tpl-home .manifesto { padding-top: clamp(24px, 4vw, 48px); }
.tldr-band { padding-top: clamp(56px, 7vw, 96px); }
.tldr-band + .services:not(.is-pinned) { padding-top: clamp(48px, 6vw, 80px); }
.tldr-band .tldr { background: var(--bg); }
.stage-wrap + * { margin-top: 0; }

/* SEO / GEO : deux blocs de couleur */
.compare-col { border: 0; color: rgba(255, 255, 255, .86); }
.compare-col:first-child { background: var(--brand); }
.compare-col:last-child { background: var(--ink); }
.compare-col h3 { color: #fff; }
.compare-col li { color: rgba(255, 255, 255, .86); }
.compare-col li::before { background: var(--accent); }
.compare-col .feature-ico { background: rgba(255, 255, 255, .12); color: #fff; }

/* Accent corail sur les repères */
.story-num { color: var(--accent); }
.device-progress i.is-on { background: var(--accent); }
.tldr-label { color: var(--accent-ink); }
.serp-ai-label { color: var(--accent-ink); }
.section-head h2::after, .carousel-head h2::after, .faq-head h2::after, .proof-copy h2::after, .zones h2::after { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); margin-top: 22px; }
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-brand .section-head h2::after, .contact-block h2::after { background: var(--accent); }

/* Cartes expertises : filet de couleur propre à chaque service */
.svc-card > a { position: relative; }
.svc-card > a::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c, var(--brand)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.svc-card > a:hover::after { transform: none; }

/* Prestations : repère coloré selon l'expertise de la page */
.deliv { position: relative; }
.deliv::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--svc, var(--accent)); margin-bottom: 18px; }
.deliv-ico { background: var(--svc, var(--brand)); color: #fff; }
.tags li::before { background: var(--svc, var(--brand)); }

/* Contact sur fond bleu */
.contact-block .contact-copy { color: rgba(255, 255, 255, .86); }
.contact-block .contact-facts li { color: rgba(255, 255, 255, .9); }
.contact-block .cf-ico { box-shadow: none; }
.contact-block .trust { border-top-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8); }
.contact-block .trust .ico { color: #fff; background: rgba(255, 255, 255, .18); border-radius: 50%; padding: 4px; width: 24px; height: 24px; flex: none; stroke-width: 2.4; }
.contact-block .contact-form { color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
.contact-block .contact-form .btn-primary { background: var(--brand); color: #fff; }
.contact-block .contact-form .btn-primary:hover { background: var(--accent); }
.contact-block .contact-form a { color: var(--brand); }

/* Pages internes : visuel à droite du titre */
.page-hero.has-visual .page-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-visual { margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-l); background: var(--svc, var(--brand)); aspect-ratio: 16 / 10; }
.page-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-visual .display-1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.page-hero .facts { margin-top: 44px; }
@media (max-width: 1040px) {
	.page-hero.has-visual .page-hero-inner { grid-template-columns: 1fr; }
}

/* ---------- Révélation au scroll (contenu présent dans le HTML : lisible par les robots) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
	.dir-list { grid-template-columns: 1fr 1fr; }
	.proof-grid, .zones-grid, .local-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
	.faq-head, .sticky-map { position: static; }
	.deliv-grid, .city-cards { grid-template-columns: 1fr 1fr; }
	.numbers { grid-template-columns: 1fr 1fr; }
	.numbers li:nth-child(n+3) { padding-top: 34px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-top { flex-direction: column; }
	.facts { grid-template-columns: 1fr 1fr; }
	.facts div:nth-child(3) { border-left: 0; }
	.facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
	/* Méthode : sur tablette et mobile, les étapes seules (lecture simple) */
	.story { grid-template-columns: 1fr; }
	.story-visual { display: none; }
	.story-steps { display: grid; gap: 14px; }
	.story-step, .story-step:first-child, .story-step:last-child { min-height: 0; padding: 28px; opacity: 1; background: var(--bg); border-radius: var(--r-l); box-shadow: var(--shadow-s); }
	.localnav-links { display: none; }
	.hero-mark-md { opacity: .6; }
}
@media (max-width: 680px) {
	:root { --btn-h: 46px; }
	body { font-size: 1rem; }
	.dir-list, .dir-list.compact, .tags { grid-template-columns: 1fr; }
	.choice-grid { grid-template-columns: 1fr 1fr; }
	.btn-group { display: grid; grid-auto-flow: row; width: 100%; }
	.btn-group .btn, .form-actions .btn { width: 100%; }
	.deliv-grid, .deliv-grid.two, .city-cards, .compare, .cross-grid, .field-row, .hub-list, .footer-grid { grid-template-columns: 1fr; }
	.carousel-head { flex-direction: column; align-items: flex-start; }
	.paddles { display: none; }
	.svc-card { width: 82vw; }
	.browser-url { padding: 5px 16px; }
	.browser-body { min-height: 420px; }
	.serp-title { font-size: 1rem; }
	.tldr { grid-template-columns: 1fr; gap: 6px; padding: 22px; }
	.faq-a p { padding-right: 0; }
	.footer-bottom { flex-direction: column; }
	.hero-mark-md { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal, .js .hero-in { opacity: 1; transform: none; }
	.js .manifesto-txt .w { color: var(--ink); }
	.map-ring { stroke-dashoffset: 0; }
	.map-dot, .map-link { opacity: .6; }
	.browser { transform: none !important; }
}

/* Respiration entre le bloc « En bref » et une section colorée qui le suit */
.tldr-wrap + .section-brand,
.tldr-wrap + .section-soft { margin-top: clamp(56px, 7vw, 96px); }

/* Avis clients */
.reviews-head { max-width: 760px; }
.stars { display: inline-flex; gap: 2px; color: #F2A900; }
.reviews-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.review { margin: 0; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; box-shadow: none; }
.review.is-featured { grid-row: span 2; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-tag { font-size: .8rem; font-weight: 500; color: var(--muted); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.review.is-featured blockquote p { font-size: 1.12rem; line-height: 1.6; color: var(--ink); }
.review.is-featured blockquote { display: flex; align-items: center; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-weight: 600; }
.review figcaption small { color: var(--muted); font-size: .82rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 600; line-height: 1; flex: none; }
.review-platforms { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-platforms a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .45s var(--ease-out); }
.review-platforms a:hover { border-color: var(--brand); transform: translateY(-2px); }
.rp-name { font-weight: 600; font-size: 1.05rem; }
.rp-score { display: inline-flex; flex-wrap: nowrap; white-space: nowrap; align-items: center; gap: 8px; }
.rp-score b { font-weight: 600; }
.rp-score small { color: var(--muted); font-size: .82rem; }
.rp-cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 500; font-size: .92rem; }
.rp-cta .ico { transition: transform .35s var(--ease-out); }
.review-platforms a:hover .rp-cta .ico { transform: translateX(4px); }
@media (max-width: 900px) {
	.reviews-grid { grid-template-columns: 1fr; }
	.review.is-featured { grid-row: auto; }
	.review-platforms { grid-template-columns: 1fr; gap: 12px; }
}

/* Encart fiche Google Business Profile */
.gbp-band-wrap { padding-block: clamp(32px, 4vw, 56px); }
.gbp-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-l); background: #0E7C66; color: #fff; overflow: hidden; }
.gbp-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.gbp-band h2 { color: #fff; margin: 0 0 14px; }
.gbp-band h2::after { display: none; }
.gbp-band p { color: rgba(255,255,255,.85); }
.gbp-band .btn-primary { background: #fff; color: #0E7C66; border-color: #fff; margin-top: 10px; }
.gbp-band .btn-primary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.gbp-band-visual { margin: 0; }
.gbp-band-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; max-height: 440px; border-radius: calc(var(--r-l) - 6px); }
@media (max-width: 900px) { .gbp-band { grid-template-columns: 1fr; } }

/* Mentions légales */
.legal-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.legal-list li { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.legal-list li span { color: var(--muted); }
@media (max-width: 640px) { .legal-list li { grid-template-columns: 1fr; gap: 2px; } }

/* Bandeau cookies (Consent Mode v2) */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; display: flex; justify-content: center; pointer-events: none; }
.cc[hidden] { display: none; }
.cc-inner { pointer-events: auto; width: 100%; max-width: 1080px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .28); padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); }
.cc.is-in .cc-inner { opacity: 1; transform: none; }
.cc-title { margin: 0 0 6px; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.cc-desc { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--muted); }
.cc-actions { display: flex; gap: 10px; }
.cc-actions .btn { min-width: 170px; }
.cc.is-custom .cc-inner { grid-template-columns: 1fr; }
.cc.is-custom .cc-actions { justify-content: flex-end; }
.cc-prefs { grid-column: 1 / -1; border-top: 1px solid var(--line); max-height: 46vh; overflow: auto; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc-row b { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.cc-row span { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.cc-switch { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background .25s var(--ease); margin: 0; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease-out); }
.cc-switch:checked { background: var(--brand); }
.cc-switch:checked::after { transform: translateX(18px); }
.cc-switch:disabled { opacity: .55; cursor: default; }
.cc-switch:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
@media (max-width: 900px) {
	.cc { left: 10px; right: 10px; bottom: 10px; }
	.cc-inner { grid-template-columns: 1fr; padding: 20px; }
	.cc-actions { flex-direction: column; }
	.cc-actions .btn { width: 100%; min-width: 0; }
}
.site-footer .link-btn { color: var(--muted); font-size: inherit; }
.site-footer .link-btn:hover { color: var(--ink); }

/* Message de confirmation : lisible dans la carte blanche, y compris dans les sections bleues */
.contact-form .form-success { background: #fff; border-radius: inherit; color: var(--ink); }
.contact-form .form-success .success-title { color: var(--ink); }
.contact-form .form-success .muted, .section-brand .contact-form .form-success .muted { color: var(--muted); }
.field-count { margin: 6px 0 0; font-size: .8rem; color: var(--faint); transition: color .25s; }
.field-count.is-ok { color: var(--ok); }
.check-list.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; margin-bottom: 18px; }
@media (max-width: 700px) { .check-list.cols-2 { grid-template-columns: 1fr; } }

/* Bandeau « En bref » de l'accueil : respiration sous la carte */
.tldr-band { padding-bottom: clamp(56px, 7vw, 96px); }
/* Cartes des sections bénéfices / existant : bien détachées du fond */
.gains .deliv { border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .18); }
.existing .deliv { border: 1px solid var(--line); box-shadow: 0 16px 40px -22px rgba(15, 23, 42, .22); }
.gains .deliv-ico, .existing .deliv-ico { background: var(--svc); }

/* Coches en pastilles (couleur de la carte ou bleu G.E.M. par défaut) */
.check-list .ico { width: 20px; height: 20px; padding: 4px; border-radius: 50%; margin-top: 1px; stroke-width: 2.6;
	color: var(--svc, var(--brand)); background: color-mix(in srgb, var(--svc, var(--brand)) 15%, #fff); stroke-width: 2.6; }
/* Pastilles pleines réservées aux cartes de l'accueil */
.existing .check-list .ico { color: #fff; background: var(--svc, var(--brand)); box-shadow: 0 3px 8px -3px color-mix(in srgb, var(--svc, var(--brand)) 60%, transparent); }
.section-brand .check-list .ico, .contact-block .check-list .ico { color: #fff; background: rgba(255, 255, 255, .18); }
.diag { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 32px; border-radius: var(--r-l); background: var(--brand); color: #fff; }
.diag p { margin: 0; color: rgba(255, 255, 255, .86); max-width: 62ch; }
.diag b { color: #fff; }
.diag .btn { flex: none; background: #fff; color: var(--brand); border-color: #fff; }
.diag .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 900px) { .diag { flex-direction: column; align-items: stretch; } .diag .btn { width: 100%; } }


/* Page Diagnostic offert */
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice-grid.two .choice-box { flex-direction: row; align-items: center; padding: 13px 40px 13px 14px; }
.gains-like .deliv { border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .18); }
.gains-like .deliv-ico { background: var(--svc); }
.steps-simple { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.steps-simple li { counter-increment: st; padding: 28px; border-radius: var(--r-l); background: var(--bg); border: 1px solid var(--line); }
.steps-simple li::before { content: counter(st); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; margin-bottom: 16px; }
.steps-simple b { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.steps-simple span { color: var(--muted); }
@media (max-width: 900px) { .steps-simple { grid-template-columns: 1fr; } }
.diag-choices { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (max-width: 1100px) { .diag-choices { grid-template-columns: 1fr; } }

/* ---------- Ressources ---------- */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rgrid.featured { grid-template-columns: 1.4fr 1fr 1fr; }
.rcard { --c: var(--brand); }
.rcard[hidden] { display: none; }
.rcard a { display: flex; flex-direction: column; height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .3s, transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.rcard a:hover { border-color: var(--c); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .3); }
.rcard-thumb { display: grid; place-items: center; height: 150px; background: var(--c); color: #fff; }
.rcard.is-big .rcard-thumb { height: 230px; }
.rcard-thumb .ico { opacity: .95; }
.rcard-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.rcard-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.rcard-meta b { color: var(--c); font-weight: 600; }
.rcard-title { font-weight: 600; font-size: 1.08rem; line-height: 1.35; letter-spacing: -.01em; }
.rcard.is-big .rcard-title { font-size: 1.4rem; }
.rcard-excerpt { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.rcard .more-link { margin-top: auto; color: var(--brand); font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: 4px; }
.res-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 28px; }
.res-head h2 { margin: 0; }
.res-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line-2); }
.res-tabs button { background: none; border: 0; padding: 10px 14px; font: 500 .92rem/1 var(--f); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.res-tabs button small { color: var(--faint); font-size: .78rem; margin-left: 2px; }
.res-tabs button:hover { color: var(--ink); }
.res-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.res-featured { padding-bottom: clamp(48px, 6vw, 80px); }
.res-featured h2 { margin-bottom: 22px; }
/* Article */
.article-hero .art-cat { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 600; font-size: .88rem; color: var(--c); }
.art-cat-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--c); color: #fff; }
.art-title { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.art-grid { display: grid; grid-template-columns: 250px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 72px); align-items: start; }
.art-toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: .9rem; }
.art-toc-title { font-weight: 600; margin: 0 0 12px; color: var(--ink); }
.art-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-2); }
.art-toc li a { display: block; padding: 7px 0 7px 16px; color: var(--muted); text-decoration: none; line-height: 1.4; border-left: 2px solid transparent; margin-left: -1px; }
.art-toc li a:hover, .art-toc li a.is-current { color: var(--brand); border-left-color: var(--brand); }
.art-body { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.art-body h2 { font-size: 1.6rem; margin: 2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); color: var(--ink); }
.art-body h2:first-child { margin-top: 0; }
.art-body h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; color: var(--ink); }
.art-body p { margin: 0 0 1.1em; }
.art-body ul, .art-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.art-body li { margin-bottom: .45em; }
.art-body li::marker { color: var(--svc); }
.art-body strong { color: var(--ink); }
.art-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.art-body .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4em; }
.art-body .table-wrap table { margin: 0; }
.art-body .table-wrap table:has(th:nth-child(4)) { min-width: 560px; }
.art-body th, .art-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-body th { background: var(--soft); color: var(--ink); font-weight: 600; }
.art-body .note { padding: 18px 22px; border-radius: 14px; background: color-mix(in srgb, var(--svc) 8%, #fff); border-left: 3px solid var(--svc); margin: 0 0 1.4em; }
.art-body .note p:last-child { margin: 0; }
.art-body code { font-size: .88em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.art-body pre { background: #0F172A; color: #E2E8F0; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: .86rem; line-height: 1.6; margin: 0 0 1.4em; }
.art-body pre code { background: none; padding: 0; color: inherit; }
.art-cta { margin: 2.4em 0 1.6em; padding: 26px 28px; border-radius: var(--r-l); background: var(--brand); color: rgba(255, 255, 255, .88); }
.art-cta b { color: #fff; }
.art-cta p { margin: 0 0 16px; }
.art-cta .btn { background: #fff; color: var(--brand); border-color: #fff; }
.art-cta .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.art-author { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 1000px) {
	.art-grid { grid-template-columns: minmax(0, 1fr); }
	.art-toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
	.rgrid, .rgrid.featured { grid-template-columns: 1fr 1fr; }
	.rcard.is-big { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.rgrid, .rgrid.featured { grid-template-columns: 1fr; }
	.res-tabs { overflow-x: auto; flex-wrap: nowrap; width: 100%; }
	.res-tabs button { white-space: nowrap; }
}
.rgrid.featured { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
.rgrid.featured .rcard.is-big { grid-row: span 2; }
.rgrid.featured .rcard:not(.is-big) a { flex-direction: row; }
.rgrid.featured .rcard:not(.is-big) .rcard-thumb { width: 150px; height: auto; flex: none; }
@media (max-width: 1000px) { .rgrid.featured { grid-template-columns: 1fr; } .rgrid.featured .rcard.is-big { grid-row: auto; } }
@media (max-width: 640px) { .rcard-thumb { height: 110px; } .rcard.is-big .rcard-thumb { height: 150px; } .rgrid.featured .rcard:not(.is-big) .rcard-thumb { width: 96px; } }

/* Espace client (factures Stripe) */
.footer-billing { margin: 12px 0 0; }
.footer-billing a { font-weight: 500; }
.billing { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.billing p { margin: 0; color: var(--ink-2); max-width: 640px; }
.billing .billing-title { font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 1.1rem; }
.billing .btn { flex-shrink: 0; }
@media (max-width: 720px) { .billing { flex-direction: column; align-items: flex-start; padding: 24px; } }
