/* Landing — fond blanc, lava lamp vert, médaillon 3D */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home-page {
  /* DA « Lin & Ardoise » — dérivé de da-color-tokens.css */
  --home-ink: var(--da-ink, #262a30);
  --home-ink-muted: var(--da-ink-muted, rgba(38, 42, 48, 0.72));
  --home-ink-soft: var(--da-ink-soft, rgba(38, 42, 48, 0.5));
  --home-surface: rgba(246, 244, 238, 0.92);
  --home-accent: var(--da-accent, #5c7d97);
  --home-accent-hover: var(--da-accent-hover, #4e6a80);
  --home-accent-ink: var(--da-accent-ink, #f6f7f8);
  --home-accent-2: var(--da-accent-2, #9c8b76);
  /* Anciennes clés « vertes » repointées sur la DA (compat sélecteurs existants) */
  --home-green-pale: var(--da-base, #f1efe9);
  --home-green-light: var(--da-base-sunken, #e7e4dc);
  --home-green-mid: rgba(92, 125, 151, 0.2);
  --home-green-soft: var(--da-accent-soft, rgba(92, 125, 151, 0.14));
  --home-green-deep: var(--da-accent-hover, #4e6a80);
  --home-green-glow: var(--da-accent, #5c7d97);
  --home-accent-dot: var(--da-accent, #5c7d97);
  --home-tint-peach: var(--da-accent-2-soft, rgba(156, 139, 118, 0.16));
  --home-tint-lavender: rgba(92, 125, 151, 0.12);
  --home-tint-sky: rgba(92, 125, 151, 0.16);
  --home-tint-sand: var(--da-accent-2-soft, rgba(156, 139, 118, 0.16));
  --home-radius-lg: 22px;
  --home-radius-md: 14px;
  --home-shadow-soft: 0 12px 40px rgba(38, 42, 48, 0.06);
  --home-shadow-lift: 0 24px 56px rgba(38, 42, 48, 0.1);
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-tilt-x: 0deg;
  --home-tilt-y: 0deg;
  --home-shadow-x: 0px;
  --home-shadow-scale: 1;
  --home-medallion-fall-duration: 2s;
  --home-medallion-ease-fallback: cubic-bezier(0.28, 1, 0.45, 1);
  --home-medallion-ease: var(--home-medallion-ease-fallback);

  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: var(--typo-body, "Manrope", system-ui, sans-serif);
  color: var(--home-ink);
  background: var(--da-base, #f1efe9);
}

/* ========== Fond lava lamp (blanc + verts) ========== */
.home-ambient {
  --home-ambient-px: 0px;
  --home-ambient-py: 0px;
  --home-ambient-scroll: 0px;

  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--da-base, #f1efe9);
}

.home-ambient__base {
  position: absolute;
  inset: -6%;
  background:
    radial-gradient(ellipse 75% 55% at 18% 22%, rgba(244, 251, 247, 0.75) 0%, transparent 58%),
    radial-gradient(ellipse 65% 50% at 82% 72%, rgba(236, 246, 240, 0.45) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 52% 48%, rgba(240, 248, 244, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fcfefd 50%, #ffffff 100%);
  animation: homeAmbientBaseDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.home-ambient__field {
  position: absolute;
  inset: -18%;
  transform: translate3d(
    var(--home-ambient-px),
    calc(var(--home-ambient-py) + var(--home-ambient-scroll)),
    0
  );
  will-change: transform;
}

.home-ambient__blob {
  position: absolute;
  filter: blur(88px);
  opacity: 0.38;
  will-change: transform, border-radius, opacity;
}

.home-ambient__blob--1 {
  width: min(46vw, 380px);
  height: min(42vw, 340px);
  top: -10%;
  left: -12%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(214, 235, 224, 0.55) 0%,
    rgba(236, 246, 240, 0.35) 45%,
    transparent 74%
  );
  border-radius: 58% 42% 52% 48% / 48% 52% 44% 56%;
  animation: homeLavaBlob1 16s ease-in-out infinite;
}

.home-ambient__blob--2 {
  width: min(40vw, 340px);
  height: min(44vw, 360px);
  top: 34%;
  right: -14%;
  background: radial-gradient(
    circle at 55% 40%,
    rgba(200, 228, 214, 0.45) 0%,
    rgba(232, 244, 238, 0.3) 50%,
    transparent 76%
  );
  border-radius: 44% 56% 50% 50% / 52% 44% 56% 48%;
  animation: homeLavaBlob2 19s ease-in-out infinite;
}

.home-ambient__blob--3 {
  width: min(42vw, 360px);
  height: min(38vw, 320px);
  bottom: -8%;
  left: 24%;
  background: radial-gradient(
    circle at 40% 55%,
    rgba(196, 220, 208, 0.4) 0%,
    rgba(238, 246, 242, 0.28) 52%,
    transparent 72%
  );
  border-radius: 52% 48% 44% 56% / 46% 54% 50% 50%;
  animation: homeLavaBlob3 17s ease-in-out infinite;
}

.home-ambient__blob--4 {
  width: min(30vw, 260px);
  height: min(34vw, 290px);
  top: 54%;
  left: 10%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(224, 238, 230, 0.5) 0%,
    rgba(244, 249, 246, 0.28) 58%,
    transparent 78%
  );
  border-radius: 48% 52% 58% 42% / 54% 46% 52% 48%;
  animation: homeLavaBlob4 13s ease-in-out infinite reverse;
  opacity: 0.3;
}

.home-ambient__blob--5 {
  width: min(26vw, 220px);
  height: min(28vw, 240px);
  top: 14%;
  right: 30%;
  background: radial-gradient(
    circle at 45% 45%,
    rgba(210, 230, 220, 0.42) 0%,
    rgba(240, 247, 243, 0.25) 52%,
    transparent 74%
  );
  border-radius: 62% 38% 48% 52% / 42% 58% 54% 46%;
  animation: homeLavaBlob5 15s ease-in-out infinite;
  opacity: 0.28;
}

@keyframes homeAmbientBaseDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(2%, -1.2%) scale(1.03);
  }
  100% {
    transform: translate(-1.5%, 1.5%) scale(1.015);
  }
}

@keyframes homeLavaBlob1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 58% 42% 52% 48% / 48% 52% 44% 56%;
    opacity: 0.38;
  }
  25% {
    transform: translate(10vw, 7vh) scale(1.1) rotate(8deg);
    border-radius: 46% 54% 48% 52% / 56% 44% 52% 48%;
    opacity: 0.44;
  }
  50% {
    transform: translate(6vw, -9vh) scale(0.94) rotate(-6deg);
    border-radius: 52% 48% 56% 44% / 44% 56% 48% 52%;
    opacity: 0.32;
  }
  75% {
    transform: translate(-7vw, 5vh) scale(1.05) rotate(4deg);
    border-radius: 44% 56% 42% 58% / 52% 48% 56% 44%;
    opacity: 0.4;
  }
}

@keyframes homeLavaBlob2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 44% 56% 50% 50% / 52% 44% 56% 48%;
    opacity: 0.38;
  }
  20% {
    transform: translate(-9vw, 7vh) scale(1.08) rotate(-7deg);
    border-radius: 56% 44% 46% 54% / 48% 52% 44% 56%;
    opacity: 0.42;
  }
  55% {
    transform: translate(-5vw, -8vh) scale(0.96) rotate(10deg);
    border-radius: 50% 50% 58% 42% / 54% 46% 50% 50%;
    opacity: 0.3;
  }
  80% {
    transform: translate(7vw, 3vh) scale(1.04) rotate(-4deg);
    border-radius: 48% 52% 44% 56% / 42% 58% 52% 48%;
    opacity: 0.38;
  }
}

@keyframes homeLavaBlob3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 52% 48% 44% 56% / 46% 54% 50% 50%;
    opacity: 0.38;
  }
  30% {
    transform: translate(8vw, -10vh) scale(1.08) rotate(6deg);
    border-radius: 44% 56% 52% 48% / 52% 48% 56% 44%;
    opacity: 0.42;
  }
  60% {
    transform: translate(-7vw, 6vh) scale(0.94) rotate(-8deg);
    border-radius: 56% 44% 48% 52% / 44% 56% 52% 48%;
    opacity: 0.3;
  }
  85% {
    transform: translate(4vw, 7vh) scale(1.03) rotate(3deg);
    border-radius: 50% 50% 46% 54% / 58% 42% 50% 50%;
    opacity: 0.36;
  }
}

@keyframes homeLavaBlob4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 48% 52% 58% 42% / 54% 46% 52% 48%;
    opacity: 0.3;
  }
  35% {
    transform: translate(9vw, -6vh) scale(1.1) rotate(-10deg);
    border-radius: 54% 46% 44% 56% / 48% 52% 46% 54%;
    opacity: 0.36;
  }
  70% {
    transform: translate(-5vw, 9vh) scale(0.92) rotate(7deg);
    border-radius: 42% 58% 52% 48% / 56% 44% 48% 52%;
    opacity: 0.26;
  }
}

@keyframes homeLavaBlob5 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 62% 38% 48% 52% / 42% 58% 54% 46%;
    opacity: 0.28;
  }
  40% {
    transform: translate(-8vw, 8vh) scale(1.12) rotate(11deg);
    border-radius: 48% 52% 62% 38% / 54% 46% 42% 58%;
    opacity: 0.34;
  }
  75% {
    transform: translate(6vw, -6vh) scale(0.9) rotate(-8deg);
    border-radius: 56% 44% 50% 50% / 48% 52% 58% 42%;
    opacity: 0.24;
  }
}

