/* =========================================================
   SOLUCORE — 2026 EDITION
   Palette : marine #14465a · or #d4a84b · corail #d84054
   Design : bento grid, glassmorphism, scroll reveals, kinetic typo
   ========================================================= */

:root {
  --marine: #14465a;
  --marine-2: #0d2e3c;
  --marine-3: #1f5b72;
  --or: #d4a84b;
  --or-2: #e8c57a;
  --or-3: #b48d33;
  --corail: #d84054;
  --fond: #f7f4ec;
  --fond-2: #ece7db;
  --cream: #fdfbf5;
  --texte: #1a2a33;
  --texte-2: #5a6a72;
  --trait: rgba(20, 70, 90, 0.12);
  --trait-fort: rgba(20, 70, 90, 0.22);
  --blanc: #ffffff;

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 40px;

  --shadow-s: 0 4px 12px rgba(20, 70, 90, 0.06);
  --shadow-m: 0 12px 32px rgba(20, 70, 90, 0.10);
  --shadow-l: 0 28px 64px rgba(20, 70, 90, 0.18);

  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--marine); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--or); }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--marine);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.accent { color: var(--or); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--or-3);
  margin: 0 0 1em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   ✨ CSS SCROLL-DRIVEN ANIMATIONS (natif 2024+) + fallbacks
   ========================================================= */

/* @property pour animer l'angle du gradient du H1 (technique 2026) */
@property --hero-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 135deg;
}

/* ========== Hexagone magnétique custom cursor ========== */
.hex-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-100px, -100px, 0);
  transition: width .35s cubic-bezier(.22,1,.36,1), height .35s cubic-bezier(.22,1,.36,1);
  mix-blend-mode: difference;
}
.hex-cursor svg {
  width: 100%; height: 100%;
  overflow: visible;
  display: block;
}
.hex-cursor .hex-cursor-shape {
  fill: #d4a84b;
  opacity: .85;
  transition: fill .3s var(--ease), opacity .3s var(--ease);
}
.hex-cursor.hex-cursor-hover {
  width: 60px; height: 60px;
}
.hex-cursor.hex-cursor-hover .hex-cursor-shape {
  fill: transparent;
  stroke: #d4a84b;
  stroke-width: 2;
}
.hex-cursor.hex-cursor-click {
  width: 80px; height: 80px;
}

/* Désactiver sur touch */
@media (hover: none) or (pointer: coarse) {
  .hex-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hex-cursor { display: none; }
}

