/* =====================================================================
   DéFiOp — David Ferri · Feuille de style unique
   Palette & typo issues de la plateforme de marque v3.0
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marque */
  --petrol-dark: #2E5266;
  --petrol-darker: #24404f;
  --petrol-light: #497994;
  --bordeaux: #8B2942;
  --bordeaux-dark: #73203686;
  --bordeaux-strong: #732036;
  --gold: #D4AF37;
  --gold-light: #F4E5C3;
  --gold-mid: #C9A02E;
  --gold-dark: #B8922A;
  --anthracite: #4A5568;
  --white: #FFFFFF;

  /* Neutres de travail */
  --ink: #1c2b33;
  --ink-soft: #45575f;
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --line: #e2e8ea;
  --line-strong: #cbd6d9;

  --gradient-signature: linear-gradient(118deg, var(--petrol-dark) 0%, var(--petrol-light) 100%);

  /* Type */
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.45rem, 1.25rem + 1vw, 2.1rem);
  --step-3: clamp(1.85rem, 1.5rem + 1.7vw, 3rem);
  --step-4: clamp(2.35rem, 1.85rem + 2.6vw, 4rem);

  --container: 1760px;
  --container-narrow: 820px;
  --container-wide: 1760px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(28, 43, 51, 0.06), 0 4px 14px rgba(28, 43, 51, 0.06);
  --shadow-md: 0 10px 40px rgba(28, 43, 51, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; color: var(--petrol-dark); text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
p, li, dd { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* Les citations d'accroche restent alignées à gauche (ce sont des titres) */
.pull, .proof__quote, .moment__quote { text-align: left; hyphens: none; }
strong { font-weight: 700; }
::selection { background: var(--gold-light); color: var(--petrol-dark); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 6vw, 6rem); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--gradient-signature); color: rgba(255, 255, 255, 0.92); position: relative; overflow: clip; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.section-head { max-width: 66ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 1.1rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.62; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.82); }

/* ---------- Eyebrow (label structurel) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--gold); }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .eyebrow::before { background: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--bordeaux);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  padding: 0.9em 1.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(139, 41, 66, 0.28); background: var(--bordeaux-strong); border-color: var(--bordeaux-strong); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--petrol-dark); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-fg: var(--petrol-dark); background: var(--white); border-color: var(--petrol-dark); box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--petrol-dark); border-color: var(--white); }
.btn--light:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.btn--on-dark.btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--on-dark.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Lien flèche ---------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--bordeaux);
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s var(--ease), gap 0.18s var(--ease);
}
.arrow-link::after { content: "\2192"; transition: transform 0.18s var(--ease); }
.arrow-link:hover { border-color: var(--gold); gap: 0.8ch; }
.section--dark .arrow-link { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 2px 16px rgba(28, 43, 51, 0.07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }

/* Logo réel (SVG fourni par le client) */
.brand { display: inline-flex; align-items: center; padding-block: 0.4rem; }
.brand img { height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .brand img { height: 34px; } }


.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; padding: 0; }
.nav__list a { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--anthracite); padding-block: 0.4rem; position: relative; transition: color 0.16s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--petrol-dark); }
.nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--petrol-dark); transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 1rem clamp(1.15rem, 5vw, 2.5rem) 1.5rem; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.22s var(--ease), opacity 0.22s var(--ease); box-shadow: var(--shadow-md); }
  .nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__list a[aria-current="page"] { color: var(--bordeaux); }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--gradient-signature); color: #fff; overflow: clip; }
.hero__inner { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { max-width: 460px; }
  .hero__photo { aspect-ratio: 5 / 4; }
  .hero__aside--cutout { max-width: 340px; margin-inline: auto; }
  img.hero__photo--cutout { max-height: 44vh; }
}
.hero__eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; font-size: var(--step-4); max-width: 30ch; margin-top: 1.1rem; text-wrap: pretty; }

.hero__aside { position: relative; }
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  overflow: clip;
}
img.hero__photo { object-fit: cover; object-position: 50% 22%; }

