/* ==========================================================================
   ROD.Motion — feuille de style du site
   Identité : noir, blanc, Bleu Rod #4166FF, grille de construction,
   point final bleu. Police : Instrument Sans (auto-hébergée).
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rod: #4166FF;
  --rod-600: #2D50EE;
  --rod-200: #C7D2FF;
  --rod-100: #EBEFFF;
  --rod-on-dark: #8FA5FF;
  --ink: #000;
  --text: #22242A;
  --soft: #3E414B;
  --muted: #646876;
  --line: #E1E4EE;
  --line-strong: #CDD2E0;
  --mist: #EEF0F7;
  --mist-2: #F6F7FB;
  --paper: #FFFFFF;
  --danger: #B42318;

  --fg: var(--text);
  --fg-strong: var(--ink);
  --fg-soft: var(--soft);
  --fg-muted: var(--muted);
  --border: var(--line);

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --narrow: 780px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(17, 24, 56, .05), 0 14px 34px -14px rgba(36, 52, 128, .24);
  --shadow-lift: 0 2px 6px rgba(17, 24, 56, .06), 0 26px 56px -18px rgba(36, 52, 128, .34);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --section-y: clamp(64px, 9vw, 128px);

  --grid-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%231B2559'%3E%3Crect x='0' y='0' width='1' height='160' fill-opacity='.045'/%3E%3Crect x='40' y='0' width='1' height='160' fill-opacity='.045'/%3E%3Crect x='120' y='0' width='1' height='160' fill-opacity='.045'/%3E%3Crect x='0' y='0' width='160' height='1' fill-opacity='.045'/%3E%3Crect x='0' y='40' width='160' height='1' fill-opacity='.045'/%3E%3Crect x='0' y='120' width='160' height='1' fill-opacity='.045'/%3E%3Crect x='80' y='0' width='1' height='160' fill-opacity='.08'/%3E%3Crect x='0' y='80' width='160' height='1' fill-opacity='.08'/%3E%3Crect x='75' y='80' width='11' height='1' fill-opacity='.38'/%3E%3Crect x='80' y='75' width='1' height='11' fill-opacity='.38'/%3E%3C/g%3E%3C/svg%3E");
  --grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23FFFFFF'%3E%3Crect x='0' y='0' width='1' height='160' fill-opacity='.035'/%3E%3Crect x='40' y='0' width='1' height='160' fill-opacity='.035'/%3E%3Crect x='120' y='0' width='1' height='160' fill-opacity='.035'/%3E%3Crect x='0' y='0' width='160' height='1' fill-opacity='.035'/%3E%3Crect x='0' y='40' width='160' height='1' fill-opacity='.035'/%3E%3Crect x='0' y='120' width='160' height='1' fill-opacity='.035'/%3E%3Crect x='80' y='0' width='1' height='160' fill-opacity='.07'/%3E%3Crect x='0' y='80' width='160' height='1' fill-opacity='.07'/%3E%3Crect x='75' y='80' width='11' height='1' fill-opacity='.3'/%3E%3Crect x='80' y='75' width='1' height='11' fill-opacity='.3'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

@media (min-width: 1024px) {
  body { font-size: 1.125rem; }
}

img, svg, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }
picture img { width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
ul[class], ol[class] { list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
main:focus { outline: none; }

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

:focus-visible {
  outline: 2px solid var(--rod);
  outline-offset: 3px;
}

.visually-hidden {
  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: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--rod);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* Champ piège anti-spam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */

.display, .h1, .h2, .h3, h1, h2, h3, h4 {
  color: var(--fg-strong);
  font-weight: 700;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.75rem, 1.2rem + 5.6vw, 6.25rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.h1 {
  font-size: clamp(2.375rem, 1.55rem + 3.3vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -.04em;
}
.h2 {
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
  line-height: 1.07;
  letter-spacing: -.035em;
}
.h3 {
  font-size: clamp(1.3125rem, 1.14rem + .65vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -.022em;
}
h3, h4 { letter-spacing: -.015em; line-height: 1.3; }

.lead {
  font-size: clamp(1.125rem, 1.03rem + .42vw, 1.3125rem);
  line-height: 1.55;
  color: var(--fg-soft);
  text-wrap: pretty;
}
.muted { color: var(--fg-muted); }
p { text-wrap: pretty; }

/* Le point final bleu de la marque : 0,2 em × 0,155 em, posé sur la ligne de base */
.dot {
  display: inline-block;
  width: .2em;
  height: .155em;
  margin-left: .05em;
  border-radius: 50%;
  background: var(--rod);
  vertical-align: baseline;
  transform-origin: 50% 100%;
}

.link {
  color: var(--rod-600);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, var(--rod) 40%, transparent);
  transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: var(--rod-600); text-decoration-color: currentColor; }
.theme-dark .link { color: var(--rod-on-dark); }

.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Mise en page
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight-top { padding-top: clamp(28px, 4vw, 56px); }
.section--flush-top { padding-top: 0; }
.section--mist { background-color: var(--mist); }

.section__head { margin-bottom: clamp(32px, 4.5vw, 64px); max-width: 780px; }
.section__head .lead { margin-top: 18px; }
.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  max-width: none;
}
.section__head--split .lead { margin-top: 0; }
.section__head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 32px;
  max-width: none;
}
.section__more { margin-top: 32px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 104px);
  align-items: start;
}
.split--center { align-items: center; }
.split--main-first { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
a[href^="tel:"] { white-space: nowrap; }
.split__aside .lead, .split__aside > p { margin-top: 20px; }
@media (min-width: 1024px) {
  .split:not(.split--center) > .split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Fond « grille de construction » de la charte */
.grid-bg {
  background-color: var(--mist);
  background-image:
    var(--grid-light),
    radial-gradient(60% 55% at 88% 6%, rgba(65, 102, 255, .14), transparent 70%),
    radial-gradient(45% 45% at 6% 100%, rgba(65, 102, 255, .08), transparent 70%);
  background-size: 160px 160px, 100% 100%, 100% 100%;
  background-position: calc(50% + 80px) 0, 0 0, 0 0;
}

.theme-dark {
  --fg: #FFFFFF;
  --fg-strong: #FFFFFF;
  --fg-soft: #C9CCD8;
  --fg-muted: #9DA2B4;
  --border: rgba(255, 255, 255, .14);
  background-color: #000;
  color: var(--fg);
}
.theme-dark.grid-bg {
  background-color: #000;
  background-image:
    var(--grid-dark),
    radial-gradient(55% 65% at 92% 100%, rgba(65, 102, 255, .30), transparent 70%),
    radial-gradient(40% 40% at 0% 0%, rgba(65, 102, 255, .10), transparent 70%);
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg-strong);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .95em 1.45em;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { --btn-bg: var(--rod); --btn-fg: #fff; --btn-border: var(--rod); }
.btn--primary:hover { --btn-bg: var(--rod-600); --btn-border: var(--rod-600); box-shadow: 0 10px 24px -10px rgba(65, 102, 255, .7); }
.btn--ghost { --btn-border: var(--line-strong); }
.btn--ghost:hover { --btn-border: var(--fg-strong); }
.theme-dark .btn--ghost { --btn-border: rgba(255, 255, 255, .3); --btn-fg: #fff; }
.theme-dark .btn--ghost:hover { --btn-border: #fff; }
.btn--ink { --btn-bg: #000; --btn-fg: #fff; --btn-border: #000; }
.btn--ink:hover { --btn-bg: #24262E; --btn-border: #24262E; }
.btn--sm { padding: .72em 1.15em; font-size: .9375rem; }
.btn--lg { padding: 1.1em 1.65em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.check {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rod);
  color: #fff;
  flex: none;
}
.check .icon { width: 15px; height: 15px; stroke-width: 2.6; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-dark {
  color: #fff;
  background: rgba(0, 0, 0, .72);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.site-header.is-dark.is-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__logo { display: block; color: inherit; flex: none; }
.site-header__logo .logo { width: 152px; height: auto; }
.logo .logo-dot { transform-box: fill-box; transform-origin: 50% 100%; }
.site-header__logo:hover .logo-dot { animation: dot-hop .7s var(--ease); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: background-color .2s;
}
.nav__link:hover { background: rgba(0, 0, 0, .05); }
.is-dark .nav__link:hover { background: rgba(255, 255, 255, .1); }
.nav__link[aria-current="page"]::after,
.nav__trigger[data-active]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 6px;
  height: 4.6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--rod);
}
.nav__trigger .icon { transition: transform .3s var(--ease); }
.nav__item--menu { position: relative; }
.nav__item--menu.is-open .nav__trigger .icon { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  width: min(600px, 80vw);
  padding: 10px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(17, 24, 56, .04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.nav__item--menu.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s;
}
.nav__menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav__menu-list a {
  position: relative;
  display: block;
  padding: 14px 16px 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color .2s;
}
.nav__menu-list a::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 25px;
  width: 7px;
  height: 5.4px;
  border-radius: 50%;
  background: var(--rod);
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.nav__menu-list a:hover, .nav__menu-list a[aria-current="page"] { background: var(--mist-2); }
.nav__menu-list a:hover::before, .nav__menu-list a[aria-current="page"]::before { transform: scale(1); }
.nav__menu-title { display: block; font-weight: 600; color: var(--ink); font-size: .9875rem; }
.nav__menu-hint { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav__menu-foot {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  padding: 12px 16px 6px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.nav__menu-foot a { color: var(--muted); text-decoration: none; }
.nav__menu-foot a:hover { color: var(--rod); }

.site-header__cta { flex: none; }

.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.burger__lines,
.burger__lines::before {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger__lines { top: 19px; }
.burger__lines::before { content: ""; left: 0; top: 7px; }
.burger[aria-expanded="true"] .burger__lines { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::before { top: 0; transform: rotate(-90deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  overflow-y: auto;
  background: #fff;
  color: var(--text);
  border-top: 1px solid var(--line);
}
.mobile-menu__inner { padding-top: 24px; padding-bottom: 40px; }
.mobile-menu__label { font-size: .875rem; font-weight: 600; color: var(--muted); }
.mobile-menu__services { margin: 10px 0 24px; display: grid; gap: 2px; }
.mobile-menu__services a { display: block; padding: 8px 0; font-size: 1.125rem; font-weight: 500; text-decoration: none; }
.mobile-menu__main { display: grid; gap: 4px; padding-top: 20px; margin-bottom: 28px; border-top: 1px solid var(--line); }
.mobile-menu__main a { display: block; padding: 6px 0; font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.mobile-menu__contact { display: grid; gap: 6px; margin-top: 24px; color: var(--muted); }
.mobile-menu__contact a { text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header,
body.menu-open .site-header.is-dark.is-top { background: #fff; color: var(--ink); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (max-width: 1080px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: block; }
}

/* --------------------------------------------------------------------------
   Fil d'Ariane
   -------------------------------------------------------------------------- */

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45em; list-style: none; font-size: .875rem; color: var(--fg-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .45em; opacity: .55; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--fg-strong); text-decoration: underline; text-underline-offset: .2em; }
.breadcrumbs [aria-current] { color: var(--fg-strong); }

/* --------------------------------------------------------------------------
   Accueil : hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: calc(var(--header-h) + clamp(48px, 9vh, 112px));
  padding-bottom: clamp(64px, 10vh, 120px);
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__title { max-width: 12.5ch; }
.hero__lead { max-width: 33em; margin-top: 28px; }
.hero__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--fg-soft);
  font-weight: 500;
  font-size: 1rem;
}
.hero__note--light { color: var(--soft); margin-top: 28px; }
.hero__visual { position: relative; }
.hero__caption { margin-top: 22px; text-align: center; font-size: .875rem; color: var(--fg-muted); }

/* Le point du titre tombe et se pose : le moment signature de la page */
.dot--land {
  animation: dot-land 1.15s .45s both;
}
@keyframes dot-land {
  0%   { transform: translateY(-3.4em) scale(.7, 1.15); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .95, .45); }
  8%   { opacity: 1; }
  44%  { transform: translateY(0) scale(1.55, .6); animation-timing-function: cubic-bezier(.15, .7, .35, 1); }
  62%  { transform: translateY(-.5em) scale(.92, 1.1); animation-timing-function: cubic-bezier(.55, 0, .95, .5); }
  78%  { transform: translateY(0) scale(1.2, .82); animation-timing-function: cubic-bezier(.15, .7, .35, 1); }
  90%  { transform: translateY(-.07em) scale(.98, 1.02); }
  100% { transform: none; opacity: 1; }
}
@keyframes dot-hop {
  0%, 100% { transform: none; }
  35% { transform: translateY(-38%) scale(.92, 1.08); }
  62% { transform: scale(1.18, .84); }
}

/* Téléphone */
.phone {
  position: relative;
  width: clamp(236px, 23vw, 312px);
  margin-inline: auto;
  padding: 10px;
  border-radius: 46px;
  background: #0E0F14;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .16),
    0 0 0 1px rgba(0, 0, 0, .9),
    0 50px 90px -30px rgba(65, 102, 255, .55),
    0 30px 60px -30px rgba(0, 0, 0, .9);
}
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 17.6;
  overflow: hidden;
  border-radius: 36px;
  background: #fff;
}
.phone__screen::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 2;
  width: 31%;
  height: 25px;
  margin-left: -15.5%;
  border-radius: 20px;
  background: #000;
}
.phone__video { width: 100%; height: 100%; object-fit: cover; }
.phone__toggle {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .2s var(--ease), transform .3s var(--ease);
}
.phone__toggle:hover { background: var(--rod); transform: scale(1.06); }
.phone__toggle .icon { width: 18px; height: 18px; }
.phone__toggle .icon--play { display: none; margin-left: 2px; }
.phone__toggle.is-paused .icon--play { display: block; }
.phone__toggle.is-paused .icon--pause { display: none; }

/* --------------------------------------------------------------------------
   En-tête des pages intérieures
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 48px));
  padding-bottom: clamp(56px, 7vw, 104px);
}
.page-hero--compact { padding-bottom: clamp(44px, 5vw, 72px); }
.page-hero .h1 { margin-top: clamp(20px, 3vw, 36px); max-width: 16ch; }
.page-hero--compact .h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 22px; max-width: 36em; }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.page-hero__grid .h1 { max-width: 14ch; }
.page-hero__grid--map .h1 { max-width: 17ch; }
.page-hero__visual { position: relative; }

.visual-stack { position: relative; }
.visual-stack--1 .visual-stack__item { width: 100%; }
.visual-stack--2 { padding-bottom: 18%; }
.visual-stack--2 .visual-stack__item:first-child { width: 86%; }
.visual-stack--2 .visual-stack__item:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
}
.visual-stack--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0;
}
.visual-stack--3 .visual-stack__item:nth-child(1) { transform: translate(12%, 6%) rotate(-4deg); }
.visual-stack--3 .visual-stack__item:nth-child(2) { position: relative; z-index: 2; transform: translateY(-4%) scale(1.08); }
.visual-stack--3 .visual-stack__item:nth-child(3) { transform: translate(-12%, 6%) rotate(4deg); }

/* --------------------------------------------------------------------------
   Liste des services (lignes typographiques)
   -------------------------------------------------------------------------- */

.service-list { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) auto;
  gap: 16px 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.service-row__title {
  position: relative;
  font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.375rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--ink);
  transition: transform .5s var(--ease);
}
.service-row__title::before {
  content: "";
  position: absolute;
  left: -.55em;
  bottom: .14em;
  width: .2em;
  height: .155em;
  border-radius: 50%;
  background: var(--rod);
  transform: scale(0);
  transform-origin: 50% 100%;
  transition: transform .45s var(--ease);
}
.service-row__text { color: var(--muted); max-width: 34em; }
.service-row__go {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .45s var(--ease);
}
.service-row:hover .service-row__title { transform: translateX(.55em); }
.service-row:hover .service-row__title::before { transform: scale(1); }
.service-row:hover .service-row__go { background: var(--rod); border-color: var(--rod); color: #fff; transform: rotate(-45deg); }
.service-row:focus-visible { outline-offset: -2px; }
.service-list--compact .service-row { padding: 22px 0; }
.section--mist .service-list, .section--mist .service-row { border-color: var(--line-strong); }

/* --------------------------------------------------------------------------
   Réalisations
   -------------------------------------------------------------------------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
}
.project-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Grande carte à gauche (image entière en 16:10, jamais recadrée), deux cartes compactes à droite */
.project-grid--feature {
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  grid-auto-rows: auto;
  align-items: start;
}
.project-grid--feature .project-card--large { grid-row: span 2; }
.project-grid--feature .project-card:not(.project-card--large) .project-card__excerpt { display: none; }
.project-grid--feature .project-card:not(.project-card--large) .project-card__title { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.project-grid__cell { display: contents; }

.project-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mist);
  box-shadow: var(--shadow-card);
  transition: box-shadow .5s var(--ease), transform .6s var(--ease);
}
.project-card__media picture { position: absolute; inset: 0; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.project-card__placeholder .monogram { width: 22%; color: var(--ink); }
.project-card__play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rod);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(65, 102, 255, .8);
  transition: transform .45s var(--ease);
}
.project-card__play .icon { width: 18px; height: 18px; margin-left: 2px; }
.project-card__body { padding: 18px 2px 0; }
.project-card__tag { font-size: .8125rem; font-weight: 600; color: var(--rod-600); letter-spacing: .005em; }
.project-card__title {
  margin-top: 6px;
  font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
}
.project-card--large .project-card__title { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.875rem); }
.project-card__excerpt { margin-top: 8px; color: var(--muted); font-size: .9875rem; line-height: 1.55; }
.project-card__link:hover .project-card__media { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.project-card__link:hover .project-card__media img { transform: scale(1.035); }
.project-card__link:hover .project-card__play { transform: scale(1.12); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty-state {
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--mist-2);
  border: 1px dashed var(--line-strong);
  text-align: center;
}
.empty-state p + p { margin-top: 10px; color: var(--muted); }
.empty { margin-top: 24px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Avantages, exemples, problème / solution
   -------------------------------------------------------------------------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
}
.benefits li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.benefits h3 { font-size: 1.1875rem; color: var(--ink); }
.benefits p { margin-top: 6px; color: var(--muted); }
.benefits--two { margin-top: 36px; }

.ps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: clamp(28px, 3vw, 44px);
}
.ps__card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); }
.ps__card h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.ps__card p { margin-top: 12px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }
.ps__card--problem { background: var(--mist-2); border: 1px solid var(--line); }
.ps__card--problem h3 { color: var(--muted); }
.ps__card--problem p { color: var(--soft); }
.ps__card--solution { background: #fff; border: 1.5px solid var(--rod); box-shadow: 0 18px 40px -22px rgba(65, 102, 255, .55); }
.ps__card--solution h3 { color: var(--rod); }
.ps__card--solution p { color: var(--ink); }
.ps__arrow {
  align-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  color: #fff;
}

.examples {
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: #000;
  color: #fff;
}
.examples .h3 { color: #fff; }
.examples__list { margin-top: 20px; display: grid; gap: 14px; }
.examples__list li, .bullets li {
  position: relative;
  padding-left: 1.15em;
}
.examples__list li::before, .bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .42em;
  height: .325em;
  border-radius: 50%;
  background: var(--rod);
}
.examples__list li { color: #D9DCE6; }
.bullets { display: grid; gap: 8px; }

/* --------------------------------------------------------------------------
   Déroulement (onglets) et étapes compactes
   -------------------------------------------------------------------------- */

.process__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(28px, 3vw, 44px);
}
.process__rail::before,
.process__rail::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(clamp(2.5rem, 1.9rem + 2vw, 3.5rem) + 20px);
  height: 2px;
  border-radius: 2px;
}
.process__rail::before { right: 0; background: var(--line-strong); }
.process__rail::after { width: calc(var(--progress, 0) * 75%); background: var(--rod); transition: width .6s var(--ease); }
.process__tab {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 0;
  padding: 0 16px 0 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--muted);
  border-radius: var(--radius-sm);
}
.process__num {
  font-size: clamp(2.5rem, 1.9rem + 2vw, 3.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--rod-200);
  transition: color .3s var(--ease);
}
.process__name {
  position: relative;
  margin-top: 38px;
  font-size: 1.0625rem;
  font-weight: 600;
  transition: color .3s var(--ease);
}
.process__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: -29px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line-strong);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.process__tab:hover .process__num { color: var(--rod); }
.process__tab[aria-selected="true"] .process__num { color: var(--rod); }
.process__tab[aria-selected="true"] .process__name { color: var(--ink); }
.process__tab[aria-selected="true"] .process__name::before { background: var(--rod); border-color: #fff; box-shadow: 0 0 0 2px var(--rod); transform: scale(1.1); }
.process__tab.is-done .process__name::before { background: var(--rod); border-color: var(--rod); }

.process__panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.process__panel + .process__panel { margin-top: 56px; }
.js .process__panel + .process__panel { margin-top: 0; }
.process__panel.is-entering .process__text { animation: panel-in .55s var(--ease) both; }
.process__panel.is-entering .process__visual { animation: panel-in .7s .05s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.process__count { font-size: .9375rem; color: var(--muted); font-weight: 500; }
.process__text .h3 { margin-top: 6px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); letter-spacing: -.035em; }
.process__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.process__cols h4 { font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.process__cols li { font-size: 1rem; color: var(--soft); }
.receive {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.receive p { display: grid; }
.receive__label { font-size: .8125rem; color: var(--muted); }
.receive strong { color: var(--ink); font-size: 1.0625rem; }
.process__visual picture { width: 100%; }

/* Étapes compactes (pages services) */
.steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.steps__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(clamp(2.25rem, 1.8rem + 1.5vw, 3rem) + 26px);
  height: 2px;
  background: var(--line-strong);
}
.steps__item { position: relative; display: flex; flex-direction: column; }
.steps__num {
  font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--rod);
}
.steps__node {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin: 17px 0 22px;
  border-radius: 50%;
  background: var(--rod);
  box-shadow: 0 0 0 4px var(--mist), 0 0 0 5.5px rgba(65, 102, 255, .35);
}
.steps__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.steps__title { font-size: 1.375rem; letter-spacing: -.025em; color: var(--ink); }
.steps__card p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.steps__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto !important;
  padding-top: 18px;
  color: var(--rod) !important;
  font-weight: 600;
  font-size: .9375rem;
}
.icon--badge {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--rod);
  color: #fff;
  stroke-width: 2.8;
}
.steps__list--plain .steps__card p { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Formats
   -------------------------------------------------------------------------- */

.formats__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 24px;
}
.format { flex: 0 0 auto; }
.format__frame {
  display: grid;
  place-items: center;
  height: clamp(150px, 17vw, 228px);
  aspect-ratio: var(--ratio);
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.format:hover .format__frame { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.format__mono { height: 22%; width: auto; }
.format__logo { width: 62%; height: auto; }
.format__ratio { margin-top: 16px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.format__use { color: var(--muted); font-size: .9375rem; }

/* --------------------------------------------------------------------------
   Mini-calculateur (accueil)
   -------------------------------------------------------------------------- */

.price-teaser__from { margin-top: 28px; font-size: 1.125rem; color: var(--fg-soft); }
.price-teaser__from strong { display: block; font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem); line-height: 1.05; letter-spacing: -.04em; color: #fff; }
.mini-calc {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.mini-calc .field { border: 0; padding: 0; margin: 0; min-width: 0; }
.mini-calc .field__label { color: #C9CCD8; }
.mini-calc .select {
  background-color: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.mini-calc .select option { color: #000; }
.mini-calc__result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.mini-calc__label { color: #C9CCD8; font-size: .9375rem; }
.mini-calc__price { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .24);
  font-weight: 600;
  font-size: .9375rem;
  transition: background-color .2s, border-color .2s;
}
.chip input:checked + span { background: var(--rod); border-color: var(--rod); }
.chip input:focus-visible + span { outline: 2px solid var(--rod-on-dark); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Carte de la zone d'activité
   -------------------------------------------------------------------------- */

.map {
  margin: 0;
  padding: clamp(10px, 1.6vw, 18px);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.map svg { width: 100%; height: auto; overflow: visible; }
.map__links line { stroke: var(--rod); stroke-opacity: .32; stroke-width: 1.25; stroke-dasharray: 3 5; }
.map__dot { fill: var(--ink); }
.map__city text { font-family: var(--font); font-size: 14px; fill: var(--muted); font-weight: 500; }
.map__city--home .map__dot { fill: var(--rod); }
.map__city--home text { fill: var(--ink); font-weight: 700; font-size: 16px; }
.map__pulse {
  fill: rgba(65, 102, 255, .1);
  stroke: rgba(65, 102, 255, .35);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.45); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.map figcaption { padding: 6px 8px 4px; font-size: .875rem; color: var(--muted); }

.link-list { display: grid; gap: 10px; margin-top: 30px; }
.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s, box-shadow .35s var(--ease);
}
.link-card .icon { transition: transform .4s var(--ease); }
.link-card:hover { border-color: var(--ink); }
.link-card:hover .icon { transform: translateX(4px); }
.link-card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #fff; }
.link-card--dark:hover { border-color: #fff; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.75px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), background-color .3s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--rod); border-color: var(--rod); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item summary:hover .faq__icon { border-color: var(--ink); }
.faq__a { padding: 0 56px 26px 0; color: var(--soft); }

/* --------------------------------------------------------------------------
   Bandeau d'appel à l'action et pied de page
   -------------------------------------------------------------------------- */

.cta-band {
  padding-block: clamp(80px, 10vw, 144px) clamp(56px, 7vw, 96px);
  background-color: #000;
  background-image:
    var(--grid-dark),
    radial-gradient(50% 70% at 90% 100%, rgba(65, 102, 255, .32), transparent 70%);
  background-size: 160px 160px, 100% 100%;
  background-position: calc(50% + 80px) 0, 0 0;
}
.cta-band__head .lead { margin-top: 16px; }
.cta-band__contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.cta-band__contacts dt { font-size: .875rem; color: var(--fg-muted); }
.cta-band__contacts dd { margin-top: 6px; font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem); font-weight: 700; letter-spacing: -.02em; }
.cta-band__contacts a { text-decoration: none; }
.cta-band__contacts a:hover { color: var(--rod-on-dark); }

.site-footer { padding: 56px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9375rem; }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.site-footer__logo { display: inline-block; color: #fff; }
.site-footer__logo .logo { width: 168px; height: auto; }
.site-footer__brand p { margin-top: 18px; max-width: 26em; color: var(--fg-muted); }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .25s, background-color .25s;
}
.social-link .icon { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--rod); color: #fff; }
.social-link:hover { border-color: #fff; }
.site-footer__title { font-weight: 600; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col ul { display: grid; gap: 8px; }
.site-footer__col a { color: var(--fg-muted); text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col address { color: var(--fg-muted); line-height: 1.7; }
.site-footer__contact { margin-top: 14px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--fg-muted);
  font-size: .875rem;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__legal a, .site-footer__legal .linkish { color: var(--fg-muted); text-decoration: none; font-size: .875rem; }
.site-footer__legal a:hover, .site-footer__legal .linkish:hover { color: #fff; }
.site-footer__credit { margin-left: auto; }
.site-footer__credit a { color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   Bandeau cookies
   -------------------------------------------------------------------------- */

.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 120;
  width: min(440px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(17, 24, 56, .05);
  font-size: .9375rem;
  animation: cookie-in .5s var(--ease) both;
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie__title { font-weight: 700; color: var(--ink); font-size: 1.0625rem; letter-spacing: -.01em; padding: 0; }
.cookie__text { margin-top: 8px; color: var(--soft); line-height: 1.55; }
.cookie__text a { color: var(--rod); }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.cookie__custom { margin-left: auto; font-size: .875rem; color: var(--muted); }
.cookie__prefs fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.cookie__prefs legend { margin-bottom: 12px; }
.cookie__prefs .cookie__actions { margin-top: 18px; }

.toggle { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; cursor: pointer; position: relative; }
.toggle input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.toggle input:disabled { cursor: not-allowed; }
.toggle__ui {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background-color .25s;
}
.toggle__ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .3s var(--ease);
}
.toggle input:checked + .toggle__ui { background: var(--rod); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:disabled + .toggle__ui { opacity: .55; }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--rod); outline-offset: 2px; }
.toggle__text strong { display: block; color: var(--ink); font-weight: 600; }
.toggle__text small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.45; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Démonstration « Linéaire / Fluide »
   -------------------------------------------------------------------------- */

.easing__panel {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(65, 102, 255, .5);
}
.easing__row { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 16px; padding: 18px 0; }
.easing__row + .easing__row { border-top: 1px solid var(--line); }
.easing__label { font-weight: 600; color: var(--muted); font-size: .9375rem; }
.easing__label--accent { color: var(--rod); }
.easing__track { position: relative; height: 22px; background: linear-gradient(var(--line), var(--line)) center / 100% 2px no-repeat; }
.easing__ball {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #8E93A3;
}
.easing__ball--fluid { background: var(--rod); box-shadow: 0 6px 14px -4px rgba(65, 102, 255, .7); }
.easing.is-playing .easing__ball--linear { animation: ease-move 1.6s linear .2s 2 alternate both; }
.easing.is-playing .easing__ball--fluid { animation: ease-move 1.6s var(--ease-io) .2s 2 alternate both; }
@keyframes ease-move { from { left: 0; } to { left: calc(100% - 22px); } }
.easing__curve { margin-top: 14px; padding: 16px 18px 12px; border-radius: var(--radius); background: var(--mist-2); }
.easing__curve-label { font-size: .875rem; color: var(--soft); }
.easing__curve svg { width: 100%; height: 96px; margin-top: 6px; }
.easing__curve path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 420; stroke-dashoffset: 0; }
.easing.is-playing .easing__curve path { animation: draw 1.6s var(--ease-io) .2s both; }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   Studio
   -------------------------------------------------------------------------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 56px);
}
.principles li { padding-top: 22px; border-top: 2px solid var(--ink); }
.principles h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); letter-spacing: -.04em; }
.principles h3::after {
  content: "";
  display: inline-block;
  width: .2em;
  height: .155em;
  margin-left: .05em;
  border-radius: 50%;
  background: var(--rod);
}
.principles p { margin-top: 12px; color: var(--muted); }

.craft { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.craft figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: .9375rem; }

.kit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.kit__item {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.kit__item h3 { margin-top: 18px; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.kit__item p { margin-top: 6px; color: var(--muted); }
.kit__item--dark { background: #111216; }
.kit__item--dark h3 { color: #fff; }
.kit__item--dark p { color: #A9ADBD; }
.kit__dot { display: block; width: 22px; height: 17px; border-radius: 50%; background: var(--rod); margin: 4px 0 5px; }

.regions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 3vw, 44px);
}
.regions__item { padding-top: 20px; border-top: 2px solid var(--ink); }
.regions__item:first-child { border-top-color: var(--rod); }
.regions__item h3 { font-size: 1.375rem; color: var(--ink); }
.regions__item p { margin-top: 8px; color: var(--muted); }
.regions__item .link { display: inline-block; margin-top: 10px; font-size: .9375rem; }

.prose--lead p { font-size: clamp(1.125rem, 1.03rem + .42vw, 1.3125rem); line-height: 1.6; color: var(--soft); }
.prose--lead p + p { margin-top: 1em; }

/* --------------------------------------------------------------------------
   Fiche réalisation
   -------------------------------------------------------------------------- */

.work-hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(48px, 6vw, 80px); }
.work-hero__head { max-width: 900px; }
.work-hero__head .h1 { margin-top: clamp(20px, 3vw, 32px); }
.work-hero__head .lead { margin-top: 18px; max-width: 40em; }
.work-hero__media { margin-top: clamp(32px, 4vw, 56px); }
.work-hero__media--vertical .player { max-width: min(440px, 100%); margin-inline: auto; }
.work-hero__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.work-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.work-facts dt { font-size: .8125rem; color: var(--fg-muted); }
.work-facts dd { font-weight: 600; color: #fff; }
.work-facts a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.work-facts a:hover { border-color: #fff; }

.player {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: 0 40px 100px -40px rgba(65, 102, 255, .45), 0 0 0 1px rgba(255, 255, 255, .08);
}
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-9x16 { aspect-ratio: 9 / 16; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.player__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; }
.player__poster, .player__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__play {
  position: relative;
  z-index: 2;
  margin: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--rod);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 16px 36px -12px rgba(65, 102, 255, .8);
  transition: transform .35s var(--ease);
}
.player__play .icon { width: 44px; height: 44px; padding: 12px 11px 12px 13px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.player__play:hover { transform: scale(1.04); }
.player__notice {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 32px 20px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  color: #D6D9E3;
  font-size: .8125rem;
  text-align: center;
}
.player__notice a { color: #fff; }
.player__facade.is-consented .player__notice { display: none; }
@media (max-width: 640px) {
  .player__play { gap: 10px; padding: 8px 18px 8px 8px; font-size: .9375rem; }
  .player__play .icon { width: 38px; height: 38px; padding: 10px 9px 10px 11px; }
  .player__notice { padding: 22px 12px 10px; font-size: .75rem; line-height: 1.4; }
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.work-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.work-block { margin-top: 40px; }
.work-block:first-child { margin-top: 0; }
.work-block .prose { margin-top: 12px; }
.work-body__aside { display: grid; gap: 18px; }
@media (min-width: 1024px) { .work-body__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.work-side { padding: 24px; border-radius: var(--radius-lg); background: var(--mist-2); border: 1px solid var(--line); }
.work-side__title { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.work-side--cta { background: #000; color: #fff; border-color: #000; }
.work-side--cta .work-side__title { color: #fff; font-size: 1.25rem; }
.work-side--cta p { margin: 6px 0 18px; color: #C9CCD8; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-size: .875rem; font-weight: 500; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.gallery__item { overflow: hidden; border-radius: var(--radius); background: var(--mist); }

.work-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: var(--section-y);
}
.work-nav__link {
  display: grid;
  gap: 6px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .25s;
}
.work-nav__link:hover { border-color: var(--ink); }
.work-nav__link--next { text-align: right; justify-items: end; }
.work-nav__dir { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.work-nav__title { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }

/* --------------------------------------------------------------------------
   Calculateur et demande de devis
   -------------------------------------------------------------------------- */

.calc__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
.calc-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-step + .calc-step { margin-top: clamp(36px, 4vw, 52px); }
.calc-step__legend {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
}
.calc-step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  transition: background-color .3s var(--ease);
}
.calc-step.is-done .calc-step__num { background: var(--rod); }
.calc-step__help { margin: -6px 0 16px; color: var(--muted); font-size: .9375rem; }

.choices { display: grid; gap: 12px; }
.choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  transition: border-color .2s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.choice:hover .choice__body { border-color: var(--line-strong); transform: translateY(-1px); }
.choice input:checked + .choice__body {
  border-color: var(--rod);
  box-shadow: 0 0 0 3px rgba(65, 102, 255, .14), 0 14px 30px -18px rgba(65, 102, 255, .6);
}
.choice input:checked + .choice__body::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rod) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
  animation: pop .35s var(--ease);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--rod); outline-offset: 3px; }
.choice__title { padding-right: 26px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.choice__hint { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.choice__price { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ratio-glyph {
  display: block;
  align-self: flex-start;
  width: auto;
  height: 38px;
  aspect-ratio: var(--ratio);
  margin-bottom: 10px;
  border: 2px solid #A5ABBD;
  border-radius: 6px;
  transition: border-color .2s, background-color .2s;
}
.choice input:checked + .choice__body .ratio-glyph { border-color: var(--rod); background: var(--rod-100); }

.calc__summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary {
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius-xl);
  background: #000;
  color: #fff;
  box-shadow: 0 30px 70px -30px rgba(65, 102, 255, .55);
  background-image: radial-gradient(70% 60% at 100% 100%, rgba(65, 102, 255, .35), transparent 70%);
}
.summary__label { color: #C9CCD8; font-size: .9375rem; }
.summary__price {
  margin-top: 4px;
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.summary__price.is-bumped { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.04); color: #C7D2FF; } }
.summary__lines { margin-top: 18px; display: grid; gap: 8px; font-size: .9375rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #D6D9E3; }
.summary__lines li span:last-child { flex: none; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.summary__hint { margin-top: 14px; color: #C9CCD8; font-size: .9375rem; }
.summary__note { margin-top: 16px; font-size: .8125rem; line-height: 1.5; color: #9DA2B4; }
.summary__cta { margin-top: 20px; }
.summary__cta[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.quote {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  transition: opacity .5s var(--ease);
}
.quote.is-locked { opacity: .5; }
.quote.is-locked [data-quote-fields], .quote.is-locked .form-submit { pointer-events: none; filter: grayscale(.3); }
.quote.is-unlocked { animation: unlock .7s var(--ease); }
@keyframes unlock { from { opacity: .5; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quote__head { max-width: 760px; }
.quote__head .lead { margin-top: 14px; }
.quote__lock { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--rod-100); color: var(--rod-600); font-weight: 600; font-size: .9375rem; }
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 32px;
  align-items: stretch;
}
.quote__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 600; color: var(--fg-strong); }
.req { color: var(--rod); }
.field__optional { margin-left: .35em; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.input, .select {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #9AA0B2; }
.input:hover, .select:hover { border-color: #AEB4C6; }
.input:focus, .select:focus { outline: none; border-color: var(--rod); box-shadow: 0 0 0 3px rgba(65, 102, 255, .18); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.textarea { resize: vertical; min-height: 128px; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646876' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.field__error { margin-top: 6px; color: var(--danger); font-size: .875rem; font-weight: 500; }
.calc-step .field__error { margin-top: 12px; }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 260px;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--line-strong);
  background: var(--mist-2);
  transition: border-color .25s, background-color .25s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--rod); background: var(--rod-100); }
.dropzone.is-invalid { border-color: var(--danger); }
.dropzone__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.dropzone__input:focus-visible + .dropzone__label { outline: 2px solid var(--rod); outline-offset: 4px; border-radius: 12px; }
.dropzone__label { display: grid; justify-items: center; gap: 8px; padding: 28px 24px; text-align: center; }
.dropzone__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rod); color: #fff; margin-bottom: 6px; }
.dropzone__title { font-weight: 700; color: var(--ink); font-size: 1.125rem; letter-spacing: -.015em; }
.dropzone__text { color: var(--soft); max-width: 24em; line-height: 1.5; }
.dropzone__formats { font-size: .8125rem; color: var(--muted); }
.dropzone__file {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px 18px;
  padding: 10px 10px 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: .9375rem;
}
.dropzone__file span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone__file .icon { color: var(--rod); }
.dropzone__remove { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); }
.dropzone__remove:hover { background: var(--line-strong); }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.form-legal { flex: 1 1 320px; font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.form-legal a { color: inherit; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.alert--error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }

.form-success {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.form-success:focus { outline: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--rod); color: #fff; margin-bottom: 22px; animation: pop .6s var(--ease); }
.form-success__icon .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.form-success .lead { margin: 14px auto 0; max-width: 34em; }
.form-success__total { margin: 18px 0 26px; color: var(--soft); }
.form-success__total strong { color: var(--ink); font-size: 1.25rem; }
.contact__form .form-success { text-align: left; margin: 0; }

.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.included li { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.included h3 { font-size: 1.1875rem; color: var(--ink); }
.included p { margin-top: 4px; color: var(--muted); font-size: 1rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .25s, transform .35s var(--ease);
}
a.contact-card:hover { border-color: var(--rod); transform: translateY(-2px); }
.contact-card__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--rod); }
.contact-card__label { font-size: .8125rem; color: var(--muted); align-self: end; }
.contact-card__value { font-weight: 600; color: var(--ink); align-self: start; overflow-wrap: anywhere; }
.contact__calc { margin-top: 24px; padding: 26px; border-radius: var(--radius-lg); background: var(--mist); }
.contact__calc p:not(.h3) { margin: 8px 0 18px; color: var(--muted); }
.form-card { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.form-card > .h3 { margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }

/* --------------------------------------------------------------------------
   Blog et contenus rédigés
   -------------------------------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.post-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card__link { display: block; text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); box-shadow: var(--shadow-card); }
.post-card__media { position: relative; }
.post-card__media picture { position: absolute; inset: 0; }
.post-card__media img { width: 100%; height: 100%; }
.post-card__media img { object-fit: cover; transition: transform .9s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.035); }
.post-card__date { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.post-card__title { margin-top: 6px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.025em; color: var(--ink); }
.post-card__link:hover .post-card__title { text-decoration: underline; text-decoration-color: var(--rod); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.post-card__excerpt { margin-top: 8px; color: var(--muted); font-size: 1rem; }

.article .h1 { max-width: none; }
.article__meta { margin-top: 18px; color: var(--muted); font-size: .9375rem; display: flex; gap: 10px; flex-wrap: wrap; }
.article__cover { margin-top: clamp(-40px, -3vw, -24px); }
.article__cover picture { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.article__cta { margin-top: 56px; padding: 30px; border-radius: var(--radius-xl); background: var(--mist); }
.article__cta p:not(.h3) { margin: 8px 0 18px; color: var(--muted); }

.prose { color: var(--text); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2; letter-spacing: -.03em; }
.prose h3 { margin-top: 1.7em; font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); letter-spacing: -.02em; }
.prose h4 { margin-top: 1.4em; font-size: 1.0625rem; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 1.2em; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; left: -1.05em; top: .66em; width: .42em; height: .325em; border-radius: 50%; background: var(--rod); }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--rod); text-underline-offset: .2em; }
.prose a:hover { color: var(--rod-600); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { padding: 4px 0 4px 22px; border-left: 3px solid var(--rod); font-size: 1.1875rem; color: var(--ink); }
.prose--article { font-size: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem); line-height: 1.7; }
.prose--legal h2 { font-size: 1.375rem; }
.prose--legal p, .prose--legal li { color: var(--soft); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 620px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.table th { font-weight: 600; color: var(--ink); }
@media (max-width: 640px) {
  .table--stack { min-width: 0; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .table--stack td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 3px 0; border: 0; }
  .table--stack td::before { content: attr(data-label); font-weight: 600; color: var(--ink); }
}

/* --------------------------------------------------------------------------
   Page d'erreur
   -------------------------------------------------------------------------- */

.error-page { min-height: 100svh; padding: calc(var(--header-h) + 64px) 0 96px; display: flex; align-items: center; }
.error-page__code {
  font-size: clamp(6rem, 22vw, 15rem);
  line-height: .8;
  font-weight: 700;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28);
  margin-bottom: 24px;
}
.error-page .lead { margin-top: 18px; max-width: 34em; }
.error-page__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin-top: 36px; }

/* --------------------------------------------------------------------------
   Adaptations écrans moyens et petits
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header__logo .logo { width: 136px; }
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 13ch; }
  .hero__visual { margin-top: 8px; }
  .phone { width: min(260px, 70vw); }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__visual { max-width: 560px; }
  .section__head--split { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid--feature .project-card--large { grid-row: auto; grid-column: 1 / -1; }
  .project-grid--feature .project-card:not(.project-card--large) .project-card__excerpt { display: block; }
  .ps { grid-template-columns: 1fr; }
  .ps__arrow { justify-self: center; transform: rotate(90deg); }
  .process__panel { grid-template-columns: 1fr; }
  .process__visual { order: -1; max-width: 560px; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .steps__list::before { display: none; }
  .principles, .kit { grid-template-columns: 1fr 1fr; }
  .regions { grid-template-columns: 1fr 1fr; }
  .work-body { grid-template-columns: 1fr; }
  .calc__layout { grid-template-columns: minmax(0, 1fr); }
  .calc__summary { position: sticky; top: auto; bottom: 12px; z-index: 5; min-width: 0; }
  .summary { padding: 16px 18px; border-radius: var(--radius-lg); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; }
  .summary__label { grid-column: 1; }
  .summary__price { grid-column: 1; font-size: clamp(1.5rem, 1.05rem + 2.4vw, 2rem); margin: 0; white-space: nowrap; }
  .summary__lines, .summary__note, .summary__hint { display: none; }
  .summary__cta { grid-column: 2; grid-row: 1 / span 2; margin: 0; width: auto; max-width: 10.5rem; padding: .8em 1.15em; white-space: normal; text-align: center; line-height: 1.2; }
  .quote__grid { grid-template-columns: 1fr; }
  .dropzone { min-height: 220px; }
  .contact { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__contacts { grid-template-columns: 1fr; gap: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; }
  .service-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 0; }
  .service-row__text { grid-column: 1 / -1; grid-row: 2; font-size: 1rem; }
  .service-row__go { width: 42px; height: 42px; grid-column: 2; grid-row: 1; }
  .service-row:hover .service-row__title { transform: none; }
  .project-grid, .project-grid--two { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; gap: 26px; }
  .process__rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process__tab { padding-right: 6px; }
  .process__name { font-size: .8125rem; margin-top: 34px; }
  .process__num { font-size: 1.875rem; }
  .process__rail::before, .process__rail::after { top: calc(1.875rem + 18px); }
  .process__name::before { top: -27px; width: 16px; height: 16px; }
  .process__cols { grid-template-columns: 1fr; gap: 18px; }
  .steps__list { grid-template-columns: 1fr; gap: 16px; }
  .steps__item { display: grid; grid-template-columns: 56px 1fr; align-items: start; }
  .steps__num { grid-column: 1; font-size: 2rem; }
  .steps__node { display: none; }
  .steps__card { grid-column: 2; grid-row: 1; }
  .formats__list { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 28px 16px; }
  .format__frame { height: min(150px, calc((100vw - 2 * var(--gutter) - 16px) / 2 / var(--ratio))); }
  .principles, .kit, .regions, .craft { grid-template-columns: 1fr; }
  .choices--3, .choices--4 { grid-template-columns: 1fr 1fr; }
  .choice__body { padding: 14px 14px 12px; }
  .quote__fields, .form-grid { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .post-grid, .post-grid--two { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__credit { margin-left: 0; }
  .work-nav { grid-template-columns: 1fr; }
  .work-nav__link--next { text-align: left; justify-items: start; }
  .error-page__links { grid-template-columns: 1fr; }
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px; }
  .cookie__custom { margin-left: 0; width: 100%; text-align: left; margin-top: 4px; }
  .faq__a { padding-right: 0; }
  .visual-stack--3 .visual-stack__item:nth-child(2) { transform: translateY(-4%) scale(1.04); }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .map__city text { font-size: 21px; }
  .map__city--home text { font-size: 23px; }
}

@media (max-width: 360px) {
  .choices--3, .choices--4 { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   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;
  }
  .map__pulse { display: none; }
}

@media print {
  .site-header, .cookie, .cta-band, .site-footer, .burger { display: none !important; }
  .page-hero, .hero, .work-hero { padding-top: 24px; }
}

/* Badge reCAPTCHA masqué : la mention légale est affichée sous chaque formulaire */
.grecaptcha-badge { visibility: hidden !important; }
