/* =========================================================
   Arcancia · Sols & Murs : feuille de styles du site
   Sommaire
   0. Jetons et base         9. Slider chantier / livraison
   1. Boutons               10. Formulaire de consultation
   2. En-tête               11. Zone d'intervention
   3. Hero                  12. FAQ
   4. Bande de preuves      13. Contact
   5. Profils               14. (bande CTA retirée)
   6. Lots                  15. Pied de page
   7. Méthode               16. Pages secondaires
   8. Réalisations          17. Apparitions, responsive, mouvement réduit
   ========================================================= */

/* Police Plus Jakarta Sans hébergée sur le site (licence SIL OFL 1.1, voir ../fonts/OFL.txt).
   Un seul fichier variable, sous-ensemble latin, couvre les graisses 400, 700 et 800. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 0. JETONS ET BASE */
:root {
  --navy: #00305b;
  --navy-900: #001f3d;
  --blue: #0f4c85;
  --teal: #41b7c4;
  --teal-600: #2a9eab;
  --teal-700: #17707b;   /* teal utilisé en texte : contraste AA sur fond clair */
  --teal-light: #7fd6df; /* teal utilisé en texte sur fond foncé */
  --teal-50: #e8f7f9;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --ink: #0d1b2a;
  --ink-soft: #4a5a6e;
  --line: #dfe7f0;
  --danger: #b3261e;
  --focus: #0f4c85;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 48, 91, .06);
  --shadow: 0 10px 30px rgba(0, 48, 91, .10);
  --shadow-lg: 0 24px 60px rgba(0, 48, 91, .16);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark { --focus: var(--teal-light); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 300; transform: translateY(-200%);
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 700; transition: transform .2s;
}
.skip-link:focus { transform: none; }
.nowrap { white-space: nowrap; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--surface); }

/* Petits titres : une seule règle (couleur, taille, carreau) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); flex: none; }
.on-dark .eyebrow { color: var(--teal-light); }

/* Titres h2 : une seule classe commune */
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; color: var(--navy); }
.on-dark .h2 { color: #fff; }

/* En-têtes de section : une seule règle d'alignement (centré),
   à gauche uniquement dans les mises en page en deux colonnes (.split) */
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head p { color: var(--ink-soft); font-size: 1.075rem; }
.split .section-head { margin-left: 0; margin-right: 0; text-align: left; align-items: flex-start; }
.lead-soft { color: var(--ink-soft); }

/* 1. BOUTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .975rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-600) 100%); color: var(--navy-900); box-shadow: 0 8px 22px rgba(65, 183, 196, .38); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(65, 183, 196, .5); }
.btn--dark { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(0, 48, 91, .25); }
.btn--dark:hover { background: var(--blue); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* 2. EN-TÊTE COLLANT : hauteur fixe, seule l'ombre s'anime */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 42px; width: auto; border-radius: 6px; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: inline-block; padding: 10px 12px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .93rem; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--teal-50); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger-lines, .burger-lines::before, .burger-lines::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform .25s var(--ease), background-color .2s; position: relative;
}
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) and (max-width: 1100px) {
  .main-nav a { padding: 8px 9px; font-size: .86rem; }
  .header-actions .btn--header { padding: 8px 14px; font-size: .86rem; }
  .header-actions .btn--header svg { display: none; }
}
@media (max-width: 899px) {
  .js .burger { display: inline-flex; }
  .header-actions .btn--header { display: none; }
  .js .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 16px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .js .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .main-nav a { display: block; padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .main-nav .nav-cta { display: block; margin-top: 10px; }
  .main-nav .nav-cta .btn { width: 100%; }
  /* Sans JS : navigation horizontale défilante */
  html:not(.js) .header-inner { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .main-nav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .main-nav .nav-cta { display: none; }
}
@media (min-width: 900px) { .main-nav .nav-cta { display: none; } }

/* 3. HERO : texte centré, photo en bandeau dessous */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(800px 420px at 90% -10%, rgba(65, 183, 196, .20), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(15, 76, 133, .10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; justify-items: center; gap: clamp(32px, 5vw, 56px); }
.hero-copy { text-align: center; max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 8px; font-size: .85rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-tag .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-50); display: grid; place-items: center; flex: none; }
.hero-tag .dot::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 800; color: var(--navy); letter-spacing: -.035em; }
.hero h1 .accent { background: linear-gradient(120deg, var(--blue) 0%, var(--teal-700) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; margin: 0 auto 28px; text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }

.badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px; font-size: .85rem; font-weight: 700; color: var(--navy);
}
.badge svg { width: 18px; height: 18px; color: var(--teal-600); flex: none; }

.hero-visual { position: relative; width: 100%; }
.hero-media {
  aspect-ratio: 21 / 8; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(150deg, #1d6fb3 0%, var(--blue) 35%, var(--navy) 75%, #062242 100%);
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 31, 61, .35)); }
.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: .85rem; max-width: 260px;
}
.float-card strong { display: block; color: var(--navy); font-size: .92rem; }
.float-card span { color: var(--ink-soft); }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card--a { left: 24px; top: 12%; animation: floaty 6s ease-in-out infinite; }
.float-card--b { right: 24px; bottom: 10%; animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 4. BANDE DE PREUVES : faits vérifiables + référence client */
.proof-wrap { margin-top: -40px; position: relative; z-index: 3; }
.stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: clamp(28px, 4vw, 40px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.stat { text-align: center; padding: 6px 8px; position: relative; display: flex; flex-direction: column; align-items: center; }
.stat + .stat::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.18); }
.stat-value { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; min-height: 1em; display: flex; align-items: center; justify-content: center; }
.stat-value--text { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.01em; min-height: calc(clamp(2rem, 4vw, 2.8rem)); }
.stat-value svg { width: 30px; height: 30px; color: var(--teal); margin-right: 10px; flex: none; }
.stat-label { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.85); }