/* ========== Accessibilité ========== */
.home-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.home-skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  z-index: 100;
}

.home-btn:focus-visible,
.home-top__account:focus-visible,
.home-foot__link:focus-visible,
.home-tools__account a:focus-visible,
.home-hero__scroll:focus-visible {
  outline: 2px solid var(--home-ink);
  outline-offset: 3px;
}

/* ========== Barre compte ========== */
.home-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  padding: clamp(0.75rem, 2vw, 1.1rem) clamp(1rem, 3vw, 1.5rem);
  pointer-events: none;
}

.home-top__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: auto;
}

.home-top__account {
  pointer-events: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-ink-muted);
  text-decoration: none;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.home-top__account--signin {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

.home-top__account:hover {
  border-color: rgba(10, 10, 10, 0.2);
  color: var(--home-ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.06);
}

.home-top__account--signin:hover {
  border-color: rgba(10, 10, 10, 0.12);
  box-shadow: none;
}

/* ========== Reveal ========== */
.home-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s var(--home-ease),
    transform 0.65s var(--home-ease);
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Médaillon 3D — dôme léger, suit le curseur ========== */
.home-medallion {
  position: relative;
  width: clamp(152px, 34vw, 196px);
  height: clamp(152px, 34vw, 196px);
  margin: 0 auto 0.25rem;
  perspective: 880px;
}

/* Entrée : chute sur __drop (le pivot garde le suivi souris) */
.home-medallion__drop {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

@supports (animation-timing-function: linear(0, 1)) {
  body.home-page {
    --home-medallion-ease: linear(
      0,
      0.003 0.5%,
      0.013 1%,
      0.029 1.6%,
      0.051 2.2%,
      0.112 3.6%,
      0.311 7.7%,
      0.404 9.8%,
      0.459 11.2%,
      0.51 12.6%,
      0.557 14%,
      0.602 15.5%,
      0.645 17.1%,
      0.683 18.7%,
      0.72 20.4%,
      0.754 22.2%,
      0.785 24.1%,
      0.813 26%,
      0.838 28%,
      0.861 30.2%,
      0.882 32.4%,
      0.9 34.8%,
      0.917 37.3%,
      0.931 40%,
      0.944 42.8%,
      0.955 45.9%,
      0.965 49.2%,
      0.972 52.7%,
      0.984 60.5%,
      0.992 70.2%,
      0.997 82.5%,
      1
    );
  }
}

.home-medallion.is-entering .home-medallion__drop {
  animation: homeMedallionFall var(--home-medallion-fall-duration) var(--home-medallion-ease)
    forwards;
}

.home-medallion.is-entering .home-medallion__shadow {
  opacity: 0;
  animation: homeMedallionShadowFall var(--home-medallion-fall-duration) var(--home-medallion-ease)
    forwards;
}

.home-medallion.is-entering .home-medallion__halo {
  animation: none;
  opacity: 0;
}

.home-medallion.is-ready .home-medallion__halo {
  opacity: 0.72;
  animation: homeHaloPulse 5s ease-in-out 0.2s infinite;
}

@keyframes homeMedallionFall {
  0% {
    opacity: 0;
    transform: translateY(calc(-62vh - 2rem));
  }
  5% {
    opacity: 1;
    transform: translateY(calc(-62vh - 2rem));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeMedallionShadowFall {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.12);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

.home-medallion__shadow {
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 68%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(10, 10, 10, 0.2) 0%, transparent 70%);
  filter: blur(7px);
  transform: translateX(calc(-50% + var(--home-shadow-x))) scaleX(var(--home-shadow-scale));
  transition: transform 0.12s linear;
  z-index: 0;
}

.home-medallion__halo {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(220, 236, 228, 0.38) 0%,
    rgba(236, 244, 240, 0.18) 45%,
    transparent 70%
  );
  animation: homeHaloPulse 5s ease-in-out infinite;
  z-index: 0;
}

@keyframes homeHaloPulse {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.home-medallion__pivot {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  transform: rotateX(var(--home-tilt-x)) rotateY(var(--home-tilt-y));
  transform-style: preserve-3d;
  will-change: transform;
}

.home-medallion__body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Bord fin — épaisseur du médaillon (coupe type coupelle) */
.home-medallion__edge {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  transform: translateZ(-3.5px);
  background: linear-gradient(
    168deg,
    #fafafa 0%,
    #e4e4e7 38%,
    #c8c8ce 72%,
    #b0b0b8 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -3px 6px rgba(10, 10, 10, 0.12);
}

/* Face bombée — dôme léger */
.home-medallion__dome {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: translateZ(5px);
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 88% 62% at 50% 28%, #ffffff 0%, #fafafa 32%, #efeff1 62%, #e2e2e6 100%);
  box-shadow:
    inset 0 16px 32px rgba(255, 255, 255, 0.9),
    inset 0 -20px 36px rgba(10, 10, 10, 0.08),
    inset 0 -3px 6px rgba(10, 10, 10, 0.04),
    0 20px 48px rgba(10, 10, 10, 0.14),
    0 6px 16px rgba(10, 10, 10, 0.07);
}

.home-medallion__dome::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 100% 75% at 50% 88%,
    rgba(10, 10, 10, 0.07) 0%,
    transparent 62%
  );
  pointer-events: none;
}

.home-medallion__sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 22%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.4) 16%,
    transparent 48%
  );
  pointer-events: none;
}

