/* ============================================================
   ETS Couverture Maçonnerie 95 — refonte v2 · charte « Blueprint »
   Marine profond + trame plan d'architecte · accent ROUGE BRIQUE.
   Angles francs, services numérotés. Display : Space Grotesk · Corps : Public Sans.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Marine (marque, sections sombres) */
  --navy-950: oklch(0.185 0.035 262);
  --navy-900: oklch(0.225 0.042 262);   /* fond sombre principal */
  --navy-800: oklch(0.270 0.048 262);
  --navy-700: oklch(0.330 0.052 262);
  --navy-600: oklch(0.420 0.055 262);
  --navy-500: oklch(0.520 0.050 262);

  /* Neutres froids clairs (sections claires) */
  --grey-50:  oklch(0.975 0.004 250);   /* fond de page clair */
  --grey-100: oklch(0.948 0.006 250);
  --grey-200: oklch(0.885 0.008 252);
  --grey-300: oklch(0.800 0.010 254);
  --grey-500: oklch(0.545 0.018 258);
  --grey-700: oklch(0.370 0.028 260);

  /* ROUGE BRIQUE (accent unique — logo) */
  --brick-300: oklch(0.720 0.105 25);
  --brick-400: oklch(0.630 0.150 25);
  --brick-500: oklch(0.545 0.175 25);   /* accent */
  --brick-600: oklch(0.480 0.160 25);
  --brick-700: oklch(0.410 0.135 25);
  --brick-050: oklch(0.955 0.018 25);

  --white: #fff;

  /* Alias sémantiques */
  --surface-page:   var(--grey-50);
  --surface-card:   #ffffff;
  --surface-sunken: var(--grey-100);
  --surface-dark:   var(--navy-900);
  --surface-dark-2: var(--navy-800);
  --text-strong: var(--navy-900);
  --text-body:   var(--grey-700);
  --text-muted:  var(--grey-500);
  --text-on-dark: oklch(0.960 0.005 250);
  --text-on-dark-muted: oklch(0.760 0.015 255);
  --accent:       var(--brick-500);
  --accent-hover: var(--brick-600);
  --accent-soft:  var(--brick-050);
  --border:        var(--grey-200);
  --border-strong: var(--grey-300);
  --border-on-dark: oklch(1 0 0 / 0.13);
  --ring: oklch(0.545 0.175 25 / 0.5);

  --hero-scrim: linear-gradient(100deg, oklch(0.20 0.04 262 / 0.94) 0%, oklch(0.20 0.04 262 / 0.72) 48%, oklch(0.22 0.042 262 / 0.38) 100%);
  --photo-scrim: linear-gradient(180deg, oklch(0.18 0.035 262 / 0) 30%, oklch(0.16 0.035 262 / 0.85) 100%);
  /* Trame blueprint (fines lignes de plan) */
  --blueprint-grid: repeating-linear-gradient(0deg, oklch(1 0 0 / 0.045) 0 1px, transparent 1px 44px),
                    repeating-linear-gradient(90deg, oklch(1 0 0 / 0.045) 0 1px, transparent 1px 44px);

  /* Typo */
  --font-display: 'Space Grotesk', 'Arial', sans-serif;
  --font-body: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  --fs-display: clamp(2.4rem, 1.1rem + 5.4vw, 5.2rem);
  --fs-h2:      clamp(1.7rem, 1.15rem + 2.3vw, 2.8rem);
  --fs-h3:      clamp(1.22rem, 1.05rem + 0.8vw, 1.55rem);
  --fs-lead:    clamp(1.06rem, 0.98rem + 0.45vw, 1.28rem);
  --fs-body:    1.03rem;
  --fs-sm:      0.92rem;
  --fs-overline: 0.78rem;
  --lh-display: 1.02;
  --lh-heading: 1.1;
  --lh-body: 1.62;
  --ls-display: -0.022em;
  --ls-overline: 0.16em;

  /* Rythme */
  --section-y: clamp(60px, 8.5vw, 118px);
  --gutter: clamp(20px, 5vw, 60px);
  --content-max: 1240px;
  --content-narrow: 780px;

  /* Angles francs (signature vs autres sites) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 8px;
  --shadow-sm: 0 1px 2px oklch(0.25 0.04 262 / .07), 0 2px 10px oklch(0.25 0.04 262 / .06);
  --shadow-md: 0 3px 8px oklch(0.25 0.04 262 / .09), 0 12px 30px oklch(0.25 0.04 262 / .11);
  --shadow-lg: 0 6px 14px oklch(0.25 0.04 262 / .12), 0 26px 60px oklch(0.25 0.04 262 / .18);
  --dur: .26s;
  --ease: cubic-bezier(.33,1,.4,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
}
/* height:auto neutralise l'attribut height= (anti-CLS) qui sinon fige la hauteur en px */
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brick-600); text-decoration: none; }
a:hover { color: var(--brick-700); }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--text-strong); line-height: var(--lh-heading); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brick-500); color: #fff; }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--content-narrow); }