/* ========== Gradient Mask Text (H1 Hero) ========== */
.hero-title .word-swap span {
  background: linear-gradient(
    135deg,
    var(--or) 0%,
    var(--or-2) 30%,
    var(--or) 60%,
    var(--or-3) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 6s ease-in-out infinite, swap 12s cubic-bezier(.22, 1, .36, 1) infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========== Méthode : numéros qui s'animent au scroll ========== */
/* Natif (Chrome 115+, Safari 18+, Firefox behind flag) */
@supports (animation-timeline: view()) {
  .step {
    animation: step-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  @keyframes step-enter {
    from {
      opacity: 0.4;
      transform: translateY(30px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .step-num {
    animation: num-glow linear both;
    animation-timeline: view();
    animation-range: entry 20% cover 60%;
  }
  @keyframes num-glow {
    0%   { opacity: 0.3; transform: scale(0.85); text-shadow: none; }
    50%  { opacity: 1; transform: scale(1); text-shadow: 0 0 24px rgba(212, 168, 75, 0.5); }
    100% { opacity: 1; transform: scale(1); text-shadow: 0 0 0 transparent; }
  }

  /* Cartes cas résolus : apparition progressive */
  .case-card {
    animation: card-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
  @keyframes card-enter {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Formules : apparition en cascade */
  .formule-card {
    animation: formule-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
  @keyframes formule-enter {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Scroll progress bar native CSS (en plus du JS existant, fallback) */
@supports (animation-timeline: scroll()) {
  .scroll-progress span {
    animation: scroll-advance linear both;
    animation-timeline: scroll(root);
  }
  @keyframes scroll-advance {
    from { width: 0; }
    to { width: 100%; }
  }
}

/* =========================================================
   INTRO SPLASH
   ========================================================= */

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: var(--fond);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: splashOut 1.1s cubic-bezier(.22, 1, .36, 1) forwards 5.4s;
}
.intro-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(212, 168, 75, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(31, 91, 114, 0.18) 0%, transparent 55%);
  filter: blur(40px);
  animation: splashGlow 2.5s ease-in-out infinite alternate;
}
.intro-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 70, 90, 0.12) 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  animation: splashDotsIn 1.2s ease-out;
}

.intro-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.intro-svg {
  width: min(520px, 75vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.intro-hex-outer {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawHex 1.6s cubic-bezier(.65, 0, .35, 1) forwards 0.35s;
  transform-origin: 80px 80px;
}
.intro-hex-inner {
  opacity: 0;
  transform-origin: 80px 80px;
  transform: scale(0.2) rotate(-20deg);
  animation: popHex 0.9s cubic-bezier(.22, 1.4, .36, 1) forwards 1.7s;
}
.intro-word {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: left center;
  animation: typeWord 1.1s cubic-bezier(.22, 1, .36, 1) forwards 2.4s;
}
.intro-underline {
  animation: drawLine 0.8s cubic-bezier(.22, 1, .36, 1) forwards 3.2s;
}

.intro-tagline {
  margin: 28px 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-2);
  font-weight: 500;
  opacity: 0;
  animation: taglineIn 0.95s cubic-bezier(.22, 1, .36, 1) forwards 3.6s;
}

@keyframes drawHex {
  to { stroke-dashoffset: 0; }
}
@keyframes popHex {
  0%   { opacity: 0; transform: scale(0.2) rotate(-20deg); }
  60%  { opacity: 1; transform: scale(1.15) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes typeWord {
  0%   { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes drawLine {
  to { x2: 407; }
}
@keyframes taglineIn {
  0%   { opacity: 0; transform: translateY(8px); letter-spacing: .32em; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: .18em; }
}
@keyframes splashGlow {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}
@keyframes splashDotsIn {
  from { opacity: 0; transform: scale(1.2); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes splashOut {
  to { opacity: 0; visibility: hidden; transform: scale(1.04); }
}

.intro-splash.done {
  display: none;
}

/* Intro désactivée pour accessibilité */
@media (prefers-reduced-motion: reduce) {
  .intro-splash {
    animation: splashOut 0.1s linear forwards 0.8s;
  }
  .intro-hex-outer, .intro-hex-inner, .intro-word, .intro-underline, .intro-tagline {
    animation-duration: 0.001s !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}

/* =========================================================
   NOISE + PROGRESS
   ========================================================= */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 10000;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--or), var(--corail));
  transition: width .1s linear;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 244, 236, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--trait);
  padding: 8px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 36px; }

.primary-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.primary-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--texte);
  position: relative;
  padding: 6px 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--or);
  transition: width .3s var(--ease);
}
.primary-nav a:hover::after { width: 100%; }
.primary-nav a:hover { color: var(--marine); }

.primary-nav .cta {
  background: var(--marine);
  color: var(--blanc) !important;
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s var(--ease);
}
.primary-nav .cta::after { display: none; }
.primary-nav .cta:hover {
  background: var(--or);
  color: var(--marine-2) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 168, 75, 0.35);
}
.primary-nav .cta svg { transition: transform .3s var(--ease); }
.primary-nav .cta:hover svg { transform: translateX(3px); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--fond);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: float 18s ease-in-out infinite;
}
.orb-1 {
  width: 520px; height: 520px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, var(--or) 0%, transparent 70%);
}
.orb-2 {
  width: 460px; height: 460px;
  bottom: -140px; left: -120px;
  background: radial-gradient(circle, var(--marine-3) 0%, transparent 70%);
  animation-delay: -9s;
  opacity: .35;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 40px) scale(.95); }
}

.hex-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(var(--or-3) 1px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: .12;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--trait);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--marine);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.hero-title {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--marine);
  margin-bottom: 32px;
  max-width: 920px;
}

.word-swap {
  display: block;
  position: relative;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  color: var(--or);
  margin-top: 0.15em;
}
.word-swap span {
  display: block;
  height: 1em;
  line-height: 1;
  white-space: nowrap;
  animation: swap 12s cubic-bezier(.22, 1, .36, 1) infinite;
}
@keyframes swap {
  0%, 24%    { transform: translateY(0); }
  28%, 57%   { transform: translateY(-100%); }
  61%, 91%   { transform: translateY(-200%); }
  95%, 100%  { transform: translateY(-300%); }
}
@media (max-width: 640px) {
  .word-swap span {
    font-size: 0.85em;
    line-height: 1.18;
    height: 1.18em;
  }
  .word-swap {
    height: 1.18em;
    line-height: 1.18;
  }
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--texte-2);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.65;
}
.hero-lead strong { color: var(--marine); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--marine);
  color: var(--blanc);
}
.btn-primary:hover {
  background: var(--or);
  color: var(--marine-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 168, 75, 0.35);
}
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--marine);
  border: 2px solid var(--marine);
}
.btn-ghost:hover {
  background: var(--marine);
  color: var(--blanc);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--trait);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--marine);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-lbl {
  font-size: .85rem;
  color: var(--texte-2);
  margin-top: 6px;
  line-height: 1.3;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--texte-2);
  font-weight: 500;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--texte-2) 0%, transparent 100%);
  animation: scrollbob 2s ease-in-out infinite;
}
@keyframes scrollbob {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(.4); }
}