.home-medallion__inner-rim {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.55),
    inset 0 -6px 14px rgba(10, 10, 10, 0.05);
  pointer-events: none;
}

.home-medallion__logo {
  position: relative;
  z-index: 1;
  width: 56%;
  height: 56%;
  object-fit: contain;
  transform: translateZ(6px) translateY(-3%);
  filter: drop-shadow(0 8px 16px rgba(10, 10, 10, 0.1));
}

/* ========== Hero ========== */
.home-hero--minimal {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 12vw, 6.5rem) clamp(1.25rem, 4vw, 2rem) 4.75rem;
}

.home-hero__inner {
  position: relative;
  width: 100%;
  max-width: 38rem;
  text-align: center;
}

.home-hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.home-hero__brandName {
  margin: 0;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--home-ink);
}

.home-hero__acronym {
  margin: 0;
  max-width: 22rem;
  text-align: center;
  font-family: var(--typo-body, "Manrope", sans-serif);
  font-size: clamp(0.62rem, 1.75vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.55;
  color: var(--home-ink-muted);
}

/* Médaillon plat (variante DA — sans dôme 3D) */
.home-medallion--flat {
  position: relative;
  perspective: 920px;
}

.home-medallion--flat::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(92, 125, 151, 0.22) 0%,
    rgba(92, 125, 151, 0.08) 42%,
    transparent 72%
  );
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.home-medallion--flat .home-medallion__drop {
  position: relative;
  z-index: 1;
}