/* ---------- Boutons (angles francs) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: scale(.975); }
.btn svg { width: 1.12em; height: 1.12em; flex: none; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 20px oklch(0.5 0.16 25 / .35); }
.btn--accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn--navy { background: var(--navy-900); color: var(--text-on-dark); }
.btn--navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--navy-900); transform: translateY(-2px); }
.btn--inverse { background: oklch(1 0 0 / .1); color: #fff; border-color: oklch(1 0 0 / .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn--inverse:hover { background: oklch(1 0 0 / .2); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--sm { padding: 10px 18px; font-size: .93rem; }

/* ---------- Header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: var(--navy-900); border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hd[data-solid="true"] { border-color: oklch(1 0 0 / .1); box-shadow: 0 6px 24px oklch(0.15 0.03 262 / .35); }
.hd__bar { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.hd__logo { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.hd__logo strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.hd__logo strong em { font-style: normal; color: var(--brick-300); }
.hd__logo small { font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; color: oklch(1 0 0 / .65); }
.hd__nav { display: flex; gap: 26px; margin-left: auto; min-width: 0; }
.hd__nav a { font-weight: 550; font-size: .96rem; color: oklch(1 0 0 / .85); }
.hd__nav a:hover { color: #fff; }
.hd__cta { display: flex; gap: 10px; align-items: center; }
.hd__burger {
  display: none; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1.5px solid oklch(1 0 0 / .35);
  background: oklch(1 0 0 / .08); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hd__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.hd[data-open="true"] .hd__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd[data-open="true"] .hd__burger span:nth-child(2) { opacity: 0; }
.hd[data-open="true"] .hd__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hd__menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; flex-direction: column;
}
.hd[data-open="true"] .hd__menu { display: flex; }
.hd__menu a { padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 570; color: var(--text-strong); }
.hd__menu a:hover { background: var(--surface-sunken); }
.hd__menu .btn { margin: 8px 6px 4px; }
@media (max-width: 960px) {
  .hd__nav { display: none; }
  .hd__cta .btn--inverse { display: none; }
  .hd__burger { display: flex; }
  .hd__cta .hd__telword { display: none; }
}
@media (max-width: 430px) {
  .hd__bar { gap: 12px; min-height: 66px; }
  .hd__logo strong { font-size: 1rem; white-space: nowrap; }
  .hd__logo small { font-size: .55rem; letter-spacing: .1em; white-space: nowrap; }
}

/* ---------- Hero (marine + trame blueprint + photo à droite) ---------- */
.hero { position: relative; background: var(--navy-900); isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: var(--blueprint-grid); z-index: -1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; background: var(--hero-scrim); z-index: -2; }
.hero__inner { min-height: clamp(560px, 88vh, 820px); min-height: clamp(560px, 88svh, 820px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 140px; padding-bottom: clamp(46px, 6.5vw, 78px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: oklch(0.545 0.175 25 / .22); border: 1px solid oklch(0.63 0.15 25 / .55);
  padding: 8px 15px; border-radius: var(--radius-sm); margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brick-300); box-shadow: 0 0 0 4px oklch(0.63 0.15 25 / .25); }
.hero h1 {
  font-size: var(--fs-display); font-weight: 700; letter-spacing: var(--ls-display);
  line-height: var(--lh-display); color: #fff; max-width: 15ch; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--brick-300); }
.hero__sub { font-size: var(--fs-lead); color: oklch(1 0 0 / .85); max-width: 56ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 22px; border-top: 1px solid oklch(1 0 0 / .18); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 560; color: oklch(1 0 0 / .88); }
.hero__trust svg { width: 1.1em; height: 1.1em; color: var(--brick-300); flex: none; }

/* ---------- Bandeau urgence ---------- */
.urgence { background: var(--accent); color: #fff; }
.urgence__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; padding: 13px 0; text-align: center; }
.urgence__row strong { font-weight: 750; }
.urgence__row a { color: #fff; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid oklch(1 0 0 / .5); padding-bottom: 1px; }
.urgence__row a:hover { border-color: #fff; color: #fff; }
.urgence svg { width: 1.1em; height: 1.1em; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--sunken { background: var(--surface-sunken); }
.section--dark { background: var(--surface-dark); position: relative; isolation: isolate; }
.section--dark::before { content: ''; position: absolute; inset: 0; background-image: var(--blueprint-grid); z-index: -1; }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-muted); }
.head { max-width: 660px; margin-bottom: clamp(34px, 5vw, 54px); }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.head--center .eyebrow { justify-content: center; }
.eyebrow .rule { width: 30px; height: 3px; background: var(--accent); }
.eyebrow .overline { font-size: var(--fs-overline); font-weight: 700; letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--brick-600); }
.section--dark .eyebrow .overline { color: var(--brick-300); }
.title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.018em; }
.intro { font-size: var(--fs-lead); color: var(--text-muted); }
.section--dark .intro { color: var(--text-on-dark-muted); }

/* ---------- Stats (bandeau marine) ---------- */
.statband { background: var(--navy-900); position: relative; isolation: isolate; }
.statband::before { content: ''; position: absolute; inset: 0; background-image: var(--blueprint-grid); z-index: -1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(26px, 3.5vw, 40px) 18px; text-align: center; border-left: 1px solid var(--border-on-dark); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 700; color: var(--brick-300); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .92rem; font-weight: 550; color: var(--text-on-dark-muted); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-on-dark); }
}

