/* ============================================
   LA BÂTISSEUSE — Version Animated
   ============================================ */

:root {
  --color-structure:    #1B3A4B;
  --color-structure-2:  #2C5F7A;
  --color-sense:        #C4714A;
  --color-sense-light:  #E8956D;
  --color-bg:           #F7F4EF;
  --color-bg-alt:       #EDE8DF;
  --color-bg-terra:     #FBF0EC;
  --color-bg-blue:      #ECF2F5;
  --color-teal:         #2C7A74;
  --color-slate:        #4A6880;
  --color-white:        #FFFFFF;
  --color-text:         #1a1a1a;
  --color-text-light:   #5a5a5a;
  --color-border:       #D9D3C8;

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-display:  'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body:     'Montserrat', system-ui, sans-serif;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(27, 58, 75, 0.08);
  --shadow-lg:  0 8px 40px rgba(27, 58, 75, 0.14);
  --shadow-xl:  0 16px 60px rgba(27, 58, 75, 0.2);
  --container:  1100px;
  --section-py: 5rem;

  /* Timing */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none; /* masqué — remplacé par curseur custom */
}
@media (hover: none) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: none; }
@media (hover: none) { a { cursor: auto; } }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
@media (hover: none) { button { cursor: auto; } }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: var(--section-py) 0; scroll-margin-top: 72px; }
.section__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sense);
  margin-bottom: 0.75rem;
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--color-structure);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.section__title span { color: var(--color-sense); }
.center { text-align: center; }

/* ============================================
   CURSEUR PERSONNALISÉ
   ============================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
}
.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 2px solid rgba(196, 113, 74, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              border-color 0.3s,
              opacity 0.3s;
  will-change: transform;
}
.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--color-sense);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-spring),
              height 0.2s var(--ease-spring),
              background 0.2s;
  will-change: transform;
}
.cursor--hover .cursor__ring {
  width: 56px; height: 56px;
  border-color: var(--color-sense);
  background: rgba(196,113,74,0.06);
}
.cursor--hover .cursor__dot {
  width: 4px; height: 4px;
  background: var(--color-sense);
}
.cursor--click .cursor__ring { width: 24px; height: 24px; }
.cursor--click .cursor__dot { width: 10px; height: 10px; }
@media (hover: none) { .cursor { display: none; } }

/* ============================================
   PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-sense), var(--color-sense-light), var(--color-teal));
  background-size: 200%;
  z-index: 200;
  animation: gradientShift 3s linear infinite;
  transition: width 0.08s linear;
}
@keyframes gradientShift {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: none;
}
@media (hover: none) { .btn { cursor: pointer; } }

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
  width: 80px; height: 80px;
  margin-left: -40px;
  margin-top: -40px;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

.btn--primary {
  background: var(--color-structure);
  color: white;
  border: 2px solid var(--color-structure);
}
.btn--primary:hover {
  background: var(--color-structure-2);
  border-color: var(--color-structure-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27,58,75,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--color-structure);
  border: 2px solid var(--color-structure);
}
.btn--outline:hover {
  background: var(--color-structure);
  color: white;
  transform: translateY(-3px);
}
.btn--outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-3px);
}
.btn--accent {
  background: var(--color-sense);
  color: white;
  border: 2px solid var(--color-sense);
}
.btn--accent:hover {
  background: var(--color-sense-light);
  border-color: var(--color-sense-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(196,113,74,0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--color-structure);
  border: 2px solid var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-structure);
  transform: translateY(-3px);
}
.btn--large { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn--glow {
  box-shadow: 0 0 0 0 rgba(196,113,74,0);
  transition: all 0.22s var(--ease-out), box-shadow 0.4s ease;
}
.btn--glow:hover {
  box-shadow: 0 0 20px rgba(196,113,74,0.4), 0 8px 24px rgba(27,58,75,0.3);
}
.btn--cta-final {
  background: white;
  color: var(--color-structure);
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  gap: 0.75rem;
  transition: all 0.25s var(--ease-spring);
}
.btn--cta-final:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}
.btn--pulse {
  animation: btnPulse 3s ease-in-out infinite 1.5s;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
  50% { box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 10px rgba(255,255,255,0.1); }
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s, background 0.25s;
}
.header.scrolled { box-shadow: var(--shadow); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1.2; }
.nav__logo-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-structure);
  transition: color 0.2s;
}
.nav__logo:hover .nav__logo-main { color: var(--color-sense); }
.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sense);
}
.nav__menu { display: flex; align-items: center; gap: 1.75rem; }
.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 3px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--color-sense);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav__link:hover { color: var(--color-structure); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--color-structure); font-weight: 600; }
.nav__link--cta {
  background: var(--color-sense);
  color: white !important;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
  background: var(--color-sense-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196,113,74,0.35);
}
.nav__overlay { display: none; } /* activé uniquement en mobile via @media */
.nav__mobile-header { display: none; } /* caché sur desktop */
.nav__mobile-footer { display: none; } /* caché sur desktop */
.nav__link-num { display: none; } /* numéros masqués sur desktop */
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--color-structure);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO — SPLIT + ANIMATIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem 0 6rem;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Blobs animés */
.hero__blobs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  will-change: transform;
}
.blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--color-structure), transparent 70%);
  right: -150px; top: -100px;
  animation: blobMove1 12s ease-in-out infinite;
}
.blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--color-sense), transparent 70%);
  right: 80px; bottom: -80px;
  animation: blobMove2 15s ease-in-out infinite 2s;
}
.blob--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--color-teal), transparent 70%);
  left: -60px; top: 35%;
  animation: blobMove3 10s ease-in-out infinite 1s;
}
@keyframes blobMove1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(-30px, 20px) scale(1.05); }
  66%  { transform: translate(20px, -15px) scale(0.97); }
}
@keyframes blobMove2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-20px, -30px) scale(1.08); }
}
@keyframes blobMove3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%  { transform: translate(15px, 25px) scale(0.95); }
}