/* Variante portrait détouré, posé sur le dégradé */
.hero__aside--cutout { align-self: end; }
.hero__aside--cutout::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 118%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 52%, rgba(244, 229, 195, 0.18), rgba(244, 229, 195, 0) 62%);
  z-index: 0;
  pointer-events: none;
}
img.hero__photo--cutout {
  position: relative;
  z-index: 1;
  aspect-ratio: auto;
  width: 100%;
  max-height: min(60vh, 600px);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.30));
}
.hero__photo[data-label]::after {
  content: attr(data-label);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 1rem;
}
.hero__sub { margin-top: 1.4rem; max-width: 40ch; font-family: var(--font-head); font-weight: 600; font-size: var(--step-2); line-height: 1.35; color: #fff; text-align: left; hyphens: none; -webkit-hyphens: none; text-wrap: balance; }
.hero__lead { margin-top: 1.6rem; max-width: 62ch; font-size: var(--step-1); line-height: 1.68; color: rgba(255, 255, 255, 0.9); }
.hero__sub + .hero__lead { margin-top: 1rem; }
.hero .btn-row { margin-top: 2rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  margin-top: 2.2rem;
  padding: 0.55em 1em;
  background: rgba(244, 229, 195, 0.16);
  border: 1px solid rgba(244, 229, 195, 0.35);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--gold-light);
}

/* Rouage doré décoratif (image assets/img/roue.png) */
.gear {
  position: absolute;
  z-index: 1;
  height: auto;
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}
.hero .gear { width: min(44vw, 480px); right: calc((100% - var(--container)) / 2 - 3.5rem); top: 50%; transform: translateY(-50%); animation: spin 90s linear infinite; }
.cta-band .gear { width: 300px; right: -70px; bottom: -110px; opacity: 0.14; animation: spin-plain 120s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes spin-plain { to { transform: rotate(360deg); } }

/* ---------- Rail motif (signature) : parcours relié par des flèches ---------- */
.rail {
  --rail-color: var(--gold);
  --rail-line: rgba(255, 255, 255, 0.34);
  /* Flèche horizontale (trait qui s'étire + chevron ▸) et verticale (trait court + chevron ▾),
     dessinées en masque sur un aplat --rail-line pour suivre la couleur de chaque variante. */
  --rail-arrow-h:
    linear-gradient(#000, #000) left center / calc(100% - 7px) 2px no-repeat,
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%208%2012'%3E%3Cpath%20d='M2%202%206%206%202%2010'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") right center / 8px 12px no-repeat;
  --rail-arrow-v:
    linear-gradient(#000, #000) top left 4px / 2px calc(100% - 6px) no-repeat,
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%208'%3E%3Cpath%20d='M1%202%205%206%209%202'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") bottom left / 10px 7px no-repeat;
  list-style: none;
  padding: 0;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
}
.rail__node {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75ch;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.rail__node::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.rail__node:last-child { color: #fff; }

.rail__arrow {
  display: block;
  flex: 1 1 auto;
  min-width: clamp(1.75rem, 5vw, 4.5rem);
  height: 12px;
  margin: 0 clamp(0.7rem, 1.8vw, 1.4rem);
  background: var(--rail-line);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  -webkit-mask: var(--rail-arrow-h);
  mask: var(--rail-arrow-h);
}

/* Repli vertical : variante .rail--stack (colonne étroite d'À propos) + tout .rail sous 620 px.
   Postes empilés sans décalage : même niveau, pas de hiérarchie ; flèche vers le bas. */
.rail--stack { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.rail--stack .rail__arrow {
  flex: none;
  width: 14px;
  height: 0.95rem;
  min-width: 0;
  margin: 0 0 0 3px;
  -webkit-mask: var(--rail-arrow-v);
  mask: var(--rail-arrow-v);
}
@media (max-width: 619px) {
  .rail { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .rail .rail__arrow {
    flex: none;
    width: 14px;
    height: 0.95rem;
    min-width: 0;
    margin: 0 0 0 3px;
    -webkit-mask: var(--rail-arrow-v);
    mask: var(--rail-arrow-v);
  }
}

.rail.is-on .rail__node { opacity: 1; transform: translateY(0); }
.rail.is-on .rail__arrow { opacity: 1; }
.rail.is-on .rail__node::before { background: var(--rail-color); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18); }
.rail.is-on .rail__node:last-child::before { box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), 0 0 16px rgba(212, 175, 55, 0.5); }
.rail.is-on .rail__node:nth-child(1) { transition-delay: 0.04s; }
.rail.is-on .rail__arrow:nth-child(2) { transition-delay: 0.12s; }
.rail.is-on .rail__node:nth-child(3) { transition-delay: 0.19s; }
.rail.is-on .rail__arrow:nth-child(4) { transition-delay: 0.27s; }
.rail.is-on .rail__node:nth-child(5) { transition-delay: 0.34s; }

.rail--ink { --rail-line: var(--line-strong); }
.rail--ink .rail__node { color: var(--anthracite); }
.rail--ink .rail__node::before { background: var(--line-strong); box-shadow: 0 0 0 4px rgba(28, 43, 51, 0.04); }
.rail--ink .rail__node:last-child { color: var(--petrol-dark); }
.rail--ink.is-on .rail__node::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16); }

/* ---------- Parcours en bref (crédibilité) ---------- */
.creds { border-top: 3px solid var(--gold); }
.creds__intro { max-width: 68ch; }
.creds__intro h2 { margin-top: 0.8rem; font-size: var(--step-2); }
.creds__intro p { margin-top: 1.2rem; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.7; }
.creds__rail { margin-top: clamp(2rem, 4.5vw, 3rem); }

/* Rangée d'employeurs : filet doré + intitulé + logos.
   Statique en desktop, défilé (marquee) sous 860 px — voir plus bas. */
.creds__logos {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  padding-top: clamp(1.8rem, 4vw, 2.6rem);
  border-top: 1px solid var(--line);
}
.logos__label {
  margin: 0 0 clamp(1.1rem, 2.5vw, 1.7rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--anthracite);
  opacity: 0.7;
}
.logos-wrap { position: relative; }
.logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem clamp(1.6rem, 4vw, 3rem);
}
.logos__item { display: flex; align-items: center; }
.logos__item img {
  height: 28px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.2s var(--ease), filter 0.2s var(--ease);
}
.logos__item img:hover { opacity: 0.95; filter: grayscale(0); }
.logos__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--anthracite);
  opacity: 0.72;
}

