/* ==========================================================================
   Brillant ISOL — Isolation · Façade · Peinture
   Couleurs issues du logo : bleu #0B5FA2 et vert #679E51
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #0b5fa2;
  --blue-600: #094f88;
  --blue-800: #083a64;
  --blue-50: #eaf3fb;
  --navy: #071e33;
  --navy-2: #0c2a45;
  --green: #679e51;
  --green-600: #4b8236;
  --green-700: #3e6e2c;
  --green-50: #f0f6ed;
  --ink: #10202f;
  --text: #415060;
  --muted: #677889;
  --line: #e1e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px -4px rgba(7, 30, 51, 0.14);
  --shadow: 0 24px 50px -28px rgba(7, 30, 51, 0.38);
  --shadow-lg: 0 40px 80px -40px rgba(7, 30, 51, 0.55);
  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-800); }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; }

h1 em, h2 em, h3 em, .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--green-600);
  font-size: 1.1em;
  line-height: 1;
  margin-inline: 0.04em;
}
em.block { display: block; margin: 0.12em 0 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--blue); color: #fff; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.75rem 1rem; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700;
}
.skip:focus { top: 1rem; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark { background: var(--navy); color: #c3d0dc; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark h2 em { color: #9fcb8b; }

.ic { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- Titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 0 0 1rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue);
}
.section--dark .eyebrow, .cta .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #a9d4f7; }
.mark { width: 40px; height: 16px; flex: none; overflow: visible; }
.mark path { fill: none; stroke-width: 5; stroke-linejoin: miter; }
.mark .m-b { stroke: var(--blue); }
.mark .m-g { stroke: var(--green); }
.section--dark .mark .m-b, .cta .mark .m-b, .hero .mark .m-b, .page-hero .mark .m-b { stroke: #5aaeea; }

.heading { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.heading--center { margin-inline: auto; text-align: center; }
.heading p:not(.eyebrow) { font-size: 1.12rem; }
.heading--row {
  max-width: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: flex-end; justify-content: space-between;
}
.heading--row h2 { margin-bottom: 0; }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink); font-weight: 500; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  border: 2px solid transparent; border-radius: 12px;
  font: inherit; font-size: 0.98rem; font-weight: 700; line-height: 1.1;
  cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn .ic { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic--arrow { transform: translateX(4px); }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 14px 26px -14px rgba(62, 110, 44, 0.9); }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 14px 26px -14px rgba(11, 95, 162, 0.9); }
.btn--blue:hover { background: var(--blue-600); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 1.1rem 1.75rem; font-size: 1.05rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--blue); }
.link-arrow .ic { transition: transform 0.25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy); color: #b9c8d6; font-size: 0.86rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 44px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; }
.topbar__info a:hover { color: #fff; }
.topbar .ic { color: var(--green); }
.social { display: flex; gap: 0.4rem; }
.social a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  color: #dbe5ee; background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.social a:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }
.social .ic { color: inherit; width: 16px; height: 16px; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 12px 30px -22px rgba(7, 30, 51, 0.45); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 54px; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__list a {
  position: relative; display: block; padding: 0.6rem 0.8rem;
  font-size: 0.95rem; font-weight: 700; color: var(--ink); border-radius: 10px;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.25rem; height: 3px;
  background: var(--green); transform: scaleX(0) skewX(-24deg); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover { color: var(--blue); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1) skewX(-24deg); }
.nav__list a[aria-current="page"] { color: var(--blue); }
.nav__cta { padding: 0.8rem 1.15rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px;
  background: var(--blue-50); color: var(--blue); cursor: pointer; place-items: center;
}
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle .ic--close { display: none; }

@media (max-width: 1120px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(7, 30, 51, 0.5);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav-toggle .ic--open { display: none; }
  .nav-open .nav-toggle .ic--close { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 0.95rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a::after { display: none; }
  .nav__cta { justify-content: center; padding: 1rem; }
}
@media (max-width: 860px) {
  .topbar__info li:first-child { display: none; }
}
@media (max-width: 560px) {
  .topbar__info li:nth-child(2) { display: none; }
  .header__in { min-height: 72px; }
  .brand img { height: 46px; }
  .nav { max-height: calc(100dvh - 72px); }
}

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  background: var(--navy);
  padding-block: clamp(4.5rem, 11vw, 9rem) clamp(9rem, 15vw, 12rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(98deg, rgba(7, 30, 51, 0.95) 0%, rgba(7, 30, 51, 0.82) 38%, rgba(8, 58, 100, 0.42) 72%, rgba(11, 95, 162, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 30, 51, 0.75) 0%, rgba(7, 30, 51, 0) 45%);
}
/* ligne de toit du logo, en filigrane */
.hero__roof { position: absolute; right: -6%; bottom: -4%; width: min(62vw, 880px); z-index: -1; opacity: 0.36; pointer-events: none; }
.hero__roof path { fill: none; stroke-width: 10; }
.hero__roof .m-b { stroke: #2f8fd8; }
.hero__roof .m-g { stroke: var(--green); }

.hero__in { max-width: 46rem; }
.hero h1 {
  color: #fff; font-size: clamp(3.2rem, 10vw, 7rem); line-height: 0.95; letter-spacing: -0.045em; margin-bottom: 0.3em;
}
.hero h1 em { font-style: normal; color: #8fc577; font-size: 1.02em; letter-spacing: -0.01em; }
.hero__lead { max-width: 34rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d7e2ec; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem; }
.hero-chips li {
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}

/* cartes métiers qui chevauchent le hero */
.services { position: relative; z-index: 2; margin-top: clamp(-7.5rem, -10vw, -5.5rem); }
.cards-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.service {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--text); }
.service__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service:hover .service__img img { transform: scale(1.07); }
.service__icon {
  position: absolute; left: 1.5rem; top: -28px; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue); color: #fff; box-shadow: 0 12px 24px -10px rgba(11, 95, 162, 0.9);
}
.service:nth-child(2) .service__icon { background: var(--green-600); box-shadow: 0 12px 24px -10px rgba(62, 110, 44, 0.9); }
.service__icon .ic { width: 26px; height: 26px; }
.service__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 2.75rem 1.5rem 1.6rem; }
.service__body h3 { margin-bottom: 0.4rem; }
.service__body p { font-size: 0.98rem; margin-bottom: 1.25rem; }
.service__body .link-arrow { margin-top: auto; }
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service:hover::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .service { flex-direction: row; }
  .service__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 170px; }
  .service__icon { position: static; width: 44px; height: 44px; margin-bottom: 0.8rem; border-radius: 12px; }
  .service__icon .ic { width: 22px; height: 22px; }
  .service__body { padding: 1.25rem; }
}
@media (max-width: 460px) {
  .service { flex-direction: column; }
  .service__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}

