/* SI3E — feuille de style du site vitrine */
:root {
  --navy: #0a2540;
  --navy-2: #0f3359;
  --blue: #005fa3;
  --blue-2: #0a74c2;
  --cyan: #17a2c8;
  --green: #2e9b5f;
  --amber: #e8a200;
  --ink: #12263a;
  --muted: #5a6b7d;
  --line: #dde5ee;
  --bg: #ffffff;
  --bg-2: #f3f7fb;
  --bg-3: #e8f1f8;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 6px 20px rgba(10, 37, 64, .07);
  --max: 1200px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Barre utilitaire ---------- */
.topbar { background: var(--navy); color: #c9d8e8; font-size: .82rem; }
.topbar .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: #e6eef7; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 5px; }
@media (max-width: 760px) { .topbar .tb-left { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none !important; flex-shrink: 0; }
.brand svg { width: 42px; height: 42px; }
.brand-name { font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; line-height: 1; }
.brand-sub { display: block; font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--bg-2); color: var(--blue); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 8px 8px 0 0; }
.nav-link svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s; }
.nav-link, .btn { white-space: nowrap; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(760px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 50px rgba(10, 37, 64, .18); padding: 20px;
  display: none; grid-template-columns: repeat(2, 1fr); gap: 6px;
}
.mega.open { display: grid; }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.mega a:hover { background: var(--bg-2); }
.mega .mi { flex-shrink: 0; width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-3); color: var(--blue); }
.mega .mi svg { width: 22px; height: 22px; }
.mega strong { display: block; font-size: .95rem; color: var(--navy); }
.mega span { display: block; font-size: .83rem; color: var(--muted); line-height: 1.4; }
.mega .mega-foot strong, .mega .mega-foot span { display: inline; font-size: inherit; color: var(--ink); }
.mega .mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 650; font-size: .97rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit; text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--amber); color: var(--navy); }
.btn-accent:hover { background: #ffb81c; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 1140px) {
  .menu-btn { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 100vw); background: #fff; z-index: 60;
    flex-direction: column; align-items: stretch; padding: 76px 16px 24px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: -12px 0 40px rgba(10, 37, 64, .2);
  }
  .nav.open { transform: none; visibility: visible; transition: transform .25s ease; }
  .nav > ul { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); border-radius: 0 8px 8px 0; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; grid-template-columns: 1fr; }
  .mega .mega-foot { display: none; }
  .nav .btn { margin-top: 14px; }
  .nav-close { position: absolute; top: 16px; right: 16px; }
  .scrim { position: fixed; inset: 0; background: rgba(10, 37, 64, .45); z-index: 55; display: none; }
  .scrim.open { display: block; }
}
@media (min-width: 1141px) { .nav-close, .scrim { display: none !important; } }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% 10%, rgba(23, 162, 200, .35), transparent 60%),
              linear-gradient(135deg, #06203a 0%, #0a3a66 55%, #0b5a8c 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #d3e3f2; max-width: 36em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.hero .eyebrow { color: #7fd6ef; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber)); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .25)); }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-badges span { font-size: .82rem; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #e6f0fa; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-art { max-width: 520px; }
}