/* Défilé : uniquement sous 860 px (le JS insère .logos__track + un clone .logos--clone). */
.logos__track { display: contents; }
.logos--clone { display: none; }
@media (max-width: 859px) {
  .logos-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .logos__track {
    display: flex;
    width: max-content;
    animation: logos-scroll 24s linear infinite;
  }
  .logos-wrap:hover .logos__track,
  .logos-wrap:focus-within .logos__track { animation-play-state: paused; }
  .logos__track .logos {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: clamp(2rem, 8vw, 3rem);
    padding-right: clamp(2rem, 8vw, 3rem);
  }
  .logos--clone { display: flex; }
}
@keyframes logos-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { display: contents; animation: none; }
  .logos--clone { display: none; }
  .logos-wrap { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .logos__track .logos { flex-wrap: wrap; justify-content: space-between; padding-right: 0; }
}

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.card h3 { color: var(--petrol-dark); }
.card p { margin-top: 0.7rem; color: var(--ink-soft); }

/* Cartes moments (persona) */
.moment { position: relative; overflow: hidden; }
.moment__tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bordeaux); }
.moment h3 { margin-top: 0.5rem; }
.moment__quote { margin-top: 0.9rem; font-style: italic; color: var(--petrol-dark); font-size: var(--step-0); }
.moment__angle { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-soft); }
.moment::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }

/* Cartes réalisations (résultat client) */
.case { border-top: 4px solid var(--gold); }
.case__tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--anthracite); }
.case h3 { margin-top: 0.5rem; }
.case__result { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--petrol-dark); font-weight: 600; }
.case__result .hl { color: var(--gold-dark); }