/* ---------- Bloc deux colonnes ---------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split--media-narrow { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.split--top { align-items: start; }
.split--stretch { align-items: stretch; }
@media (max-width: 900px) {
  .split, .split--media-narrow { grid-template-columns: 1fr; }
  .split__media { max-width: 34rem; margin-inline: auto; width: 100%; }
  .split--flip .split__media { order: -1; }
}

/* photo encadrée avec les deux traits du logo */
.frame { position: relative; isolation: isolate; }
.frame img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.frame::before, .frame::after { content: ""; position: absolute; z-index: -1; border-radius: var(--radius); }
.frame::before { inset: 9% -4.5% -5% 22%; background: var(--blue); }
.frame::after {
  left: -5%; top: -4%; width: 44%; height: 34%;
  background-image: radial-gradient(circle, #c9d6e2 2.5px, transparent 3px); background-size: 20px 20px; border-radius: 0;
}
.frame--flip::before { inset: 9% 22% -5% -4.5%; background: var(--green-600); }
.frame--flip::after { left: auto; right: -5%; }
.frame--portrait img { aspect-ratio: 4 / 5; }
.frame--wide img { aspect-ratio: 4 / 3; }

.float-card {
  position: absolute; z-index: 2; left: -1.25rem; bottom: 1.75rem;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.25rem; max-width: 21rem;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  font-size: 0.9rem; line-height: 1.35; color: var(--text);
}
.float-card strong { display: block; font-size: 1rem; }
.float-card__ic {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--green-50); color: var(--green-600);
}
.float-card__ic .ic { width: 24px; height: 24px; }
.frame--flip .float-card { left: auto; right: -1.25rem; }
@media (max-width: 560px) {
  .float-card, .frame--flip .float-card { left: 0.75rem; right: auto; bottom: 0.75rem; }
}