/* ---------- Cartes service numérotées ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.svc {
  position: relative; display: flex; flex-direction: column; gap: 11px;
  background: var(--surface-card); border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 26px 24px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-left-color: var(--accent); }
.svc__row { display: flex; align-items: center; gap: 14px; }
.svc__num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--grey-200); line-height: 1; transition: color var(--dur); }
.svc:hover .svc__num { color: var(--brick-300); }
.svc__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--navy-900); color: var(--brick-300); margin-left: auto; }
.svc__icon svg { width: 23px; height: 23px; display: block; }
.svc h3 { font-size: 1.18rem; font-weight: 650; margin: 0; }
.svc p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.svc__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: .93rem; color: var(--brick-600); }
.svc__link svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.svc:hover .svc__link svg { transform: translateX(4px); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.about__media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--brick-300); border-radius: var(--radius-lg); z-index: -1; opacity: .5; }
.about__chip {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--navy-900); color: var(--text-on-dark);
  border-radius: var(--radius-md); padding: 14px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 13px; border-left: 3px solid var(--accent);
}
.about__chip strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--brick-300); line-height: 1; }
.about__chip span { font-size: .82rem; color: var(--text-on-dark-muted); line-height: 1.3; }
.checks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; color: var(--text-strong); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--brick-600); margin-top: 1px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 640;
  color: var(--navy-800); background: var(--surface-sunken); border: 1px solid var(--border-strong);
  padding: 8px 15px; border-radius: var(--radius-sm);
}
.badge svg { width: 1.05em; height: 1.05em; color: var(--brick-600); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__media::before { display:none; } }

/* ---------- Galerie ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gal, .gal--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gal, .gal--4 { grid-template-columns: 1fr; } }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-md);
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); isolation: isolate; cursor: zoom-in; border: 0; padding: 0; background: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: var(--photo-scrim); }
.tile__cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .74rem; font-weight: 680; letter-spacing: .07em; text-transform: uppercase; color: #fff;
  background: oklch(0.2 0.04 262 / .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 5px 11px; border-radius: var(--radius-sm);
}
.tile__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 620; font-size: .98rem; text-align: left; }
.tile__cap small { display: block; font-weight: 480; font-size: .8rem; color: oklch(1 0 0 / .75); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: oklch(0.14 0.03 262 / .94); padding: 4vmin; }
.lb[data-open="true"] { display: flex; }
.lb img { max-width: 100%; max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lb__cap { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 570; font-size: .95rem; text-align: center; max-width: 90vw; }
.lb__close, .lb__prev, .lb__next {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: oklch(1 0 0 / .1); border: 1px solid oklch(1 0 0 / .3); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.lb__close:hover, .lb__prev:hover, .lb__next:hover { background: oklch(1 0 0 / .22); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb svg { width: 22px; height: 22px; display: block; }

/* ---------- Avis ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text-strong);
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 20px; box-shadow: var(--shadow-sm);
}
.rating-badge .stars { color: oklch(0.75 0.15 85); display: inline-flex; }
.testi { background: var(--surface-card); border: 1px solid var(--border); border-top: 3px solid var(--navy-900); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); margin: 0; display: flex; flex-direction: column; gap: 14px; }
.testi__head { display: flex; align-items: center; gap: 13px; }
.testi__avatar {
  width: 46px; height: 46px; border-radius: var(--radius-sm); flex: none;
  background: var(--navy-900); color: var(--brick-300); font-weight: 700; font-family: var(--font-display);
  display: grid; place-items: center; font-size: .95rem;
}
.testi__name { display: block; font-weight: 680; color: var(--text-strong); font-size: .99rem; }
.testi__loc { display: block; font-size: .82rem; color: var(--text-muted); }
.testi__g { margin-left: auto; }
.testi__stars { display: inline-flex; color: oklch(0.75 0.15 85); }
.testi__stars svg, .rating-badge .stars svg { width: 17px; height: 17px; }
.testi blockquote { margin: 0; font-size: .98rem; color: var(--text-body); }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4.5vw, 60px); align-items: start; }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } }
.zone__depts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.zone__dept { font-size: .86rem; font-weight: 680; color: var(--navy-800); background: var(--surface-sunken); border: 1px solid var(--border-strong); padding: 8px 16px; border-radius: var(--radius-sm); }
.zone__cities { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.city {
  display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 570;
  color: var(--text-body); background: var(--surface-card); border: 1px solid var(--border);
  padding: 9px 15px; border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.city svg { width: 1em; height: 1em; color: var(--brick-500); }
.city:hover { border-color: var(--brick-400); color: var(--text-strong); }
.city.is-active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.city.is-active svg { color: var(--brick-300); }
.zone__note { font-size: var(--fs-sm); color: var(--text-muted); background: var(--surface-sunken); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; }
.zone__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); background: var(--surface-card); }
.zone__map iframe { display: block; width: 100%; height: 430px; border: 0; }
.zone__maplabel { padding: 12px 18px; font-size: .88rem; font-weight: 600; color: var(--text-muted); border-top: 1px solid var(--border); }

/* ---------- Engagements (section marine) ---------- */
.eng { background: oklch(1 0 0 / .05); border: 1px solid var(--border-on-dark); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.eng__icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: oklch(0.545 0.175 25 / .2); color: var(--brick-300); display: grid; place-items: center; }
.eng__icon svg { width: 22px; height: 22px; display: block; }
.eng h3 { font-size: 1.1rem; font-weight: 650; color: var(--text-on-dark); margin: 0; }
.eng p { font-size: var(--fs-sm); color: var(--text-on-dark-muted); margin: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: var(--content-narrow); margin: 0 auto; }
.faq details { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; font-family: var(--font-display); font-weight: 600; color: var(--text-strong); font-size: 1.01rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--brick-600); transition: transform var(--dur) var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Contact / formulaire ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 4.5vw, 60px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.coord { display: grid; gap: 14px; }
.coord__item {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 19px 20px; box-shadow: var(--shadow-sm); color: inherit;
}
a.coord__item:hover { border-color: var(--brick-400); color: inherit; }
.coord__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); flex: none; background: var(--navy-900); color: var(--brick-300) !important; display: grid !important; place-items: center; }
.coord__icon svg { width: 21px; height: 21px; display: block; }
.coord__item strong { display: block; color: var(--text-strong); font-size: .99rem; }
.coord__item span:not(.coord__icon) { display: block; font-size: .86rem; color: var(--text-muted); }