/* Séquence d'entrée hero */
.hero__badge,
.hero__title,
.hero__tagline,
.hero__subtitle,
.hero__meta,
.hero__actions,
.hero__trust {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero__visual {
  opacity: 0;
  transform: translateX(40px) scale(0.96);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero--loaded .hero__badge    { opacity:1; transform:none; transition-delay:0.1s; }
.hero--loaded .hero__title    { opacity:1; transform:none; transition-delay:0.25s; }
.hero--loaded .hero__tagline  { opacity:1; transform:none; transition-delay:0.45s; }
.hero--loaded .hero__subtitle { opacity:1; transform:none; transition-delay:0.6s; }
.hero--loaded .hero__meta     { opacity:1; transform:none; transition-delay:0.7s; }
.hero--loaded .hero__actions  { opacity:1; transform:none; transition-delay:0.8s; }
.hero--loaded .hero__trust    { opacity:1; transform:none; transition-delay:0.95s; }
.hero--loaded .hero__visual   { opacity:1; transform:none; transition-delay:0.35s; }

/* Split-word animation */
.word {
  display: inline-block;
  overflow: hidden;
}
.word__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.65s var(--ease-out);
}
.hero--loaded .word__inner { transform: translateY(0); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,113,74,0.1);
  color: var(--color-sense);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.75rem;
  width: fit-content;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-structure);
  margin-bottom: 1.25rem;
  font-optical-sizing: auto;
}
.hero__title em { font-style: italic; color: var(--color-sense); font-weight: 400; }
.hero__tagline {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-sense);
  margin-bottom: 1rem;
  min-height: 1.6em;
}
.typewriter__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-sense);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero__subtitle {
  font-size: 0.97rem;
  color: var(--color-text-light);
  max-width: 480px;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.hero__meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-structure-2);
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
}
.hero__trust-item svg { color: var(--color-sense); flex-shrink: 0; }

/* ============================================
   JOURNEY SVG — Parcours coaching animé (hero)
   ============================================ */
.hero__visual { position: relative; }
.hero__journey {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 1rem 0;
}
.journey-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 8px 32px rgba(27,58,75,0.08));
}

/* Chemin principal — animation draw */
.journey-path {
  stroke-dasharray: 850;
  stroke-dashoffset: 850;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}
.hero--loaded .journey-path { stroke-dashoffset: 0; }

/* Point de départ */
.j-start {
  opacity: 0;
  transition: opacity 0.4s ease 0.4s;
}
.hero--loaded .j-start { opacity: 1; }

/* Étapes — pop-in avec spring */
.j-step {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.6);
  transition: opacity 0.45s ease, transform 0.55s var(--ease-spring);
}
.hero--loaded .j-step-1 { opacity: 1; transform: scale(1); transition-delay: 1.2s; }
.hero--loaded .j-step-2 { opacity: 1; transform: scale(1); transition-delay: 1.8s; }
.hero--loaded .j-step-3 { opacity: 1; transform: scale(1); transition-delay: 2.4s; }

/* Objectif final */
.j-goal {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.7);
  transition: opacity 0.5s ease 3s, transform 0.55s var(--ease-spring) 3s;
}
.hero--loaded .j-goal { opacity: 1; transform: scale(1); }

/* Points décoratifs flottants */
@keyframes jFloat { 0%,100%{ transform:translateY(0)  } 50%{ transform:translateY(-12px) } }
@keyframes jFloat2{ 0%,100%{ transform:translateY(0)  } 50%{ transform:translateY(-8px)  } }
@keyframes jFloat3{ 0%,100%{ transform:translateY(0)  } 50%{ transform:translateY(-16px) } }
.jf1 { animation: jFloat  7s ease-in-out infinite; }
.jf2 { animation: jFloat2 8s ease-in-out infinite 1.2s; }
.jf3 { animation: jFloat3 9s ease-in-out infinite 2s; }
.jf4 { animation: jFloat  6s ease-in-out infinite 0.7s; }
.jf5 { animation: jFloat2 10s ease-in-out infinite 3s; }
.jf6 { animation: jFloat3 7.5s ease-in-out infinite 1.5s; }