/* panneaux « Services + » / « Clients » */
.duo { display: grid; gap: 1.25rem; margin-top: 2rem; }
.panel { padding: 1.6rem 1.6rem 1.75rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.panel h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem;
}
.panel--dark { background: var(--navy); border-color: var(--navy); color: #c3d0dc; background-image: linear-gradient(140deg, var(--navy) 55%, var(--blue-800)); }
.panel--dark h3 { color: #9fcb8b; }

.checks { display: grid; gap: 0.7rem; }
.checks li { position: relative; padding-left: 2rem; line-height: 1.5; font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.12em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.25rem; }
.checks--2 .wide { grid-column: 1 / -1; }
.panel--dark .checks li { color: #e6edf3; font-weight: 500; }
.panel--dark .checks li::before { background-color: var(--green); }
@media (max-width: 460px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Vidéos ---------- */
.section--dark.videos { background: radial-gradient(1200px 500px at 85% 0%, rgba(11, 95, 162, 0.45), transparent 60%), var(--navy); overflow: hidden; }
.videos__grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .videos__grid { grid-template-columns: 1fr; } }
.video-card { margin: 0; }
.video-card figcaption { margin-top: 1rem; font-weight: 700; color: #fff; font-size: 1.02rem; line-height: 1.4; }
.video-card figcaption span { display: block; font-size: 0.82rem; font-weight: 600; color: #8ea4b8; letter-spacing: 0.04em; margin-top: 0.15rem; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg); color: #fff;
}
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video img { transition: transform 0.8s var(--ease), opacity 0.4s; opacity: 0.86; }
.video:hover img { transform: scale(1.05); opacity: 0.7; }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-600); color: #fff; box-shadow: 0 0 0 0 rgba(103, 158, 81, 0.7);
  animation: pulse 2.4s infinite; transition: scale 0.3s var(--ease), background 0.3s;
}
.video__play .ic { width: 30px; height: 30px; margin-left: 4px; }
.video:hover .video__play { scale: 1.08; background: var(--green); }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(103, 158, 81, 0); } 100% { box-shadow: 0 0 0 0 rgba(103, 158, 81, 0); } }

/* ---------- Équipe / compteur ---------- */
.quote {
  margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.4rem; border-left: 4px solid var(--green);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--ink);
}
.quote cite { display: block; margin-top: 0.5rem; font-family: var(--sans); font-style: normal; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.thanks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.thanks p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; color: var(--blue); }

