/* ==========================================================================
   Pro Electric — feuille de styles
   ========================================================================== */
:root {
  --brand: #38aee2;
  --brand-600: #1c8fc6;
  --brand-700: #0b6fa4;
  --navy: #0a1f36;
  --navy-800: #0e2a47;
  --navy-700: #15395e;
  --fire: #f0642d;
  --ink: #15212e;
  --muted: #5a6a7b;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 31, 54, .06);
  --shadow: 0 18px 40px -18px rgba(10, 31, 54, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 1.02rem; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: "Sora", "DM Sans", sans-serif; line-height: 1.15; color: var(--navy); margin: 0 0 .55em; letter-spacing: -.03em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--brand-700); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow.light { color: var(--brand); }
.muted { color: var(--muted); }
.accent { color: var(--brand); }

/* Buttons */
.btn { --b: var(--brand); display: inline-flex; align-items: center; gap: 10px; background: var(--b); color: #fff; text-decoration: none; font: inherit; font-weight: 600; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; box-shadow: 0 10px 24px -10px rgba(56, 174, 226, .8); }
.btn:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(56, 174, 226, .9); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { background: var(--bg-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-sm { padding: 11px 20px; font-size: .93rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--brand-700); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .3s, box-shadow .3s, height .3s; }
.site-header.solid, .site-header.is-scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 31, 54, .25); }
.solid .brand, .is-scrolled .brand { color: var(--navy); }
.solid .nav a, .is-scrolled .nav a { color: var(--ink); }
.solid .nav a:hover, .is-scrolled .nav a:hover { background: var(--bg-soft); color: var(--brand-700); }
.solid .nav-toggle, .is-scrolled .nav-toggle { background: var(--bg-soft); }
.solid .nav-toggle span, .is-scrolled .nav-toggle span { background: var(--navy); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand small { display: block; font-family: "DM Sans", sans-serif; font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 10px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); transform: translateX(-50%); }
.nav .btn { margin-left: 10px; color: #fff; }
.nav .btn::after { display: none; }
.nav .btn:hover { background: var(--brand-600); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12); cursor: pointer; place-items: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(10, 31, 54, .96) 0%, rgba(10, 31, 54, .82) 42%, rgba(10, 31, 54, .35) 100%),
  linear-gradient(0deg, rgba(10, 31, 54, .9) 0%, transparent 45%); }