.proof-bottom {
  background: var(--surface); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 20px clamp(20px, 4vw, 40px);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: center;
}
.proof-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 0; }
.client-logo { height: 72px; width: 72px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 4px; display: grid; place-items: center; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }

/* 5. PROFILS « Vous êtes… » */
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.profile-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.profile-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; margin-bottom: 18px; }
.profile-ico svg { width: 28px; height: 28px; }
.profile-card h3 { font-size: 1.3rem; color: var(--navy); }
.profile-card .lead { color: var(--ink-soft); font-size: .95rem; }
.profile-card .check-list { margin-bottom: 22px; flex: 1; }
.profile-card .btn { align-self: flex-start; }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check-list svg { width: 20px; height: 20px; color: var(--teal-700); flex: none; margin-top: 2px; }

/* 6. LOTS : trois cartes avec la liste des prestations */
#metiers { padding-bottom: clamp(40px, 5vw, 64px); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.metier-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.metier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.metier-media { aspect-ratio: 16 / 10; position: relative; background: var(--teal-50); overflow: hidden; }
.metier-media img { width: 100%; height: 100%; object-fit: cover; }
.metier-media .pill { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--navy); font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 999px; }
.metier-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.metier-body h3 { font-size: 1.3rem; color: var(--navy); }
.metier-body p { color: var(--ink-soft); flex: 1; }
.check-list--compact { gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.check-list--compact li { font-size: .9rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 7. MÉTHODE */
.method { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding-top: clamp(40px, 5vw, 64px); }
.journey { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; counter-reset: phase; margin-bottom: clamp(48px, 7vw, 80px); position: relative; }
/* Ligne de liaison pleine et fine, bornée du premier au dernier repère */
.journey::before {
  content: ""; position: absolute; top: 22px; height: 2px; border-radius: 2px;
  left: 23px; right: calc((100% - 70px) / 6 - 23px);
  background: var(--line);
}
.phase { position: relative; counter-increment: phase; padding-top: 58px; }
.phase::before {
  content: counter(phase, decimal-leading-zero); position: absolute; left: 0; top: 0; z-index: 1;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--navy); font-weight: 800; font-size: .95rem;
}
.phase h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.phase p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.phase--key { background: var(--surface); border: 2px solid var(--teal); border-radius: var(--radius); padding: 58px 14px 16px; margin-top: -14px; box-shadow: var(--shadow); }
.phase--key::before { left: 14px; top: 0; transform: translateY(12px); background: linear-gradient(135deg, var(--blue), var(--navy)); border-color: var(--navy); color: #fff; }
.phase--key .tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--teal-50); color: var(--teal-700); padding: 3px 8px; border-radius: 999px; margin-bottom: 6px; }
.phase--key a { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-weight: 700; font-size: .88rem; color: var(--blue); text-decoration: none; }
.phase--key a svg { width: 16px; height: 16px; transform: rotate(90deg); }