.page-hero { background: linear-gradient(135deg, #06203a, #0a3a66 60%, #0b5a8c); color: #fff; }
.page-hero .wrap { padding-top: 54px; padding-bottom: 54px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { color: #d3e3f2; max-width: 46em; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .85rem; color: #a9c3dc; margin-bottom: 12px; }
.crumbs a { color: #d3e3f2; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-2); }
.section.tight { padding: 48px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
@media (max-width: 640px) { .section { padding: 52px 0; } }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { margin: 0 0 1em; padding-left: 1.1em; color: var(--ink); font-size: .94rem; }
.card ul li { margin-bottom: .25em; }
.card .more { margin-top: auto; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .15s; }
.card:hover .more svg { transform: translateX(3px); }
a.card { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10, 37, 64, .14); border-color: #c4d4e4; }

.ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--bg-3); color: var(--blue); }
.ico svg { width: 28px; height: 28px; }
.ico.eau { background: #e2f4fa; color: #0a7fa6; }
.ico.env { background: #e3f4ea; color: var(--green); }
.ico.nrj { background: #fdf3d8; color: #a26f00; }

/* Piliers */
.pillar { position: relative; overflow: hidden; padding-top: 32px; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.pillar.eau::before { background: var(--cyan); }
.pillar.env::before { background: var(--green); }
.pillar.nrj::before { background: var(--amber); }

/* Bandeau d'atouts */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip-item { display: flex; gap: 14px; align-items: center; padding: 24px 18px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item svg { width: 34px; height: 34px; color: var(--blue); flex-shrink: 0; }
.strip-item strong { display: block; color: var(--navy); font-size: .97rem; line-height: 1.3; }
.strip-item span { font-size: .84rem; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 960px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } .strip-item:nth-child(2) { border-right: 0; } .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .strip .wrap { grid-template-columns: 1fr; } .strip-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 4px; } .strip-item:last-child { border-bottom: 0; } }

/* Tuiles produits */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none !important; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10, 37, 64, .14); }
.tile-art { aspect-ratio: 16 / 8; display: grid; place-items: center; color: #fff; }
.tile-art svg { width: 64px; height: 64px; opacity: .95; }
.tile-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tile-body h3 { margin-bottom: .3em; }
.tile-body p { color: var(--muted); font-size: .93rem; margin-bottom: .8em; }
.tile-body .more { margin-top: auto; font-weight: 650; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.tile-body .more svg { width: 16px; height: 16px; }
.t1 { background: linear-gradient(135deg, #0a7fa6, #17a2c8); }
.t2 { background: linear-gradient(135deg, #0a3a66, #005fa3); }
.t3 { background: linear-gradient(135deg, #0b5a8c, #2aa7a1); }
.t4 { background: linear-gradient(135deg, #3b6a99, #6fa6d6); }
.t5 { background: linear-gradient(135deg, #0a2540, #2e5a87); }
.t6 { background: linear-gradient(135deg, #2e7d55, #2e9b5f); }
.t7 { background: linear-gradient(135deg, #b07a00, #e8a200); }

/* Chaîne de valeur */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.flow-step { text-align: center; padding: 0 10px; position: relative; }
.flow-step::after { content: ""; position: absolute; top: 34px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 2px; background: repeating-linear-gradient(90deg, #9bbbd8 0 6px, transparent 6px 12px); }
.flow-step:last-child::after { display: none; }
.flow-dot { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue); color: var(--blue); position: relative; }
.flow-dot svg { width: 30px; height: 30px; }
.flow-dot::after { counter-increment: step; content: counter(step); position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: var(--navy); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.flow-step strong { display: block; color: var(--navy); margin-bottom: 4px; }
.flow-step span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-step { display: grid; grid-template-columns: 68px 1fr; gap: 16px; text-align: left; padding: 0 0 26px; }
  .flow-dot { margin: 0; }
  .flow-step::after { top: 72px; bottom: 0; left: 33px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #9bbbd8 0 6px, transparent 6px 12px); }
}

/* Marques */
.brand-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.brand-mark { width: 120px; height: 120px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.12rem; color: #fff; text-align: center; line-height: 1.15; padding: 10px; overflow-wrap: anywhere; }
.bm-ott { background: linear-gradient(135deg, #004b87, #0077c8); }
.bm-insitu { background: linear-gradient(135deg, #00507a, #0093b8); }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: #fdf3d8; color: #8a5d00; margin-bottom: 10px; }
.badge.blue { background: var(--bg-3); color: var(--blue); }
@media (max-width: 560px) { .brand-card { grid-template-columns: 1fr; } .brand-mark { width: 88px; height: 88px; font-size: 1.05rem; } }

/* Références */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.client svg { width: 34px; height: 34px; color: var(--blue); }
.client strong { color: var(--navy); font-size: .98rem; line-height: 1.25; }
.client span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 960px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* Applications */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app { display: flex; gap: 12px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; font-weight: 600; font-size: .95rem; transition: border-color .15s, background .15s; }
.app:hover { border-color: var(--blue); background: #f7fbff; }
.app svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }
@media (max-width: 960px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .apps { grid-template-columns: 1fr; } }

/* Bandeau d'appel */
.cta { background: linear-gradient(120deg, var(--navy) 0%, #0b4a7d 100%); color: #fff; border-radius: 16px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 162, 200, .35), transparent 70%); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #cfe0f0; margin: 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 30px 22px; } }

/* Détail (pages intérieures) */
.detail { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--bg-2); border-radius: var(--radius); padding: 18px; font-size: .93rem; }
.toc strong { display: block; color: var(--navy); margin-bottom: 8px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); }
.toc a:hover { background: #fff; text-decoration: none; color: var(--blue); }
.block { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.block:last-child { border-bottom: 0; margin-bottom: 0; }
.block-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.block-head .ico { margin: 0; }
.block-head h2 { margin: 0; }
.block > p { color: var(--muted); font-size: 1.03rem; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }

.family { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; }
.family h4 { margin: 0 0 6px; font-size: 1rem; color: var(--navy); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.family h4 em { font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); background: var(--bg-3); padding: 3px 8px; border-radius: 99px; }
.family p { color: var(--muted); font-size: .92rem; margin-bottom: .6em; }
.family ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.family .quote { margin-top: 12px; font-size: .9rem; font-weight: 650; display: inline-flex; gap: 6px; align-items: center; }
.family .quote svg { width: 15px; height: 15px; }

.params { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; padding: 0; list-style: none; }
.params li { font-size: .82rem; padding: 5px 11px; border-radius: 99px; background: var(--bg-3); color: var(--navy-2); font-weight: 600; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005fa3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

.note { background: #fffaf0; border: 1px solid #f3dfae; border-left: 4px solid var(--amber); border-radius: 8px; padding: 14px 18px; font-size: .93rem; color: #5b4a1f; }

/* Chiffres / faits */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fact strong { display: block; color: var(--blue); font-size: 1.3rem; line-height: 1.2; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Formulaire */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #c8d5e2; border-radius: 8px; padding: 11px 13px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 95, 163, .15); }
.form-msg { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.contact-card { background: var(--bg-2); border-radius: var(--radius); padding: 26px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-line strong { display: block; color: var(--navy); font-size: .9rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0 0 24px; }
.legal dt { font-weight: 650; color: var(--navy); }
.legal dd { margin: 0; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* ---------- Pied de page ---------- */
.footer { background: #071b30; color: #b5c6d8; font-size: .92rem; margin-top: 0; }
.footer .wrap { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #dbe6f1; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-sub { color: #93a9c0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--cyan); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding: 18px 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #8ea3b9; }
.tricolor { height: 4px; background: linear-gradient(90deg, var(--cyan) 0 33.3%, var(--green) 33.3% 66.6%, var(--amber) 66.6%); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Installation PWA */
.install { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 420px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(10, 37, 64, .22); padding: 16px; display: none; gap: 14px; align-items: center; }
.install.show { display: flex; }
.install img { width: 44px; height: 44px; border-radius: 10px; }
.install p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.install p strong { color: var(--navy); display: block; }
.install .x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 4px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media print {
  .topbar, .header, .footer, .install, .cta, .toc { display: none !important; }
  .page-hero, .hero { background: none !important; color: #000; }
  .page-hero h1, .page-hero p, .hero h1 { color: #000; }
}