.hero-inner { padding: calc(var(--header-h) + 80px) 0 70px; }
.hero-content { max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c9dbea; max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); backdrop-filter: blur(8px); font-size: .86rem; color: #dbe9f4; margin-bottom: 1.6rem; }
.badge b { background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .78rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 6px 24px 6px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat strong { display: block; font-family: "Sora", sans-serif; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat > span { display: block; margin-top: 8px; font-size: .9rem; color: #9fbad1; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); padding: calc(var(--header-h) + 90px) 0 90px; overflow: hidden; isolation: isolate; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 31, 54, .95) 0%, rgba(10, 31, 54, .78) 55%, rgba(10, 31, 54, .45) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 760px; }
.page-hero p { color: #c9dbea; max-width: 640px; font-size: 1.12rem; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: #9fbad1; margin-bottom: 1.4rem; }
.crumbs a { color: #cfe2f1; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #c9dbea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #a9c1d6; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Services (photo cards) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--brand-700)); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service-media img { transform: scale(1.06); }
.service-icon { width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(56, 174, 226, .9); z-index: 1; }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service.fire .service-icon { background: var(--fire); box-shadow: 0 10px 20px -8px rgba(240, 100, 45, .9); }
.service-body { padding: 30px 30px 34px; flex: 1; }
.service-body > p { color: var(--muted); }
.ticks { list-style: none; padding: 18px 0 0; margin: 4px 0 0; display: grid; gap: 12px; font-size: .96rem; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(56, 174, 226, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6fa4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }

/* About split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-stack { position: relative; padding: 0 0 48px 48px; }
.media-stack .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--navy-700); }
.media-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .float { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--brand-700); }
.media-stack .float img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .chip { position: absolute; right: -14px; top: 28px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.chip strong { font-family: "Sora", sans-serif; font-size: 2rem; line-height: 1; color: var(--brand-700); }
.chip span { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 32px 0 36px; }
.feature { display: flex; gap: 14px; }
.feature .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(56, 174, 226, .12); display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-700); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature strong { display: block; color: var(--navy); margin-bottom: 2px; }
.feature span { font-size: .93rem; color: var(--muted); line-height: 1.5; }

/* Featured projects (home) */
.featured { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.feat { position: relative; display: flex; align-items: flex-end; min-height: 300px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy-700); }
.feat:first-child { grid-row: span 2; min-height: 560px; }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.feat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 31, 54, .95) 0%, rgba(10, 31, 54, .4) 55%, rgba(10, 31, 54, .1) 100%); }
.feat:hover img { transform: scale(1.05); }
.feat-body { padding: 30px; }
.feat h3 { color: #fff; font-size: 1.45rem; margin-bottom: .35em; }
.feat p { color: #c9dbea; margin: 0; font-size: .97rem; }
.pill { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(56, 174, 226, .22); color: #bfe6f8; backdrop-filter: blur(6px); margin-bottom: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .88rem; color: #dbe9f4; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); counter-increment: step; transition: background .3s, transform .3s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.step::before { content: "0" counter(step); display: block; font-family: "Sora", sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand); margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; }
.step p { margin: 0; font-size: .95rem; color: #a9c1d6; }

/* Logos marquee */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.logo-tile { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); white-space: nowrap; font-weight: 700; color: var(--navy); font-family: "Sora", sans-serif; }
.mono { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-700)); letter-spacing: .02em; }

/* CTA band */
.cta { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(44px, 6vw, 80px); color: #fff; isolation: isolate; background: var(--navy-800); }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10, 31, 54, .96) 30%, rgba(11, 111, 164, .72) 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #c9dbea; margin: 0; max-width: 540px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Réalisations ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(64px, 8vw, 100px); }
.cat { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--navy-700); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 31, 54, .95), rgba(10, 31, 54, .15) 70%); }
.cat-body { padding: 28px; }
.cat h3 { color: #fff; margin-bottom: .2em; }
.cat p { margin: 0; color: #c9dbea; font-size: .95rem; }
.cat strong { font-family: "Sora", sans-serif; font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 10px; color: var(--brand); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { font: inherit; font-weight: 600; font-size: .93rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--brand); color: var(--brand-700); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter .n { opacity: .55; font-weight: 500; margin-left: 4px; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.project { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, opacity .3s; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.project.is-hidden { display: none; }
.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.project-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(56, 174, 226, .12); }
.project-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #e8f6ee; color: #1d7a46; }
.status.live { background: #fff1e9; color: #c2481a; }
.project h3 { font-size: 1.08rem; margin-bottom: .35em; }
.project .loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.project .loc svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.kpis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.kpi { font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--bg-soft); color: var(--navy-700); }
.owner { font-size: .86rem; color: var(--muted); margin: 0 0 14px; }
.owner b { color: var(--ink); font-weight: 600; }

/* ---------- Partenaires ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner .mono { width: 54px; height: 54px; border-radius: 14px; font-size: 1rem; }
.partner h3 { font-size: 1.05rem; margin: 0; }
.partner p { margin: 0; font-size: .9rem; color: var(--muted); }
.partner .count { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--brand-700); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.trust-item .ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(56, 174, 226, .16); display: grid; place-items: center; margin-bottom: 20px; }
.trust-item .ic svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item p { margin: 0; color: #a9c1d6; font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-cards { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
a.info:hover { border-color: var(--brand); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.info .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; background: rgba(56, 174, 226, .12); display: grid; place-items: center; }
.info .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.info span { font-weight: 600; color: var(--navy); }
.info.wa .ic { background: rgba(37, 211, 102, .14); }
.info.wa .ic svg { stroke: #1a9e4b; }
.map { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 11; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 24px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.7rem; }
.form { display: grid; gap: 18px; margin-top: 24px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.split > *, .contact-grid > *, .row > * { min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(56, 174, 226, .15); }
.field textarea { resize: vertical; min-height: 140px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input, .field .choice input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .92rem; font-weight: 500; cursor: pointer; transition: all .2s; user-select: none; }
.choice span:hover { border-color: var(--brand); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot p { margin: 0; font-size: .84rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.thanks { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 16px 80px; }
.thanks .ok { width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%; background: rgba(56, 174, 226, .14); display: grid; place-items: center; }
.thanks .ok svg { width: 40px; height: 40px; fill: none; stroke: var(--brand-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.site-footer { background: #061527; color: #8ea7be; padding: 80px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #b5c9da; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--brand); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .82rem; color: #6c869d; }

/* WhatsApp floating */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .8); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee-track { animation: marquee 60s linear infinite !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services, .cats { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 16px 22px; background: #fff; box-shadow: 0 20px 40px -20px rgba(10, 31, 54, .35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { color: var(--ink) !important; padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--brand-700) !important; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 10px 0 0; justify-content: center; color: #fff !important; }
  .menu-open .site-header { background: #fff; }
  .menu-open .brand { color: var(--navy); }
  .menu-open .nav-toggle { background: var(--bg-soft); }
  .menu-open .nav-toggle span { background: var(--navy); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .featured { grid-template-columns: 1fr; }
  .feat:first-child { grid-row: auto; min-height: 380px; }
  .trust { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .services, .cats, .projects, .process, .feature-list, .row { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr 1fr; gap: 14px; }
  .partner { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: calc(var(--header-h) + 56px); padding-bottom: 48px; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .media-stack { padding: 0 0 36px 28px; }
  .media-stack .chip { right: 0; }
  .brand small { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ==========================================================================
   Refonte « haut de gamme » (d'après la maquette validée)
   ========================================================================== */
:root { --grid: linear-gradient(rgba(56, 174, 226, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 174, 226, .08) 1px, transparent 1px); --grid-size: 56px 56px; }
.blueprint, .site-footer { background-image: var(--grid); background-size: var(--grid-size); }
.hero::after, .page-hero::after, .cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid); background-size: var(--grid-size); pointer-events: none; -webkit-mask-image: linear-gradient(100deg, #000 10%, transparent 80%); mask-image: linear-gradient(100deg, #000 10%, transparent 80%); }
.section-dark { background-color: var(--navy); }
.section-tint { background-color: #eef5fb; }
.site-footer { background-color: #061527; }
.eyebrow { font-family: "Sora", sans-serif; font-weight: 600; letter-spacing: .18em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }

/* Boutons */
.btn-wa { background: #25d366; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #1fb855; box-shadow: 0 14px 28px -10px rgba(37, 211, 102, .9); }
.btn-wa svg { fill: #fff; stroke: none !important; width: 20px; height: 20px; }
.btn-wa:hover svg { transform: none; }
.btn-dark { background: var(--navy); box-shadow: 0 10px 24px -12px rgba(10, 31, 54, .6); }
.btn-dark:hover { background: var(--navy-700); box-shadow: 0 14px 28px -12px rgba(10, 31, 54, .6); }
.btn-outline svg { fill: none; stroke: currentColor; }
.link-arrow.light { color: #fff; }
.link-arrow.light:hover { color: var(--brand); }

/* En-tête : téléphone, devis, lien actif souligné */
.nav-tel { display: inline-flex !important; align-items: center; gap: 8px; margin-left: 18px; font-weight: 600 !important; }
.nav-tel svg { width: 17px; height: 17px; fill: none; stroke: var(--brand); stroke-width: 2; }
.nav a:not(.btn):not(.nav-tel):hover { background: none; }
.nav a[aria-current="page"] { color: var(--brand) !important; }
.nav a[aria-current="page"]::after { left: 14px; right: 14px; bottom: 0; width: auto; height: 2px; border-radius: 2px; transform: none; }
.nav .btn svg { width: 16px; height: 16px; }
@media (max-width: 1140px) and (min-width: 881px) { .nav-tel span { display: none; } .nav a { padding: 10px 11px; } .nav-tel { margin-left: 4px; } }

/* Hero + carte de chiffres */
.hero { min-height: min(94vh, 860px); align-items: center; }
.hero-inner { padding: calc(var(--header-h) + 60px) 0 150px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 11.5ch; line-height: 1.04; }
.hero h1 .accent { background: linear-gradient(90deg, var(--brand), #2b8fd6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { align-items: center; gap: 14px 18px; }
.hero-actions .link-arrow { margin-left: 10px; font-size: .95rem; }
.stats-wrap { position: relative; z-index: 3; margin-top: -96px; }
.stats-card { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(10, 31, 54, .45), 0 0 0 1px var(--line); overflow: hidden; }
.stats-card::before { content: ""; position: absolute; left: 38px; top: 0; width: 64px; height: 4px; border-radius: 0 0 4px 4px; background: var(--brand); }
.stats-card .stat { padding: 40px 38px 36px; }
.stats-card .stat + .stat { border-left: 1px solid var(--line); padding-left: 38px; }
.stats-card .stat strong { color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; }
.stats-card .stat > span { color: var(--muted); font-size: .98rem; margin-top: 10px; }

/* Cartes expertises */
.services { gap: 26px; }
.service { border-radius: 24px; box-shadow: 0 20px 40px -30px rgba(10, 31, 54, .35); }
.service-media { aspect-ratio: 4 / 3.1; }
.service-icon { position: absolute; left: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 10px 20px -8px rgba(10, 31, 54, .5); }
.service-icon svg { width: 22px; height: 22px; }
.service.fire .service-icon { box-shadow: 0 10px 20px -8px rgba(10, 31, 54, .5); }
.service-num { position: absolute; right: 22px; top: 18px; font-family: "Sora", sans-serif; font-weight: 600; font-size: .85rem; color: rgba(255, 255, 255, .85); letter-spacing: .06em; }
.service-body { padding: 34px 34px 36px; }
.service-body h3 { font-size: 1.6rem; margin-bottom: .6em; }
.ticks { padding-top: 22px; margin-top: 8px; gap: 14px; }
.ticks li::before { width: 16px; height: 16px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6fa4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Qui sommes-nous */
.section-tint .media-stack .float { border-color: #eef5fb; }
.media-stack .chip { flex-direction: column; align-items: flex-start; gap: 4px; background: var(--navy); border-radius: 20px; padding: 18px 22px; right: -10px; top: 32px; }
.media-stack .chip strong { color: var(--brand); font-size: 2.4rem; font-weight: 600; }
.media-stack .chip span { color: #b9cde0; font-size: .8rem; }
.feature-list { gap: 16px; }
.feature { flex-direction: column; gap: 12px; padding: 24px; background: #fff; border-radius: 20px; box-shadow: 0 16px 32px -26px rgba(10, 31, 54, .4); border: 1px solid #e3edf5; }
.feature .ic { width: auto; height: auto; background: none; place-items: start; }
.feature strong { font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.05rem; }

/* Réalisations (fond bleu nuit) */
.section-dark .section-head p { color: #a9c1d6; }
.feat { border-radius: 24px; }
.feat-go { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); transition: background .25s; }
.feat-go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.feat:hover .feat-go { background: var(--brand); }
.feat .pill { position: absolute; top: 24px; left: 24px; background: rgba(10, 31, 54, .55); color: #fff; text-transform: none; letter-spacing: 0; font-size: .8rem; }
.feat h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.facts span { padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); font-size: .8rem; }
.facts span::before { display: none; }

/* Méthode : étapes reliées */
.process { position: relative; }
.process::before { content: ""; position: absolute; left: 28px; right: calc(25% - 40px); top: 28px; height: 1px; background: var(--line); }
.step { padding: 0; background: none; box-shadow: none; }
.step:hover { background: none; transform: none; }
.step::before { display: none; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 30px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 20px -14px rgba(10, 31, 54, .4); font-family: "Sora", sans-serif; font-weight: 600; color: var(--brand-700); }
.step h3 { font-size: 1.3rem; color: var(--navy); }
.step p { color: var(--muted); font-size: 1rem; }

/* Partenaires : bandeau défilant */
.section-line { border-top: 1px solid var(--line); }
.marquee { padding: 6px 0; }
.logo-tile { gap: 14px; padding: 14px 26px 14px 14px; border-radius: 18px; box-shadow: 0 10px 24px -20px rgba(10, 31, 54, .5); }
.logo-tile .mono { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--brand); font-size: .82rem; }
.lt { display: flex; flex-direction: column; line-height: 1.25; }
.lt strong { font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.lt small { font-family: "DM Sans", sans-serif; font-weight: 500; font-size: .8rem; color: var(--muted); }

/* Page partenaires : nombre de projets */
.partner .count { display: flex; align-items: baseline; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.partner .count strong { font-family: "Sora", sans-serif; font-size: 2rem; line-height: 1; color: var(--brand-700); font-weight: 600; }

/* Réalisations : chiffre clé */
.headline { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.headline strong { font-family: "Sora", sans-serif; font-size: 2.1rem; font-weight: 600; line-height: 1; color: var(--navy); }
.headline span { color: var(--muted); font-weight: 500; }
.headline + .kpis { margin-top: 12px; padding-top: 0; border-top: 0; }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }

/* Bandeau devis */
.cta { border-radius: 32px; padding: clamp(40px, 6vw, 90px) clamp(28px, 5vw, 56px); box-shadow: 0 30px 60px -30px rgba(10, 31, 54, .6); }
.cta::before { background: linear-gradient(100deg, rgba(10, 31, 54, .97) 35%, rgba(10, 31, 54, .7) 100%); }
.cta .eyebrow { color: var(--brand); }
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.cta-inner { align-items: center; }
.cta-inner > div:first-child { flex: 1 1 420px; }
.cta-stack { flex: 0 1 470px; display: grid; gap: 14px; }
.cta-stack .btn { justify-content: center; }
.cta-tel { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #dbe9f4; text-decoration: none; font-size: .95rem; margin-top: 4px; }
.cta-tel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.cta-tel:hover { color: #fff; }

/* Pied de page */
.site-footer h4 { font-family: "Sora", sans-serif; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--brand); }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 12px; }
.contact-list svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 1.8; }
.contact-list .wa svg { fill: #25d366; stroke: none; }

/* Formulaire de devis */
.label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field textarea { min-height: 96px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn svg { width: 20px; height: 20px; }
.form-note { margin: 0; font-size: .86rem; color: var(--muted); }
.form-note.ok { padding: 14px 16px; border-radius: 12px; background: #e8f6ee; color: #1d7a46; font-weight: 600; }

/* WhatsApp : pastille (ordinateur) et barre fixe (mobile) */
.fab { width: auto; height: auto; gap: 12px; display: inline-flex; align-items: center; padding: 10px 22px 10px 10px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.fab svg { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.fab:hover { transform: translateY(-2px); }
.scrolled-far .fab { opacity: 1; visibility: visible; transform: none; }
.mobile-bar { display: none; }

@media (max-width: 1080px) {
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stats-card .stat:nth-child(3) { border-left: 0; padding-left: 38px; }
  .stats-card .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .process::before { display: none; }
}
@media (max-width: 880px) {
  .nav-tel { margin: 6px 0 0; padding: 14px 12px !important; color: var(--ink) !important; }
  .nav a[aria-current="page"]::after { display: none; }
  .fab { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -20px rgba(10, 31, 54, .5); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; background: var(--bg-soft); }
  .mobile-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
  .mobile-bar .wa { background: #25d366; color: #fff; }
  .mobile-bar .wa svg { fill: #fff; stroke: none; }
  .mobile-bar .primary { background: var(--brand); color: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .hero { min-height: 0; }
  .hero-inner { padding: calc(var(--header-h) + 64px) 0 130px; }
  .stats-wrap { margin-top: -80px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero-actions .btn { width: auto; flex: 1 1 auto; justify-content: center; }
  .hero-actions .link-arrow { width: 100%; justify-content: center; margin: 4px 0 0; }
  .stats-card { border-radius: 22px; }
  .stats-card .stat { padding: 26px 20px 22px; }
  .stats-card .stat + .stat { padding-left: 20px; }
  .stats-card .stat:nth-child(3) { padding-left: 20px; }
  .stats-card::before { left: 20px; }
  .service-body { padding: 26px 24px 30px; }
  .service-body h3 { font-size: 1.4rem; }
  .feature-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature { padding: 18px; }
  .media-stack .chip { right: 0; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .cta { border-radius: 24px; }
  .cta-stack { flex-basis: 100%; }
  .cta-stack .btn { width: 100%; }
  .logo-tile { padding: 10px 20px 10px 10px; }
}

/* ---------- Page Contact (maquette) ---------- */
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.page-hero-tall { padding-bottom: 150px; }
.info-row { position: relative; z-index: 3; margin-top: -84px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 24px 48px -30px rgba(10, 31, 54, .5), 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; min-width: 0; }
.info-card:hover { transform: translateY(-4px); }
.info-card .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(56, 174, 226, .14); margin-bottom: 26px; }
.info-card .ic svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-card.wa .ic { background: #25d366; }
.info-card.wa .ic svg { fill: #fff; stroke: none; }
.info-card .go { position: absolute; top: 24px; right: 24px; }
.info-card .go svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.info-card small { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-card strong { margin-top: 4px; font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem; color: var(--navy); overflow-wrap: anywhere; }
.contact-section { padding-top: 56px; }
.contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
.form-card { border-radius: 32px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(10, 31, 54, .5); }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { border-radius: 16px; }
.form-foot { align-items: flex-start; }
.secure { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px !important; }
.secure svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.send { display: grid; justify-items: end; gap: 10px; }
.send small { font-size: .78rem; color: var(--muted); }
.send .btn svg { width: 18px; height: 18px; }
.contact-side { display: grid; gap: 22px; align-content: start; }
.quick { padding: 32px; border-radius: 28px; background-color: #061527; background-image: var(--grid); background-size: var(--grid-size); color: #a9c1d6; display: grid; gap: 14px; }
.quick .eyebrow { color: var(--brand); margin-bottom: .3rem; }
.quick h3 { color: #fff; font-size: 1.55rem; margin: 0; }
.quick p { margin: 0 0 10px; }
.quick .btn { justify-content: center; }
.btn-line { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.btn-line:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn-line svg { fill: none; stroke: #fff; stroke-width: 2; }
.contact-side .map { margin: 0; border-radius: 28px; aspect-ratio: 4 / 4.2; }
@media (max-width: 1080px) { .info-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } .page-hero-tall { padding-bottom: 130px; } }
@media (max-width: 620px) {
  .info-row { gap: 12px; margin-top: -90px; }
  .info-card { padding: 18px; border-radius: 20px; }
  .info-card .ic { margin-bottom: 16px; }
  .info-card strong { font-size: .88rem; }
  .info-card .go { top: 18px; right: 18px; }
  .send { width: 100%; justify-items: stretch; text-align: center; }
  .send .btn { justify-content: center; }
  .contact-side .map { aspect-ratio: 1; }
}
.contact-section .form-foot { flex-wrap: nowrap; }
.contact-section .secure { flex: 1 1 auto; min-width: 0; align-self: center; margin-top: 0 !important; }
.contact-section .send { flex: none; }
@media (max-width: 620px) { .contact-section .form-foot { flex-wrap: wrap; } }

/* Page Partenaires (d'après la maquette) */
.partners { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner { gap: 0; padding: 30px 26px 26px; border-radius: 26px; border-color: #e3edf5; box-shadow: 0 18px 36px -30px rgba(10, 31, 54, .45); }
.partner .mono { width: 58px; height: 58px; border-radius: 16px; background: var(--navy); color: var(--brand); font-size: 1.05rem; font-weight: 700; margin-bottom: 24px; }
.partner h3 { font-size: 1.2rem; margin-bottom: 8px; }
.partner .p-cat { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); line-height: 1.5; margin-bottom: 14px; }
.partner .where { font-size: .92rem; margin-bottom: 22px; }
.partner .count { margin-top: auto; justify-content: space-between; align-items: center; padding-top: 22px; }
.partner .count strong { font-family: "DM Sans", sans-serif; font-size: .95rem; font-weight: 700; color: var(--navy); }
.partner .count span { font-size: .78rem; color: var(--muted); }
.partner .bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.partner .bars i { height: 5px; border-radius: 4px; background: #e3eef6; }
.partner .bars i.on { background: var(--brand); }
.media-stack.alt { padding: 0 0 56px; }
.media-stack.alt .main { aspect-ratio: 4 / 3.6; border-radius: 28px; }
.media-stack.alt .float { left: auto; right: -24px; width: 40%; border-radius: 22px; }
.media-stack.alt .chip { right: auto; left: 20px; top: 20px; }
@media (max-width: 900px) {
  .partners { grid-template-columns: 1fr 1fr; }
  .media-stack.alt .float { right: 0; }
}
@media (max-width: 560px) {
  .partners { grid-template-columns: 1fr; }
}
.trust-item .ic { border-radius: 50%; }
.section-dark .section-head h2 { max-width: 14ch; }

/* Page Réalisations (d'après la maquette) */
.cats-lift { position: relative; z-index: 3; margin-top: -150px; }
.cats-lift .cat { min-height: 0; display: block; background: #fff; color: var(--ink); border-radius: 26px; box-shadow: 0 30px 50px -34px rgba(10, 31, 54, .5); border: 1px solid #e3edf5; }
.cats-lift .cat::before { display: none; }
.cats-lift .cat img { position: relative; inset: auto; z-index: 0; height: 220px; display: block; }
.cats-lift .cat-num { position: absolute; left: 0; right: 0; top: 0; height: 220px; display: flex; align-items: flex-end; padding: 0 28px 18px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 3rem; line-height: 1; color: #fff; background: linear-gradient(0deg, rgba(10, 31, 54, .75), transparent 60%); }
.cats-lift .cat-body { padding: 26px 28px 30px; }
.cats-lift .cat h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .5em; }
.cats-lift .cat p { color: var(--muted); }
.head-row.stack { display: block; }
.head-row.stack .filters { margin-top: 28px; }
.filter { padding: 11px 18px; }
.filter .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: #e6f0f7; color: var(--navy-700); opacity: 1; font-size: .74rem; font-weight: 600; }
.filter[aria-pressed="true"] .n { background: var(--brand); color: var(--navy); }
.projects { gap: 18px; }
.project { padding: 26px 26px 24px; border-radius: 26px; border-color: #e3edf5; box-shadow: 0 18px 36px -30px rgba(10, 31, 54, .45); }
.project-top { margin-bottom: 20px; gap: 12px; }
.status { text-transform: none; letter-spacing: 0; font-size: .76rem; padding: 4px 11px; background: #def5e8; color: #17834a; }
.status.live { background: #fdece4; color: #d0541f; }
.p-type { font-size: .78rem; color: var(--muted); text-align: right; }
.project h3 { font-size: 1.2rem; margin-bottom: .55em; }
.project .loc { margin-bottom: 8px; }
.project .loc svg, .owner svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--brand-700); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.owner { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 24px; }
.owner b { color: var(--navy); font-weight: 700; }
.kpis { gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.kpi { font-size: .76rem; padding: 5px 11px; border-radius: 999px; background: #e6f0f7; color: var(--navy); }
.proj-count { margin: 28px 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .cats-lift { margin-top: -120px; } }
@media (max-width: 640px) {
  .cats-lift { margin-top: -110px; }
  .cats-lift .cat img, .cats-lift .cat-num { height: 180px; }
}

[data-count] { display: inline-block; font-variant-numeric: tabular-nums; }

/* Photo facultative d'un projet (ajoutée depuis /admin/) */
.project-photo { margin: -26px -26px 20px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 26px 26px 0 0; background: #e6f0f7; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
