/*
Theme Name: INGRAO-IT
Theme URI: https://www.ingrao-it.be
Author: INGRAO-IT SRL
Description: Thème sur mesure pour INGRAO-IT — réseau & Wi-Fi professionnel, vidéosurveillance et gestion de parc informatique. Design sombre « tech », bilingue FR/EN, SEO et sécurité intégrés, schémas SVG animés, formulaire de contact intégré, aucune dépendance externe.
Version: 3.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: Propriétaire — tous droits réservés
Text Domain: ingrao-it
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
	--bg: #070b14;
	--bg-alt: #0a1020;
	--surface: #0e1628;
	--surface-2: #121c33;
	--line: #1d2943;
	--line-strong: #2a3a5c;
	--text: #e7edf8;
	--muted: #93a3bf;
	--faint: #62728f;

	--cyan: #22d3ee;
	--blue: #3b82f6;
	--violet: #a78bfa;
	--amber: #fbbf24;
	--green: #34d399;
	--red: #f87171;

	--grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 60%, #818cf8 100%);
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line);
	--font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
	--header-h: 84px;
	color-scheme: dark;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::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;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #67e8f9; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: #fff; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--text); font-weight: 600; }
::selection { background: rgba(34, 211, 238, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cyan); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* =========================================================
   3. Boutons
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .9em 1.4em; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1;
	border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
	font-family: inherit;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #04121c; box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .55); }
.btn--primary:hover { color: #04121c; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(34, 211, 238, .75); }
.btn--ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { color: #fff; border-color: var(--cyan); background: rgba(34, 211, 238, .06); }
.btn--sm { padding: .7em 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }

/* =========================================================
   4. En-tête
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 50; height: var(--header-h);
	background: rgba(7, 11, 20, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 11, 20, .9); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.main-nav a, .btn, .lang-switch a { white-space: nowrap; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo__img { display: block; height: 58px; width: auto; transition: height .3s; }
.site-header.is-scrolled .logo__img { height: 50px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .94rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.main-nav a:hover, .main-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .05); }
.main-nav__phone a { color: var(--text); font-variant-numeric: tabular-nums; }
.main-nav__phone .icon { width: 16px; height: 16px; color: var(--cyan); }
.main-nav__cta { display: none; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(14, 22, 40, .6); flex: none; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font: 600 .78rem/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-current { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: #fff; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* =========================================================
   5. Hero
   ========================================================= */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before {
	content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
	background:
		radial-gradient(40% 50% at 78% 30%, rgba(59, 130, 246, .22), transparent 70%),
		radial-gradient(35% 45% at 15% 10%, rgba(34, 211, 238, .14), transparent 70%);
}
.hero__grid-bg {
	position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--green); width: 18px; height: 18px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.eyebrow--blue { color: #60a5fa; }
.eyebrow--amber { color: var(--amber); }
.eyebrow--green { color: var(--green); }
.hero-tag {
	position: relative; display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; padding: 7px 20px 7px 8px;
	border-radius: 999px; font: 600 clamp(1rem, 1.4vw, 1.12rem)/1.2 var(--font); letter-spacing: .01em; color: #fff;
	background: linear-gradient(rgba(10, 18, 34, .92), rgba(10, 18, 34, .92)) padding-box, linear-gradient(110deg, rgba(34, 211, 238, .9), rgba(59, 130, 246, .35) 45%, rgba(129, 140, 248, .85)) border-box;
	border: 1px solid transparent; box-shadow: 0 10px 30px -12px rgba(34, 211, 238, .45);
	overflow: hidden; isolation: isolate;
}
.hero-tag::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .09) 50%, transparent 70%) no-repeat;
	background-size: 250% 100%; animation: tag-shine 5s ease-in-out infinite;
}
@keyframes tag-shine { 0%, 40% { background-position: 150% 0; } 80%, 100% { background-position: -50% 0; } }
.hero-tag__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; color: #04121c; background: var(--grad); box-shadow: 0 0 18px -4px rgba(34, 211, 238, .7); }
.hero-tag__ico .icon { width: 19px; height: 19px; stroke-width: 2; }
.hero-tag__txt { background: linear-gradient(90deg, #fff 0%, #cfe9ff 55%, #7dd3fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* Tableau de bord illustratif */
.hero__visual { position: relative; }
.dash {
	position: relative; background: linear-gradient(180deg, rgba(18, 28, 51, .92), rgba(10, 16, 32, .92));
	border-radius: 22px; box-shadow: var(--shadow), 0 0 80px -20px rgba(59, 130, 246, .35); overflow: hidden;
	transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s;
}
.hero__visual:hover .dash { transform: perspective(1400px) rotateY(0) rotateX(0); }
.dash__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dash__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: .78rem; }
.dash__rows { list-style: none; margin: 0; padding: 8px; }
.dash__rows li { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 12px; }
.dash__rows li + li { border-top: 1px solid rgba(29, 41, 67, .6); }
.dash__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
.dash__ico .icon { width: 20px; height: 20px; }
.dash__label { display: flex; flex-direction: column; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.dash__label small { font-weight: 400; color: var(--faint); font-size: .8rem; }
.dash__ok { margin-left: auto; font: 600 .74rem/1 var(--mono); color: var(--green); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .25); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.dash__bars { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.dash__bars i { width: 5px; border-radius: 2px; background: var(--grad); animation: bars 1.8s ease-in-out infinite; }
.dash__bars i:nth-child(1) { height: 40%; animation-delay: -.2s; }
.dash__bars i:nth-child(2) { height: 70%; animation-delay: -.5s; }
.dash__bars i:nth-child(3) { height: 55%; animation-delay: -.9s; }
.dash__bars i:nth-child(4) { height: 90%; animation-delay: -.3s; }
.dash__bars i:nth-child(5) { height: 60%; animation-delay: -1.1s; }
.dash__bars i:nth-child(6) { height: 80%; animation-delay: -.7s; }
.dash__bars i:nth-child(7) { height: 45%; animation-delay: -1.4s; }
@keyframes bars { 50% { transform: scaleY(.55); } }
.dash__bars i { transform-origin: bottom; }

.t-cyan { --tone: var(--cyan); } .t-blue { --tone: var(--blue); } .t-violet { --tone: var(--violet); }
.t-amber { --tone: var(--amber); } .t-green { --tone: var(--green); }

.hero__float {
	position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
	background: rgba(14, 22, 40, .92); box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; backdrop-filter: blur(8px);
	animation: float 6s ease-in-out infinite;
}
.hero__float span { display: flex; flex-direction: column; line-height: 1.25; }
.hero__float small { color: var(--faint); font-weight: 400; font-size: .75rem; }
.hero__float .icon { width: 22px; height: 22px; }
.hero__float--a { left: -36px; bottom: -30px; }
.hero__float--a .icon { color: var(--violet); }
.hero__float--b { right: 36px; top: -38px; animation-delay: -3s; }
.hero__float--b .icon { color: var(--cyan); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* =========================================================
   6. Sections
   ========================================================= */
.section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.section--tight { padding-top: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* Cartes services */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
	position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface), rgba(14, 22, 40, .4)); border: 1px solid var(--line);
	color: var(--text); overflow: hidden; transition: transform .3s, border-color .3s;
}
.svc-card::before {
	content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
	background: radial-gradient(60% 50% at 20% 0%, color-mix(in srgb, var(--tone) 18%, transparent), transparent 70%);
}
.svc-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tone) 50%, var(--line)); color: var(--text); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; }
.svc-card__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; margin-bottom: 26px; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 30%, transparent); }
.svc-card__ico .icon { width: 26px; height: 26px; }
.svc-card p { color: var(--muted); flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--tone); font-weight: 600; font-size: .94rem; }
.svc-card__more .icon { width: 18px; height: 18px; transition: transform .2s; }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }

/* =========================================================
   7. Schémas SVG
   ========================================================= */
.diagram { margin: 0 0 56px; padding: clamp(18px, 3vw, 36px); border-radius: 24px; background: radial-gradient(80% 70% at 50% 0%, rgba(59, 130, 246, .08), transparent 70%), var(--surface); border: 1px solid var(--line); }
.diagram__hint { display: none; margin: 12px 0 0; text-align: center; color: var(--cyan); font-size: .8rem; }
.diagram__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.diagram-svg { width: 100%; height: auto; font-family: var(--font); overflow: visible; }

.dg-cyan { --tone: var(--cyan); } .dg-blue { --tone: var(--blue); } .dg-violet { --tone: var(--violet); }
.dg-amber { --tone: var(--amber); } .dg-green { --tone: var(--green); }

.dg-card { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.dg-node:hover .dg-card { stroke: var(--tone); }
.dg-chip { fill: color-mix(in srgb, var(--tone) 16%, transparent); }
.dg-ico { stroke: var(--tone); color: var(--tone); }
.dg-title { fill: #fff; font-size: 14px; font-weight: 650; }
.dg-sub { fill: var(--muted); font-size: 11.5px; }

.dg-link { fill: none; stroke: var(--tone); stroke-width: 2; stroke-opacity: .35; stroke-linecap: round; }
.dg-flow { stroke-opacity: 1; stroke-width: 2.5; stroke-dasharray: 3 22; animation: dg-flow 1.4s linear infinite; filter: drop-shadow(0 0 4px var(--tone)); }
.dg-flow--rev { animation-direction: reverse; }
.dg-dashed { stroke-opacity: .8; stroke-dasharray: 6 6; animation: dg-flow 2.2s linear infinite; }
@keyframes dg-flow { to { stroke-dashoffset: -25; } }

.dg-cable { fill: var(--tone); font: 600 11px var(--mono); }
.dg-cable--muted { fill: var(--muted); font-weight: 400; }
.dg-pill { fill: color-mix(in srgb, var(--tone) 10%, transparent); stroke: color-mix(in srgb, var(--tone) 40%, transparent); }
.dg-dot { fill: var(--tone); }
.dg-pill-t { fill: var(--text); font: 600 10.5px var(--mono); }
.dg-lock circle { fill: var(--surface); stroke: var(--tone); stroke-width: 1.5; }
.dg-lock g { stroke: var(--tone); }

.dg-steps circle { fill: var(--surface-2); stroke: var(--line-strong); }
.dg-steps text { fill: var(--cyan); font: 700 12px var(--mono); }
.dg-steps .dg-step-l { fill: var(--muted); font: 600 12px var(--font); text-anchor: start; }

.dg-hub-core { fill: #0f1e3a; stroke: var(--cyan); stroke-width: 1.5; filter: drop-shadow(0 0 22px rgba(34, 211, 238, .35)); }
.dg-hub-ring { fill: none; stroke: rgba(34, 211, 238, .3); stroke-dasharray: 2 6; animation: spin 40s linear infinite; transform-origin: center; transform-box: fill-box; }
.dg-hub-ring--2 { stroke: rgba(59, 130, 246, .2); stroke-dasharray: 1 10; animation-direction: reverse; animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }
.dg-hub-ico { stroke: var(--cyan); }
.dg-hub-t { fill: #fff; font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.dg-hub-it { fill: var(--cyan); }
.dg-user-t { fill: var(--amber); font: 700 12px var(--mono); }
.dg-hub-s { fill: var(--muted); font-size: 11px; }

/* Plan Wi-Fi */
.dg-floor { fill: #0b1426; }
.dg-walls { fill: none; stroke: #3a4d74; stroke-width: 4; stroke-linecap: round; }
.dg-room text { fill: var(--faint); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.dg-wave { fill: none; stroke: rgba(34, 211, 238, .5); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: wave 2.7s ease-out infinite; }
@keyframes wave { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.6); opacity: 0; } }
.dg-ap circle { fill: #0e1a30; stroke: var(--cyan); stroke-width: 2; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .6)); }
.dg-ap g { stroke: var(--cyan); }
.dg-ap text { fill: var(--text); font: 600 11px var(--mono); }
.dg-walk { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.dg-user-dot { fill: var(--amber); }
.dg-user-halo { fill: rgba(251, 191, 36, .2); }

/* =========================================================
   8. Explications Réseau
   ========================================================= */
.coverage { display: grid; gap: 28px; margin-bottom: 56px; }
.coverage > *, .pillars > *, .cards-3 > *, .hero__inner > * { min-width: 0; }
.coverage__head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 48px; align-items: end; }
.coverage__head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; text-wrap: balance; }
.coverage__head p { margin: 0; color: var(--muted); }
.diagram--plan { margin: 0; padding: clamp(14px, 2.4vw, 28px); }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.features li { display: flex; gap: 16px; padding: 26px; background: var(--bg-alt); }
.features .icon { width: 24px; height: 24px; color: var(--cyan); margin-top: 2px; }
.features h3 { font-size: 1rem; margin-bottom: .35em; }
.features p { margin: 0; color: var(--muted); font-size: .94rem; }
.features--compact { grid-template-columns: repeat(4, 1fr); margin-top: 20px; }

/* =========================================================
   9. Caméras
   ========================================================= */
.cam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cam-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.cam-card:hover { transform: translateY(-3px); border-color: rgba(251, 191, 36, .4); }
.cam-card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px; color: var(--amber); background: rgba(251, 191, 36, .1); }
.cam-card__ico .icon { width: 23px; height: 23px; }
.cam-card h3 { font-size: 1.08rem; }
.cam-card p { margin: 0; color: var(--muted); font-size: .95rem; }


/* =========================================================
   10. Gestion de parc
   ========================================================= */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.pillar::after { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 2px; background: linear-gradient(90deg, transparent, var(--tone), transparent); opacity: .7; }
.pillar--wide { grid-column: 1 / -1; }
.pillar header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.pillar header p { margin: 0; color: var(--muted); }
.pillar h3 { font-size: 1.3rem; margin-bottom: .25em; }
.pillar__ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, transparent); }
.pillar__ico .icon { width: 26px; height: 26px; }
.pillar__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: .97rem; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 6px;
	background: color-mix(in srgb, var(--tone, var(--cyan)) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.offsite { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .22); }
.offsite__ico { display: inline-flex; align-items: center; gap: 6px; color: var(--green); flex: none; }
.offsite__ico .icon { width: 26px; height: 26px; }
.offsite__ico i { width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 5px, transparent 5px 9px); background-size: 18px 2px; animation: offsite 1s linear infinite; }
@keyframes offsite { to { background-position: 18px 0; } }
.offsite p { margin: 0; color: var(--muted); line-height: 1.4; }
.offsite strong { color: #fff; display: block; }

/* =========================================================
   11. Méthode & pourquoi nous
   ========================================================= */
.timeline { list-style: none; margin: 0 0 72px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), #818cf8); opacity: .35; }
.timeline li { position: relative; text-align: center; padding: 0 8px; counter-increment: t; }
.timeline__ico { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--cyan); box-shadow: 0 0 0 8px var(--bg); }
.timeline__ico .icon { width: 24px; height: 24px; }
.timeline__ico::after { content: counter(t); position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #04121c; font: 700 .72rem/22px var(--mono); }
.timeline h3 { font-size: 1.08rem; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__item { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), transparent); border: 1px solid var(--line); }
.why__item .icon { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 16px; }
.why__item h3 { font-size: 1.05rem; }
.why__item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* =========================================================
   12. Contact
   ========================================================= */
.section--contact { overflow: hidden; isolation: isolate; }
.contact__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(45% 55% at 15% 30%, rgba(34, 211, 238, .14), transparent 70%),
		radial-gradient(45% 60% at 90% 70%, rgba(59, 130, 246, .18), transparent 70%);
}
.contact__glow::after { content: ""; position: absolute; inset: 0; opacity: .45;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000 20%, transparent 75%);
	mask-image: radial-gradient(60% 70% at 50% 50%, #000 20%, transparent 75%);
}
.contact-panel {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center;
	padding: clamp(24px, 5vw, 64px); border-radius: 32px;
	background: linear-gradient(160deg, rgba(18, 28, 51, .92), rgba(9, 14, 28, .92)) padding-box, linear-gradient(130deg, rgba(34, 211, 238, .55), rgba(59, 130, 246, .15) 40%, rgba(129, 140, 248, .45)) border-box;
	border: 1px solid transparent; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 120px -40px rgba(34, 211, 238, .35);
}
.contact__logo { height: 76px; width: auto; margin: 0 0 22px; }
.contact__intro h2 { font-size: clamp(2rem, 4vw, 3.1rem); text-wrap: balance; }
.contact__lead { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.contact__points { list-style: none; margin: 20px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.contact__points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .22); font-size: .88rem; font-weight: 600; }
.contact__points .icon { width: 16px; height: 16px; color: var(--green); }
.contact__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(7, 11, 20, .55); border: 1px solid var(--line-strong); color: var(--text); transition: border-color .2s, transform .2s, background .2s; min-width: 0; }
.tile:hover { color: var(--text); border-color: var(--cyan); transform: translateY(-2px); background: rgba(34, 211, 238, .06); }
.tile > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.tile small { color: var(--faint); font-size: .78rem; }
.tile strong { font-size: 1.02rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.tile__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; color: #04121c; background: var(--grad); }
.tile__ico .icon { width: 22px; height: 22px; }
.form__title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font: 600 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.form__title .icon { width: 16px; height: 16px; }

.form { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: rgba(7, 11, 20, .6); border: 1px solid var(--line-strong); display: grid; gap: 16px; min-width: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg);
	color: var(--text); font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a3bf' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cyan); flex: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: .94rem; }
.form__msg--ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #a7f3d0; }
.form__msg--err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }

/* =========================================================
   13. Pied de page
   ========================================================= */
.site-footer { padding: 72px 0 0; border-top: 1px solid var(--line); background: var(--bg); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.site-footer__brand .logo__img { height: 70px; }
.site-footer__brand p { color: var(--muted); font-size: .94rem; margin: 18px 0 20px; max-width: 30em; }
.site-footer__cta { margin-top: 22px; }
.site-footer__title { font: 600 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 20px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .94rem; }
.site-footer__list a { color: var(--text); }
.site-footer__list a:hover { color: var(--cyan); }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--muted); transition: color .2s, border-color .2s; }
.social a:hover { color: #fff; border-color: var(--cyan); }
.social .icon { width: 19px; height: 19px; }
.site-footer__bottom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--faint); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.site-footer__legal a { color: var(--faint); }
.site-footer__legal a:hover { color: var(--text); }

/* =========================================================
   14. Pages simples
   ========================================================= */
.page-main { padding: 80px 0 110px; min-height: 60vh; }
.entry__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .7em; }
.entry__content { color: var(--muted); }
.entry__content h2, .entry__content h3 { margin-top: 1.6em; }
.entry__content a { text-decoration: underline; text-underline-offset: 3px; }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.page-404 .eyebrow { display: inline-flex; }

/* =========================================================
   15. Animations d'apparition
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 1320px) {
	.main-nav__phone { display: none; }
}
@media (max-width: 1100px) and (min-width: 961px) {
	.site-header__cta { display: none; }
}
@media (max-width: 1080px) {
	.features--compact { grid-template-columns: repeat(2, 1fr); }
	.why { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.nav-toggle { display: grid; }
	.site-header__cta { display: none; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 16px 24px 28px;
		background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(0,0,0,.6);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
	}
	.nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
	.main-nav__phone { display: block; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
	.main-nav__cta { display: block; margin-top: 10px; }
	.main-nav__cta a.btn { display: flex; justify-content: center; color: #04121c; padding: 15px; }
	.lang-switch { margin-left: auto; }
	.nav-toggle { margin-left: 0; }

	.hero__inner { grid-template-columns: 1fr; gap: 72px; }
	.nav-open .site-header { background: var(--bg); }
	.hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
	.dash { transform: none; }
	.cards-3 { grid-template-columns: 1fr; }
	.coverage__head { grid-template-columns: 1fr; }
	.diagram--plan { position: static; }
	.features { grid-template-columns: repeat(2, 1fr); }
	.cam-grid { grid-template-columns: repeat(2, 1fr); }
	.pillars { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.timeline::before { display: none; }
	.contact-panel { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
	.diagram__hint { display: block; }
	.diagram__scroll .diagram-svg { min-width: 760px; }
	.diagram { margin-left: -8px; margin-right: -8px; }
}

@media (max-width: 600px) {
	:root { --header-h: 72px; }
	.logo__img, .site-header.is-scrolled .logo__img { height: 46px; }
	.site-header__inner { gap: 12px; }
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.hero__float--a { left: -6px; bottom: -34px; }
	.hero__float--b { right: 8px; top: -36px; }
	.features, .features--compact, .cam-grid, .why, .contact__tiles { grid-template-columns: 1fr; }
	.contact-panel { border-radius: 24px; }
	.contact__logo { height: 60px; }
	.pillar__cols { grid-template-columns: 1fr; gap: 10px; }
	.form__row { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.dash__rows li { padding: 10px 6px; gap: 12px; }
	.hero__actions .btn { flex: 1 1 100%; }
}
