/* =========================================================
   Zenmed — Landing
   Brand system from Composants.pdf
   ========================================================= */

/* ========== The Seasons (display serif) ========== */
@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/TheSeasons-Lt.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/TheSeasons-LtIt.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/TheSeasons-Reg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/TheSeasons-It.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/TheSeasons-Bd.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "The Seasons";
  src: url("assets/fonts/TheSeasons-BdIt.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Couleurs */
  --sauge: #2c4a38;
  --sauge-clair: #4a6e54;
  --sauge-pale: #c8d4be;
  --creme: #f7f7f0;
  --creme-deep: #ededde;
  --creme-card: #e0dac6;
  --encre: #1f2a22;
  --encre-soft: #4a4a4a;
  --terracotta: #1f2a22;
  --terracotta-deep: #0f1714;
  --lime: #95ab41;
  --lime-deep: #7c9035;

  /* Typo */
  --serif: "The Seasons", "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Espaces */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 128px);

  /* Rayons */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* Ombres très douces, le brand est posé */
  --shadow-1: 0 1px 2px rgba(31, 42, 34, 0.04),
    0 6px 24px rgba(31, 42, 34, 0.06);
  --shadow-2: 0 1px 2px rgba(31, 42, 34, 0.06),
    0 20px 48px rgba(31, 42, 34, 0.1);
}

/* ========== Reset léger ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

/* ========== Container ========== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========== Type ========== */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--creme);
  background: var(--encre);
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
  line-height: 1.2;
}
.eyebrow--dark {
  color: var(--creme);
  background: var(--encre);
}
.eyebrow--cream {
  color: var(--encre);
  background: var(--creme-card);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--encre);
  margin: 14px 0 0;
}
.section-title em {
  font-style: normal;
  font-weight: 400;
  color: var(--sauge);
}

.section-lede {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--encre-soft);
  margin: 20px 0 0;
}

.section-head {
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 820px;
}

/* ========== Boutons (du Composants.pdf) ========== */
.btn {
  --btn-bg: var(--encre);
  --btn-fg: var(--creme);
  --btn-bd: var(--encre);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

.btn--primary {
  --btn-bg: var(--encre);
  --btn-fg: #fff;
  --btn-bd: transparent;
  background:
    radial-gradient(at 18% 10%, rgba(255, 255, 255, 0.22) 0%, transparent 70%),
    radial-gradient(at 100% 100%, var(--sauge-clair) 0%, transparent 70%),
    var(--encre);
  background-size: 100% 100%;
}
.btn--primary:hover {
  background:
    radial-gradient(at 18% 10%, rgba(255, 255, 255, 0.28) 0%, transparent 70%),
    radial-gradient(at 100% 100%, var(--sauge-clair) 0%, transparent 75%),
    var(--encre);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--encre);
  --btn-bd: rgba(31, 42, 34, 0.18);
}
.btn--ghost:hover {
  --btn-bd: var(--encre);
}

.btn--accent {
  --btn-bg: var(--lime);
  --btn-fg: #fff;
  --btn-bd: var(--lime);
}
.btn--accent:hover {
  --btn-bg: var(--lime-deep);
  --btn-bd: var(--lime-deep);
}

.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

.btn--link {
  background: none;
  border: 0;
  color: var(--encre);
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
}
.btn--link:hover {
  border-bottom-color: var(--encre);
  transform: none;
  box-shadow: none;
}

