/* ===================================================================
   RESO.AI — Neuromarketing & Intelligence Artificielle
   Design system : blanc épuré + vert sauge · effets 3D
   =================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette vert sauge */
  --sage-900: #2E3222;
  --sage-800: #3F4530;
  --sage-700: #545A3B; /* Foncé  */
  --sage-600: #6B7543;
  --sage-500: #828D4F; /* Medium */
  --sage-400: #A3AC77;
  --sage-300: #C2C99F;
  --sage-200: #D8DEBC; /* Clair  */
  --sage-100: #EAEFD6;
  --sage-50:  #F7FAE8; /* Très clair */

  --white: #ffffff;
  --ink: #1C1F16;
  --ink-soft: #454A3A;
  --muted: #6E7462;

  --line: rgba(84, 90, 59, 0.13);
  --line-strong: rgba(84, 90, 59, 0.28);

  --grad: linear-gradient(135deg, #828D4F 0%, #545A3B 100%);
  --grad-rev: linear-gradient(135deg, #545A3B 0%, #828D4F 100%);
  --grad-soft: linear-gradient(140deg, #F7FAE8 0%, #D8DEBC 100%);
  --grad-text: linear-gradient(100deg, #828D4F 0%, #545A3B 55%, #6B7543 100%);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  --shadow-xs: 0 1px 2px rgba(46, 50, 34, .06);
  --shadow-sm: 0 4px 14px -6px rgba(46, 50, 34, .16);
  --shadow-md: 0 18px 42px -22px rgba(46, 50, 34, .35);
  --shadow-lg: 0 46px 90px -38px rgba(46, 50, 34, .45);
  --shadow-green: 0 22px 48px -22px rgba(84, 90, 59, .55);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --maxw: 1240px;
  --nav-h: 78px;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

/* ---------- 2. Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--sage-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--sage-500); }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--sage-200); color: var(--sage-900); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--sage-50); }
::-webkit-scrollbar-thumb { background: var(--sage-300); border-radius: 20px; border: 3px solid var(--sage-50); }
::-webkit-scrollbar-thumb:hover { background: var(--sage-500); }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.wrap-tight { max-width: 940px; }
.section { padding: 118px 0; position: relative; }
.section-sm { padding: 78px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 26px; }

.bg-soft { background: linear-gradient(180deg, #fff 0%, var(--sage-50) 26%, var(--sage-50) 74%, #fff 100%); }
.bg-tint { background: var(--sage-50); }

/* ---------- 4. Typographie ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.h-xxl { font-size: clamp(2.45rem, 4.5vw, 4.05rem); }
.h-xl  { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.h-l   { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.h-m   { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.h-s   { font-size: 1.14rem; line-height: 1.3; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  color: var(--ink-soft);
  line-height: 1.68;
}
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.xsmall { font-size: .82rem; }
strong, b { font-weight: 650; color: var(--ink); }

.underline-sage {
  background-image: linear-gradient(transparent 62%, var(--sage-200) 62%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size .9s var(--ease-out);
  padding: 0 .06em;
}
.revealed .underline-sage, .underline-sage.on { background-size: 100% 100%; }

/* ---------- 5. Eyebrow / chips ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage-700);
  background: var(--sage-50);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage-500);
  box-shadow: 0 0 0 0 rgba(130, 141, 79, .55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(130, 141, 79, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(130, 141, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(130, 141, 79, 0); }
}
.eyebrow.center-me { display: inline-flex; }

.section-head { max-width: 800px; margin-bottom: 62px; }
.section-head.center { margin-inline: auto; }

/* ---------- 6. Boutons ---------- */
.btn {
  --btn-bg: var(--grad);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--btn-bg);
  box-shadow: var(--shadow-green);
  transform-style: preserve-3d;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .3s;
  will-change: transform;
  text-align: center;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.34), rgba(255,255,255,0) 46%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.btn:hover { color: #fff; box-shadow: 0 30px 60px -22px rgba(84, 90, 59, .68); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(2px) scale(.985); }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: #fff;
  color: var(--sage-700);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--sage-800); background: var(--sage-50); box-shadow: var(--shadow-md); }

.btn-sage-light {
  background: var(--sage-200);
  color: var(--sage-800);
  box-shadow: var(--shadow-sm);
}
.btn-sage-light:hover { color: var(--sage-900); background: var(--sage-300); }

.btn-lg { padding: 19px 38px; font-size: 1.05rem; }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--sage-700);
}
.link-arrow svg { transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 7. Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease);
}
.nav::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity .45s var(--ease), border-color .45s var(--ease);
}
.nav.stuck { height: 68px; }
.nav.stuck::before { opacity: 1; border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 2; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 100px;
  font-size: .93rem;
  font-weight: 520;
  color: var(--ink-soft);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--sage-700); background: var(--sage-50); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 13px;
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--sage-700);
  transition: transform .4s var(--ease-out), opacity .25s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 26px 30px;
  z-index: 890;
  transform: translateY(-14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .4s var(--ease-out);
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  font-size: 1.06rem;
  font-weight: 560;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 20px; }

