/* ==========================================================================
   nodco — site one page
   Charte graphique nodco 2024 × direction « galerie éditoriale »
   --------------------------------------------------------------------------
   Couleurs de la charte : Noir, Chocolat, Gris chaud, Blanc.
   Les teintes claires (field, bone, line) sont des dégradés de la charte
   vers le blanc (charte p. 11) — aucune couleur hors charte.
   Typographie : Schibsted Grotesk — Medium pour le courant,
   Bold / Black pour la hiérarchie (charte p. 14).
   ========================================================================== */

:root {
  /* Charte */
  --noir: #181716;
  --chocolat: #462427;
  --gris-chaud: #a7a2a1;
  --blanc: #ffffff;

  /* Teintes dérivées (Chocolat → Blanc, Gris chaud → Blanc) */
  --field: #e5e0e1;      /* Chocolat 14 % — fond d'ambiance (hero, bandeaux) */
  --bone: #f7f5f5;       /* Chocolat 4 %  — surface secondaire */
  --line: #d8d3d2;       /* Gris chaud 40 % — filets discrets */

  /* Rôles */
  --ink: var(--noir);
  --ink-soft: #57514f;
  --accent: var(--chocolat);
  --on-accent: var(--blanc);
  --rule: var(--noir);

  /* Typographie */
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Mobile → desktop : les tailles montent progressivement avec la largeur */
  --text-small: clamp(0.875rem, 0.8rem + 0.25vw, 0.9375rem);  /* 14 → 15 */
  --text-body: clamp(1rem, 0.85rem + 0.4vw, 1.125rem);        /* 16 → 18 */
  --text-sub: clamp(1.1875rem, 0.95rem + 0.75vw, 1.5rem);     /* 19 → 24 */
  --text-h-sm: clamp(1.375rem, 1.05rem + 1vw, 1.875rem);      /* 22 → 30 */
  --text-h: clamp(1.875rem, 1.25rem + 2vw, 2.875rem);         /* 30 → 46 */
  --text-h-lg: clamp(2.125rem, 1.2rem + 3vw, 3.625rem);       /* 34 → 58 */
  --tracking: -0.006em;

  /* Formes */
  --radius-tag: 12px;
  --radius-card: 16px;
  --radius-pill: 30px;

  /* Mise en page */
  --gutter: clamp(20px, 4vw, 56px);
  --band-y: clamp(96px, 11vw, 152px);
  --col: 760px;
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  /* Sigle nodco (arche) — utilisé en emporte-pièce */
  --sigle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='13.58 13.58 54.32 36.4'%3E%3Cpath d='M40.74,35.42c4.63,0,6.79,2.11,6.79,6.65v7.91h20.37v-8.87c0-15.2-11.96-27.53-27.16-27.53-15.2,0-27.16,12.33-27.16,27.53v8.87h20.37v-7.91c0-4.54,2.16-6.65,6.79-6.65Z'/%3E%3C/svg%3E");

  /* Dégradés de la charte (p. 11) */
  --grad-gris-chocolat: linear-gradient(180deg, var(--gris-chaud) 0%, var(--chocolat) 100%);
  --grad-blanc-chocolat: linear-gradient(180deg, var(--blanc) 0%, var(--chocolat) 100%);
  --grad-blanc-gris: linear-gradient(180deg, var(--blanc) 0%, var(--gris-chaud) 100%);
  --grad-gris-noir: linear-gradient(180deg, var(--gris-chaud) 0%, var(--noir) 100%);
  --grad-blanc-noir: linear-gradient(180deg, var(--blanc) 0%, var(--noir) 100%);

  interpolate-size: allow-keywords;
}

/* --------------------------------------------------------------------------
   Mise en ligne : blocs « à compléter » masqués
   Pour les réafficher pendant la rédaction, supprimer ces deux règles.
   Quand un contenu est prêt, retirer l'attribut data-todo de son bloc.
   -------------------------------------------------------------------------- */