/* ========== Badges (du Composants.pdf) ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--sauge {
  background: var(--sauge);
  color: var(--creme);
}
.badge--sauge-clair {
  background: var(--sauge-pale);
  color: var(--sauge);
}
.badge--cream {
  background: var(--creme-deep);
  color: var(--encre);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 240, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img {
  height: 70px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--encre);
  transition: color 0.15s ease;
}
.nav__links a:hover {
  color: var(--sauge);
}

.nav__cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  width: 22px;
  height: 1.5px;
  background: var(--encre);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px var(--gutter) 20px;
  border-top: 1px solid rgba(31, 42, 34, 0.06);
  background: var(--creme);
}
.nav__mobile a {
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
}
.nav__mobile a:not(.btn) {
  border-bottom: 1px solid rgba(31, 42, 34, 0.06);
}

@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
    margin-left: auto;
  }
  .nav__mobile[data-open="true"] {
    display: flex;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 5vh 0 0;
  overflow: hidden;
}
.hero .eyebrow {
  background: var(--creme-card);
  color: var(--encre);
}
.hero__inner {
  padding-bottom: 5vh;
}

.hero__halo {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 24px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 22px auto 0;
  max-width: 100%;
  color: var(--encre);
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  font-weight: 400;
  color: var(--sauge);
  display: inline-block;
}

.hero__subtitle {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--encre-soft);
  max-width: 100%;
  margin: 26px auto 0;
  text-wrap: balance;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 32px 0 0;
}

/* Trust row: avatars + reassurance */
.hero__trust {
  margin: 22px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__avatars {
  display: inline-flex;
  align-items: center;
}
.hero__avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--sauge-pale);
  color: var(--sauge);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid var(--creme);
  box-shadow: 0 1px 2px rgba(31, 42, 34, 0.08);
}
.hero__avatars span:not(:first-child) {
  margin-left: -10px;
}
.hero__avatars span:nth-child(2) {
  background: var(--sauge);
  color: var(--creme);
}
.hero__avatars span:nth-child(3) {
  background: var(--sauge-clair);
  color: var(--creme);
}

.hero__reassurance {
  margin: 0;
  font-size: 13.5px;
  color: var(--encre-soft);
  letter-spacing: 0.005em;
  opacity: 0.85;
}

/* Photo grand format */
.hero__photo {
  position: relative;
  z-index: 1;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
  max-width: 1280px;
}
.hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  display: block;
}

.hero__photo-badge {
  position: absolute;
  top: clamp(20px, 2.4vw, 32px);
  left: calc(var(--gutter) + clamp(20px, 2.4vw, 32px));
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: rgba(31, 42, 34, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--creme);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  box-shadow: 0 6px 24px rgba(31, 42, 34, 0.18);
}
.hero__photo-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #f4c47a;
}
.hero__photo-meta {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 247, 240, 0.85);
  border-left: 1px solid rgba(247, 247, 240, 0.25);
  padding-left: 12px;
}

@media (max-width: 720px) {
  .hero__photo img {
    aspect-ratio: 4 / 5;
  }
  .hero__photo-meta {
    display: none;
  }
  .hero__photo-badge {
    border-left: 0;
  }
}

/* ============================================================
   MARQUEE — SITES RÉALISÉS (intégrée au hero)
   ============================================================ */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Soft edge fade so the loop disappears off-screen */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.marquee--hero {
  margin-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 64px);
}

.marquee--testi {
  margin: clamp(32px, 4vw, 56px) 0 56px;
}
.marquee--testi .marquee__track {
  gap: 24px;
  animation-duration: 90s;
  align-items: stretch;
}
.marquee--testi .testi {
  flex: 0 0 auto;
  width: clamp(320px, 38vw, 480px);
  margin: 0;
}

.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    /* Move by half (one full set), the second set takes over seamlessly */
    transform: translate3d(calc(-50% - 14px), 0, 0);
  }
}

.site-card {
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 440px);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(31, 42, 34, 0.05),
    0 20px 48px rgba(31, 42, 34, 0.1);
  background: var(--creme-deep);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(31, 42, 34, 0.06),
    0 24px 56px rgba(31, 42, 34, 0.14);
}

.site-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--creme-deep);
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .site-card {
    scroll-snap-align: center;
  }
}

/* ============================================================
   PROBLÈME
   ============================================================ */
.problem {
  padding: var(--section) 0;
}

.problem {
  text-align: center;
}
.problem .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 18ch;
}