.counter {
  position: absolute; z-index: 2; right: -1.25rem; top: 1.75rem;
  padding: 1.1rem 1.5rem 1.2rem; border-radius: 18px; text-align: center;
  background: var(--blue); color: #d5e7f6; box-shadow: var(--shadow);
  background-image: linear-gradient(150deg, var(--blue), var(--blue-800));
}
.counter b { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.counter span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.frame--flip .counter { right: auto; left: -1.25rem; }
@media (max-width: 560px) { .counter, .frame--flip .counter { right: 0.75rem; left: auto; top: 0.75rem; } }

/* ---------- Réalisations (cartes projet) ---------- */
.projects { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }
.project {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  min-height: clamp(340px, 42vw, 480px); padding: 1.75rem; border-radius: var(--radius);
  color: #fff; background: var(--navy); box-shadow: var(--shadow);
}
.project img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 30, 51, 0.94) 0%, rgba(7, 30, 51, 0.5) 42%, rgba(7, 30, 51, 0) 72%); }
.project:hover { color: #fff; }
.project:hover img { transform: scale(1.06); }
.project__meta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a9d4f7; }
.project h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0.5rem 0 0.35rem; }
.project p { font-size: 0.95rem; color: #cbd7e2; margin: 0; max-width: 30rem; }
.project__go {
  position: absolute; right: 1.5rem; top: 1.5rem; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: #fff; color: var(--blue); transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.project:hover .project__go { background: var(--green-600); color: #fff; transform: rotate(-45deg); }
.project__go .ic { width: 22px; height: 22px; }

/* ---------- Labels ---------- */
.labels { display: grid; gap: 1.25rem; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }
.labels li {
  display: grid; place-items: center; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.labels li:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.labels img { width: 100%; max-width: 210px; mix-blend-mode: multiply; }
@media (max-width: 900px) { .labels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .labels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; } }

/* ---------- Bandeau contact ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, var(--blue-800), var(--blue) 60%, #1272bd); color: #dcebf7; padding-block: clamp(3.25rem, 6vw, 5rem); }
.cta__roof { position: absolute; z-index: -1; right: -4%; top: 50%; translate: 0 -50%; width: min(70vw, 760px); opacity: 0.28; }
.cta__roof path { fill: none; stroke-width: 10; }
.cta__roof .m-b { stroke: #fff; }
.cta__roof .m-g { stroke: #a6d690; }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 34rem; margin: 0; }
.cta h2 em { color: #c1e6ae; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: #a9bac9; font-size: 0.97rem; }
.footer a { color: #c8d5e1; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: 1.35fr 1.2fr 0.8fr 1.15fr; padding-block: clamp(3.5rem, 6vw, 5rem) 3rem; }
.footer h2 {
  position: relative; margin-bottom: 1.5rem; padding-bottom: 0.9rem;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
}
.footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--green); transform: skewX(-24deg); }
.footer__brand img { height: 62px; width: auto; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 20rem; margin-bottom: 1.5rem; }
.f-list { display: grid; gap: 0.85rem; }
.f-list li, .f-list a { display: flex; gap: 0.75rem; align-items: flex-start; }
.f-list .ic { color: var(--green); margin-top: 0.3em; }
.f-menu { display: grid; gap: 0.6rem; }
.f-menu a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s, transform 0.25s var(--ease); }
.f-menu a::before { content: ""; width: 8px; height: 2px; background: var(--green); transition: width 0.25s var(--ease); }
.f-menu a:hover { transform: translateX(3px); }
.f-menu a:hover::before { width: 16px; }
.hours { display: grid; gap: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.14); }
.hours li:first-child { padding-top: 0; }
.hours b { color: #fff; font-weight: 700; white-space: nowrap; }
.hours .closed { color: #f0a9a0; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.4rem; font-size: 0.88rem; }
.footer__bottom .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6rem 2rem; }
.footer__bottom p { margin: 0; }
.footer__credit { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; }
.footer__credit a { font-weight: 700; color: #fff; }
.footer__credit a:hover { color: #b9e0a5; }
.footer__credit .ic { width: 15px; height: 15px; color: #ef5b61; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } 60% { transform: scale(1); } }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 1.5rem; }
@media (max-width: 860px) {
  .footer__bottom .container { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__links { justify-content: center; }
}
.footer__links button { padding: 0; border: 0; background: none; font: inherit; color: #c8d5e1; cursor: pointer; }
.footer__links button:hover { color: #fff; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Bandeau des pages intérieures ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.25rem); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 30, 51, 0.96) 10%, rgba(8, 58, 100, 0.82) 55%, rgba(11, 95, 162, 0.6) 100%); }
.page-hero__roof { position: absolute; z-index: -1; right: -3%; bottom: -30%; width: min(60vw, 640px); opacity: 0.4; }
.page-hero__roof path { fill: none; stroke-width: 10; }
.page-hero__roof .m-b { stroke: #2f8fd8; }
.page-hero__roof .m-g { stroke: var(--green); }
.page-hero h1 { color: #fff; margin: 0; max-width: 20ch; }
.page-hero h1 em { color: #8fc577; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1.1rem; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #a9d4f7; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #c1e6ae; }
.crumbs i { width: 14px; height: 2px; background: var(--green); transform: skewX(-24deg); }

/* ---------- Contenu riche ---------- */
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 0; }
.prose p { margin-bottom: 0; }
.tagline { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--green-600); margin: -0.2rem 0 1.25rem; }