/* Barre de progression de lecture */
.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad);
  z-index: 950;
  transition: width .1s linear;
}

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 58px);
  padding-bottom: 70px;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 40px;
  align-items: center;
  min-height: 620px;
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 34px; }

.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  pointer-events: none;
}
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.hero-bg .b1 { width: 620px; height: 620px; background: var(--sage-200); top: -180px; right: -140px; }
.hero-bg .b2 { width: 460px; height: 460px; background: var(--sage-100); bottom: -220px; left: -170px; opacity: .8; }
.hero-bg .b3 { width: 340px; height: 340px; background: #E6EDCB; top: 42%; left: 40%; opacity: .45; }

.grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(84,90,59,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(84,90,59,.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 20%, transparent 78%);
  pointer-events: none;
}

/* Scène 3D du héros */
.hero-scene {
  position: relative;
  height: 560px;
  perspective: 1400px;
  transform-style: preserve-3d;
}
#neuralCanvas {
  width: 100%; height: 100%;
  display: block;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 24px 60px -26px rgba(46, 50, 34, .48), inset 0 1px 0 rgba(255,255,255,.9);
  border-radius: 20px;
  padding: 15px 19px;
  transform-style: preserve-3d;
  animation: floaty 7s ease-in-out infinite;
  z-index: 3;
}
.float-card .fc-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.float-card .fc-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--sage-700); line-height: 1.15; }
.float-card .fc-sub { font-size: .78rem; color: var(--muted); }

.fc-1 { top: 4%; left: 2%; animation-delay: 0s; }
.fc-2 { bottom: 10%; right: -1%; animation-delay: -2.3s; }
.fc-3 { bottom: 42%; left: -6%; animation-delay: -4.6s; }

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(3deg) rotateY(-5deg); }
  50%      { transform: translate3d(0, -18px, 30px) rotateX(-2deg) rotateY(5deg); }
}

.hero-trust {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 30px; margin-top: 6px;
  border-top: 1px solid var(--line);
}
.stars { display: inline-flex; gap: 2px; color: var(--sage-500); }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -11px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff;
  box-shadow: var(--shadow-xs);
}
.avatars span:first-child { margin-left: 0; }

/* ---------- 9. Marquee de confiance ---------- */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem;
  color: var(--muted);
  white-space: nowrap;
  opacity: .78;
  transition: opacity .3s, color .3s;
}
.marquee-item:hover { opacity: 1; color: var(--sage-700); }
.marquee-item svg { flex-shrink: 0; color: var(--sage-400); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 10. Cartes 3D (tilt) ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  will-change: transform;
}
.tilt-inner { transform-style: preserve-3d; }
.tilt .lift { transform: translateZ(34px); }
.tilt .lift-sm { transform: translateZ(18px); }

.glare {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.55), transparent 58%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 4;
}
.tilt:hover .glare { opacity: 1; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .45s var(--ease);
  z-index: 0;
}
.card > * { position: relative; z-index: 1; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--sage-300); }
.card:hover::before { opacity: .5; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 17px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: var(--shadow-green);
  transition: transform .5s var(--ease-out);
}
.card:hover .card-icon { transform: translateZ(46px) scale(1.06) rotate(-4deg); }