/* =========================================================
   MARQUEE CLIENTS
   ========================================================= */

.marquee-section {
  padding: 48px 0;
  background: var(--marine);
  color: var(--blanc);
  overflow: hidden;
}
.marquee-eyebrow {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--or-2);
  margin: 0 0 24px;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  animation: slide 40s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--blanc);
}
.marquee-track .dot { color: var(--or); font-size: .8em; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTIONS (common)
   ========================================================= */

.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 72px;
  text-align: center;
}
.section-head .eyebrow { margin-inline: auto; }
.section-sub {
  font-size: 1.1rem;
  color: var(--texte-2);
  margin-top: 18px;
}

/* =========================================================
   BENTO GRID (services)
   ========================================================= */

.services { background: var(--cream); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(240px, auto);
}

.bento-card {
  grid-column: span 4;
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-l);
  padding: 32px;
  overflow: hidden;
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--or);
  box-shadow: var(--shadow-m);
}

.bento-big {
  grid-column: span 8;
  grid-row: span 2;
  background: linear-gradient(135deg, #fff 0%, #f9f4e6 100%);
}

.bento-dark {
  grid-column: span 8;
  background: var(--marine);
  color: var(--blanc);
  border-color: var(--marine);
}
.bento-dark h3, .bento-dark p, .bento-dark li { color: var(--blanc); }
.bento-dark li::before { background: var(--or) !important; }
.bento-dark .bento-tag { color: var(--or-2); }

.bento-accent {
  grid-column: span 4;
  background: linear-gradient(135deg, var(--or) 0%, var(--or-3) 100%);
  border-color: var(--or-3);
  color: var(--marine-2);
}
.bento-accent h3, .bento-accent p { color: var(--marine-2); }
.bento-accent .bento-tag { color: var(--marine-2); opacity: .7; }

.bento-tag {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--or-3);
  margin-bottom: 16px;
}

.bento-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.bento-big h3 { font-size: 2.2rem; }

.bento-desc {
  color: var(--texte-2);
  margin-bottom: 16px;
  line-height: 1.6;
}