.problem__grid {
  margin: clamp(20px, 2.5vw, 32px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: 980px;
}
.problem__grid--single {
  grid-template-columns: 1fr;
  max-width: 1080px;
  text-align: center;
}

.problem__lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--encre-soft);
  margin: 0 auto;
  max-width: 95%;
}
.problem__grid--single .problem__lede {
  font-size: 22px;
  line-height: 1.5;
  max-width: 95%;
}

.problem__closing {
  margin: clamp(12px, 1.5vw, 20px) auto 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--encre);
  max-width: 100%;
  white-space: nowrap;
}
.problem__closing em {
  font-style: normal;
  color: var(--sauge);
}
.problem__closing br {
  display: none;
}

@media (max-width: 700px) {
  .problem__closing {
    white-space: normal;
    font-size: 22px;
  }
}

@media (max-width: 760px) {
  .problem__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SOLUTION
   ============================================================ */
.solution {
  padding: var(--section) 0;
  background: linear-gradient(180deg, var(--creme) 0%, var(--creme-deep) 100%);
  border-top: 1px solid rgba(31, 42, 34, 0.05);
  border-bottom: 1px solid rgba(31, 42, 34, 0.05);
}

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

.feature {
  background: var(--creme-card);
  border: 1px solid rgba(31, 42, 34, 0.06);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.feature .badge--sauge {
  background: var(--sauge);
  color: var(--creme);
}

.feature__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 20px 0 12px;
  color: var(--encre);
}

.feature p {
  margin: 0;
  font-family: var(--sans);
  color: var(--encre-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RÉALISATIONS — CARROUSEL
   ============================================================ */
.works {
  padding: var(--section) 0;
  overflow: hidden;
}

.works__head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
.works__title {
  white-space: nowrap;
  font-size: clamp(28px, 4.6vw, 64px);
}
.works__head .section-lede,
.works__lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 56ch;
  text-wrap: balance;
}

@media (max-width: 540px) {
  .works__title {
    white-space: normal;
  }
}

.marquee--works {
  margin-top: clamp(40px, 5vw, 64px);
}

.work-card {
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 440px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.work-card__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--creme-card);
  aspect-ratio: 16 / 10;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.work-card:hover .work-card__media img {
  transform: scale(1.08);
}

.work-card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--encre);
  text-align: center;
  padding: 0 4px;
  transition: color 0.2s ease;
}
.work-card:hover .work-card__name {
  color: var(--sauge);
}

/* ============================================================
   COMMENT ÇA MARCHE
   ============================================================ */
.how {
  padding: var(--section) 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--creme);
  border: 1px solid rgba(31, 42, 34, 0.08);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(212, 220, 199, 0.7) 0%,
    rgba(212, 220, 199, 0) 70%
  );
  pointer-events: none;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--sauge);
  color: var(--creme);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.step__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  margin: 24px 0 10px;
  position: relative;
  z-index: 1;
}

.step p {
  margin: 0;
  color: var(--encre-soft);
  font-size: 15.5px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials {
  padding: var(--section) 0;
  background: var(--creme-deep);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.testi-grid--4 {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.testi {
  margin: 0;
  background: var(--creme);
  border: 1px solid rgba(31, 42, 34, 0.06);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.testi blockquote {
  margin: 0;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--encre);
}

.testi figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi__avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--sauge-pale);
  color: var(--sauge);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testi__photo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 18%;
  background: var(--sauge-pale);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(31, 42, 34, 0.08);
  border: 2px solid var(--creme);
}

.testi figcaption strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--encre);
}
.testi figcaption span {
  font-size: 13px;
  color: var(--encre-soft);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  position: relative;
  background:
    radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    radial-gradient(at 0% 100%, var(--sauge-clair) 0%, transparent 60%),
    var(--sauge);
  color: var(--creme);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 200px;
  justify-content: space-between;
  overflow: hidden;
}
.stat-card--alt {
  background:
    radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    radial-gradient(at 0% 100%, var(--sauge) 0%, transparent 60%),
    var(--encre);
}

.stat-card__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-card__num small {
  font-size: 0.45em;
  font-weight: 400;
}