[data-todo] { display: none !important; }
.ph-badge { display: none !important; }

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--text-body);
  line-height: 1.5;
  letter-spacing: var(--tracking);
  color: var(--ink);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }

::selection { background: var(--chocolat); color: var(--blanc); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.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: 50%;
  z-index: 200;
  transform: translate(-50%, -160%);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--blanc);
  color: var(--chocolat);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Bandes pleine largeur (alternance « murs de galerie »)
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  padding: var(--band-y) var(--gutter);
}
.band--field { background: var(--field); }
.band--white { background: var(--blanc); }
.band--bone { background: var(--bone); }

.band--chocolat,
.band--noir {
  color: var(--blanc);
  --ink: var(--blanc);
  --accent: var(--blanc);
  --rule: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.2);
}
.band--chocolat { background: var(--chocolat); --ink-soft: #ddd4d5; --on-accent: var(--chocolat); }
.band--noir { background: var(--noir); --ink-soft: var(--gris-chaud); --on-accent: var(--noir); }

.band + .band--tight { padding-top: 0; }

.wrap { max-width: var(--max); margin-inline: auto; }
.col { max-width: var(--col); margin-inline: auto; text-align: center; }
.center { text-align: center; }

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-tag);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.statement {
  font-size: var(--text-h-lg);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.h-lg {
  font-size: var(--text-h-lg);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h {
  font-size: var(--text-h);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.h-sm {
  font-size: var(--text-h-sm);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.sub {
  font-size: var(--text-sub);
  line-height: 1.45;
  font-weight: 500;
  text-wrap: pretty;
}

.muted { color: var(--ink-soft); }
.small { font-size: var(--text-small); }

.statement em,
.h-lg em,
.h em,
.h-sm em {
  color: var(--accent);
  font-style: italic;
}

.prose > * + * { margin-top: 1em; }
.prose p { text-wrap: pretty; }

.section-head {
  max-width: 820px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.section-head > * + * { margin-top: 20px; }

.sub-head {
  max-width: var(--col);
  margin: clamp(80px, 9vw, 128px) auto clamp(36px, 4vw, 56px);
  text-align: center;
}
.sub-head > * + * { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Liens soulignés — remplacent tous les boutons
   -------------------------------------------------------------------------- */

.link,
.cta__text,
.scroll-cue__text {
  color: var(--accent);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 1px;
  transition: background-size 0.25s var(--ease), color 0.25s var(--ease);
}
.link:hover,
.cta:hover .cta__text,
.scroll-cue:hover .scroll-cue__text { background-size: 100% 2px; }

.link { font-weight: 600; }

.cta {
  color: var(--accent);
  font-size: var(--text-sub);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.cta--lg { font-size: var(--text-h-sm); line-height: 1.45; }
/* Le soulignement suit chaque ligne si le lien passe sur deux lignes */
.cta__text {
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.cta .arrow {
  display: inline-block;
  margin-left: 0.45em;
  vertical-align: -0.14em;
}

.arrow {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  transition: transform 0.3s var(--ease);
}
.cta:hover .arrow { transform: translateX(5px); }

.cta-row {
  max-width: 760px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  text-align: center;
  text-wrap: balance;
}

/* Bouton à contour — seul bouton du site (accès au code de conduite) */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.button:hover { background: var(--accent); color: var(--on-accent); }
.button:hover .arrow { transform: translateX(4px); }
.button-row { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

/* --------------------------------------------------------------------------
   Navigation — pilule flottante unique
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
}

.nav__shell {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--noir);
  transition: width 0.45s var(--ease), border-radius 0.45s var(--ease);
}

.nav.is-open .nav__shell {
  width: min(420px, calc(100vw - 32px));
  border-radius: 24px;
}

.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 10px 14px 10px 16px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: var(--text-body);
  font-weight: 700;
  letter-spacing: var(--tracking);
  cursor: pointer;
  border-radius: var(--radius-pill);
}

.nav__sigle {
  width: 26px;
  height: auto;
  fill: var(--chocolat);
}

.nav__label {
  min-width: 7.5em;
  text-align: center;
}

.nav__plus {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.4s var(--ease);
}
.nav.is-open .nav__plus { transform: rotate(45deg); }

.nav__panel {
  display: grid;
  grid-template-rows: 1fr;
}
.js .nav__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s;
}
.js .nav.is-open .nav__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.45s var(--ease), visibility 0s;
}

.nav__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.nav__list {
  padding: 8px 20px 4px;
  border-top: 1px solid var(--line);
  margin: 0 16px;
  text-align: center;
}
.nav__list a {
  display: block;
  padding: 9px 0;
  font-size: var(--text-h-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav__list a:hover,
.nav__list a[aria-current] { color: var(--chocolat); }
.nav__list a[aria-current]::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 10px;
  vertical-align: middle;
  border-radius: 50%;
  background: currentColor;
}

.nav__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  padding: 14px 20px 20px;
  font-size: var(--text-small);
  --accent: var(--chocolat);
}

/* --------------------------------------------------------------------------
   Hero — le logotype à l'échelle d'exposition
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  padding-top: clamp(104px, 14vh, 160px);
  padding-bottom: clamp(32px, 5vh, 56px);
  text-align: center;
}

.hero__main {
  align-self: center;
  width: 100%;
}

.hero__mark {
  width: 100%;
  max-width: 1720px;
  margin-inline: auto;
  color: var(--chocolat);
  line-height: 0.75;
}

.wordmark {
  width: 100%;
  height: auto;
  overflow: visible;
}
.wordmark path { fill: currentColor; }

.hero__baseline {
  margin-top: clamp(28px, 4vw, 48px);
  font-size: var(--text-sub);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.scroll-cue .arrow { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Mission
   -------------------------------------------------------------------------- */

.mission {
  margin-top: clamp(56px, 7vw, 88px);
}
.mission > * + * { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.card {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3.4vw, 48px);
  text-align: center;
}
.card > * + * { margin-top: 16px; }

.card__num {
  display: block;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--chocolat);
}

.card p { color: var(--ink-soft); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Index des services
   -------------------------------------------------------------------------- */

.index-list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--rule);
}
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  padding: clamp(18px, 2.2vw, 26px) 4px;
  font-size: var(--text-h-sm);
  font-weight: 700;
  letter-spacing: -0.012em;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.index-list__num {
  font-size: var(--text-small);
  letter-spacing: 0.06em;
  color: var(--chocolat);
  text-align: left;
}
.index-list__title { text-align: center; text-wrap: balance; }
.index-list .arrow {
  justify-self: end;
  width: 22px; height: 22px;
  color: var(--chocolat);
  transform: rotate(90deg);
}
.index-list a:hover { color: var(--chocolat); }
.index-list a:hover .arrow { transform: rotate(90deg) translateX(5px); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin-inline: auto;
}
.tags li {
  padding: 12px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-tag);
  background: var(--blanc);
  line-height: 1.35;
}

.quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.quote__mark {
  display: block;
  font-size: 72px;
  font-weight: 900;
  line-height: 0.6;
  height: 36px;
  color: var(--chocolat);
}

/* Formules d'abonnement */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3vw, 40px);
  text-align: center;
}
.plan__kicker {
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.plan__name {
  margin-top: 6px;
  font-size: var(--text-h);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.plan__list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.plan__list li {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.plan__list .is-plus { font-weight: 700; color: var(--accent); }

.plan__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  font-size: var(--text-small);
  color: var(--ink-soft);
}
.plan__proof::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gris-chaud);
  box-shadow: 0 0 0 0 rgba(167, 162, 161, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .plan__proof::before { animation: pulse 2.2s var(--ease) infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(167, 162, 161, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(167, 162, 161, 0); }
  100% { box-shadow: 0 0 0 0 rgba(167, 162, 161, 0); }
}

.plan--featured {
  background: var(--chocolat);
  border-color: var(--chocolat);
  color: var(--blanc);
  --accent: var(--blanc);
  --ink-soft: #ddd4d5;
  --line: rgba(255, 255, 255, 0.2);
}

.footnote {
  margin-top: 24px;
  font-size: var(--text-small);
  color: var(--ink-soft);
  text-align: center;
}

/* Avantages */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.feature {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.feature > * + * { margin-top: 12px; }
.feature p { color: var(--ink-soft); text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Arche — le sigle utilisé en emporte-pièce (charte p. 23)
   -------------------------------------------------------------------------- */

.arch {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--arch-bg, var(--gris-chaud));
}
.arch__shape {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 0;
  aspect-ratio: 54.32 / 36.4;
  background: var(--arch-fill, var(--grad-blanc-chocolat));
  -webkit-mask: var(--sigle) center bottom / 100% 100% no-repeat;
          mask: var(--sigle) center bottom / 100% 100% no-repeat;
}
.arch__shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch--noir { --arch-bg: var(--noir); --arch-fill: var(--grad-blanc-gris); }
.arch--gris { --arch-bg: var(--gris-chaud); --arch-fill: var(--grad-blanc-chocolat); }
.arch--chocolat { --arch-bg: var(--chocolat); --arch-fill: var(--grad-blanc-gris); }
.arch--clair { --arch-bg: var(--field); --arch-fill: var(--grad-gris-noir); }

.arch--wide { aspect-ratio: 16 / 9; }
.arch--wide .arch__shape { left: 22%; right: 22%; }
.arch--panorama { aspect-ratio: 21 / 9; }
.arch--panorama .arch__shape { left: 26%; right: 26%; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Badge « à venir » pour les visuels en attente */
.ph-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: var(--radius-tag);
  background: rgba(255, 255, 255, 0.92);
  color: var(--noir);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Texte à compléter */
.placeholder {
  display: block;
  padding: 16px 20px;
  border: 1px dashed var(--gris-chaud);
  border-radius: var(--radius-tag);
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
}
.placeholder::before {
  content: "À compléter — ";
  font-style: normal;
  font-weight: 700;
  color: var(--chocolat);
}
.band--chocolat .placeholder::before,
.band--noir .placeholder::before { color: var(--blanc); }

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

.case {
  max-width: 1000px;
  margin-inline: auto;
  background: var(--blanc);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 56px);
}
.case__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.case__facts div { text-align: center; }
.case__facts dt {
  margin-bottom: 12px;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--chocolat);
}
.case__label {
  margin-bottom: 16px;
  text-align: center;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--chocolat);
}

/* --------------------------------------------------------------------------
   Culture — manifesto
   -------------------------------------------------------------------------- */

.manifesto__visual {
  max-width: var(--max);
  margin: 0 auto clamp(72px, 9vw, 120px);
  --arch-bg: rgba(255, 255, 255, 0.06);
  --arch-fill: linear-gradient(180deg, var(--blanc) 0%, var(--gris-chaud) 55%, var(--chocolat) 100%);
}

.manifesto .statement { font-size: var(--text-h); }
.manifesto .prose { margin-top: 32px; }
.manifesto .prose p { color: var(--ink-soft); }

/* Équipe */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  max-width: var(--max);
  margin-inline: auto;
  text-align: center;
}
.stats__item { border-top: 1px solid var(--rule); padding-top: 24px; }
.stats__num {
  display: block;
  font-size: clamp(3.5rem, 2rem + 5.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--chocolat);
}
.stats__label {
  display: block;
  margin-top: 10px;
  font-size: var(--text-sub);
}

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
  max-width: 1000px;
  margin-inline: auto;
}
.member { flex: 0 1 310px; min-width: 0; text-align: center; }
.member .arch { margin-bottom: 20px; }
.member p { margin-top: 6px; color: var(--ink-soft); }

/* Code de conduite */
.rule-list {
  max-width: 760px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  text-align: center;
}
.rule-list li {
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sub);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Page « Code de conduite »
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: clamp(150px, 20vh, 220px);
  text-align: center;
}
.page-hero__sigle {
  width: clamp(56px, 6vw, 80px);
  margin: 0 auto 28px;
  fill: var(--chocolat);
}
.page-hero .section-head { margin-bottom: 0; }

.back-link .arrow { transform: rotate(180deg); }
.back-link:hover .arrow { transform: rotate(180deg) translateX(5px); }

.toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: clamp(40px, 5vw, 56px) auto 0;
}
.toc a {
  display: block;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-tag);
  background: var(--blanc);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.toc a:hover { color: var(--chocolat); border-color: var(--chocolat); }

.commitments {
  max-width: var(--col);
  margin-inline: auto;
  border-top: 1px solid var(--rule);
}
.commitment {
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  scroll-margin-top: 48px;
}
.commitment > * + * { margin-top: 1em; }
.commitment h2 { margin-bottom: 0.6em; }
.commitment p { color: var(--ink-soft); text-wrap: pretty; }
.commitment .placeholder { margin-top: 1.5em; }

.highlight {
  display: block;
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--chocolat);
}

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