/* ---------- 11. Problème / contraste ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.pain:hover { transform: translateY(-8px) rotateX(4deg); box-shadow: var(--shadow-md); }
.pain .num {
  font-family: var(--font-display);
  font-size: 3.1rem; font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}

/* ---------- 12. Leviers (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.bento .card { padding: 34px; }
.b-wide { grid-column: span 4; }
.b-half { grid-column: span 3; }
.b-third { grid-column: span 2; }

.lever-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-600);
  background: var(--sage-100);
  padding: 5px 11px; border-radius: 100px;
  margin-bottom: 14px;
}
.lever-hook {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.34rem; line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.b-feature {
  grid-column: span 6;
  background: var(--grad);
  border: none;
  color: #fff;
  padding: 52px !important;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.b-feature::before { display: none; }
.b-feature h3, .b-feature .lever-hook { color: #fff; }
.b-feature p { color: rgba(255,255,255,.87); }
.b-feature .lever-tag { background: rgba(255,255,255,.17); color: #fff; }
.b-feature .stat-line { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 28px; }
.b-feature .stat-line .s-v { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; line-height: 1; }
.b-feature .stat-line .s-l { font-size: .84rem; color: rgba(255,255,255,.78); margin-top: 4px; }

/* Cerveau SVG animé */
.brain-viz { position: relative; display: grid; place-items: center; }
.brain-viz svg { width: 100%; max-width: 320px; overflow: visible; }
.brain-viz .node-pulse { animation: nodeGlow 3s ease-in-out infinite; transform-origin: center; }
.brain-viz .node-pulse:nth-child(2n) { animation-delay: -.9s; }
.brain-viz .node-pulse:nth-child(3n) { animation-delay: -1.7s; }
@keyframes nodeGlow { 0%,100% { opacity: .45; r: 4; } 50% { opacity: 1; r: 6.5; } }
.brain-viz .synapse { stroke-dasharray: 6 8; animation: dashFlow 3s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -28; } }