.bento-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.bento-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: .95rem;
  color: var(--texte);
}
.bento-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 10px; height: 10px;
  background: var(--or);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.bento-ill {
  margin-top: auto;
  padding-top: 20px;
}
.bento-ill svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.bento-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.bento-logos span {
  padding: 6px 14px;
  background: var(--fond);
  border: 1px solid var(--trait);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--marine);
}

/* =========================================================
   CASES
   ========================================================= */

.cases { background: var(--fond); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--blanc);
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--trait);
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: var(--or);
}

.case-cover {
  height: 180px;
  background: var(--cover, linear-gradient(135deg, var(--marine), var(--marine-3)));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.case-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.3) 1px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: .4;
}
.case-cover svg {
  width: 75%;
  height: 75%;
  position: relative;
  z-index: 1;
  transition: transform .6s var(--ease);
  overflow: visible;
}
.case-card:hover .case-cover svg { transform: scale(1.05); }

/* ✨ Pictos line-art qui se dessinent (stroke-dashoffset animé) */
.case-ico [class^="ico-"] {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  opacity: 0;
}
.case-ico .ico-dot,
.case-ico .ico-star {
  stroke-dasharray: none;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  opacity: 0;
}

/* Au hover ou au scroll-entry : dessin des pictos */
.case-card:hover .case-ico .ico-line,
.case-card:hover .case-ico .ico-wave,
.case-card:hover .case-ico .ico-bar,
.case-card:hover .case-ico .ico-gear,
.case-card:hover .case-ico .ico-hex,
.case-card:hover .case-ico .ico-check,
.case-card:hover .case-ico .ico-link,
.case-card:hover .case-ico .ico-spark {
  stroke-dashoffset: 0;
  opacity: 1;
  transition: stroke-dashoffset 1.2s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}
.case-card:hover .case-ico .ico-dot,
.case-card:hover .case-ico .ico-star {
  opacity: 1;
  transform: scale(1);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
}

/* Stagger par type (sur hover) */
.case-card:hover .case-ico .ico-hex { transition-delay: 0s; }
.case-card:hover .case-ico .ico-line { transition-delay: .1s; }
.case-card:hover .case-ico .ico-wave { transition-delay: .2s; }
.case-card:hover .case-ico .ico-bar { transition-delay: .4s; }
.case-card:hover .case-ico .ico-link { transition-delay: .3s; }
.case-card:hover .case-ico .ico-gear { transition-delay: .3s; }
.case-card:hover .case-ico .ico-check { transition-delay: .7s; }
.case-card:hover .case-ico .ico-dot { transition-delay: .5s; }
.case-card:hover .case-ico .ico-star { transition-delay: .6s; }
.case-card:hover .case-ico .ico-spark { transition-delay: .2s; }