/* Typographie SVG */
.j-label-xs {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  fill: var(--color-text-light);
  dominant-baseline: middle;
}
.j-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  dominant-baseline: auto;
}
.j-step-sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  dominant-baseline: auto;
}
.j-title {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--color-structure);
  dominant-baseline: auto;
}
.j-desc {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  fill: var(--color-text-light);
  dominant-baseline: auto;
}
.j-star {
  font-size: 20px;
  fill: white;
  dominant-baseline: auto;
}
.j-goal-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  fill: var(--color-structure);
  dominant-baseline: auto;
}

@media (prefers-reduced-motion: reduce) {
  .journey-path { transition: none; stroke-dashoffset: 0; }
  .j-step, .j-start, .j-goal { opacity: 1; transform: none; transition: none; }
  .jf1,.jf2,.jf3,.jf4,.jf5,.jf6 { animation: none; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInScroll 0.6s ease 1.8s forwards;
  z-index: 2;
}
@keyframes fadeInScroll {
  to { opacity: 1; }
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--color-sense));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}
.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-weight: 600;
}

/* ============================================
   PROBLÈME
   ============================================ */
.problem { background: var(--color-structure); }
.problem .section__eyebrow { color: var(--color-sense-light); }
.problem .section__title { color: white; }
.problem__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0 2.5rem;
}
.problem__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.problem__card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(196,113,74,0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.problem__card--featured {
  border-color: rgba(196,113,74,0.4);
  background: rgba(196,113,74,0.08);
}
.problem__card-icon {
  color: var(--color-sense-light);
  width: 48px; height: 48px;
  background: rgba(196,113,74,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), background 0.3s;
}
.problem__card:hover .problem__card-icon { transform: scale(1.1) rotate(-5deg); background: rgba(196,113,74,0.2); }
.problem__card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sense-light);
}
.problem__card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.problem__card p strong { color: white; }
.problem__cta { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.problem__cta-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
}

/* ============================================
   APPROCHE
   ============================================ */
.approach { background: var(--color-structure); }
.approach .section__eyebrow { color: var(--color-sense-light); }
.approach .section__title { color: white; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.pillar {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s, transform 0.15s linear;
  will-change: transform;
}
.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,113,74,0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pillar:hover::before { opacity: 1; }
.pillar--featured {
  border-color: var(--color-sense);
  border-width: 2px;
}
.pillar__step {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  opacity: 0.07;
  color: var(--color-structure);
  position: absolute;
  top: 0.5rem; right: 1rem;
  line-height: 1;
  pointer-events: none;
}
.pillar--featured .pillar__step { color: var(--color-sense); opacity: 0.1; }
.pillar__icon-wrap {
  width: 64px; height: 64px;
  background: rgba(27,58,75,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.pillar--featured .pillar__icon-wrap { background: rgba(196,113,74,0.1); }
.pillar:hover .pillar__icon-wrap { transform: scale(1.15) rotate(5deg); }
.pillar__icon { font-size: 2rem; }
.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-structure);
}
.pillar--featured .pillar__title { color: var(--color-sense); }
.pillar__title span { display: block; font-size: 0.8rem; font-weight: 400; color: var(--color-text-light); margin-top: 0.1rem; }
.pillar__desc { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.7; }
.approach__cta { margin-top: 1rem; }

/* ============================================
   PARCOURS
   ============================================ */
.offers { background: var(--color-bg-alt); }
.offers__intro { font-size: 0.88rem; color: var(--color-text-light); margin-top: -0.75rem; }
.offers__grid--5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: stretch; /* même hauteur pour toutes les cartes */
}

/* Container élargi pour la section parcours */
#parcours .container {
  max-width: 1440px;
}
.card4 {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0; /* empêche le débordement dans la grille */
  transform-style: preserve-3d;
  transition: box-shadow 0.3s, transform 0.15s linear;
  will-change: transform;
}
.card4--featured { border-color: var(--color-sense); border-width: 2px; }
.card4__accent {
  height: 4px;
  background: var(--color-structure);
  transition: height 0.3s var(--ease-out);
}
.card4:hover .card4__accent { height: 6px; }
.card4__accent--featured { background: var(--color-sense); }

/* Shimmer sur featured */
.card4__shimmer, .price-card__shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmerAnim 3s ease-in-out infinite 1s;
  pointer-events: none;
  z-index: 0;
}
@keyframes shimmerAnim {
  0%   { left: -100%; }
  40%, 100% { left: 150%; }
}