.sub-head { margin-bottom: 28px; }
.sub-head h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); color: var(--navy); font-weight: 800; margin: 0; }
.sub-head p { color: var(--ink-soft); margin: 6px 0 0; max-width: 620px; }

/* Stepper Fieldwire (5 étapes) */
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; margin-bottom: 32px; }
html:not(.js) .stepper { display: none; }
.stepper-track { position: absolute; left: 10%; right: 10%; top: 27px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.stepper-track i { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--teal)); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--ease); }
.step-btn { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: none; border: 0; cursor: pointer; padding: 0 6px; }
.step-num {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
  background: #fff; color: var(--ink-soft); border: 3px solid var(--line);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.step-btn:hover .step-num { border-color: var(--teal); color: var(--navy); }
.step-btn.is-done .step-num { background: var(--teal-50); border-color: var(--teal); color: var(--navy); }
.step-btn[aria-selected="true"] .step-num { background: linear-gradient(135deg, var(--blue), var(--navy)); border-color: var(--navy); color: #fff; transform: scale(1.08); box-shadow: 0 8px 20px rgba(0, 48, 91, .3); }
.step-label { font-weight: 700; font-size: .92rem; color: var(--ink-soft); max-width: 160px; }
.step-btn[aria-selected="true"] .step-label { color: var(--navy); }

/* Panneaux superposés dans une même cellule : la hauteur reste celle du plus grand */
.step-panels { display: grid; }
.step-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.js .step-panel { grid-area: 1 / 1; transition: opacity .35s var(--ease), visibility .35s; }
.js .step-panel:not(.is-active) { opacity: 0; visibility: hidden; }
html:not(.js) .step-panel + .step-panel { margin-top: 20px; }
.step-media { position: relative; min-height: 300px; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.step-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step-media--round { background: radial-gradient(circle at 50% 50%, #fff 0%, var(--teal-50) 70%); display: grid; place-items: center; padding: 24px; }
.step-media--round img { position: static; width: min(82%, 300px); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; }
.step-content { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.step-kicker { font-size: .8rem; font-weight: 700; color: var(--teal-700); letter-spacing: .1em; text-transform: uppercase; }
.step-content h4 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--navy); margin-top: 6px; }
.step-content p { color: var(--ink-soft); }
.step-nav { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
html:not(.js) .step-nav button { display: none; }

/* 8. RÉALISATIONS */
.works { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.work-media { aspect-ratio: 1 / 1; position: relative; overflow: hidden; background: var(--teal-50); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work-media img, .work:focus-within .work-media img { transform: scale(1.05); }
.work-status { position: absolute; left: 12px; top: 12px; z-index: 1; background: rgba(255,255,255,.94); color: var(--navy); font-size: .75rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.work-body { padding: 18px 20px 20px; }
.work-body h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.work-body p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* 9. SLIDER PENDANT LE CHANTIER / À LA LIVRAISON */
.ba-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ba-note { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-top: 18px; }
.ba-note::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); flex: none; margin-top: .45em; }
.ba-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.ba-legend li { display: inline-flex; align-items: center; gap: 8px; }
.ba-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.ba-legend .sq-before { background: rgba(13, 27, 42, .85); }
.ba-legend .sq-after { background: var(--blue); }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
  cursor: ew-resize; background: var(--line);
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-tag {
  position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: #fff; pointer-events: none;
  background: rgba(13, 27, 42, .82); box-shadow: var(--shadow-sm);
}
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; background: rgba(15, 76, 133, .92); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 44px; margin-left: -22px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: ew-resize; touch-action: none;
}
html:not(.js) .ba-handle { display: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.3); }
.ba-handle .knob {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; color: var(--navy); font-weight: 800; font-size: 1.05rem; letter-spacing: 2px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 48, 91, .28); border: 3px solid var(--teal);
  transition: transform .3s var(--ease);
}
.ba-handle:hover .knob, .ba.is-dragging .knob { transform: scale(1.08); }
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .knob { outline: 3px solid var(--focus); outline-offset: 4px; }
.ba.is-hinting .knob { animation: knobPulse 1.2s var(--ease) 2; }
@keyframes knobPulse { 0%, 100% { box-shadow: 0 8px 24px rgba(0, 48, 91, .28), 0 0 0 0 rgba(65, 183, 196, .55); } 60% { box-shadow: 0 8px 24px rgba(0, 48, 91, .28), 0 0 0 14px rgba(65, 183, 196, 0); } }

/* 10. FORMULAIRE DE CONSULTATION (Netlify Forms, 4 étapes) */
.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.quote-aside {
  position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(65,183,196,.35), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--navy) 70%, var(--navy-900) 100%);
  padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-lg);
}
.quote-aside .h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.quote-aside p { color: rgba(255,255,255,.88); }
.quote-aside .check-list li { color: #fff; }
.quote-aside .check-list svg { color: var(--teal); }

.quote-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); min-width: 0; scroll-margin-top: 16px; }
.q-progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: .9rem; }
.q-progress-head strong { color: var(--navy); }
.q-progress-head span { color: var(--ink-soft); text-align: right; }
.q-progress { height: 8px; background: var(--bg); border-radius: 8px; overflow: hidden; margin-bottom: 28px; }
.q-progress-bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 8px; transform: scaleX(.25); transform-origin: left center; transition: transform .45s var(--ease); }
html:not(.js) .q-progress-head, html:not(.js) .q-progress, html:not(.js) .q-actions [data-q-nav] { display: none; }