/* Auto-draw au scroll (native) */
@supports (animation-timeline: view()) {
  .case-ico [class^="ico-"]:not(.ico-dot):not(.ico-star) {
    animation: ico-draw linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
  }
  .case-ico .ico-dot,
  .case-ico .ico-star {
    animation: ico-pop linear both;
    animation-timeline: view();
    animation-range: entry 25% cover 55%;
  }
  @keyframes ico-draw {
    0%   { stroke-dashoffset: 300; opacity: 0; }
    100% { stroke-dashoffset: 0;   opacity: 1; }
  }
  @keyframes ico-pop {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
}

/* Fallback : si pas de scroll-timeline, montrer les icônes par défaut */
@supports not (animation-timeline: view()) {
  .case-ico [class^="ico-"] {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .case-ico .ico-dot,
  .case-ico .ico-star {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-ico [class^="ico-"] {
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

.case-body { padding: 28px 30px; flex: 1; display: flex; flex-direction: column; }

.case-meta {
  font-size: .8rem;
  color: var(--texte-2);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.case-meta span { font-weight: 600; color: var(--marine); }

.case-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.25;
}

.case-body p {
  color: var(--texte-2);
  line-height: 1.6;
  font-size: .95rem;
  flex: 1;
}
.case-body p strong { color: var(--marine); font-weight: 600; }

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.case-tags span {
  padding: 4px 11px;
  background: var(--fond-2);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  color: var(--marine);
  font-family: var(--font-display);
}

/* Testimonial */
.testimonial {
  margin: 80px auto 0;
  max-width: 900px;
  padding: 48px 56px;
  background: linear-gradient(135deg, var(--marine) 0%, var(--marine-3) 100%);
  border-radius: var(--r-xl);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--or) 1px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: .15;
  pointer-events: none;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--or);
  line-height: .6;
  margin-bottom: 10px;
}
.testimonial p {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--blanc);
  margin-bottom: 24px;
  font-weight: 400;
  position: relative;
}
.testimonial p strong { color: var(--or-2); }
.testimonial cite {
  font-style: normal;
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  display: block;
  position: relative;
}
.testimonial cite strong {
  display: block;
  color: var(--or-2);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

/* =========================================================
   MÉTHODE (steps)
   ========================================================= */

.methode, .approche { background: var(--cream); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  background: var(--blanc);
  border-radius: var(--r-l);
  padding: 40px 32px;
  border: 1px solid var(--trait);
  position: relative;
  transition: all .4s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--or);
  box-shadow: var(--shadow-m);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--or);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  opacity: .3;
}
.step:hover .step-num { opacity: 1; transition: opacity .4s var(--ease); }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--texte-2); margin: 0; line-height: 1.6; }

/* =========================================================
   POURQUOI MOI
   ========================================================= */

.pourquoi { background: var(--fond); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-l);
  padding: 32px;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--or);
  box-shadow: var(--shadow-m);
}

.why-featured {
  background: linear-gradient(145deg, var(--marine) 0%, var(--marine-3) 100%);
  color: var(--blanc);
  border-color: var(--marine);
  grid-column: span 2;
}
.why-featured h3, .why-featured p { color: var(--blanc); }
.why-featured .why-tag {
  color: var(--or-2);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}
.why-featured em { color: var(--or-2); font-style: normal; font-weight: 500; }

.why-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--or-3);
  background: var(--fond-2);
  border: 1px solid var(--trait);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.why-head h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  line-height: 1.25;
}

.why-card p {
  color: var(--texte-2);
  line-height: 1.65;
  font-size: .98rem;
  margin: 0;
}
.why-card p strong { color: var(--marine); font-weight: 600; }
.why-featured p strong { color: var(--or-2); }

/* =========================================================
   FORMULES (pricing)
   ========================================================= */

.formules { background: var(--cream); }

.formules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.formule-card {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-l);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .4s var(--ease);
}
.formule-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: var(--or);
}

.formule-featured {
  background: linear-gradient(145deg, var(--marine) 0%, var(--marine-2) 100%);
  color: var(--blanc);
  border-color: var(--marine);
  transform: scale(1.03);
}
.formule-featured:hover {
  transform: scale(1.03) translateY(-6px);
}
.formule-featured h3, .formule-featured p, .formule-featured li { color: var(--blanc); }
.formule-featured .formule-label { color: var(--or-2); }
.formule-featured .formule-pitch { color: rgba(255,255,255,.8); }
.formule-featured .price-from { color: var(--or-2); }
.formule-featured .price-amount { color: var(--blanc); }
.formule-featured .price-currency { color: var(--or-2); }
.formule-featured .formule-list li { color: rgba(255,255,255,.85); }
.formule-featured .formule-list li::before { background: var(--or); }
.formule-featured .formule-cta {
  background: var(--or);
  color: var(--marine-2);
  border-color: var(--or);
}
.formule-featured .formule-cta:hover {
  background: var(--or-2);
  border-color: var(--or-2);
}

.formule-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--or);
  color: var(--marine-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  box-shadow: 0 6px 16px rgba(212, 168, 75, 0.35);
}

.formule-label {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--or-3);
  margin-bottom: 8px;
  display: block;
}