.home-medallion--flat .home-medallion__pivot {
  transform: rotateX(var(--home-tilt-x)) rotateY(var(--home-tilt-y));
}

.home-medallion__plate {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-accent, #5c7d97);
  box-shadow:
    0 2px 8px rgba(38, 42, 48, 0.06),
    0 10px 28px rgba(92, 125, 151, 0.16);
}

.home-medallion--flat .home-medallion__logo {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 78%;
  object-fit: contain;
  /* Léger décalage optique : le G circulaire paraît mieux centré dans le disque */
  transform: translate(0.5%, 0.5%);
  filter: none;
}

.home-medallion--flat.is-entering .home-medallion__drop {
  animation: homeMedallionFall var(--home-medallion-fall-duration) var(--home-medallion-ease)
    forwards;
}

.home-medallion--flat.is-ready .home-medallion__drop {
  animation: none;
}

.home-hero__title {
  margin: 0 0 1.15rem;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--home-ink);
}

.home-hero__lede {
  margin: 0 auto 2.1rem;
  max-width: 28rem;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--home-ink-muted);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.85rem;
}

.home-hero__modes {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-ink-soft);
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.home-hero__modesDot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--home-accent-dot);
}

.home-hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--home-ink-soft);
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.1);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  animation: homeScrollBounce 2.8s ease-in-out infinite;
}

.home-hero__scroll:hover {
  color: var(--home-ink);
  border-color: var(--home-ink);
  background: #fff;
}

.home-hero__scroll.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

@keyframes homeScrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* ========== Boutons ========== */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0.62rem 1.45rem;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--home-radius-md);
  cursor: pointer;
  transition:
    transform 0.25s var(--home-ease),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.home-btn--ink {
  background: var(--home-ink);
  color: #fff;
  border: 1px solid var(--home-ink);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.14);
}

.home-btn--ink:hover {
  background: #262626;
  border-color: #262626;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.18);
}

.home-btn--outline {
  background: rgba(255, 255, 255, 0.75);
  color: var(--home-ink);
  border: 1px solid rgba(10, 10, 10, 0.12);
  backdrop-filter: blur(6px);
}

.home-btn--outline:hover {
  border-color: var(--home-ink);
  background: #fff;
  transform: translateY(-2px);
}

.home-btn--primary {
  background: var(--home-ink);
  color: #fff;
  border: 1px solid var(--home-ink);
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.12);
}

.home-btn--primary:hover {
  background: #262626;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 10, 10, 0.16);
}

.home-btn--secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--home-ink);
  border: 1px solid rgba(10, 10, 10, 0.1);
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.05);
}

.home-btn--secondary:hover {
  background: #fff;
  border-color: var(--home-ink);
  transform: translateY(-2px);
}

.home-btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none !important;
}

.home-btn--disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ========== Contenu principal (même univers visuel) ========== */
.home-main {
  position: relative;
  z-index: 1;
}

.home-accent {
  position: relative;
  z-index: 0;
  display: inline;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-weight: 600;
  font-style: italic;
  color: var(--home-ink);
  -webkit-text-fill-color: var(--home-ink);
}

.home-accent::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.08em;
  height: 0.36em;
  border-radius: 3px;
  background: linear-gradient(
    100deg,
    rgba(220, 236, 228, 0.42) 0%,
    rgba(204, 224, 214, 0.26) 100%
  );
  z-index: -1;
  transform: skewX(-4deg) rotate(-0.4deg);
}

.home-section__head {
  max-width: 38rem;
  margin: 0 auto 2.25rem;
  text-align: center;
  padding: 0 1rem;
}

.home-section__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--home-ink-soft);
}

.home-section__title {
  margin: 0 0 0.55rem;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--home-ink);
}

.home-section__subtitle {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--home-ink-muted);
}

/* ========== Icônes ========== */
.home-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--home-ink);
}

/* ========== Piliers (approche) ========== */
.home-pillars {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 3.5rem);
}

.home-pillars__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 68rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .home-pillars__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-pillar {
  position: relative;
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: var(--home-radius-md);
  background: var(--home-surface);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--home-shadow-soft);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition:
    transform 0.4s var(--home-ease),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.home-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-accent), var(--home-accent-2));
  opacity: 0.85;
}

.home-pillar--level::before {
  background: linear-gradient(90deg, var(--home-accent), rgba(92, 125, 151, 0.35));
}

.home-pillar--perso::before {
  background: linear-gradient(90deg, var(--home-accent-2), rgba(156, 139, 118, 0.4));
}

.home-pillar--tools::before {
  background: linear-gradient(90deg, rgba(92, 125, 151, 0.9), rgba(92, 125, 151, 0.35));
}

.home-pillar--auto::before {
  background: linear-gradient(90deg, var(--home-accent-2), var(--home-accent));
}

.home-pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--home-shadow-lift);
  border-color: rgba(92, 125, 151, 0.18);
}

.home-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: var(--home-tint-peach);
  color: var(--home-ink);
  border: 1px solid rgba(28, 38, 34, 0.04);
  transition: transform 0.35s var(--home-ease);
}

.home-pillar:hover .home-pillar__icon {
  transform: scale(1.08) rotate(-3deg);
}

.home-pillar:nth-child(2) .home-pillar__icon {
  background: var(--home-tint-lavender);
}