.stat-card__label {
  font-size: 14.5px;
  line-height: 1.5;
  opacity: 0.92;
}

@media (max-width: 900px) {
  .testi-grid,
  .testi-grid--4,
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--section) 0;
}

.offer-card {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
  background: var(--creme);
  border: 1px solid rgba(31, 42, 34, 0.08);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 440px;
  height: 440px;
  background: radial-gradient(
    circle,
    rgba(74, 110, 84, 0.18) 0%,
    rgba(74, 110, 84, 0) 65%
  );
  pointer-events: none;
}
.offer-card::after {
  content: "";
  position: absolute;
  inset: auto auto -40% -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(200, 212, 190, 0.5) 0%,
    rgba(200, 212, 190, 0) 65%
  );
  pointer-events: none;
}

.offer-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
}

.offer-card__main .eyebrow {
  margin-bottom: 18px;
}

.offer-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.offer-card__list li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  color: var(--encre);
  line-height: 1.5;
}
.offer-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--sauge-pale);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234F6B4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.offer-card__note {
  color: var(--encre-soft);
  font-size: 14px;
}

.offer-card__side {
  background:
    radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    radial-gradient(at 0% 100%, var(--sauge-clair) 0%, transparent 60%),
    var(--encre);
  color: var(--creme);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.offer-card__side::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(74, 110, 84, 0.55) 0%,
    rgba(74, 110, 84, 0) 65%
  );
  pointer-events: none;
}
.offer-card__side > * {
  position: relative;
  z-index: 1;
}

.offer-card__side .badge {
  align-self: flex-start;
  background: rgba(247, 247, 240, 0.1);
  color: var(--creme);
  border: 1px solid rgba(247, 247, 240, 0.18);
}

.offer-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
}
.offer-card__amount {
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--creme);
}
.offer-card__amount small {
  font-size: 0.5em;
  font-weight: 400;
  margin-left: 4px;
}
.offer-card__period {
  font-size: 14px;
  color: rgba(247, 247, 240, 0.7);
}

.offer-card__hint {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(247, 247, 240, 0.78);
  margin: 0;
}
.offer-card__hint strong {
  color: var(--sauge-pale);
  font-weight: 600;
}

.offer-card__perks {
  list-style: none;
  margin: 4px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(247, 247, 240, 0.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.offer-card__perks li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.offer-card__perk-num {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--creme);
}
.offer-card__perk-num small {
  font-size: 0.55em;
  font-weight: 400;
  margin-left: 1px;
}
.offer-card__perks li span:last-child {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 247, 240, 0.6);
  line-height: 1.3;
}

.offer-card__side .btn {
  margin-top: 4px;
}

.offer-card__sub {
  margin: 0;
  font-size: 13px;
  color: rgba(247, 247, 240, 0.6);
  text-align: center;
}

@media (max-width: 900px) {
  .offer-card__body {
    grid-template-columns: 1fr;
  }
  .offer-card__perks {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .offer-card__perks {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--section) 0;
  background: linear-gradient(180deg, var(--creme) 0%, var(--creme-deep) 100%);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--creme);
  border: 1px solid rgba(31, 42, 34, 0.08);
  border-radius: var(--r-md);
  padding: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq__item[open] {
  border-color: rgba(31, 42, 34, 0.16);
  box-shadow: var(--shadow-1);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  color: var(--encre);
  position: relative;
  padding-right: 60px;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--sauge-pale);
  color: var(--sauge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  font-family: var(--sans);
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq__item[open] summary::after {
  content: "–";
  background: var(--sauge);
  color: var(--creme);
}

.faq__item p {
  margin: 0;
  padding: 0 26px 26px;
  color: var(--encre-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: var(--section) 0;
}

.cta-final__box {
  background:
    radial-gradient(at 20% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    radial-gradient(at 100% 100%, var(--sauge-clair) 0%, transparent 60%),
    var(--encre);
  color: var(--creme);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final__box::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -20%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(74, 110, 84, 0.55) 0%,
    rgba(74, 110, 84, 0) 65%
  );
  pointer-events: none;
}
.cta-final__box::after {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 460px;
  height: 460px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0) 65%
  );
  pointer-events: none;
}

.cta-final__title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 18px 0 0;
}
.cta-final__title em {
  font-style: normal;
  color: var(--sauge-pale);
}

