/* ══════════════════════════════════════════════════════════════════════════
   Wæhy : systeme visuel « Studio moderne ».
   Rayons doux, surfaces en cartes, ombres portees legeres, echelle
   typographique elargie, revelation progressive du contenu.
   Ce fichier remplacera l'essentiel de ds.css sur le site public.
   ══════════════════════════════════════════════════════════════════════════ */

/* Les polices sont chargees par <link> dans base.html : un @import ici
   ajouterait une requete en cascade apres le telechargement de ce fichier. */

/* ── Jetons ─────────────────────────────────────────────────────────────── */
:root {
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --bg:          #fbfbf8;
  --bg-alt:      #f2f4ec;
  --surface:     #ffffff;
  --ink:         #0f1309;
  --ink-2:       #171d10;
  --text:        #14180f;
  --text-2:      rgba(20, 24, 15, 0.66);
  --text-3:      rgba(20, 24, 15, 0.62);
  --line:        rgba(20, 24, 15, 0.10);
  --line-2:      rgba(20, 24, 15, 0.16);

  --green:        #38761d;
  --green-bright: #55a52c;
  --green-deep:   #24500f;
  --green-pale:   #eef4e8;
  --orange:       #ff8000;

  --on-dark:     rgba(255, 255, 255, 0.82);
  --on-dark-2:   rgba(255, 255, 255, 0.62);
  --line-dark:   rgba(255, 255, 255, 0.12);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-full: 999px;

  --shadow-soft: 0 1px 2px rgba(15, 19, 9, 0.04), 0 6px 16px rgba(15, 19, 9, 0.05);
  --shadow-lift: 0 2px 6px rgba(15, 19, 9, 0.05), 0 18px 44px rgba(15, 19, 9, 0.11);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.34);

  --shell: min(1240px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}

p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(85, 165, 44, 0.24); }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: #fff;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ── Rythme des sections ────────────────────────────────────────────────── */
.sec { padding-block: 104px; position: relative; }
.sec--tight { padding-block: 72px; }
.sec--alt { background: var(--bg-alt); }
.sec--dark {
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(85, 165, 44, 0.16), transparent 62%),
    radial-gradient(700px 420px at 4% 108%, rgba(255, 128, 0, 0.10), transparent 60%),
    var(--ink);
  color: #fff;
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

/* ── Elements d'ecriture ────────────────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-2);
}
.kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: var(--r-full);
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(85, 165, 44, 0.16);
}
.on-dark .kicker { color: var(--on-dark); }
.on-dark .kicker::before {
  background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 128, 0, 0.18);
}

.h-display { font-size: clamp(44px, 5.9vw, 82px); line-height: 0.98; letter-spacing: -0.036em; font-weight: 800; }
.h-xl      { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.03; letter-spacing: -0.032em; }
.h-lg      { font-size: clamp(28px, 3vw, 40px); line-height: 1.06; letter-spacing: -0.028em; }
.h-sm      { font-size: 20px; line-height: 1.22; letter-spacing: -0.018em; }
.h-xs      { font-size: 17px; line-height: 1.28; letter-spacing: -0.012em; font-weight: 700; }

.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.body { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.small { font-size: 14.5px; line-height: 1.55; color: var(--text-3); }
.on-dark .lead, .on-dark .body { color: var(--on-dark); }
.on-dark .small { color: var(--on-dark-2); }

/* ── En-tete de section : titre a gauche, intro a droite, mais respire ──── */
.sec-head {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 28px 64px; align-items: end; margin-bottom: 56px;
}
.sec-head__title { display: grid; gap: 20px; justify-items: start; }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 62ch; margin-inline: auto; }
.sec-head--center .sec-head__title { justify-items: center; }