.home-pillar:nth-child(3) .home-pillar__icon {
  background: var(--home-tint-sky);
}

.home-pillar:nth-child(4) .home-pillar__icon {
  background: var(--home-green-soft);
}

.home-pillar__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.home-pillar h3 {
  margin: 0 0 0.35rem;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--home-ink);
}

.home-pillar p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--home-ink-muted);
}

/* ========== Entre les cours + plateforme (encadré unique) ========== */
.home-between {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}

.home-between__frame {
  max-width: 72rem;
  margin: 0 auto;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.07);
  box-shadow:
    var(--home-shadow-soft),
    0 0 0 1px rgba(220, 236, 228, 0.45);
}

.home-between__intro {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .home-between__intro {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }
}

.home-between__media {
  position: relative;
  min-height: clamp(170px, 26vw, 260px);
  overflow: hidden;
  background: #ececef;
}

.home-between__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-between__copy {
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
}

.home-between__title {
  margin: 0;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--home-ink);
}

.home-between__lede {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--home-ink-muted);
}

.home-between__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.home-between__platform {
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 2.5vw, 1.75rem)
    clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(92, 125, 151, 0.12);
  background: linear-gradient(
    180deg,
    rgba(246, 244, 238, 0.45) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.home-between__platformHead {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.home-between__platformTitle {
  margin: 0 0 0.45rem;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--home-ink);
}

.home-between__platformLede {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--home-ink-muted);
}

.home-between__tools {
  margin-bottom: 0;
}

/* ========== Plateforme / outils spotlight (legacy) ========== */
.home-spotlight {
  padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 4vw, 2rem);
}

.home-spotlight__card {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.07);
  box-shadow:
    var(--home-shadow-soft),
    0 0 0 1px rgba(220, 236, 228, 0.45);
}

@media (min-width: 900px) {
  .home-spotlight__card {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }
}

.home-spotlight__media {
  position: relative;
  min-height: clamp(170px, 26vw, 260px);
  overflow: hidden;
  background: #ececef;
}

.home-spotlight__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-spotlight__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.28rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  background: var(--home-ink);
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.2);
}

.home-spotlight__body {
  padding: clamp(1.25rem, 2.5vw, 1.65rem) clamp(1.2rem, 2.5vw, 1.65rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-spotlight__title {
  margin: 0;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--home-ink);
}

.home-spotlight__lede {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--home-ink-muted);
}

.home-spotlight__list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-spotlight__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--home-ink);
}

.home-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* ========== Cours particuliers ========== */
.home-cours {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}

.home-cours__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: center;
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  border-radius: var(--home-radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(10, 10, 10, 0.05);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.5s ease;
}

@media (min-width: 860px) {
  .home-cours__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.home-cours__inner.is-highlighted {
  box-shadow:
    0 0 0 2px rgba(204, 224, 214, 0.5),
    var(--home-shadow-soft);
}

.home-cours__copy .home-section__head {
  text-align: left;
  margin: 0;
  padding: 0;
}

.home-cours__copy .home-section__subtitle {
  text-align: left;
}

.home-cours__text {
  margin-bottom: 0.5rem;
}

.home-cours__list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-cours__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--home-ink-muted);
}

.home-cours__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.home-cours__alt {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--home-ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.home-cours__alt:hover {
  color: var(--home-ink);
  border-bottom-color: var(--home-ink);
}

.home-cours__media {
  border-radius: var(--home-radius-md);
  overflow: hidden;
  box-shadow: var(--home-shadow-soft);
}

.home-cours__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========== Compte (CTA inscription) ========== */
.home-account {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 3.5rem);
}

.home-account__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-account--open .home-account__inner {
  position: relative;
  padding-top: 0.5rem;
}

.home-account--open .home-account__inner::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0 auto 1.75rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--home-accent), transparent);
  opacity: 0.55;
}

.home-account__title {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--home-ink);
}

.home-account__text {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--home-ink-muted);
}

.home-account__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

/* ========== À propos ========== */
.home-about {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem);
}

.home-about__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

@media (min-width: 860px) {
  .home-about__inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
  }
}

.home-about--open .home-about__inner {
  position: relative;
}

.home-about--open .home-about__inner::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(12rem, 40%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(92, 125, 151, 0.35),
    transparent
  );
}

.home-about__media {
  border-radius: calc(var(--home-radius-md) + 2px);
  overflow: hidden;
  background: var(--da-base-sunken, #e7e4dc);
  box-shadow: var(--home-shadow-soft);
}

.home-about__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.home-about__copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.15rem 0.15rem 0.35rem;
}

.home-about__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--home-ink-muted);
}

.home-about__text--muted {
  font-size: 0.82rem;
  color: var(--home-ink-soft);
  font-style: italic;
}

/* ========== CTA finale ========== */
.home-cta {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem);
}

.home-cta__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-cta--open .home-cta__inner {
  position: relative;
  padding-top: 0.5rem;
}

.home-cta--open .home-cta__inner::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0 auto 1.75rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--home-accent-2), transparent);
  opacity: 0.55;
}

.home-cta__title {
  margin: 0 0 0.85rem;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--home-ink);
}

.home-cta__text {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--home-ink-muted);
}

.home-cta__btn {
  min-width: min(100%, 16rem);
}

.home-cta__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.home-cta__phoneBlock {
  display: none;
  text-align: center;
}

.home-cta__phoneLabel {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-ink-soft);
}