.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .q-step { animation: fadeUp .35s var(--ease); }
html:not(.js) .q-step + .q-step { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.q-step legend { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 800; color: var(--navy); padding: 0; margin-bottom: 6px; letter-spacing: -.02em; }
.q-step legend:focus { outline: none; }
.q-sub, .q-step .q-sub { font-size: 1rem; font-weight: 800; color: var(--navy); margin: 24px 0 8px; letter-spacing: 0; }
.q-step > .q-group:first-of-type .q-sub { margin-top: 8px; }
.q-hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.q-notice { background: var(--teal-50); color: var(--navy); border-radius: 10px; padding: 8px 12px; font-size: .88rem; font-weight: 700; margin-bottom: 16px; }
.q-group { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }

.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option { position: relative; min-width: 0; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer;
  font-weight: 700; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.option label:hover { border-color: #b6c6d8; }
.option .opt-ico { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--bg); color: var(--blue); transition: background-color .2s, color .2s; }
.option .opt-ico svg { width: 20px; height: 20px; }
.option input:checked + label { border-color: var(--teal-600); background: var(--teal-50); box-shadow: 0 0 0 4px rgba(65, 183, 196, .15); }
.option input:checked + label .opt-ico { background: var(--teal-700); color: #fff; }
.option input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.option--stack label { flex-direction: column; align-items: flex-start; gap: 8px; }
.option small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .82rem; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(65, 183, 196, .25); }
.field [aria-invalid="true"], .consent input[aria-invalid="true"] { border-color: var(--danger); outline: 2px solid var(--danger); }
.field-help { font-size: .82rem; color: var(--ink-soft); }

.dropzone {
  position: relative; border: 1px solid #b9c9da; border-radius: 16px; background: var(--bg);
  padding: 28px 20px; text-align: center; transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--teal-600); background: var(--teal-50); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone input:focus-visible ~ .dz-inner { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 10px; }
.dz-ico { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.dz-ico svg { width: 26px; height: 26px; }
.dz-inner strong { color: var(--navy); display: block; }
.dz-inner span { font-size: .85rem; color: var(--ink-soft); }
html:not(.js) .dropzone input { position: static; opacity: 1; width: 100%; max-width: 100%; height: auto; margin: 12px auto 0; }
.file-list { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .88rem; }
.file-list li span:first-child { overflow-wrap: anywhere; font-weight: 700; color: var(--navy); }
.file-list li span:last-child { color: var(--ink-soft); white-space: nowrap; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--teal-700); flex: none; }
.consent label { font-weight: 400; color: var(--ink-soft); }
.consent a { color: var(--blue); font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.q-error { color: var(--danger); font-weight: 700; font-size: .9rem; margin: 14px 0 0; min-height: 1.4em; }
.q-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.q-actions .q-spacer { flex: 1; }

/* 11. ZONE D'INTERVENTION */
#zone { padding: clamp(40px, 5vw, 72px) 0; }
.zone-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.zone-grid .section-head { margin-bottom: 0; }
.map-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(14px, 2vw, 20px); }
.map-card svg { width: 100%; height: auto; }
.map-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .8rem; color: var(--ink-soft); }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.map-legend .sw-hq { background: #0f4c85; }
.map-legend .sw-pc { background: #41b7c4; }
.map-legend .sw-gc { background: #cfe9ee; }
.zone-copy .btn { margin-top: 8px; }

/* 12. FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.faq-trigger:focus-visible { outline-offset: -4px; }
.faq-q { flex: 1; min-width: 0; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.faq-panel { display: grid; grid-template-rows: 1fr; }
.js .faq-panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease), visibility .35s; }
.js .faq-item.is-open .faq-panel { grid-template-rows: 1fr; visibility: visible; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); }
html:not(.js) .faq-icon { display: none; }

/* 13. CONTACT */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.contact-card { border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.contact-card h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; }
.contact-card .eyebrow { margin-bottom: 6px; }
.contact-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.contact-card--project { color: #fff; background: radial-gradient(500px 260px at 100% 0%, rgba(65,183,196,.4), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); box-shadow: var(--shadow-lg); }
.contact-card--project h3 { color: #fff; }
.contact-card--project p { color: rgba(255,255,255,.88); }
.contact-card--jobs { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-card--jobs h3 { color: var(--navy); }
.contact-card--jobs p { color: var(--ink-soft); }
.jobs-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.jobs-chips li { background: var(--teal-50); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.contact-meta { list-style: none; display: grid; gap: 10px; margin: 10px 0 0; }
.contact-meta li { display: flex; gap: 10px; align-items: flex-start; }
.contact-meta svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }
.contact-meta a { color: #fff; text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.contact-meta a:hover { color: var(--teal-light); }


/* 15. PIED DE PAGE (aucune bande claire dessous) */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.8); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 48px; }
.logo-pad { display: inline-block; margin-bottom: 18px; border-radius: 8px; }
.logo-pad img { height: 46px; width: auto; border-radius: 6px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }
.footer-contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--teal-light); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; font-weight: 700; font-size: .9rem; transition: background-color .2s; }
.social a:hover { background: rgba(255,255,255,.14); }
.social svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--teal-light); }

/* Bouton flottant (mobile) */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; gap: 8px;
  min-height: 52px; padding: 12px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-600)); color: var(--navy-900);
  font-weight: 800; text-decoration: none; box-shadow: 0 12px 28px rgba(0, 48, 91, .28);
  transition: transform .3s var(--ease), opacity .3s;
}
.fab svg { width: 20px; height: 20px; }
.fab.is-hidden, .js .fab:not(.is-shown), .menu-open .fab { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; }
@media (max-width: 899px) { .fab { display: inline-flex; } }