/* ── Boutons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: var(--r-full);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(56, 118, 29, 0.22); }
.btn--primary:hover { background: var(--green-deep); box-shadow: 0 12px 26px rgba(56, 118, 29, 0.28); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); border-color: transparent; box-shadow: var(--shadow-soft); }
.on-dark .btn--ghost, .hero__panel .btn--ghost { color: #fff; border-color: var(--line-dark); }
.on-dark .btn--ghost:hover, .hero__panel .btn--ghost:hover { background: rgba(255, 255, 255, 0.10); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: rgba(255, 255, 255, 0.88); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--green); transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 13px; }
.on-dark .link-arrow { color: var(--orange); }

/* ── En-tete du site ────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 251, 248, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(251, 251, 248, 0.92);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(15, 19, 9, 0.05);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
  transition: min-height 0.3s var(--ease);
}
.site-header[data-scrolled="true"] .site-header__bar { min-height: 64px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 9px 14px; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(20, 24, 15, 0.05); }
.nav__link[data-active="true"] { color: var(--text); background: rgba(20, 24, 15, 0.06); }
.nav .btn { margin-left: 10px; padding: 11px 20px; font-size: 14.5px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: var(--r-full); background: transparent; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--text); border-radius: 2px;
  box-shadow: 0 -5px 0 var(--text), 0 5px 0 var(--text);
}

.progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transition: width 0.1s linear;
}

/* ── Heros ──────────────────────────────────────────────────────────────── */
.hero { padding-block: 84px 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background: radial-gradient(620px 340px at 22% 20%, rgba(85, 165, 44, 0.13), transparent 66%),
              radial-gradient(520px 320px at 82% 8%, rgba(255, 128, 0, 0.09), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: 56px; align-items: start;
}
.hero__title {
  font-size: clamp(38px, 4.5vw, 62px); line-height: 1.02;
  letter-spacing: -0.034em; font-weight: 800;
  max-width: 19ch; margin-block: 22px 22px;
}
.hero__lead { max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--text-3);
}
.hero__facts b { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 16px; }
.hero__facts span { display: inline-flex; align-items: center; gap: 8px; }

/* Panneau sombre : carte flottante plutot que bloc plein */
.hero__panel {
  position: relative; align-self: start;
  padding: 32px 30px 28px; border-radius: var(--r-xl);
  background:
    radial-gradient(420px 260px at 82% 0%, rgba(85, 165, 44, 0.22), transparent 64%),
    linear-gradient(168deg, var(--ink-2), var(--ink));
  color: #fff; box-shadow: var(--shadow-dark);
  display: grid; gap: 22px;
}
.hero__panel-lead { color: var(--on-dark); font-size: 15.5px; line-height: 1.55; margin-top: 8px; }
.hero__list { display: grid; gap: 2px; }
.hero__list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 12px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; line-height: 1.4;
  transition: background 0.2s var(--ease);
}
.hero__list li:hover { background: rgba(255, 255, 255, 0.06); }
.hero__list li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px;
  border-radius: var(--r-full); background: var(--orange);
}
.hero__panel ul { list-style: none; margin: 0; padding: 0; }

/* Les quatre verbes : pastilles compactes */
.verbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 44px;
}
.verb {
  padding: 20px 20px 22px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.verb:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; }
.verb h3 { font-size: 16px; margin-bottom: 7px; }
.verb p { font-size: 13.5px; line-height: 1.45; color: var(--text-3); }

/* ── Bande defilante ────────────────────────────────────────────────────── */
.marquee {
  position: relative; overflow: hidden; padding-block: 20px;
  background: var(--bg-alt); border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 12px; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; white-space: nowrap;
}
.marquee__item::before {
  content: ""; width: 5px; height: 5px; border-radius: var(--r-full); background: var(--green-bright);
}
@keyframes slide { to { transform: translateX(calc(-50% - 6px)); } }

/* ── Partenaires ────────────────────────────────────────────────────────── */
.proof { padding-block: 64px; }
.proof__grid { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 48px; align-items: center; }
.proof__logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.proof__logo {
  display: grid; place-items: center; min-height: 96px; padding: 18px;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.proof__logo img {
  max-height: 40px; width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(1) opacity(0.55); transition: filter 0.3s var(--ease);
}
.proof__logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; }
.proof__logo:hover img { filter: grayscale(0) opacity(1); }
.proof__logo img[data-invert] { filter: grayscale(1) brightness(0) opacity(0.55); }
.proof__logo:hover img[data-invert] { filter: brightness(0) opacity(0.9); }

/* ── Bento des services ─────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 9px;
  padding: 24px 24px 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.tile::after {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 180px;
  background: radial-gradient(closest-side, rgba(85, 165, 44, 0.14), transparent);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.tile:hover, .tile:focus-within {
  transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent;
}
.tile:hover::after, .tile:focus-within::after { opacity: 1; }
.tile__num {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; color: var(--green); margin-bottom: 14px;
}

/* Amorce toujours lisible, texte complet au survol ou au clavier. Le paragraphe
   entier reste dans le DOM : rien n'est tronque cote serveur, rien n'est vide. */
.tile__body, .card-min__body {
  font-size: 15.5px; line-height: 1.55; color: var(--text-2);
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; max-height: 4.9em;
  transition: max-height 0.38s var(--ease);
}
.tile:hover .tile__body, .tile:focus-within .tile__body,
.card-min:hover .card-min__body, .card-min:focus-within .card-min__body {
  -webkit-line-clamp: 12; line-clamp: 12; max-height: 22em;
}