.home-cta__phone {
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--home-ink);
  text-decoration: none;
}

.home-cta__phone:hover {
  color: var(--home-accent, #5c7d97);
}

/* Desktop : bouton + numéro visible. Mobile : bouton d’appel. */
@media (hover: hover) and (pointer: fine) {
  .home-cta__phoneBlock {
    display: block;
  }
}

/* ========== Offres (legacy — conservé si réutilisé) ========== */
.home-offers {
  padding: clamp(1rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 3rem);
}

.home-offers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .home-offers__grid {
    grid-template-columns: 1.12fr 1fr;
    align-items: stretch;
  }
}

.home-offer {
  display: flex;
  flex-direction: column;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 10, 10, 0.06);
  box-shadow: var(--home-shadow-soft);
  transition:
    transform 0.4s var(--home-ease),
    box-shadow 0.4s ease;
}

.home-offer:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow-lift);
}

.home-offer--featured {
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow:
    var(--home-shadow-soft),
    0 0 0 1px rgba(220, 236, 228, 0.4);
}

.home-offer__media {
  position: relative;
  flex-shrink: 0;
  height: clamp(180px, 28vw, 240px);
  overflow: hidden;
  background: #ececef;
  isolation: isolate;
}

.home-offer__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 62%, rgba(10, 10, 10, 0.2) 100%);
  pointer-events: none;
}

.home-offer__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateZ(0);
  transition: transform 0.7s var(--home-ease);
}

.home-offer:hover .home-offer__media img {
  transform: scale(1.04) translateZ(0);
}

.home-offer__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.24rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  background: var(--home-ink);
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.2);
}

.home-offer__body {
  padding: 1.4rem 1.5rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  position: relative;
  z-index: 0;
  background: rgba(255, 255, 255, 0.96);
}

.home-offer__tag {
  align-self: flex-start;
  padding: 0.22rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--home-tint-sand);
  color: var(--home-ink);
}

.home-offer__tag--solo {
  background: var(--home-green-soft);
}

.home-offer__title {
  margin: 0;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: clamp(1.22rem, 2.5vw, 1.48rem);
  font-weight: 600;
  color: var(--home-ink);
}

.home-offer__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.58;
  color: var(--home-ink-muted);
}

.home-offer__list {
  list-style: none;
  margin: 0.2rem 0 0.45rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-offer__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--home-ink);
}

.home-offer__cta {
  margin-top: auto;
  padding-top: 0.55rem;
  width: 100%;
}

/* ========== Outils ========== */
.home-tools {
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 2.75rem);
}

.home-tools__list {
  list-style: none;
  margin: 0 auto 1.4rem;
  padding: 0;
  max-width: 68rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .home-tools__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.home-tool {
  position: relative;
  padding: 1.35rem 1.15rem 1.2rem;
  border-radius: var(--home-radius-md);
  background: var(--home-surface);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--home-shadow-soft);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition:
    transform 0.4s var(--home-ease),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.home-tool::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--home-accent);
  opacity: 0.9;
}

.home-tool--programs::before {
  background: linear-gradient(180deg, var(--home-accent-2), rgba(156, 139, 118, 0.4));
}

.home-tool--atelier::before {
  background: linear-gradient(180deg, var(--home-accent), rgba(92, 125, 151, 0.35));
}

.home-tool--suivi::before {
  background: linear-gradient(180deg, rgba(92, 125, 151, 0.95), var(--home-accent-2));
}

.home-tool:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow-lift);
  border-color: rgba(10, 10, 10, 0.06);
}

.home-tool__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--home-ink);
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: transform 0.4s var(--home-ease), box-shadow 0.35s ease;
}

.home-tool:hover .home-tool__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 18px rgba(92, 125, 151, 0.18);
}

.home-tool__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.home-tool--programs .home-tool__icon {
  background: var(--home-tint-peach);
}

.home-tool--atelier .home-tool__icon {
  background: var(--home-tint-lavender);
}

.home-tool--suivi .home-tool__icon {
  background: var(--home-tint-sky);
}

.home-tool h3 {
  margin: 0 0 0.45rem;
  font-family: var(--typo-display, "League Spartan", sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--home-ink);
}

.home-tool p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--home-ink-muted);
}

.home-tools__account {
  margin: 0 auto;
  max-width: 40rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--home-ink-muted);
  line-height: 1.55;
}