/* ---------- Cartes offres ---------- */
.offer { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.offer__step { font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--anthracite); }
.offer h3 { margin-top: 0.55rem; display: flex; align-items: baseline; gap: 0.5ch; flex-wrap: wrap; }
.offer__meta { margin-top: 0.4rem; font-size: var(--step--1); color: var(--ink-soft); }
.offer__price { margin-top: 1rem; font-family: var(--font-head); font-weight: 900; font-size: var(--step-1); color: var(--gold-dark); letter-spacing: -0.02em; white-space: nowrap; }
.offer__price small { display: block; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--anthracite); white-space: normal; margin-top: 0.15rem; }
.offer__promise { margin-top: 1rem; color: var(--petrol-dark); font-weight: 600; }
.offer__list { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.offer__list li { position: relative; padding-left: 1.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border: 2px solid var(--gold); border-radius: 50%; }
.offer__cta { margin-top: auto; padding-top: 1.4rem; }
.offer--wide { grid-column: 1 / -1; }

.offer__preview { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1.2rem; }

/* Vitrine image pleine largeur */
.showcase { margin: 0; }
.showcase img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: block; }
.showcase figcaption { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-soft); max-width: 62ch; }

/* Encadré "non négociable" */
.callout { margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--gold-light); border-radius: var(--radius); font-size: var(--step--1); color: var(--bordeaux-strong); }
.callout strong { color: var(--bordeaux-strong); }

/* ---------- Différenciation ---------- */
.versus { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 900px) { .versus { grid-template-columns: 1fr; } }
.versus__col { border-top: 2px solid var(--petrol-light); padding-top: 1.1rem; }
.versus__col h3 { font-size: var(--step-0); text-transform: uppercase; letter-spacing: 0.08em; color: var(--anthracite); }
.versus__col ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.versus__col li { font-size: var(--step--1); line-height: 1.6; }
.versus__col li b { display: block; font-family: var(--font-head); color: var(--petrol-dark); }
.pull {
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  max-width: 30ch;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--petrol-dark);
  text-align: center;
}
.pull .hl { color: var(--gold-dark); }

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--step-2);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--petrol-dark);
  box-shadow: var(--shadow-sm);
}
.quote-card .hl { color: var(--gold-dark); }

/* ---------- Valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); counter-reset: v; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.value { padding: 1.3rem 0 0; border-top: 2px solid var(--gold); }
.value::before { counter-increment: v; content: counter(v, decimal-leading-zero); font-family: var(--font-head); font-weight: 900; font-size: 0.9rem; color: var(--gold-dark); letter-spacing: 0.1em; }
.value h3 { margin-top: 0.35rem; font-size: var(--step-0); }
.value p { margin-top: 0.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.value--sec { border-top-color: var(--petrol-light); }
.value--sec::before { color: var(--petrol-light); }

/* ---------- Preuve (histoire fondatrice) ---------- */
.proof { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 820px) { .proof { grid-template-columns: 1fr; } }
.proof__quote { font-family: var(--font-head); font-weight: 700; font-size: var(--step-2); line-height: 1.25; letter-spacing: -0.02em; color: var(--white); }
.proof__body { color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
.proof__body p + p { margin-top: 1.15rem; }
.proof__tag { display: inline-block; margin-bottom: 1rem; font-family: var(--font-head); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; overflow: clip; background: var(--petrol-darker); border-top: 3px solid var(--gold); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 28ch; margin-inline: auto; text-wrap: balance; }
.cta-band p { margin: 1rem auto 0; max-width: 46ch; color: rgba(255, 255, 255, 0.85); }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Split media/texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.split--center { align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__body h2 { margin-bottom: 1rem; }
.split__body p + p { margin-top: 1.2rem; color: var(--ink-soft); }

/* Placeholder photo — remplacer par une vraie image (assets/img/*.jpg) */
.media-ph {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  overflow: clip;
  display: grid;
  place-items: center;
}
.media-ph::after {
  content: attr(data-label);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--anthracite);
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}
.media-ph--wide { aspect-ratio: 16 / 10; }

/* Quand une vraie photo remplace le placeholder */
img.media-ph { object-fit: cover; background: none; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* ---------- Timeline (à propos) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline__item { position: relative; padding: 1.4rem 0 1.4rem 2rem; border-left: 2px solid var(--line-strong); }
.timeline__item::before { content: ""; position: absolute; left: -7px; top: 1.75rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); }
.timeline__item:last-child { border-left-color: transparent; }
.timeline__role { font-family: var(--font-head); font-weight: 900; color: var(--petrol-dark); font-size: var(--step-1); }
.timeline__org { font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bordeaux); margin-top: 0.2rem; }
.timeline__desc { margin-top: 0.5rem; color: var(--ink-soft); font-size: var(--step--1); }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); font-size: var(--step--1); vertical-align: top; }
.compare thead th { font-family: var(--font-head); font-weight: 700; color: var(--white); background: var(--petrol-dark); letter-spacing: 0.03em; }
.compare tbody th { font-family: var(--font-head); font-weight: 700; color: var(--petrol-dark); background: var(--bg-soft); white-space: nowrap; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .price { font-family: var(--font-head); font-weight: 900; color: var(--gold-dark); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: var(--step-0); color: var(--petrol-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 1.4rem; color: var(--gold-dark); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list dt { font-family: var(--font-head); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--anthracite); }
.contact-list dd { margin: 0.2rem 0 0; font-size: var(--step-0); }
.contact-list a { color: var(--bordeaux); text-decoration: none; border-bottom: 1px solid var(--gold); }

.expect { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.expect li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); font-size: var(--step--1); }
.expect li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 700; }