.formule-head h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.formule-pitch {
  color: var(--texte-2);
  font-size: .98rem;
  line-height: 1.5;
  margin: 0 0 24px;
  min-height: 3em;
}

.formule-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.formule-featured .formule-price {
  border-color: rgba(255,255,255,.15);
}
.price-from {
  font-size: .85rem;
  font-weight: 500;
  color: var(--texte-2);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--marine);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-currency {
  font-size: 1rem;
  font-weight: 500;
  color: var(--texte-2);
}

.formule-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.formule-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: .95rem;
  color: var(--texte);
  line-height: 1.5;
}
.formule-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 10px; height: 10px;
  background: var(--or);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.formule-cta {
  display: inline-block;
  text-align: center;
  padding: 14px 20px;
  background: var(--marine);
  color: var(--blanc);
  border: 2px solid var(--marine);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  transition: all .3s var(--ease);
}
.formule-cta:hover {
  background: var(--or);
  color: var(--marine-2);
  border-color: var(--or);
}

.formules-note {
  text-align: center;
  margin-top: 48px;
  color: var(--texte-2);
  font-size: 1rem;
}
.formules-note strong { color: var(--marine); }

/* =========================================================
   HONEYCOMB BANDS — signature visuelle carte de visite
   Motif en dégradé : petits hexagones dispersés → denses/or vifs
   ========================================================= */

.honeycomb-band {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.honeycomb-band .hb-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Chaque hexagone — état initial : dispersé + invisible */
.hb-hex {
  opacity: 0;
  transform: translate(var(--hb-dx, 0), var(--hb-dy, 0)) scale(0.3);
  transform-origin: center;
  transform-box: fill-box;
  transition:
    transform 0.9s cubic-bezier(.22, 1.1, .36, 1) var(--hb-delay, 0ms),
    opacity 0.6s ease-out var(--hb-delay, 0ms);
}

/* Assemblage : quand la bande est visible, chaque hex regagne sa place */
.hb-assembled .hb-hex {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Après assemblage, drift continu subtil (apply via delay) */
.hb-assembled .hb-svg {
  animation: honeycomb-drift 60s linear infinite;
  animation-delay: 3s;
  animation-play-state: running;
}

.honeycomb-band-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50px;
  opacity: .72;
}
.honeycomb-band-top {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 60px;
  opacity: .65;
  transform: scaleY(-1);
}
.honeycomb-light .hb-hex {
  filter: brightness(1.3) saturate(1.2);
}
.honeycomb-light { opacity: .55; mix-blend-mode: screen; }

@keyframes honeycomb-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-4%); }
}

/* ========== Hexfield flottant (hero background) ========== */
.hexfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* Variante subtile pour les sections fond clair */
.hexfield-subtle {
  opacity: .18;
  mix-blend-mode: multiply;
}

/* Les sections avec hexfield doivent avoir position:relative */
.section.methode, .section.cases, .section.pourquoi,
.section.formules, .section.parcours {
  position: relative;
  overflow: hidden;
}
.section.methode > .container, .section.cases > .container,
.section.pourquoi > .container, .section.formules > .container,
.section.parcours > .container {
  position: relative;
  z-index: 2;
}
.hexfield-svg { width: 100%; height: 100%; }
.hexfield-hex {
  transform-box: fill-box;
  transform-origin: center;
  animation: hexfield-float var(--dur, 30s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes hexfield-float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: var(--op, .2);
  }
  50% {
    transform: translate(var(--tx, 10px), var(--ty, -10px)) rotate(60deg);
    opacity: 1;
  }
}