.home-tools__account a {
  color: var(--home-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.home-tools__account a:hover {
  border-bottom-color: var(--home-ink);
}

.home-tools__accountSep {
  margin: 0 0.35rem;
  opacity: 0.35;
}

/* ========== Pied ========== */
.home-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.85rem 1rem 2.5rem;
  border-top: 1px solid rgba(10, 10, 10, 0.06);
  font-size: 0.84rem;
  color: var(--home-ink-muted);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.home-foot__link {
  color: var(--home-ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.home-foot__link:hover {
  opacity: 1;
}

.home-foot__sep {
  opacity: 0.25;
}

/* ========================================================================== */
/* DA « Lin & Ardoise » — flyer + carte de visite (couleurs & médaillon bleu) */
/* ========================================================================== */

body.home-page {
  --home-tint-peach: rgba(156, 139, 118, 0.28);
  --home-tint-lavender: rgba(92, 125, 151, 0.22);
  --home-tint-sky: rgba(92, 125, 151, 0.26);
  --home-tint-sand: rgba(156, 139, 118, 0.24);
  --home-green-soft: rgba(92, 125, 151, 0.22);
  background: #e4ebf2;
}

body.home-page .home-ambient,
body.home-page .home-ambient__base {
  background:
    radial-gradient(ellipse 92% 68% at 14% 12%, rgba(92, 125, 151, 0.46) 0%, transparent 58%),
    radial-gradient(ellipse 78% 58% at 88% 84%, rgba(92, 125, 151, 0.34) 0%, transparent 54%),
    radial-gradient(ellipse 64% 52% at 46% 44%, rgba(92, 125, 151, 0.24) 0%, transparent 62%),
    radial-gradient(ellipse 48% 38% at 74% 20%, rgba(156, 139, 118, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #dce6ef 0%, #e2eaf2 42%, #e8edf3 68%, #f1efe9 100%);
}

body.home-page .home-ambient__blob {
  opacity: 0.64;
  filter: blur(72px);
}

body.home-page .home-ambient__blob--1 {
  background: radial-gradient(circle at 35% 35%,
    rgba(92, 125, 151, 0.55) 0%, rgba(92, 125, 151, 0.22) 45%, transparent 74%);
}
body.home-page .home-ambient__blob--2 {
  background: radial-gradient(circle at 55% 40%,
    rgba(92, 125, 151, 0.42) 0%, rgba(92, 125, 151, 0.18) 50%, transparent 76%);
}
body.home-page .home-ambient__blob--3 {
  background: radial-gradient(circle at 40% 55%,
    rgba(92, 125, 151, 0.48) 0%, rgba(92, 125, 151, 0.2) 52%, transparent 72%);
}
body.home-page .home-ambient__blob--4 {
  background: radial-gradient(circle at 50% 50%,
    rgba(156, 139, 118, 0.28) 0%, rgba(156, 139, 118, 0.12) 58%, transparent 78%);
}
body.home-page .home-ambient__blob--5 {
  background: radial-gradient(circle at 45% 45%,
    rgba(92, 125, 151, 0.44) 0%, rgba(92, 125, 151, 0.16) 52%, transparent 74%);
}

/* Médaillon mat — disque bleu plat (carte / flyer), sans brillance 3D */
body.home-page .home-medallion__plate {
  background: #5c7d97;
  box-shadow: 0 4px 18px rgba(38, 42, 48, 0.08);
}

body.home-page .home-medallion--flat .home-medallion__logo {
  width: 78%;
  height: 78%;
  filter: none;
  transform: translate(0.5%, 0.5%);
}

body.home-page .home-hero__acronym {
  color: var(--home-ink-muted);
  letter-spacing: 0.12em;
  text-transform: none;
  font-weight: 500;
}

body.home-page .home-hero__brandName {
  color: var(--home-accent);
}

body.home-page .home-section__kicker {
  color: var(--home-accent);
}

body.home-page .home-accent {
  color: var(--home-accent);
  -webkit-text-fill-color: var(--home-accent);
}

/* Soulignement accent */
body.home-page .home-accent::after {
  background: linear-gradient(100deg,
    rgba(92, 125, 151, 0.42) 0%, rgba(156, 139, 118, 0.32) 100%);
}

body.home-page .home-hero__modes {
  color: var(--home-accent);
  border-color: rgba(92, 125, 151, 0.22);
  background: rgba(92, 125, 151, 0.1);
}

body.home-page .home-hero__scroll {
  color: var(--home-accent);
  border-color: rgba(92, 125, 151, 0.28);
  background: rgba(255, 255, 255, 0.82);
}

body.home-page .home-hero__scroll:hover {
  color: var(--home-accent-hover);
  border-color: var(--home-accent);
  background: #fff;
}

body.home-page .home-pillar {
  border: 1px solid rgba(92, 125, 151, 0.12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 244, 238, 0.72) 100%);
  backdrop-filter: blur(10px);
}

body.home-page .home-pillar__icon {
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  color: var(--home-accent);
  background: var(--home-tint-peach);
  border: 1px solid rgba(92, 125, 151, 0.1);
  opacity: 1;
}

body.home-page .home-pillar__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

body.home-page .home-pillar:nth-child(2) .home-pillar__icon {
  color: var(--home-accent);
  background: var(--home-tint-lavender);
}

body.home-page .home-pillar:nth-child(3) .home-pillar__icon {
  color: var(--home-accent);
  background: var(--home-tint-sky);
}

body.home-page .home-pillar:nth-child(4) .home-pillar__icon {
  color: var(--home-accent-2);
  background: var(--home-tint-sand);
}

body.home-page .home-spotlight__media,
body.home-page .home-between__media {
  background: linear-gradient(135deg, rgba(92, 125, 151, 0.18) 0%, rgba(156, 139, 118, 0.12) 100%);
}

body.home-page .home-spotlight__card,
body.home-page .home-between__frame {
  border: 1px solid rgba(92, 125, 151, 0.18);
  box-shadow: var(--home-shadow-soft), 0 0 0 1px rgba(92, 125, 151, 0.12);
}

body.home-page .home-spotlight__body,
body.home-page .home-between__copy {
  background: linear-gradient(180deg, #fff 0%, rgba(246, 244, 238, 0.65) 100%);
}

body.home-page .home-spotlight__list .home-icon {
  color: var(--home-accent);
}

body.home-page .home-cours__inner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(92, 125, 151, 0.08) 100%);
  border: 1px solid rgba(92, 125, 151, 0.14);
}

body.home-page .home-cours__inner.is-highlighted {
  box-shadow: 0 0 0 2px rgba(92, 125, 151, 0.32), var(--home-shadow-soft);
}

body.home-page .home-account__inner,
body.home-page .home-account--open .home-account__inner {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.home-page .home-about__inner,
body.home-page .home-about--open .home-about__inner {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.home-page .home-about__media {
  background: linear-gradient(
    135deg,
    rgba(92, 125, 151, 0.16) 0%,
    rgba(156, 139, 118, 0.1) 100%
  );
}

body.home-page .home-tool {
  border: 1px solid rgba(92, 125, 151, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 244, 238, 0.7) 100%);
}

body.home-page .home-tool__icon {
  color: var(--home-accent);
}

body.home-page .home-tool--atelier .home-tool__icon {
  background: var(--home-tint-lavender);
}

body.home-page .home-tool--programs .home-tool__icon {
  background: var(--home-tint-peach);
}

body.home-page .home-tool--suivi .home-tool__icon {
  background: var(--home-tint-sky);
}

/* Boutons — primaire = accent bleu ardoise */
body.home-page .home-btn--ink,
body.home-page .home-btn--primary {
  background: var(--home-accent);
  color: var(--home-accent-ink);
  border: 1px solid var(--home-accent);
  box-shadow: 0 12px 26px rgba(92, 125, 151, 0.26);
}
body.home-page .home-btn--ink:hover,
body.home-page .home-btn--primary:hover {
  background: var(--home-accent-hover);
  border-color: var(--home-accent-hover);
  box-shadow: 0 16px 32px rgba(92, 125, 151, 0.32);
}

body.home-page .home-btn--outline,
body.home-page .home-btn--secondary {
  border-color: rgba(92, 125, 151, 0.28);
  color: var(--home-accent);
}

body.home-page .home-btn--outline:hover,
body.home-page .home-btn--secondary:hover {
  border-color: var(--home-accent);
  color: var(--home-accent-hover);
  background: rgba(92, 125, 151, 0.08);
}

/* Badge spotlight (legacy) */
body.home-page .home-spotlight__badge {
  background: var(--home-accent);
  box-shadow: 0 6px 16px rgba(92, 125, 151, 0.28);
}

body.home-page .home-btn--disabled {
  opacity: 0.52;
  background: var(--home-accent);
  border-color: var(--home-accent);
  color: var(--home-accent-ink);
}

body.home-page .home-cta__phone {
  color: var(--home-accent);
}

body.home-page .home-cta__phone:hover {
  color: var(--home-accent-hover);
}

/* ========== Mobile — denser, moins « mou » ========== */
@media (max-width: 720px) {
  .home-reveal {
    transform: translateY(10px);
    transition-duration: 0.4s;
  }

  .home-hero--minimal {
    min-height: auto;
    padding: 5.5rem 1.1rem 2.75rem;
  }

  .home-hero__brand {
    margin-bottom: 1.35rem;
    gap: 0.65rem;
  }

  .home-medallion,
  .home-medallion--flat {
    width: clamp(128px, 34vw, 156px);
    height: clamp(128px, 34vw, 156px);
  }

  .home-hero__title {
    margin-bottom: 0.85rem;
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .home-hero__lede {
    margin-bottom: 1.35rem;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .home-hero__actions {
    margin-bottom: 1.2rem;
    gap: 0.55rem;
  }

  .home-hero__actions .home-btn {
    width: 100%;
  }

  .home-hero__scroll {
    display: none;
  }

  .home-pillars,
  .home-cours,
  .home-spotlight,
  .home-between,
  .home-tools,
  .home-account,
  .home-about,
  .home-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-pillars {
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .home-section__head {
    margin-bottom: 1.15rem;
  }

  .home-cours__inner {
    gap: 1rem;
    padding: 1rem;
  }

  .home-spotlight__body,
  .home-between__copy {
    padding: 1.15rem 1.05rem 1.25rem;
    gap: 0.55rem;
  }

  .home-between__platform {
    padding: 1.15rem 1.05rem 1.35rem;
  }

  .home-spotlight__lede,
  .home-between__lede,
  .home-cours__text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .home-tool {
    padding: 1.1rem 0.95rem 1rem;
  }

  .home-cta__inner,
  .home-account__inner {
    padding: 0;
  }

  .home-account__actions .home-btn,
  .home-cta__call {
    width: 100%;
  }

  .home-about__inner {
    gap: 1.25rem;
    padding: 0;
  }

  .home-cta__text {
    margin-bottom: 1.15rem;
    font-size: 0.92rem;
  }

  .home-account,
  .home-about,
  .home-cta {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}

body.home-page .home-cta__inner,
body.home-page .home-cta--open .home-cta__inner {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.home-page .home-tools__account a {
  color: var(--home-accent);
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-ambient__blob,
  .home-ambient__base,
  .home-medallion__halo,
  .home-hero__scroll {
    animation: none;
  }

  .home-medallion.is-entering .home-medallion__drop,
  .home-medallion--flat.is-entering .home-medallion__drop {
    animation: none;
  }

  .home-medallion__pivot,
  .home-medallion--flat .home-medallion__pivot {
    transform: none;
  }

  .home-pillar:hover,
  .home-offer:hover,
  .home-tool:hover,
  .home-btn--ink:hover,
  .home-btn--primary:hover,
  .home-btn--secondary:hover,
  .home-tool:hover .home-tool__icon {
    transform: none;
  }

  .home-offer:hover .home-offer__media img {
    transform: none;
  }
}