.features { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: f; }
.feature {
  position: relative; padding: 1.6rem 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 14px; background: var(--blue-50); color: var(--blue); transition: background 0.3s, color 0.3s; }
.feature:nth-child(even) .feature__ic { background: var(--green-50); color: var(--green-600); }
.feature:hover .feature__ic { background: var(--blue); color: #fff; }
.feature:nth-child(even):hover .feature__ic { background: var(--green-600); color: #fff; }
.feature__ic .ic { width: 26px; height: 26px; }
.feature p { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.4; font-size: 1.02rem; }
.feature::after { counter-increment: f; content: counter(f, decimal-leading-zero); position: absolute; right: 1.1rem; top: 0.9rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; color: #c3ced9; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .features, .features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .features, .features--3 { grid-template-columns: 1fr; } .feature { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; } .feature__ic { margin: 0; flex: none; } .feature::after { display: none; } }

.note {
  position: relative; overflow: hidden; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: var(--radius);
  background: linear-gradient(140deg, var(--navy) 50%, var(--blue-800)); color: #c9d6e2;
}
.note h2, .note h3 { color: #fff; }
.note strong { color: #b9e0a5; }
.note { display: flex; flex-direction: column; justify-content: center; }
.note .btn { margin-top: 0.5rem; white-space: normal; text-align: left; line-height: 1.3; }
.card { padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card__head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.card__head img { width: 108px; flex: none; mix-blend-mode: multiply; }
.card__head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.stack { display: grid; gap: 1.5rem; }

/* ---------- Galerie ---------- */
.gallery { columns: 4 250px; column-gap: 14px; }
.gallery__item {
  position: relative; display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden;
  border-radius: 14px; background: var(--bg-soft); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: auto; transition: transform 0.7s var(--ease), filter 0.4s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(0deg, rgba(8, 58, 100, 0.7), rgba(8, 58, 100, 0.1)) , url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3Cpath d='m21 3-7 7'/%3E%3Cpath d='m3 21 7-7'/%3E%3C/svg%3E") center / 34px no-repeat;
  background-blend-mode: normal;
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item[hidden] { display: none; }
.gallery--3 { columns: 3 240px; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters button {
  padding: 0.65rem 1.15rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 0.92rem; font-weight: 700; color: var(--ink); cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters button span { opacity: 0.6; font-weight: 600; margin-left: 0.3rem; }

/* ---------- Visionneuse ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; background: rgba(4, 16, 28, 0.94); opacity: 0; transition: opacity 0.3s; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__fig { grid-column: 2; margin: 0; display: grid; place-items: center; height: 100vh; height: 100dvh; padding: 4rem 0.5rem 3.5rem; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); transition: opacity 0.25s; }
.lb__fig img.is-loading { opacity: 0.25; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; color: #cbd7e2; font-size: 0.9rem; font-weight: 600; padding-inline: 1rem; }
.lb button { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background 0.25s, transform 0.25s var(--ease); }
.lb button:hover { background: var(--green-600); transform: scale(1.08); }
.lb button .ic { width: 26px; height: 26px; }
.lb__close { position: absolute; right: 0.5rem; top: 1rem; z-index: 2; }
@media (max-width: 640px) {
  .lb { grid-template-columns: 1fr; }
  .lb__fig { grid-column: 1; padding-inline: 0.75rem; }
  .lb__prev, .lb__next { position: absolute; bottom: 0.75rem; z-index: 2; width: 46px !important; height: 46px !important; }
  .lb__prev { left: 0.25rem; } .lb__next { right: 0.25rem; }
}

/* ---------- Article (réalisation) ---------- */
.article { max-width: 54rem; margin-inline: auto; }
.article__cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2.25rem; background: var(--bg-soft); }
.article__cover img { width: 100%; max-height: 620px; object-fit: cover; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.article__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.article__meta .ic { color: var(--green-600); }
.article .prose { font-size: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.tags li { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-800); font-size: 0.86rem; font-weight: 700; }
.article__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.field label small { font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.95rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  font: inherit; color: var(--ink); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 95, 162, 0.14); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__legal { font-size: 0.85rem; line-height: 1.55; color: var(--muted); margin: 0; }
.form__status { display: none; padding: 0.95rem 1.15rem; border-radius: 12px; font-weight: 700; }
.form__status.is-ok { display: block; background: var(--green-50); color: var(--green-700); border: 1px solid #cfe3c5; }
.form__status.is-err { display: block; background: #fdf0ee; color: #a6332a; border: 1px solid #f3cdc8; }
.form.is-sending .btn { opacity: 0.6; pointer-events: none; }

.info-cards { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1.1rem; padding: 1.4rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.info-card__ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; }
.info-card:nth-child(2) .info-card__ic { background: var(--green-600); }
.info-card__ic .ic { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.info-card p, .info-card address { margin: 0; font-style: normal; line-height: 1.6; }
.tels { display: grid; gap: 0.15rem; }
.tels li { display: flex; justify-content: space-between; gap: 1rem; }
.tels span { color: var(--muted); font-size: 0.93rem; }
.tels a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.tels a:hover { color: var(--blue); }
.tels b { font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 480px) {
  .info-card { gap: 0.85rem; padding: 1.1rem; }
  .info-card__ic { width: 44px; height: 44px; border-radius: 12px; }
}

.map { position: relative; height: clamp(320px, 45vw, 480px); background: var(--bg-soft); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 1.5rem;
  background-color: #e9eff5;
  background-image: linear-gradient(rgba(11, 95, 162, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 95, 162, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map__ph .ic { width: 44px; height: 44px; color: var(--blue); }
.map__ph p { margin: 0; max-width: 28rem; font-weight: 600; color: var(--ink); }
.map__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 50rem; margin-inline: auto; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2.75rem 0 0.9rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.legal h3 { font-size: 1.15rem; margin: 1.6rem 0 0.5rem; color: var(--blue-800); }
.legal p { margin-bottom: 0.9em; }
.legal a { text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; z-index: 150; left: 1rem; bottom: 1rem; width: min(100% - 2rem, 26rem);
  padding: 1.35rem 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -20px rgba(7, 30, 51, 0.5); font-size: 0.93rem; line-height: 1.55;
  animation: cookieIn 0.5s var(--ease) both;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.cookie p { margin-bottom: 1rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie .btn { padding: 0.7rem 1.1rem; font-size: 0.92rem; flex: 1; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } }

/* ---------- 404 ---------- */
.e404 { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #d7e2ec; text-align: center; padding-block: clamp(4rem, 9vw, 7rem); }
.e404::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 30, 51, 0.96) 10%, rgba(8, 58, 100, 0.86) 55%, rgba(11, 95, 162, 0.66) 100%); }
.e404__code { margin: 0; font-size: clamp(6.5rem, 24vw, 15rem); font-weight: 800; line-height: 0.86; letter-spacing: -0.06em; color: #fff; }
.e404__code span { font-family: var(--serif); font-weight: 400; color: #8fc577; letter-spacing: -0.02em; }
.e404 h1 { margin: 1.25rem 0 0.75rem; color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); }
.e404 h1 em { color: #8fc577; }
.e404__text { max-width: 30rem; margin: 0 auto 2.25rem; font-size: 1.15rem; }
.e404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.e404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.e404__links a { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.65rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.95rem; font-weight: 700; transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.e404__links a:hover { background: var(--green-600); border-color: var(--green-600); transform: translateY(-2px); }
.e404__links .ic { color: #9fcb8b; }
.e404__links a:hover .ic { color: #fff; }

.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.notfound b { display: block; font-size: clamp(6rem, 22vw, 13rem); line-height: 0.9; font-weight: 800; letter-spacing: -0.06em; color: var(--blue); }
.notfound b span { color: var(--green); }
.notfound p { max-width: 30rem; margin: 1rem auto 2rem; font-size: 1.15rem; }

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .cta, .footer, .cookie, .map, .nav-toggle { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { font-size: 11pt; }
}