.booking {
  display: grid;
  place-items: center;
  gap: 18px;
  max-width: 1000px;
  min-height: 360px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  background: var(--blanc);
  border-radius: var(--radius-card);
  text-align: center;
}
.booking__sigle { width: 64px; fill: var(--chocolat); }

/* Agenda Calendly intégré */
.booking--calendly {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.calendly-inline-widget {
  width: 100%;
  min-width: 300px;
  height: 720px;
}
.booking__fallback {
  margin-top: 20px;
  text-align: center;
  font-size: var(--text-small);
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  max-width: 1000px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  text-align: center;
}
.contact-grid > div { border-top: 1px solid var(--rule); padding-top: 20px; }
.contact-grid dt {
  margin-bottom: 8px;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--chocolat);
}
.contact-grid dd { font-size: var(--text-sub); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.footer {
  padding-block: clamp(72px, 9vw, 120px) 32px;
  text-align: center;
}
.footer__logo {
  width: clamp(240px, 28vw, 360px);
  height: auto;
  margin: 0 auto;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: clamp(40px, 5vw, 56px);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--max);
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: var(--text-small);
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Mouvement (respecte prefers-reduced-motion)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .wordmark path {
    opacity: 0;
    transform: translateY(22%);
    transform-box: fill-box;
    animation: rise 1s var(--ease) forwards;
    animation-delay: calc(var(--i) * 80ms + 120ms);
  }
  .js .hero__baseline,
  .js .scroll-cue {
    opacity: 0;
    animation: fade 0.9s var(--ease) 0.7s forwards;
  }
  .scroll-cue .arrow { animation: nudge 2.4s var(--ease) 1.6s infinite; }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes nudge {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .grid-3,
  .plans,
  .features,
  .team { grid-template-columns: 1fr; }
  .plans, .grid-3, .team { max-width: 520px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 720px) {
  .case__facts,
  .contact-grid { grid-template-columns: 1fr; }
  .gallery--3 { grid-template-columns: 1fr; }
  .calendly-inline-widget { height: 1000px; }
  .index-list a { grid-template-columns: 36px 1fr 36px; }
  .arch--panorama { aspect-ratio: 4 / 3; }
  .arch--panorama .arch__shape,
  .arch--wide .arch__shape { left: 10%; right: 10%; }
  .arch--wide { aspect-ratio: 4 / 3; }
  .footer__bottom { justify-content: center; text-align: center; }
}