.card4__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  width: 100%; text-align: left;
  background: none; border: none;
  gap: 0.75rem;
  transition: background 0.18s;
  position: relative; z-index: 1;
}
.card4__header:hover { background: rgba(27,58,75,0.03); }
.card4__header-left { display: flex; align-items: center; gap: 0.75rem; flex: 1; }
.card4__emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}
.card4--expanded .card4__emoji { transform: scale(1.15); }
.card4__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-structure);
  line-height: 1.25;
}
.card4__chevron {
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), color 0.2s;
}
.card4--expanded .card4__chevron { transform: rotate(180deg); color: var(--color-sense); }
.card4__detail {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin: 0 0.5rem;
  position: relative; z-index: 1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s ease, padding 0.35s ease;
}
.card4--expanded .card4__detail {
  max-height: 600px;
  opacity: 1;
  padding: 0.75rem 1.5rem 1rem;
}
.card4__target {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-sense);
}
.card4__hook {
  font-family: var(--font-heading); font-style: italic;
  font-size: 0.85rem; color: var(--color-sense); line-height: 1.5;
}
.card4__promise { font-size: 0.82rem; color: var(--color-text-light); line-height: 1.65; }
.card4__tool {
  background: var(--color-bg); border-radius: var(--radius);
  padding: 0.65rem 0.9rem; font-size: 0.76rem; color: var(--color-text-light);
}
.card4__tool-label {
  display: block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-sense); margin-bottom: 0.2rem;
}
.card4__tool strong { color: var(--color-structure); font-size: 0.8rem; }
.card4__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; border-top: 1px solid var(--color-border);
  padding: 0.9rem 1.5rem; margin-top: auto;
  position: relative; z-index: 1;
}
.card4__badge { font-size: 0.7rem; font-weight: 600; color: var(--color-text-light); }
.card4__footer .btn { padding: 0.5rem 1rem; font-size: 0.78rem; flex-shrink: 0; }

/* Densification pour 5 colonnes — desktop uniquement */
@media (min-width: 961px) {
  .offers__grid--5 .card4__header        { padding: 1rem 1.1rem 0.85rem; }
  .offers__grid--5 .card4__header-left   { gap: 0.5rem; }
  .offers__grid--5 .card4__emoji         { font-size: 1.25rem; }
  .offers__grid--5 .card4__title         { font-size: 0.88rem; }
  .offers__grid--5 .card4--expanded .card4__detail { padding: 0.6rem 1.1rem 0.85rem; margin: 0 0.25rem; }
  .offers__grid--5 .card4__footer        { padding: 0.75rem 1.1rem; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .offers__grid--5 .card4__footer .btn   { width: 100%; text-align: center; justify-content: center; }
}

/* Couleurs uniques */
.offers__grid--5 .card4:nth-child(1) .card4__accent { background: var(--color-sense); }
.offers__grid--5 .card4:nth-child(1) .card4__target  { color: var(--color-sense); }
.offers__grid--5 .card4:nth-child(2) .card4__accent  { background: #D4895C; }
.offers__grid--5 .card4:nth-child(2) .card4__target  { color: #D4895C; }
.offers__grid--5 .card4:nth-child(3) .card4__accent  { background: var(--color-sense); }
.offers__grid--5 .card4:nth-child(4) .card4__accent  { background: var(--color-teal); }
.offers__grid--5 .card4:nth-child(4) .card4__target  { color: var(--color-teal); }
.offers__grid--5 .card4:nth-child(4) .card4__hook    { color: var(--color-teal); }
.offers__grid--5 .card4:nth-child(5) .card4__accent  { background: var(--color-slate); }
.offers__grid--5 .card4:nth-child(5) .card4__target  { color: var(--color-slate); }
.offers__grid--5 .card4:nth-child(5) .card4__hook    { color: var(--color-slate); }

/* ============================================
   INVESTISSEMENT
   ============================================ */
.invest-section { background: white; }
.invest-section__intro {
  text-align: center; color: var(--color-text-light);
  font-size: 0.93rem; max-width: 600px;
  margin: 0 auto 3rem; line-height: 1.8;
}
.invest-section__note {
  font-size: 0.8rem; color: var(--color-text-light);
  font-style: italic; text-align: center;
  max-width: 600px; margin: 2rem auto 0; line-height: 1.7;
}
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.price-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s, transform 0.15s linear;
  will-change: transform;
}
.price-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  transition: height 0.3s var(--ease-out);
}
.price-cards .price-card:nth-child(1)::before { background: var(--color-sense); }
.price-card--featured::before { background: var(--color-sense); }
.price-cards .price-card:nth-child(3)::before { background: var(--color-slate); }
.price-card:hover::before { height: 6px; }
.price-card--featured { border-color: var(--color-sense); border-width: 2px; }
.price-card__badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-sense);
  background: rgba(196,113,74,0.1);
  padding: 0.3rem 0.75rem; border-radius: 4px;
  align-self: flex-start; position: relative; z-index: 1;
}
.price-card__title {
  font-family: var(--font-heading); font-size: 1.3rem;
  font-weight: 700; color: var(--color-structure);
  line-height: 1.2; margin-top: 0.25rem;
  position: relative; z-index: 1;
}
.price-card__format { font-size: 0.82rem; color: var(--color-text-light); position: relative; z-index: 1; }
.price-card__divider {
  border: none; border-top: 1px solid var(--color-border);
  margin: 0.75rem 0; position: relative; z-index: 1;
}
.price-card__price {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 700; color: var(--color-structure);
  position: relative; z-index: 1;
}
.price-card--featured .price-card__price { color: var(--color-sense); }
.price-cards .price-card:nth-child(3) .price-card__price { color: var(--color-slate); }
.price-card__cta {
  margin-top: auto; width: 100%;
  padding: 0.75rem 1rem; font-size: 0.85rem;
  position: relative; z-index: 1;
}