.form { background: var(--surface-card); border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 38px); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .89rem; font-weight: 640; color: var(--text-strong); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-strong);
  background: var(--surface-page); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%; transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brick-500); box-shadow: 0 0 0 3.5px oklch(0.545 0.175 25 / .16); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brick-600); flex: none; }
.form__note { font-size: .8rem; color: var(--text-muted); margin: 12px 0 0; text-align: center; }
.form__status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 570; font-size: .95rem; }
.form__status[data-kind="ok"] { display: block; background: oklch(0.55 0.11 150 / .12); color: oklch(0.4 0.1 150); border: 1px solid oklch(0.55 0.11 150 / .35); }
.form__status[data-kind="err"] { display: block; background: oklch(0.55 0.18 28 / .1); color: oklch(0.45 0.16 28); border: 1px solid oklch(0.55 0.18 28 / .3); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA final ---------- */
.cta {
  background: var(--navy-900); position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px);
  text-align: center; color: #fff; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent);
}
.cta::before { content: ''; position: absolute; inset: 0; background-image: var(--blueprint-grid); z-index: -1; }
.cta h2 { color: #fff; font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.018em; }
.cta p { color: oklch(1 0 0 / .85); font-size: var(--fs-lead); max-width: 46ch; margin: 0 auto 28px; }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Footer ---------- */
.ft { background: var(--navy-950); color: var(--text-on-dark-muted); padding: clamp(48px, 6vw, 76px) 0 0; }
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
@media (max-width: 960px) { .ft__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft__grid { grid-template-columns: 1fr; } }
.ft__brand strong { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; color: #fff; }
.ft__brand strong em { font-style: normal; color: var(--brick-300); }
.ft__brand small { display: block; font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; color: oklch(1 0 0 / .5); margin: 4px 0 14px; }
.ft__brand p { font-size: .92rem; }
.ft__social { display: flex; gap: 10px; margin-top: 16px; }
.ft__social a {
  width: 42px; height: 42px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: oklch(1 0 0 / .07); border: 1px solid var(--border-on-dark); color: #fff;
  transition: background var(--dur), transform var(--dur);
}
.ft__social a:hover { background: var(--brick-600); transform: translateY(-2px); color: #fff; }
.ft__social svg { width: 19px; height: 19px; display: block; }
.ft h4 { color: #fff; font-size: .93rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft ul a { color: var(--text-on-dark-muted); font-size: .94rem; }
.ft ul a:hover { color: #fff; }
.ft__bottom { border-top: 1px solid var(--border-on-dark); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: .84rem; }
.ft__bottom a { color: var(--text-on-dark-muted); }
.ft__bottom a:hover { color: #fff; }
.ft__legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Barre mobile + modal appel ---------- */
.mbar { position: fixed; inset: auto 0 0; z-index: 90; display: none; gap: 1px; background: var(--border); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 10px; font-family: var(--font-display); font-weight: 650; font-size: .97rem; }
.mbar svg { width: 1.15em; height: 1.15em; }
.mbar__tel { background: var(--accent); color: #fff; }
.mbar__tel:hover { color: #fff; }
.mbar__devis { background: var(--navy-900); color: #fff; }
.mbar__devis:hover { color: #fff; }
@media (max-width: 720px) { .mbar { display: flex; } body { padding-bottom: 58px; } }

.cmodal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: oklch(0.14 0.03 262 / .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); padding: 20px; }
.cmodal[data-open="true"] { display: flex; }
.cmodal__box { background: var(--surface-card); border-radius: var(--radius-lg); border-top: 4px solid var(--accent); box-shadow: var(--shadow-lg); padding: 30px 28px; max-width: 400px; width: 100%; text-align: center; }
.cmodal__box h3 { font-size: 1.25rem; margin-bottom: 4px; }
.cmodal__box > p { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }
.cmodal__box .btn { width: 100%; margin-bottom: 10px; }
.cmodal__wa { background: #25D366; color: #fff; }
.cmodal__wa:hover { background: #1ebe5b; color: #fff; }
.cmodal__cancel { background: none; border: 0; color: var(--text-muted); font-size: .9rem; cursor: pointer; padding: 8px; }
.cmodal__cancel:hover { color: var(--text-strong); }

/* ---------- Reveal (gated derrière html.js) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js .reveal.is-in { opacity: 1; transform: none; }
  /* cascade dans les grilles */
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(2) { transition-delay: .08s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(3) { transition-delay: .16s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(4) { transition-delay: .24s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(5) { transition-delay: .32s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(n+6) { transition-delay: .4s; }

  /* entrée du hero au chargement */
  html.js .hero__badge, html.js .hero h1, html.js .hero__sub, html.js .hero__cta, html.js .hero__trust {
    opacity: 0; transform: translateY(26px);
    animation: heroIn .85s var(--ease) forwards;
  }
  html.js .hero h1 { animation-delay: .12s; }
  html.js .hero__sub { animation-delay: .3s; }
  html.js .hero__cta { animation-delay: .44s; }
  html.js .hero__trust { animation-delay: .58s; }
  @keyframes heroIn { to { opacity: 1; transform: none; } }
  /* Ken Burns : zoom lent et SYNCHRO sur les deux couches photo */
  html.js .hero__img { animation: kenburns 18s ease-out forwards; transform-origin: 68% 42%; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
}

/* micro-interactions */
.hd__nav a { position: relative; }
.hd__nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--accent); transition: right var(--dur) var(--ease); }
.hd__nav a:hover::after { right: 0; }
.svc__icon, .eng__icon, .coord__icon { transition: transform var(--dur) var(--ease); }
.svc:hover .svc__icon { transform: scale(1.1) rotate(-5deg); }
.eng:hover .eng__icon { transform: scale(1.1) rotate(-5deg); }
a.coord__item:hover .coord__icon { transform: scale(1.08); }
.tile__cap { transition: transform var(--dur) var(--ease); }
.tile:hover .tile__cap { transform: translateY(-3px); }
.faq .faq__body[data-anim] { overflow: hidden; }

/* ---------- Pages intérieures ---------- */
.pagehead { padding: 150px 0 56px; background: var(--surface-dark); position: relative; isolation: isolate; }
.pagehead::before { content: ''; position: absolute; inset: 0; background-image: var(--blueprint-grid); z-index: -1; }
.pagehead h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); font-weight: 700; letter-spacing: -0.02em; color: #fff; max-width: 22ch; }
.pagehead p { color: var(--text-on-dark-muted); font-size: var(--fs-lead); max-width: 60ch; margin: 0; }
.pagehead .eyebrow .overline { color: var(--brick-300); }
.prose { max-width: var(--content-narrow); margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose p, .prose li { font-size: .98rem; }