/* Reduced motion : tout figé */
@media (prefers-reduced-motion: reduce) {
  .hb-hex { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hb-assembled .hb-svg { animation: none !important; }
  .hexfield-hex { animation: none !important; }
}

/* =========================================================
   PARCOURS (timeline hexagonale)
   ========================================================= */

.parcours {
  background: var(--fond);
  position: relative;
  overflow: hidden;
}
.parcours::before {
  /* motif honeycomb en fond, très discret */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(var(--or) 1.2px, transparent 1.6px);
  background-size: 28px 28px;
  opacity: .06;
  pointer-events: none;
}

/* Ancienne .timeline conservée pour fallback, mais non utilisée */
.timeline { display: none; }

/* Nouvelle timeline-hex — zigzag hexagonal */
.timeline-hex {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  position: relative;
  counter-reset: tlhex;
}

/* Ligne connectrice centrale (dégradé doré) */
.timeline-hex::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 3px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg,
      transparent 0%,
      var(--or) 8%,
      var(--or) 92%,
      transparent 100%);
  opacity: .4;
  z-index: 0;
}

.tlhex-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  min-height: 110px;
  z-index: 1;
}
.tlhex-item:last-child { margin-bottom: 0; }

/* Hexagone marqueur (colonne centrale) */
.tlhex-marker {
  grid-column: 2;
  width: 90px;
  height: 82px;
  position: relative;
  justify-self: center;
  transition: transform .45s var(--ease);
}
.tlhex-marker svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(20, 70, 90, 0.18));
}
.tlhex-marker .hex-shape { transition: stroke .3s var(--ease); }
.tlhex-marker .hex-fill {
  transform-origin: 40px 36px;
  transform: scale(0);
  transition: transform .7s cubic-bezier(.22, 1.2, .36, 1), fill .3s var(--ease);
}
.tlhex-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--marine);
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity .4s var(--ease) .4s, color .3s var(--ease);
  z-index: 2;
  pointer-events: none;
}

/* Quand l'item entre dans la vue (.reveal.visible) → hex s'illumine */
.tlhex-item.visible .tlhex-marker .hex-fill { transform: scale(1); }
.tlhex-item.visible .tlhex-num { opacity: 1; color: var(--marine-2); }

/* Hover marker = rotation + scale */
.tlhex-item:hover .tlhex-marker { transform: rotate(8deg) scale(1.08); }
.tlhex-item:hover .hex-shape { stroke: var(--or); }

/* Carte contenu — zigzag gauche/droite */
.tlhex-card {
  background: var(--blanc);
  padding: 22px 28px;
  border-radius: var(--r-m);
  border: 1px solid var(--trait);
  box-shadow: 0 4px 12px rgba(20, 70, 90, 0.04);
  transition: all .4s var(--ease);
  position: relative;
}
.tlhex-card::before {
  /* petit triangle pointant vers le hexagone */
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--blanc);
  border: 1px solid var(--trait);
}

/* Items impairs : carte à gauche, flèche pointe vers la droite */
.tlhex-item:nth-child(odd) .tlhex-card {
  grid-column: 1;
  text-align: right;
}
.tlhex-item:nth-child(odd) .tlhex-card::before {
  right: -7px;
  border-left: none;
  border-top: none;
}

/* Items pairs : carte à droite, flèche pointe vers la gauche */
.tlhex-item:nth-child(even) .tlhex-card {
  grid-column: 3;
  text-align: left;
}
.tlhex-item:nth-child(even) .tlhex-card::before {
  left: -7px;
  border-right: none;
  border-bottom: none;
}

.tlhex-item:hover .tlhex-card {
  border-color: var(--or);
  box-shadow: 0 14px 32px rgba(20, 70, 90, 0.10);
  transform: translateY(-2px);
}

.tlhex-date {
  display: inline-block;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--or-3);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 6px;
}
.tlhex-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  line-height: 1.3;
}
.tlhex-card p {
  color: var(--texte-2);
  font-size: .95rem;
  margin: 0;
  line-height: 1.55;
}

.timeline {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  padding-left: 180px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 160px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--or) 0%, transparent 100%);
}

.tl-item {
  position: relative;
  padding: 24px 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 36px;
  width: 14px; height: 14px;
  background: var(--or);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform .3s var(--ease);
}
.tl-item:hover::before { transform: scale(1.35) rotate(15deg); }