/* 16. PAGES SECONDAIRES (mentions, confidentialité, merci, 404) */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); background: radial-gradient(800px 420px at 90% -10%, rgba(65, 183, 196, .18), transparent 60%), var(--bg); }
.page-hero .h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--ink-soft); font-size: 1.075rem; max-width: 62ch; }
.prose { max-width: 820px; }
.prose-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 48px); }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); color: var(--navy); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--blue); font-weight: 700; }
.prose dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 8px 20px; margin: 0 0 1em; }
.prose dt { font-weight: 700; color: var(--navy); }
.prose dd { margin: 0; overflow-wrap: anywhere; }
.todo-field { display: inline-block; background: #fff3cd; color: #6b4a00; border: 1px solid #c99a2e; border-radius: 6px; padding: 0 6px; font-weight: 800; }
.center-card { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.center-card .big-ico { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 20px; }
.center-card .big-ico svg { width: 38px; height: 38px; }
.center-card .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.center-card p { color: var(--ink-soft); }

/* 17. APPARITIONS AU SCROLL (décalées par JS via transition-delay) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .float-card--a { left: 12px; }
  .float-card--b { right: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .journey::before { display: none; }
  .phase--key { margin-top: 0; }
}
@media (max-width: 960px) {
  .quote-grid, .faq-grid, .contact-grid, .ba-layout { grid-template-columns: minmax(0, 1fr); }
  .zone-grid { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
  .hero-media { aspect-ratio: 16 / 9; }
  .quote-aside { position: relative; top: 0; }
  .cards-3, .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stat:nth-child(3)::before { display: none; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .stepper { grid-template-columns: 1fr; gap: 10px; }
  .stepper-track { left: 27px; right: auto; top: 29px; bottom: 29px; width: 4px; height: auto; }
  .stepper-track i { transform: scaleY(0); transform-origin: center top; }
  .step-btn { flex-direction: row; text-align: left; gap: 16px; padding: 0; }
  .step-label { max-width: none; font-size: 1rem; }
  .step-panel { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .step-media { min-height: 200px; aspect-ratio: 16 / 9; }
  .step-media--round { aspect-ratio: auto; min-height: 220px; }
  .step-media--round img { width: 180px; }
  .journey { grid-template-columns: 1fr; row-gap: 18px; }
  /* Repères alignés sur une même colonne, y compris la phase 04 encadrée */
  .phase { padding: 2px 0 0 78px; min-height: 46px; }
  .phase::before { left: 16px; }
  .phase--key { padding: 16px 16px 16px 76px; }
  .phase--key::before { left: 14px; transform: none; top: 16px; }
  /* Panneaux non superposés : chaque étape prend la hauteur de son contenu */
  .js .step-panel { grid-area: auto; }
  .js .step-panel:not(.is-active) { display: none; }
  .step-nav { margin-top: 0; }
  .prose dl { grid-template-columns: 1fr; gap: 2px; }
  .prose dd { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .logo img { height: 36px; }
  .profiles, .works { grid-template-columns: 1fr; }
  /* sols-souples.jpg fait 470 px : la carte ne dépasse jamais cette largeur */
  .cards-3 { grid-template-columns: 1fr; max-width: 470px; margin-left: auto; margin-right: auto; }
  .works { max-width: 480px; margin-left: auto; margin-right: auto; }
  .option-grid, .option-grid--3, .field-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 12px; font-size: .78rem; max-width: 210px; }
  .float-card .ico { width: 32px; height: 32px; }
  .float-card--a { top: 8%; }
  .float-card--b { bottom: 8%; }
  /* Chiffres clés compacts : 2 colonnes, texte réduit */
  .stats { padding: 20px 14px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .stat { padding: 0 2px; }
  .stat + .stat::before { display: none; }
  .stat-value { font-size: 1.75rem; }
  .stat-value--text { font-size: .95rem; min-height: 1.75rem; }
  .stat-value svg { width: 18px; height: 18px; margin-right: 5px; }
  .stat-label { margin-top: 6px; font-size: .78rem; line-height: 1.35; }
  .proof-bottom { padding: 14px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .map-card { width: min(100%, 240px); margin: 0 auto; }
  .q-actions .btn { flex: 1 1 auto; }
  .ba { aspect-ratio: 4 / 4.2; }
  .ba-tag { font-size: .68rem; padding: 5px 9px; top: 10px; }
  .ba-tag--before { left: 10px; }
  .ba-tag--after { right: 10px; }
  .site-footer { padding-bottom: 88px; } /* place pour le bouton flottant, fond foncé jusqu'en bas */
}

/* MOUVEMENT RÉDUIT */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
  .work:hover .work-media img { transform: none; }
}

/* 18. CONTACT FONCTIONNEL : copie d'e-mail, candidature */
.mail-line { display: inline; }
.copy-btn {
  display: inline-flex; align-items: center; vertical-align: middle; margin-left: 6px;
  min-height: 32px; padding: 4px 12px; border-radius: 999px; cursor: pointer;
  font-size: .78rem; font-weight: 700; line-height: 1.2;
  border: 1px solid currentColor; background: transparent; color: var(--blue);
  transition: background-color .2s, color .2s;
}
.copy-btn:hover { background: var(--teal-50); }
.on-dark .copy-btn { color: #fff; border-color: rgba(255,255,255,.5); }
.on-dark .copy-btn:hover { background: rgba(255,255,255,.14); }
.copy-btn.is-done { color: var(--navy); background: var(--teal-50); border-color: var(--teal-50); }
.on-dark .copy-btn.is-done { color: var(--navy-900); background: var(--teal-light); border-color: var(--teal-light); }
html:not(.js) .copy-btn { display: none; }
.footer-contact a[target], .contact-meta a[target] { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }

.jobs-label { font-size: .88rem; font-weight: 700; color: var(--navy); margin: 8px 0 0; }
.jobs-chips li { padding: 0; background: none; }
.job-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  background: var(--teal-50); color: var(--navy); font-weight: 700; font-size: .85rem; text-decoration: none;
  border: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.job-chip:hover { border-color: var(--teal-600); background: #fff; }

.cand-dialog {
  width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  border: 0; border-radius: var(--radius-lg); padding: 0; color: var(--ink);
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.cand-dialog::backdrop { background: rgba(0, 31, 61, .6); }
.cand-dialog[open] { animation: fadeUp .3s var(--ease); }
.cand-inner { padding: clamp(20px, 4vw, 36px); }
.cand-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.cand-head h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--navy); margin: 0; }
.cand-head .eyebrow { margin-bottom: 6px; }
.icon-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.icon-close:hover { border-color: var(--navy); }
.icon-close svg { width: 20px; height: 20px; }
.field input[type="file"] { padding: 10px; min-height: 0; background: var(--bg); }
html.has-dialog { overflow: hidden; }
/* Sans JS : le formulaire de candidature s'affiche en ligne sous les cartes */
html:not(.js) .cand-dialog { display: block; position: static; width: auto; max-width: none; max-height: none; margin: 24px 0 0; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
html:not(.js) .cand-dialog .icon-close, html:not(.js) .cand-dialog [data-close-dialog] { display: none; }

@media (max-width: 519px) { .float-card { display: none; } }
.page-hero + .section { padding-top: 0; }
@media (max-width: 519px) { .hero-since { display: none; } }

/* =========================================================
   Réalisations : carrousel horizontal (photo centrale mise en avant,
   voisines plus petites et estompées à gauche et à droite)
   ========================================================= */
.carousel { position: relative; overflow-x: clip; padding-bottom: 8px; --slide-w: min(500px, 74vw); }
.works--carousel { display: block; position: relative; height: 560px; max-width: none; margin: 0; padding: 0; touch-action: pan-y; user-select: none; }
.works--carousel .work {
  position: absolute; top: 0; left: 50%; width: var(--slide-w); margin-left: calc(var(--slide-w) / -2);
  transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease);
  transform: translateX(0) scale(.6); opacity: 0; pointer-events: none; z-index: 0;
}
.works--carousel .work-media { aspect-ratio: 1 / 1; }  /* photos carrées : affichées en entier, sans zoom */
.works--carousel .work[data-pos="0"] { transform: none; opacity: 1; z-index: 3; pointer-events: auto; box-shadow: var(--shadow-lg, 0 18px 40px rgba(0, 31, 61, .18)); }
.works--carousel .work[data-pos="-1"],
.works--carousel .work[data-pos="1"] { opacity: .55; z-index: 2; pointer-events: auto; cursor: pointer; filter: saturate(.75) brightness(.95); }
.works--carousel .work[data-pos="-1"] { transform: translateX(-68%) scale(.78); }
.works--carousel .work[data-pos="1"] { transform: translateX(68%) scale(.78); }
.works--carousel .work[data-pos="-2"] { transform: translateX(-110%) scale(.6); }
.works--carousel .work[data-pos="2"] { transform: translateX(110%) scale(.6); }
.works--carousel .work[data-pos="-1"]:hover,
.works--carousel .work[data-pos="1"]:hover { opacity: .8; }
.works--carousel .work:not([data-pos="0"]) .work-body { opacity: 0; transition: opacity .3s; }
.works--carousel .work { transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease), background-color .4s, border-color .4s; }
.works--carousel .work:not([data-pos="0"]) { background: transparent; border-color: transparent; box-shadow: none; }
.works--carousel .work:not([data-pos="0"]) .work-media { border-radius: var(--radius); }
.works--carousel .work:not([data-pos="0"]):hover .work-media img { transform: none; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn--prev svg { transform: rotate(180deg); }
.carousel-btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.carousel-dots { display: flex; gap: 0; }
/* Zone de clic de 24 x 24 px, point visible de 9 px dessiné par le pseudo-élément */
.carousel-dot { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dot::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--line); transition: background .25s, transform .25s; }
.carousel-dot[aria-current="true"]::before { background: var(--teal); transform: scale(1.25); }

@media (max-width: 640px) {
  .carousel { --slide-w: 80vw; }
  .works--carousel .work[data-pos="-1"] { transform: translateX(-80%) scale(.82); }
  .works--carousel .work[data-pos="1"] { transform: translateX(80%) scale(.82); }
}
@media (prefers-reduced-motion: reduce) {
  .works--carousel .work { transition: none; }
}
/* Sans JavaScript : simple défilement horizontal natif */
html:not(.js) .works--carousel { height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .works--carousel .work { position: static; margin: 0; flex: 0 0 var(--slide-w); opacity: 1; transform: none; pointer-events: auto; scroll-snap-align: center; }
html:not(.js) .carousel-controls { display: none; }
.carousel-btn--play { margin-left: 4px; }
.carousel-btn--play svg { width: 16px; height: 16px; }

/* Bouton pause : uniquement sur écrans tactiles (téléphones, tablettes), où la pause au survol n'existe pas */
.carousel-btn--play { display: none; }
@media (hover: none) and (pointer: coarse) {
  .carousel-btn--play:not([hidden]) { display: grid; }
}

/* Recadrage du visuel PVC (classe plutôt que style en ligne, bloqué par la CSP) */
.img-pos-top { object-position: 50% 30%; }