/* ============================================
   DATA TABLE
   ============================================ */
.data-table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.data-table {
  width: 100%; border-collapse: collapse;
  background: white; font-size: 0.88rem;
}
.data-table thead tr { background: var(--color-structure); }
.data-table th {
  padding: 0.9rem 1.5rem; text-align: left;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.data-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text); vertical-align: middle;
  transition: background 0.2s;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--color-bg); }
.data-table td strong { color: var(--color-structure); font-weight: 600; }
.data-table__price-col { text-align: right; }
.data-table__price {
  text-align: right; font-family: var(--font-heading);
  font-weight: 700; color: var(--color-sense); font-size: 1rem;
  white-space: nowrap;
}

/* ============================================
   OFFRE DE LANCEMENT
   ============================================ */
.launch-section { background: var(--color-bg-terra); }
.launch-clean {
  background: white;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-sense);
  border-radius: var(--radius-lg);
  padding: 3rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2rem;
  position: relative; overflow: hidden;
}
.launch-clean::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--color-sense), var(--color-sense-light), var(--color-teal));
  animation: launchBorder 4s ease-in-out infinite;
}
@keyframes launchBorder {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.launch-clean__badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-sense); background: rgba(196,113,74,0.1);
  padding: 0.35rem 0.9rem; border-radius: 4px; margin-bottom: 0.75rem;
}
.launch-clean__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700; color: var(--color-structure);
  line-height: 1.2; margin-bottom: 0.25rem;
}
.launch-clean__period { font-size: 0.82rem; color: var(--color-text-light); font-weight: 500; }
.launch-clean__intro { font-size: 0.92rem; line-height: 1.85; color: var(--color-text-light); }
.launch-clean__gives { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.launch-clean__gives-col { border-left: 3px solid var(--color-border); padding-left: 1.25rem; }
.launch-clean__gives-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-sense); margin-bottom: 0.5rem;
}
.launch-clean__gives-text { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.75; }
.launch-list-mobile { display: none; }
.launch-clean__limit-title {
  font-family: var(--font-heading); font-size: 1.1rem;
  font-weight: 700; color: var(--color-structure); margin-bottom: 0.2rem;
}
.launch-clean__limit-note { font-size: 0.85rem; color: var(--color-text-light); font-style: italic; }

/* ============================================
   TÉMOIGNAGES
   ============================================ */
.testimonials { background: var(--color-bg); }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.testimonial {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s, transform 0.15s linear;
  will-change: transform;
}
.testimonials__grid .testimonial:nth-child(1) { border-top: 4px solid var(--color-sense); }
.testimonials__grid .testimonial:nth-child(2) { border-top: 4px solid var(--color-slate); }
.testimonial__quote-mark {
  font-family: var(--font-heading); font-size: 6rem; line-height: 0.6;
  opacity: 0.1; position: absolute; top: 1.5rem; left: 1.75rem;
  pointer-events: none; font-style: italic; color: var(--color-sense);
  transition: opacity 0.3s, transform 0.3s;
}
.testimonials__grid .testimonial:nth-child(2) .testimonial__quote-mark { color: var(--color-slate); }
.testimonial:hover .testimonial__quote-mark { opacity: 0.18; transform: scale(1.05); }
.testimonial__text {
  font-size: 0.93rem; line-height: 1.8;
  color: var(--color-text); font-style: italic; flex: 1;
  padding-top: 1rem;
}
.testimonial__stars {
  font-size: 1rem; color: var(--color-sense);
  letter-spacing: 0.05em;
}
.testimonials__grid .testimonial:nth-child(2) .testimonial__stars { color: var(--color-slate); }
.testimonial__author {
  display: flex; align-items: center; gap: 0.85rem;
  border-top: 1px solid var(--color-border); padding-top: 1.25rem;
}
.testimonial__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0; color: white;
  transition: transform 0.3s var(--ease-spring);
}
.testimonial:hover .testimonial__avatar { transform: scale(1.1) rotate(5deg); }
.testimonial__avatar--s { background: linear-gradient(135deg, var(--color-sense), var(--color-sense-light)); }
.testimonial__avatar--t { background: linear-gradient(135deg, var(--color-slate), var(--color-structure-2)); }
.testimonial__author-info strong { display: block; font-size: 0.9rem; color: var(--color-structure); font-weight: 700; }
.testimonial__author-info span { font-size: 0.75rem; color: var(--color-text-light); }