.cta-final__sub {
  position: relative;
  z-index: 1;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: rgba(247, 247, 240, 0.82);
  margin: 22px auto 0;
  max-width: 540px;
}

.cta-final__cta {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

.cta-final__hint {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  font-size: 13.5px;
  color: rgba(247, 247, 240, 0.62);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--creme-deep);
  border-top: 1px solid rgba(31, 42, 34, 0.06);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand img {
  height: 90px;
  width: auto;
  margin-bottom: -10px;
}
.footer__brand p {
  font-size: 14.5px;
  color: var(--encre-soft);
  margin: 0;
  max-width: 320px;
}

.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--encre);
  letter-spacing: 0;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer__email:hover {
  color: var(--sauge);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__cols h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sauge);
  margin: 0 0 16px;
}
.footer__cols a {
  display: block;
  font-size: 14.5px;
  color: var(--encre-soft);
  padding: 6px 0;
  transition: color 0.15s ease;
}
.footer__cols a:hover {
  color: var(--encre);
}

.footer__bottom {
  border-top: 1px solid rgba(31, 42, 34, 0.08);
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--encre-soft);
}

@media (max-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================
   Animations — opening + scroll reveal
   ============================================================ */
@keyframes zen-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zen-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zen-fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav slides down */
.nav {
  animation: zen-fade-down 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero stagger chain on page load */
.hero .eyebrow,
.hero__title,
.hero__subtitle,
.hero__cta,
.marquee--hero {
  animation: zen-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}
.hero .eyebrow { animation-delay: 0.15s; }
.hero__title { animation-delay: 0.3s; }
.hero__subtitle { animation-delay: 0.5s; }
.hero__cta { animation-delay: 0.7s; }
.marquee--hero { animation-delay: 0.85s; }

/* Body slight fade-in to mask asset pop */
body {
  animation: zen-fade 0.6s ease-out both;
}

/* Scroll-triggered reveal (sections lower on the page) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hover transitions across interactive elements, kept smooth */
.work-card,
.feature,
.step,
.testi,
.faq__item,
.offer-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .nav,
  body,
  .hero .eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero__cta,
  .marquee--hero {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ======= COOKIE CONSENT ======= */
#cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 31, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px;
}

#cookie-banner {
  background: var(--creme, #f5f0e8);
  color: var(--sauge, #2c4a39);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  font-family: var(--sans);
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--sauge, #2c4a39);
}

#cookie-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

#cookie-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--sauge, #2c4a39);
  opacity: 0.85;
  margin-bottom: 22px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.cookie-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.cookie-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.cookie-btn:active {
  transform: translateY(0);
}

.cookie-btn--accept {
  background: var(--sauge, #2c4a39);
  color: var(--creme, #f5f0e8);
}

.cookie-btn--refuse {
  background: transparent;
  color: var(--sauge, #2c4a39);
  border: 1.5px solid var(--sauge, #2c4a39);
}

.cookie-legal {
  font-size: 0.78rem;
  text-align: center;
  opacity: 0.6;
  margin: 0;
}

.cookie-legal a {
  color: var(--sauge, #2c4a39);
  text-decoration: underline;
}

@media (max-width: 480px) {
  #cookie-banner {
    padding: 22px 20px;
    border-radius: 14px 14px 0 0;
  }
  .cookie-actions {
    flex-direction: column;
  }
  #cookie-overlay {
    align-items: flex-end;
    padding: 0;
  }
}

/* ======= PAGES LÉGALES ======= */
.legal { padding: 80px 0; }
.legal h1 { margin-bottom: 40px; }
.legal h2 { margin-top: 40px; margin-bottom: 12px; font-size: 1.2rem; }
.legal p { line-height: 1.7; margin-bottom: 16px; }