.tl-date {
  position: absolute;
  left: -180px;
  top: 28px;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--marine);
  letter-spacing: .02em;
  width: 140px;
}

.tl-content {
  background: var(--blanc);
  padding: 24px 28px;
  border-radius: var(--r-m);
  border: 1px solid var(--trait);
  transition: all .3s var(--ease);
}
.tl-item:hover .tl-content {
  border-color: var(--or);
  transform: translateX(4px);
  box-shadow: var(--shadow-s);
}
.tl-content h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tl-content p { color: var(--texte-2); margin: 0; font-size: .95rem; }

.languages {
  text-align: center;
  margin-top: 60px;
  color: var(--texte-2);
  font-size: .95rem;
  font-family: var(--font-display);
  letter-spacing: .02em;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  background: var(--marine);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-bg::before,
.contact-bg::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
}
.contact-bg::before {
  top: -200px; right: -200px;
  background: var(--or);
}
.contact-bg::after {
  bottom: -200px; left: -200px;
  background: var(--corail);
  opacity: .25;
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contact-lead .eyebrow { color: var(--or-2); }
.contact-lead h2 { color: var(--blanc); }
.contact-lead p { color: rgba(255,255,255,.8); font-size: 1.1rem; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-m);
  padding: 22px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: all .3s var(--ease);
  color: var(--blanc);
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--or);
  transform: translateY(-3px);
}
.contact-card-static { cursor: default; }
.contact-card-static:hover { transform: none; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.08); }

.cc-label {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--or-2);
}
.cc-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--blanc);
  line-height: 1.4;
}
.cc-arrow {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 1.2rem;
  color: var(--or);
  transition: transform .3s var(--ease);
}
.contact-card:hover .cc-arrow { transform: translate(3px, -3px); }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--marine-2);
  color: rgba(255,255,255,.65);
  padding: 48px 0;
  font-size: .9rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-tagline {
  margin: 14px 0 0;
  color: rgba(255,255,255,.6);
}
.footer-meta p { margin: 0; line-height: 1.8; }
.footer-meta a { color: var(--or-2); }
.footer-meta a:hover { color: var(--or); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .bento-big { grid-column: span 12; }
  .bento-dark { grid-column: span 12; }
  .bento-card { grid-column: span 6; }
  .bento-accent { grid-column: span 6; }
}

@media (max-width: 860px) {
  .hero { padding: 120px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cases-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-featured { grid-column: span 1; }
  .formules-grid { grid-template-columns: 1fr; }
  .formule-featured { transform: none; }
  .formule-featured:hover { transform: translateY(-6px); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-cards { grid-template-columns: 1fr; }
  .testimonial { padding: 36px 28px; }
  .testimonial p { font-size: 1.1rem; }

  /* Timeline-hex : passage en colonne unique avec hex à gauche */
  .timeline-hex::before {
    left: 45px;
    top: 30px;
    bottom: 30px;
    transform: none;
  }
  .tlhex-item {
    grid-template-columns: 90px 1fr;
    gap: 20px;
    align-items: start;
  }
  .tlhex-marker {
    grid-column: 1 !important;
    width: 72px;
    height: 66px;
    justify-self: start;
    margin-top: 4px;
  }
  .tlhex-item:nth-child(odd) .tlhex-card,
  .tlhex-item:nth-child(even) .tlhex-card {
    grid-column: 2;
    text-align: left;
  }
  .tlhex-item:nth-child(odd) .tlhex-card::before,
  .tlhex-item:nth-child(even) .tlhex-card::before {
    left: -7px;
    right: auto;
    top: 24px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid var(--trait);
    border-top: 1px solid var(--trait);
  }
  .honeycomb-band { height: 40px; }
  .honeycomb-band-bottom { height: 36px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .bento-card, .bento-big, .bento-dark, .bento-accent { grid-column: span 12; }
  .primary-nav a:not(.cta) { display: none; }
  .primary-nav { gap: 12px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .testimonial { padding: 28px 20px; }
  .quote-mark { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