/* Trois rangees pleines : aucune tuile ne s'etire dans le vide. */
.tile:nth-child(1), .tile:nth-child(6), .tile:nth-child(9) { grid-column: span 2; }
.tile:nth-child(1) .tile__title { font-size: 27px; line-height: 1.14; letter-spacing: -0.026em; }
.tile:nth-child(1) .tile__body { -webkit-line-clamp: 3; line-clamp: 3; max-height: 7.3em; }

.tile--cta {
  background: linear-gradient(150deg, var(--ink-2), var(--ink));
  border-color: transparent; color: #fff; justify-content: space-between; gap: 20px;
}
.tile--cta .h-sm { color: #fff; max-width: 22ch; }
.tile--cta::after { background: radial-gradient(closest-side, rgba(255, 128, 0, 0.2), transparent); }

/* ── Colonne collante ───────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 72px; align-items: start; }
.split__sticky { position: sticky; top: 108px; display: grid; gap: 20px; justify-items: start; }

/* ── Accordeon ──────────────────────────────────────────────────────────── */
.acc { display: grid; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.on-dark .acc__item { border-color: var(--line-dark); }
.acc__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 14px; cursor: pointer; list-style: none;
  border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: -0.018em; line-height: 1.25;
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { background: rgba(20, 24, 15, 0.035); padding-left: 20px; }
.on-dark .acc__item summary:hover { background: rgba(255, 255, 255, 0.05); }
.acc__sign {
  flex: none; position: relative; width: 30px; height: 30px; border-radius: var(--r-full);
  border: 1px solid var(--line-2); transition: transform 0.3s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.on-dark .acc__sign { border-color: var(--line-dark); }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  background: currentColor;
}
.acc__sign::before { width: 11px; height: 1.5px; }
.acc__sign::after { width: 1.5px; height: 11px; transition: opacity 0.2s var(--ease); }
.acc__item[open] .acc__sign { transform: rotate(90deg); background: var(--green); border-color: var(--green); color: #fff; }
.acc__item[open] .acc__sign::after { opacity: 0; }
.acc__body { padding: 0 14px 24px; display: grid; gap: 16px; max-width: 78ch; }

/* ── Puces de technologies ──────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 13px;
  border-radius: var(--r-full); font-size: 13px; font-weight: 500; line-height: 1.3;
  background: var(--green-pale); color: var(--green-deep);
  border: 1px solid rgba(56, 118, 29, 0.14);
}
.on-dark .chip {
  background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.86);
  border-color: var(--line-dark);
}
.chip--muted { background: rgba(20, 24, 15, 0.05); color: var(--text-2); border-color: var(--line); }

/* ── Liste numerotee (IA) ───────────────────────────────────────────────── */
.steps-list { display: grid; }
.step-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 20px 16px; border-radius: var(--r-md);
  border-top: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-row:hover { background: var(--surface); box-shadow: var(--shadow-soft); border-color: transparent; }
.step-row__num {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: var(--r-full); background: var(--green-pale); color: var(--green-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.step-row__body { display: grid; gap: 6px; }

/* ── Cartes compactes (secteurs) ────────────────────────────────────────── */
.card-min {
  display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 26px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card-min:hover, .card-min:focus-within {
  transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent;
}
.card-min__tag {
  align-self: flex-start; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--green);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ── Frise de la methode ────────────────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 1px;
  background: linear-gradient(90deg, var(--line), var(--line-2), var(--line));
}
.tl-step { position: relative; padding-right: 18px; display: grid; gap: 12px; }
.tl-step__dot {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line-2);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--green);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tl-step:hover .tl-step__dot {
  background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.06);
}
.sec--alt .tl-step__dot { background: var(--surface); }

/* ── Contact ────────────────────────────────────────────────────────────── */
/* Vert assombri et halos attenues : meme au point le plus clair du degrade,
   le texte a 82% de blanc reste au-dessus de 4.5:1. */
.contact {
  color: #fff;
  background:
    radial-gradient(760px 420px at 88% 6%, rgba(85, 165, 44, 0.22), transparent 62%),
    radial-gradient(620px 380px at 6% 96%, rgba(255, 128, 0, 0.10), transparent 60%),
    linear-gradient(158deg, #265613, #17390d);
}
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__card {
  display: grid; gap: 22px; padding: 26px 28px; margin-top: 34px;
  border-radius: var(--r-lg); background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10); backdrop-filter: blur(6px);
}
.contact__label {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58);
  margin-bottom: 5px;
}
.contact__value { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.01em; }
a.contact__value { transition: color 0.2s var(--ease); }
a.contact__value:hover { color: var(--orange); }
.contact__phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form {
  display: grid; gap: 18px; padding: 34px 32px 30px;
  border-radius: var(--r-xl); background: var(--surface);
  box-shadow: var(--shadow-dark); color: var(--text);
}
.field { display: grid; gap: 7px; }
.field > label {
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
}
.input {
  width: 100%; min-height: 48px; padding: 12px 15px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-sm); transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.input:hover { border-color: var(--line-2); }
.input:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 0; background: var(--surface); }
textarea.input { min-height: 118px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form .btn { width: 100%; }
.form__status { min-height: 20px; font-size: 14px; font-weight: 500; color: var(--green-deep); }
/* Champ leurre du formulaire de contact : hors ecran, jamais atteint par un
   humain. Le nom de la classe ne dit pas ce qu'il est. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Pied de page ───────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 56px 36px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 0.5fr; gap: 40px; align-items: start; }
.site-footer .brand span { color: #fff; }
.site-footer__links { display: grid; gap: 12px; }
.site-footer__links a { font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.78); transition: color 0.2s var(--ease); }
.site-footer__links a:hover { color: var(--orange); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-size: 13.5px; color: var(--on-dark-2);
}

/* ── Revelation au defilement ───────────────────────────────────────────── */
[data-anim] { opacity: 0; transform: translateY(18px); }
[data-anim].is-in {
  opacity: 1; transform: none;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--delay, 0ms);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .sec { padding-block: 84px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__title { max-width: 18ch; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__sticky { position: static; }
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 22px; margin-bottom: 40px; }
  .proof__grid { grid-template-columns: 1fr; gap: 28px; }
  .proof__logos { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(1) .tile__title { font-size: 23px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .timeline::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; }
  .nav[data-open="true"] {
    display: flex; position: absolute; top: 100%; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px; border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow-lift); border: 1px solid var(--line);
  }
  .nav[data-open="true"] .nav__link { padding: 13px 14px; font-size: 16px; }
  .nav[data-open="true"] .btn { margin: 8px 0 0; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 32px); }
  body { font-size: 16px; }
  .sec { padding-block: 64px; }
  .sec--tight, .proof { padding-block: 48px; }
  .hero { padding-block: 52px 64px; }
  .verbs { grid-template-columns: 1fr 1fr; }
  .bento, .grid-3, .timeline { grid-template-columns: 1fr; }
  .tile:nth-child(n) { grid-column: auto; }
  .proof__logos { grid-template-columns: repeat(2, 1fr); }
  .contact__phones { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .acc__item summary { font-size: 17px; padding: 17px 10px; }
  .split { gap: 32px; }
}

/* Sur ecran tactile, aucun contenu ne depend du survol. */
@media (hover: none) {
  .tile__body, .card-min__body {
    -webkit-line-clamp: unset; line-clamp: unset; max-height: none;
    display: block; overflow: visible;
  }
}

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

/* ── Formulaire : erreurs et confirmation ───────────────────────────────── */
.field__error {
  font-size: 13.5px; font-weight: 500; color: #a3260f;
}
.input[aria-invalid="true"] { border-color: #a3260f; background: #fdf3f1; }
.form__status { color: var(--green-deep); }
.form__status[data-etat="erreur"] { color: #a3260f; }

/* ── Page d'erreur ──────────────────────────────────────────────────────── */
.erreur { padding-block: 120px 140px; }
.erreur__code {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(72px, 12vw, 150px); line-height: 0.9;
  letter-spacing: -0.04em; color: var(--green);
  opacity: 0.16; margin-bottom: -0.12em;
}

/* ── Heros, variante B (affiche pleine largeur) ─────────────────────────── */
.hero--poster { padding-block: 96px 104px; }
.hero--poster::before { display: none; }
.hero__poster { max-width: 22ch; margin-block: 24px 40px; }
.hero__poster-foot {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: end; padding-top: 32px; border-top: 1px solid var(--line-dark);
}
@media (max-width: 1080px) {
  .hero__poster-foot { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero__poster { max-width: 100%; }
}

/* ── Correctifs de structure ────────────────────────────────────────────── */
/* La frise est une liste ordonnee : les etapes sont numerotees. */
ol.timeline { list-style: none; margin: 0; padding: 0; }
/* Le nombre de partenaires est editable : la grille s'adapte au lieu de figer
   six colonnes. */
.proof__logos { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.contact__title { margin-block: 20px 18px; max-width: 22ch; }