/* ============================================
   À PROPOS
   ============================================ */
.about { background: white; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 5rem; align-items: start;
}
.about__image { position: relative; }
.about__photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: block;
  transition: transform 0.4s var(--ease-out);
}
.about__image:hover .about__photo { transform: scale(1.01); }
.about__badge {
  position: absolute; bottom: -1rem; right: -1.5rem;
  background: white; border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem; border: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.about__image:hover .about__badge {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.about__badge strong { display: block; font-weight: 700; color: var(--color-structure); }
.about__badge span:last-child { font-size: 0.72rem; color: var(--color-text-light); }
.about__quote {
  font-family: var(--font-heading); font-style: italic;
  font-size: 1.15rem; color: var(--color-structure);
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(196,113,74,0.07);
  border-left: 4px solid var(--color-sense);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.7;
}
.about__desc { font-size: 0.93rem; color: var(--color-text-light); line-height: 1.8; margin-bottom: 1rem; }
.about__desc strong { color: var(--color-structure); font-weight: 600; }
.about__mobile-title { display: none; }

/* ============================================
   GARANTIES
   ============================================ */
.guarantees { background: var(--color-bg-blue); }
.guarantees__sub {
  font-family: var(--font-heading); font-style: italic;
  font-size: 1rem; color: var(--color-text-light);
  margin-top: -0.75rem; margin-bottom: 0.5rem;
}
.guarantees__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.guarantee {
  background: white; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  text-align: center;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s, transform 0.15s linear;
  will-change: transform;
}
.guarantees__grid .guarantee:nth-child(1) { border-top: 4px solid var(--color-sense); }
.guarantees__grid .guarantee:nth-child(2) { border-top: 4px solid var(--color-structure); }
.guarantees__grid .guarantee:nth-child(3) { border-top: 4px solid var(--color-teal); }
.guarantee__icon {
  width: 64px; height: 64px; background: var(--color-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--color-structure);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.guarantees__grid .guarantee:nth-child(1) .guarantee__icon { color: var(--color-sense); background: rgba(196,113,74,0.08); }
.guarantees__grid .guarantee:nth-child(3) .guarantee__icon { color: var(--color-teal); background: rgba(44,122,116,0.08); }
.guarantee:hover .guarantee__icon { transform: scale(1.12) rotate(-5deg); }
.guarantee__title {
  font-family: var(--font-heading); font-size: 1.2rem;
  font-weight: 700; color: var(--color-structure); margin-bottom: 0.75rem;
}
.guarantees__grid .guarantee:nth-child(1) .guarantee__title { color: var(--color-sense); }
.guarantees__grid .guarantee:nth-child(3) .guarantee__title { color: var(--color-teal); }
.guarantee__desc { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.7; }

/* ============================================
   CONTACT — PARTICLES + RINGS
   ============================================ */
.contact {
  background: var(--color-structure);
  position: relative; overflow: hidden;
}
.contact__particles {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.contact__particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(196,113,74,0.15);
  animation: particleFloat var(--dur, 8s) ease-in-out infinite var(--delay, 0s);
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
  50% { transform: translateY(-40px) rotate(180deg); opacity: 0.3; }
}
.contact__centered {
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
  text-align: center; position: relative; z-index: 1;
}
.contact__visual {
  position: relative; width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.contact__visual-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(196,113,74,0.3);
  animation: ringPulse 3s ease-in-out infinite;
}
.contact__visual-ring--1 { width: 80px; height: 80px; animation-delay: 0s; }
.contact__visual-ring--2 { width: 120px; height: 120px; animation-delay: 0.75s; border-color: rgba(196,113,74,0.18); }
.contact__visual-ring--3 { width: 160px; height: 160px; animation-delay: 1.5s; border-color: rgba(196,113,74,0.1); }
@keyframes ringPulse {
  0%   { transform: scale(0.95); opacity: 0.4; }
  50%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.4; }
}
.contact__visual-icon {
  width: 56px; height: 56px;
  background: rgba(196,113,74,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-sense-light);
  position: relative; z-index: 1;
  animation: iconBounce 2s ease-in-out infinite;
}
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.contact__centered .section__eyebrow { color: var(--color-sense-light); }
.contact__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700; color: white; line-height: 1.25;
}
.contact__subtitle {
  font-family: var(--font-heading); font-size: 1.15rem;
  font-style: italic; color: var(--color-sense-light);
  margin-top: -0.75rem;
}
.contact__desc {
  font-size: 0.93rem; color: rgba(255,255,255,0.75);
  line-height: 1.8; max-width: 520px;
}
.contact__desc em { color: rgba(255,255,255,0.92); font-style: italic; }
.contact__ethics {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.4);
  padding: 0.85rem 1.25rem;
  background: rgba(0,0,0,0.15); border-radius: var(--radius);
}
.contact__ethics svg { flex-shrink: 0; opacity: 0.6; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #0D1E2B; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem; padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__logo {
  font-family: var(--font-heading); font-size: 1.25rem;
  font-weight: 700; color: white;
  transition: color 0.2s;
}
.footer__logo:hover { color: var(--color-sense-light); }
.footer__tagline {
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-sense-light);
  margin-top: -0.4rem;
}
.footer__about { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer__col-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 0.25rem;
}
.footer__nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer__nav a {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer__nav a:hover { color: var(--color-sense-light); transform: translateX(3px); }
.footer__email {
  font-size: 0.88rem; color: rgba(255,255,255,0.75); font-weight: 500;
  transition: color 0.2s;
}
.footer__email:hover { color: var(--color-sense-light); }
.footer__cta {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  color: var(--color-sense-light);
  border: 1px solid rgba(232,149,109,0.35);
  border-radius: 4px; padding: 0.55rem 1rem;
  transition: all 0.2s; width: fit-content;
}
.footer__cta:hover {
  background: rgba(232,149,109,0.1);
  border-color: var(--color-sense-light);
  transform: translateY(-2px);
}
.footer__instagram, .footer__linkedin {
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  transition: color 0.2s, transform 0.2s; display: inline-block;
}
.footer__instagram:hover { color: var(--color-sense-light); transform: translateX(3px); }
.footer__linkedin:hover { color: white; transform: translateX(3px); }
.footer__legal { padding: 1.25rem 0; }
.footer__legal-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer__legal p { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer__legal-links { display: flex; gap: 1.5rem; }
.footer__legal-links a {
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer__legal-links a:hover { color: rgba(255,255,255,0.65); }

/* ============================================
   SCROLL REVEAL — plusieurs variantes
   ============================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out) var(--reveal-delay, 0s),
              transform 0.7s var(--ease-out) var(--reveal-delay, 0s);
}
[data-reveal="up"]    { transform: translateY(36px); }
[data-reveal="fade"]  { transform: translateY(16px); }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.93); }
[data-reveal].visible { opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE — Tablette (≤ 960px)
   ============================================ */
@media (max-width: 960px) {
  body { cursor: auto; }
  /* Header opaque sur mobile — supprime le blur qui affecte le menu */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(247, 244, 239, 0.98);
  }

  /* ---- MENU MOBILE — panneau latéral ---- */
  .nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10,20,30,0.6);
    z-index: 99; /* sous le header (z-index:100) pour ne pas couvrir le menu */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav__overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu {
    display: flex !important; /* toujours dans le DOM, déplacé hors-écran */
    position: fixed;
    top: 0; right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    background: var(--color-structure);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: none;
    box-shadow: -6px 0 48px rgba(0,0,0,0.35);
    z-index: 200;
    transform: translateX(110%);
    transition: transform 0.4s var(--ease-out);
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav__menu.open {
    transform: translateX(0);
  }
  .nav__burger { display: flex; }
  .nav__link-num { display: inline-block; }

  /* En-tête du menu mobile */
  .nav__mobile-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
  }
  .mobile-menu__brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .mobile-menu__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
  }
  .mobile-menu__tagline {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
  }
  .mobile-menu__close:hover { background: rgba(255,255,255,0.16); }

  /* Items nav dans le panneau */
  .nav__menu li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav__menu li.nav__mobile-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav__menu li.nav__cta-item { display: none; } /* CTA uniquement desktop */
  .nav__menu li.nav__mobile-footer { border: none; margin-top: auto; }
  .nav__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    padding: 1rem 1.75rem;
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
    width: 100%;
    border-left: 3px solid transparent;
  }
  .nav__link:hover, .nav__link.active {
    color: white;
    background: rgba(255,255,255,0.06);
    border-left-color: var(--color-sense);
    padding-left: 2rem;
  }
  .nav__link-num {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(196,113,74,0.7);
    min-width: 20px;
    letter-spacing: 0.04em;
  }
  .nav__link::after { display: none; }
  .nav__link--cta { display: none; } /* masqué dans nav mobile */

  /* Animation stagger entrée des items */
  .nav__menu li:not(.nav__mobile-header):not(.nav__mobile-footer) {
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
  }
  .nav__menu.open li:nth-child(2) { opacity:1; transform:none; transition-delay:0.12s; }
  .nav__menu.open li:nth-child(3) { opacity:1; transform:none; transition-delay:0.17s; }
  .nav__menu.open li:nth-child(4) { opacity:1; transform:none; transition-delay:0.22s; }
  .nav__menu.open li:nth-child(5) { opacity:1; transform:none; transition-delay:0.27s; }
  .nav__menu.open li:nth-child(6) { opacity:1; transform:none; transition-delay:0.32s; }
  .nav__menu.open li:nth-child(7) { opacity:1; transform:none; transition-delay:0.37s; }

  /* Pied du menu mobile */
  .nav__mobile-footer {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 1.75rem;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }
  .mobile-menu__cta {
    display: block;
    text-align: center;
    background: var(--color-sense);
    color: white !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius);
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s;
  }
  .mobile-menu__cta:hover { background: var(--color-sense-light); transform: translateY(-1px); }
  .mobile-menu__ethics {
    text-align: center;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero__visual { order: -1; } /* illustration avant le texte sur mobile */
  .hero__journey { max-width: 300px; margin: 0 auto; }
  .hero__subtitle { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__scroll { display: none; }
  .problem__cards { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .offers__grid--5 { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .guarantees__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .launch-clean__gives { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__badge { right: 0; }
  .about__photo { aspect-ratio: 3/2; object-position: top; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .data-table-wrap { overflow-x: auto; }
  .tilt-card { transform: none !important; }
}

/* ============================================
   RESPONSIVE — Mobile (≤ 560px)
   ============================================ */
@media (max-width: 560px) {
  :root { --section-py: 3rem; }
  .hero { padding-top: 5rem; padding-bottom: 2.5rem; min-height: auto; }
  .blob { filter: blur(60px); }
  .hero__journey { max-width: 280px; }
  .hero__title { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 340px; white-space: normal; }
  .nav__logo-main { font-size: 1rem; }
  .problem__cards { grid-template-columns: 1fr; }
  .card4__footer { flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 1.25rem; }
  .card4__footer .btn { width: auto; padding: 0.35rem 0.85rem; font-size: 0.72rem; }
  .price-card {
    flex-direction: row; flex-wrap: wrap;
    padding: 1rem; gap: 0.35rem 0.5rem;
    border-top: 3px solid var(--color-sense);
  }
  .price-card::before { display: none; }
  .price-card--featured { border-top-color: var(--color-sense); border-width: 1px; border-top-width: 3px; }
  .price-cards .price-card:nth-child(3) { border-top-color: var(--color-slate); }
  .price-card__badge  { flex: 0 0 100%; font-size: 0.6rem; }
  .price-card__title  { flex: 0 0 100%; font-size: 1.05rem; }
  .price-card__format { flex: 0 0 100%; font-size: 0.74rem; }
  .price-card__divider { display: none; }
  .price-card__price  { flex: 1; font-size: 1.3rem; align-self: center; }
  .price-card__cta    { width: auto; flex: 0 0 auto; padding: 0.4rem 1rem; font-size: 0.78rem; margin-top: 0; }
  .launch-clean { padding: 1.5rem; gap: 1.25rem; }
  .launch-table--desktop { display: none; }
  .launch-list-mobile {
    display: flex; flex-direction: column;
    border: 1px solid rgba(196,113,74,0.3);
    border-radius: var(--radius); overflow: hidden;
  }
  .launch-list-mobile li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(196,113,74,0.2);
    background: rgba(255,255,255,0.5); gap: 1rem;
  }
  .launch-list-mobile li:last-child { border-bottom: none; }
  .launch-list-mobile__name { font-size: 0.85rem; color: var(--color-text); line-height: 1.4; }
  .launch-list-mobile__price {
    font-family: var(--font-heading); font-size: 1rem;
    font-weight: 700; color: var(--color-sense); white-space: nowrap;
  }
  .about__image { order: 1; }
  .about__mobile-title { display: block; order: 2; }
  .about__text { order: 3; }
  .about__text .section__eyebrow, .about__text .section__title { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .about__image { display: flex; flex-direction: column; align-items: center; gap: 1rem; position: relative; }
  .about__photo {
    width: 190px; height: 190px;
    border-radius: 50%; object-fit: cover; aspect-ratio: 1;
    border: 4px solid var(--color-sense);
    box-shadow: 0 8px 28px rgba(196,113,74,0.2);
  }
  .about__badge { position: static; width: 100%; max-width: 280px; box-shadow: none; border: 1px solid var(--color-border); font-size: 0.78rem; }
  .guarantee { padding: 1.25rem 1rem; }
  .testimonial { padding: 1.5rem; }
  .testimonial__text { font-size: 0.88rem; }
  .contact__title { font-size: 1.4rem; }
  .btn--cta-final { padding: 1rem 1.75rem; font-size: 0.9rem; white-space: normal; }
  .footer__col:nth-child(2) { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; text-align: center; }
  .footer__col { align-items: center; }
  .footer__nav { justify-content: center; }
  .footer__legal-inner { flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
  .footer__legal-links { flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: center; }
}

/* ============================================
   PRÉFÉRENCE RÉDUCTION MOUVEMENT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cursor { display: none; }
  body { cursor: auto; }
  .blob { opacity: 0.05; animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__badge, .hero__title, .hero__tagline, .hero__subtitle,
  .hero__meta, .hero__actions, .hero__trust, .hero__visual {
    opacity: 1; transform: none;
  }
  .journey-path { stroke-dashoffset: 0; transition: none; }
  .j-step, .j-start, .j-goal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { display: none; }
  .word__inner { transform: none; }
  .scroll-progress { animation: none; }
}