/* ---------- Prose (mentions légales) ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose ul { margin-top: 1.1rem; color: var(--ink-soft); line-height: 1.7; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-top: 0.4rem; }
.prose a { color: var(--bordeaux); }

/* ---------- Page hero (secondaire) ---------- */
.page-hero { background: var(--gradient-signature); color: #fff; position: relative; overflow: clip; }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.page-hero h1 { color: #fff; font-size: var(--step-3); max-width: 20ch; margin-top: 0.8rem; }
.page-hero p { margin-top: 1.3rem; max-width: 54ch; font-size: var(--step-1); line-height: 1.65; color: rgba(255, 255, 255, 0.88); }
.page-hero .gear { width: min(30vw, 300px); right: calc((100% - var(--container)) / 2 - 2.5rem); top: 50%; transform: translateY(-50%); opacity: 0.15; animation: spin 100s linear infinite; }

/* ---------- Footer (clair, avec le vrai logo) ---------- */
.site-footer { background: var(--bg-soft); color: var(--ink-soft); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 780px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.brand--footer { display: inline-block; }
.brand--footer img { width: clamp(150px, 40vw, 190px); height: auto; }
.footer-baseline { margin-top: 1rem; max-width: 34ch; font-family: var(--font-head); font-weight: 600; font-size: var(--step--1); color: var(--petrol-dark); text-align: left; hyphens: none; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--anthracite); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { text-decoration: none; font-size: var(--step--1); color: var(--ink-soft); transition: color 0.16s var(--ease); }
.footer-col a:hover { color: var(--bordeaux); }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: 0.8rem; color: var(--anthracite); }
.site-footer__legal a { text-decoration: none; color: var(--anthracite); }
.site-footer__legal a:hover { color: var(--bordeaux); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* Décor discret : on masque les rouages sur petits écrans pour aérer */
@media (max-width: 700px) {
  .hero .gear, .page-hero .gear { display: none; }
}

/* ---------- Utilitaires ---------- */
.skip-link { position: fixed; left: 1rem; top: 0; z-index: 100; background: var(--bordeaux); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 var(--radius) var(--radius); font-family: var(--font-head); font-weight: 700; text-decoration: none; transform: translateY(-110%); transition: transform 0.18s var(--ease); }
.skip-link:focus { transform: translateY(0); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1rem; }