/* ---------- 13. Offres / pricing ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }

.offer {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  overflow: hidden;
}
.offer:hover { box-shadow: var(--shadow-lg); border-color: var(--sage-300); }
.offer h3 { margin-bottom: 8px; }
.offer .offer-desc { color: var(--muted); font-size: .96rem; min-height: 48px; }

.price-block { margin: 26px 0 24px; padding-block: 22px; border-block: 1px solid var(--line); }
.price-anchor { font-size: .92rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--sage-400); }
.price {
  font-family: var(--font-display);
  font-size: 2.9rem; font-weight: 800; letter-spacing: -.04em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; -webkit-text-fill-color: var(--muted); letter-spacing: 0; }

.feat-list { display: grid; gap: 12px; margin-bottom: 30px; flex-grow: 1; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }
.feat-list .tick {
  flex-shrink: 0;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  display: grid; place-items: center;
  margin-top: 2px;
}

.offer.featured {
  background: linear-gradient(178deg, #fff 0%, var(--sage-50) 100%);
  border: 1.5px solid var(--sage-400);
  box-shadow: var(--shadow-md);
  transform: translateZ(0) scale(1.015);
}
.offer.featured:hover { box-shadow: 0 56px 100px -40px rgba(84,90,59,.5); }
.ribbon {
  position: absolute; top: 20px; right: 20px;
  background: var(--grad);
  color: #fff;
  font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 100px;
  box-shadow: var(--shadow-green);
}
.offer.featured h3 { padding-right: 118px; }
.scarcity {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--sage-700);
  background: var(--sage-100);
  border-radius: 100px; padding: 7px 14px;
  margin-top: 16px;
  align-self: flex-start;
}
.scarcity .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-600); animation: pulse 2s infinite; }

/* ---------- 14. Méthode (timeline 3D) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1600px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.step:hover { transform: translateY(-10px) rotateY(-6deg) rotateX(4deg); box-shadow: var(--shadow-lg); }
.step .step-n {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  background: var(--sage-100); color: var(--sage-700);
  margin-bottom: 20px;
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.step:hover .step-n { background: var(--grad); color: #fff; transform: translateZ(40px); }
.step-connector {
  position: absolute; top: 58px; right: -14px;
  width: 28px; height: 1.5px;
  background: var(--line-strong);
  z-index: 2;
}
.step:last-child .step-connector { display: none; }

/* ---------- 15. Comparatif (avant / après) ---------- */
.compare {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
}
.compare-col { padding: 42px 38px; }
.compare-col.before { background: #fff; }
.compare-col.after { background: var(--grad); color: #fff; }
.compare-col.after h3 { color: #fff; }
.compare-col h3 { margin-bottom: 8px; }
.compare-col .c-sub { font-size: .88rem; opacity: .75; margin-bottom: 26px; }
.compare-col ul { display: grid; gap: 15px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; line-height: 1.5; }
.compare-col.before li { color: var(--muted); }
.compare-col.after li { color: rgba(255,255,255,.93); }
.c-mark { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.before .c-mark { background: #F0F0EA; color: #9A9E8C; }
.after .c-mark { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- 16. Compteurs ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.counter-box {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.counter-box:hover { transform: translateY(-7px) scale(1.02); box-shadow: var(--shadow-md); }
.counter-box .cn {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -.04em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.counter-box .cl { font-size: .87rem; color: var(--muted); margin-top: 9px; }

/* ---------- 17. Carrousel 3D d'avis ---------- */
.ring-stage {
  position: relative;
  height: 520px;
  perspective: 1500px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 220px; height: 390px;
  margin: -195px 0 0 -110px;
  transform-style: preserve-3d;
  animation: spinRing 46s linear infinite;
}
.ring-stage:hover .ring { animation-play-state: paused; }
@keyframes spinRing { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
.ring-item {
  position: absolute;
  width: 220px; height: 390px;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 30px 60px -26px rgba(46,50,34,.5);
  background: var(--sage-50);
  transition: box-shadow .4s;
}
.ring-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ring-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(84,90,59,0) 60%, rgba(84,90,59,.12));
}
.ring-hint { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* ---------- 18. Garantie ---------- */
.guarantee {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--grad-soft);
  border: 1px solid var(--sage-200);
  padding: 56px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 36px; align-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.guarantee .seal {
  width: 118px; height: 118px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--sage-700);
  animation: floaty 8s ease-in-out infinite;
}

/* ---------- 21. FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .35s, box-shadow .4s var(--ease);
}
.faq-item.open { border-color: var(--sage-300); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 650; font-size: 1.08rem; letter-spacing: -.02em;
  color: var(--ink);
  transition: color .3s;
}
.faq-q:hover { color: var(--sage-700); }
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-700);
  display: grid; place-items: center;
  transition: transform .45s var(--ease-out), background .35s, color .35s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.faq-a-inner { padding: 0 28px 26px; color: var(--ink-soft); font-size: .99rem; line-height: 1.7; }

/* ---------- 22. CTA final ---------- */
.cta-final {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--grad);
  padding: 78px 60px;
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 60px 110px -50px rgba(84,90,59,.85);
}
.cta-final h2, .cta-final h3 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.86); }
.cta-final .btn-ghost { background: #fff; color: var(--sage-700); border-color: transparent; }
.cta-final .btn-ghost:hover { background: var(--sage-50); }
.cta-final .btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  box-shadow: none;
}
.cta-final .btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.cta-noise {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(255,255,255,.16), transparent 42%),
                    radial-gradient(circle at 82% 78%, rgba(255,255,255,.13), transparent 46%);
  pointer-events: none;
}
.cta-rings {
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
}
.cta-rings span {
  position: absolute; top: 50%; left: 50%;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringOut 6s ease-out infinite;
}
.cta-rings span:nth-child(1) { width: 220px; height: 220px; animation-delay: 0s; }
.cta-rings span:nth-child(2) { width: 220px; height: 220px; animation-delay: 2s; }
.cta-rings span:nth-child(3) { width: 220px; height: 220px; animation-delay: 4s; }
@keyframes ringOut {
  0%   { transform: translate(-50%, -50%) scale(.4); opacity: .7; }
  100% { transform: translate(-50%, -50%) scale(4.2); opacity: 0; }
}

/* ---------- 23. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 13px;
  background: var(--sage-50);
  font-size: .96rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sage-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(130,141,79,.14);
}
.field textarea { resize: vertical; min-height: 118px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Captcha maison */
.captcha-field { margin-bottom: 22px; }
.captcha-row { display: flex; align-items: stretch; gap: 10px; }
.captcha-question {
  flex: 1 1 auto;
  display: flex; align-items: center;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1.5px solid var(--sage-200);
  font-family: var(--font-display);
  font-weight: 650; font-size: .97rem; letter-spacing: -.01em;
  color: var(--sage-800);
  user-select: none;
  -webkit-user-select: none;
}
.captcha-row input {
  flex: 0 0 118px;
  width: 118px;
  text-align: center;
  font-weight: 600;
}
.captcha-row input:disabled { opacity: .55; cursor: progress; }
.captcha-refresh {
  flex: 0 0 auto;
  width: 48px;
  border-radius: 13px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--sage-700);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s, transform .5s var(--ease-out), border-color .25s;
}
.captcha-refresh:hover { background: var(--sage-50); border-color: var(--sage-300); }
.captcha-refresh:active svg { transform: rotate(-180deg); }
.captcha-refresh svg { transition: transform .5s var(--ease-out); }
.captcha-hint { font-size: .78rem; color: var(--muted); margin-top: 8px; }

.captcha-field.erreur .captcha-question { border-color: #C97A5B; }
.captcha-field.erreur .captcha-row input { border-color: #C97A5B; }

/* Bandeau d'erreur du formulaire */
.form-alert {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px 17px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #FDF3EE;
  border: 1px solid #E8C3B2;
  color: #8A4426;
  font-size: .9rem;
  line-height: 1.5;
}
.form-alert svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 460px) {
  /* La question passe seule sur la première ligne ; la réponse et le bouton
     « autre question » restent côte à côte sur la seconde. */
  .captcha-row { flex-wrap: wrap; }
  .captcha-question { flex: 1 1 100%; }
  .captcha-row input { flex: 1 1 0; width: auto; min-width: 0; }
  .captcha-refresh { flex: 0 0 52px; width: 52px; min-height: 52px; }
}

.info-list { display: grid; gap: 18px; margin-top: 30px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; }
.info-item .ii-ic {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--sage-100); color: var(--sage-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-item .ii-l { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 650; color: var(--muted); }
.info-item .ii-v { font-weight: 550; color: var(--ink); }

/* ---------- 24. Footer ---------- */
.footer {
  background: var(--sage-900);
  color: rgba(255,255,255,.72);
  padding: 74px 0 34px;
  margin-top: 0;
}
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: -.01em; }
.footer a { color: rgba(255,255,255,.68); font-size: .93rem; }
.footer a:hover { color: var(--sage-200); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr; gap: 48px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer .brand-foot svg { height: 34px; margin-bottom: 18px; }
.footer .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer .socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  transition: background .3s, transform .35s var(--ease-out), color .3s;
}
.footer .socials a:hover { background: var(--sage-500); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ---------- 25. Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }

.reveal-3d {
  opacity: 0;
  transform: perspective(1200px) rotateX(14deg) translateY(50px);
  transform-origin: 50% 100%;
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-3d.revealed { opacity: 1; transform: perspective(1200px) rotateX(0) translateY(0); }

/* ---------- 26. Chat / sticky CTA mobile ---------- */
.sticky-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 880;
  display: none;
  transform: translateY(130%);
  transition: transform .5s var(--ease-out);
}
.sticky-cta.show { transform: translateY(0); }

/* ---------- 27. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-scene { height: 420px; order: -1; }
  .fc-1 { left: 2%; } .fc-2 { right: 2%; } .fc-3 { left: 0%; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .b-wide, .b-half { grid-column: span 2; }
  .b-third { grid-column: span 2; }
  .b-feature { grid-column: span 4; grid-template-columns: 1fr; padding: 40px !important; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer.featured { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-connector { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 44px 30px; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (max-width: 560px) {
  .nav-cta .btn { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 84px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  .ring-stage { height: 420px; }
  .cta-final { padding: 56px 26px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-half, .b-third, .b-feature { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-scene { height: 320px; }
  .float-card { padding: 11px 14px; }
  .float-card .fc-value { font-size: 1.15rem; }
  .card, .offer, .form-card { padding: 26px 22px; }
  .guarantee { padding: 34px 22px; }
  .ring-stage { height: 360px; }
}

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