/* ==========================================================================
   SiJESKO — style.css
   Design system : bleu royal + navy profond + or/ambre + crème.
   Typo : Sora (titres/logo/chiffres) · Inter (corps).
   Aucune dépendance (pas de Bootstrap). Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0) TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --royal: #00209F;
  --navy: #00166B;
  --navy-deep: #000E44;
  --gold: #FFB749;
  --gold-soft: #FFD08A;
  --cream: #FFF4E2;
  --ink: #12172A;
  --slate: #5B647B;
  --white: #FFFFFF;

  /* Dérivés utilitaires */
  --line-dark: rgba(255, 255, 255, .14);
  --line-light: rgba(18, 23, 42, .10);
  --card-dark: rgba(255, 255, 255, .05);
  --gold-glow: rgba(255, 183, 73, .35);

  /* Dégradés */
  --grad-deep: linear-gradient(160deg, var(--royal) 0%, var(--navy) 46%, var(--navy-deep) 100%);
  --grad-card: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));

  /* Typo */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Rythme */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
  --radius: 18px;
  --radius-lg: 26px;

  /* Ombres */
  --shadow-sm: 0 6px 20px rgba(0, 14, 68, .08);
  --shadow-md: 0 20px 50px rgba(0, 14, 68, .16);
  --shadow-gold: 0 12px 34px rgba(255, 183, 73, .30);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   1) RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(15px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   2) LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(44px, 6vw, 80px);
}

/* Fonds de sections */
.bg-cream {
  background: var(--cream);
}

.bg-white {
  background: var(--white);
}

.bg-deep {
  background: var(--grad-deep);
  color: var(--white);
}

.bg-deep h2,
.bg-deep h3 {
  color: var(--white);
}

/* Eyebrow (— LABEL) inspiré du flyer */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.bg-deep .eyebrow {
  color: var(--gold);
}

.bg-deep .eyebrow::before {
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  color: var(--navy);
  max-width: 22ch;
}

.bg-deep .section-title {
  color: var(--white);
}

.section-lead {
  color: var(--slate);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 62ch;
  margin-top: 18px;
}

.bg-deep .section-lead {
  color: rgba(255, 255, 255, .78);
}

/* Accent doré sur mots-clés */
.accent {
  color: var(--gold);
}

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

/* --------------------------------------------------------------------------
   3) BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-pad-y: 14px;
  --btn-pad-x: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: var(--gold-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line-dark);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .05);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--navy:hover {
  background: var(--royal);
}

.btn--outline {
  background: transparent;
  color: var(--royal);
  box-shadow: inset 0 0 0 1.5px rgba(0, 32, 159, .25);
}

.btn--outline:hover {
  background: rgba(0, 32, 159, .05);
}

/* --------------------------------------------------------------------------
   4) WORDMARK
   -------------------------------------------------------------------------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.wordmark .si {
  color: var(--white);
}

.wordmark .jesko {
  color: var(--gold);
}

.on-light .wordmark .si {
  color: var(--royal);
}

/* --------------------------------------------------------------------------
   5) HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.site-header.is-stuck {
  background: rgba(0, 8, 42, .82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: baseline;
}

.brand .wordmark {
  font-size: 1.5rem;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  padding: 9px 14px;
  border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.nav a.is-active {
  color: #fff;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  animation: navUnderline .3s var(--ease);
}

@keyframes navUnderline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.header-cta {
  margin-left: 12px;
  gap: 7px;
  font-weight: 700;
  letter-spacing: .01em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--navy-deep);
  box-shadow: 0 8px 22px rgba(255, 183, 73, .42), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 183, 73, .55), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.header-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease);
}

.header-cta:hover svg {
  transform: translateX(3px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: rotate(-45deg) translateY(-2px);
}

/* --------------------------------------------------------------------------
   6) HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
  background: var(--grad-deep);
  color: var(--white);
  padding-block: clamp(116px, 13vw, 156px) clamp(72px, 10vw, 120px);
}

/* halo doré discret */
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 62%);
  filter: blur(30px);
  opacity: .5;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1.05fr .95fr;
  }
}

.hero-signature {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.2rem);
  font-weight: 800;
}

.hero h1 .accent {
  display: block;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, .82);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
}

.badge svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   6b) SIGNATURE — Constellation « école connectée »
   -------------------------------------------------------------------------- */
.constellation {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / .92;
}

.constellation svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cst-link {
  stroke: rgba(255, 255, 255, .22);
  stroke-width: 1.4;
  fill: none;
}

.cst-link--dotted {
  stroke-dasharray: 1 8;
  stroke-linecap: round;
  stroke: rgba(255, 255, 255, .35);
}

.cst-node circle.ring {
  fill: rgba(255, 255, 255, .03);
  stroke: rgba(255, 255, 255, .3);
  stroke-width: 1.4;
}

.cst-node.is-gold circle.ring {
  fill: var(--gold);
  stroke: var(--gold);
}

.cst-node svg.ico {
  color: rgba(255, 255, 255, .85);
}

.cst-node.is-gold svg.ico {
  color: var(--navy-deep);
}

/* flottement doux des nœuds */
.cst-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: float 7s ease-in-out infinite;
}

.cst-node:nth-child(3n) {
  animation-duration: 9s;
}

.cst-node:nth-child(3n+1) {
  animation-duration: 8s;
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* impulsion de données le long d'un lien */
.cst-pulse {
  fill: var(--gold);
  opacity: 0;
}

.cst-pulse.p1 {
  animation: pulse1 5s linear infinite;
}

.cst-pulse.p2 {
  animation: pulse2 6.5s linear infinite 1.4s;
}

@keyframes pulse1 {
  0% {
    transform: translate(260px, 230px);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    transform: translate(440px, 250px);
    opacity: 0;
  }
}

@keyframes pulse2 {
  0% {
    transform: translate(110px, 90px);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    transform: translate(270px, 60px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cst-node,
  .cst-pulse {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   7) BANDEAU CONFIANCE (clients)
   -------------------------------------------------------------------------- */
.trust {
  border-top: 1px solid var(--line-dark);
  background: var(--navy-deep);
}

.trust .wrap {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
  padding-block: 30px;
}

.trust-label {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  opacity: .95;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.trust-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28);
}

.trust-logo img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.trust-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   8) MODULES
   -------------------------------------------------------------------------- */
.modules-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.module-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--grad-card);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), var(--shadow-md);
}

.module-card .code {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .32);
}

.module-card h3 {
  font-size: 1.18rem;
  margin: 18px 0 8px;
  color: #fff;
}

.module-card p {
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
}

/* Pastille d'icône à accent or */
.pastille {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(255, 183, 73, .22), rgba(255, 183, 73, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 183, 73, .35);
}

.pastille svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

/* variante fond clair */
.pastille--light {
  background: linear-gradient(150deg, rgba(0, 32, 159, .10), rgba(0, 32, 159, .03));
  box-shadow: inset 0 0 0 1px rgba(0, 32, 159, .16);
}

.pastille--light svg {
  color: var(--royal);
}

/* --------------------------------------------------------------------------
   9) POURQUOI — récit + piliers
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.why-story p {
  color: var(--slate);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.why-story strong {
  color: var(--ink);
  font-weight: 600;
}

.why-story .accent-royal {
  font-weight: 600;
}

.piliers {
  display: grid;
  gap: 16px;
}

.pilier {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}

.pilier h3 {
  color: var(--royal);
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.pilier p {
  color: var(--slate);
  font-size: .97rem;
}

/* --------------------------------------------------------------------------
   10) DÉFIS
   -------------------------------------------------------------------------- */
.defis-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .defis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .defis-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.defi {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--grad-card);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.defi:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), var(--shadow-md);
}

.defi .pastille {
  flex: 0 0 auto;
}

.defi h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.defi p {
  color: rgba(255, 255, 255, .75);
  font-size: .94rem;
}

/* --------------------------------------------------------------------------
   11) CHIFFRES
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

@media (min-width: 620px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 34px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  color: var(--royal);
  letter-spacing: -.03em;
  line-height: 1;
}

.stat .num .accent {
  color: var(--gold);
}

.stat .lbl {
  margin-top: 10px;
  color: var(--slate);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12) TARIFS
   -------------------------------------------------------------------------- */
#tarifs .wrap {
  max-width: 1320px;
}

.plans-grid {
  display: grid;
  gap: 22px;
  margin-top: 48px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 640px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .plans-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.plan.is-featured {
  background: var(--grad-deep);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.plan.is-featured .plan-name,
.plan.is-featured .plan-price .htg {
  color: #fff;
}

.plan.is-featured .plan-accroche,
.plan.is-featured .plan-unit {
  color: rgba(255, 255, 255, .72);
}

.plan.is-featured .plan-features li {
  color: rgba(255, 255, 255, .9);
}

.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}

.plan-accroche {
  color: var(--slate);
  font-size: .92rem;
  margin-top: 6px;
  min-height: 2.6em;
}

.plan-price {
  margin: 20px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price .htg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--royal);
  letter-spacing: -.03em;
}

.plan.is-featured .plan-price .htg {
  color: var(--gold);
}

.plan-unit {
  font-size: .85rem;
  color: var(--slate);
  font-weight: 500;
}

.plan-divider {
  height: 1px;
  background: currentColor;
  opacity: .12;
  margin: 20px 0;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--ink);
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--gold);
  margin-top: 2px;
}

.plan-features a,
.plan-features .lienMD {
  color: var(--royal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plan.is-featured .plan-features a,
.plan.is-featured .plan-features .lienMD {
  color: var(--gold);
}

.plan-details-btn {
  align-self: flex-start;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .84rem;
  color: var(--royal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1.5px dashed rgba(0, 32, 159, .35);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.plan-details-btn:hover {
  color: var(--navy-deep);
  border-color: var(--royal);
}

.plan.is-featured .plan-details-btn {
  color: var(--gold);
  border-bottom-color: rgba(255, 183, 73, .55);
}

.plan.is-featured .plan-details-btn:hover {
  color: #fff;
  border-color: var(--gold);
}

.plan .btn {
  margin-top: auto;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   13) TÉMOIGNAGES (carrousel)
   -------------------------------------------------------------------------- */
.carousel {
  position: relative;
  margin-top: 44px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform .55s var(--ease);
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 6px;
}

@media (min-width: 820px) {
  .carousel-slide {
    flex-basis: 50%;
  }
}

.temoignage {
  height: 100%;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--grad-card);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.temoignage .temoignage-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
}

.temoignage .temoignage-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  stroke: none;
}

.temoignage p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.02rem;
  font-style: italic;
}

.temoignage .person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.temoignage .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--royal) linear-gradient(160deg, var(--royal), var(--navy));
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--gold-glow);
}

.temoignage .who strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
}

.temoignage .who span {
  color: rgba(255, 255, 255, .6);
  font-size: .88rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 0 0 1.5px rgba(255, 183, 73, .55);
  color: var(--gold);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: inset 0 0 0 1.5px var(--gold), var(--shadow-gold);
  transform: translateY(-2px);
}

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

.carousel-dots {
  display: flex;
  gap: 9px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  transition: background .2s, width .2s;
}

.carousel-dots button.is-active {
  background: var(--gold);
  width: 26px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   14) FAQ (accordéon)
   -------------------------------------------------------------------------- */
.faq-list {
  margin: 44px auto 0;
  max-width: 860px;
}

#faq .eyebrow,
#faq .section-title {
  text-align: center;
}

#faq .section-title {
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line-light);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--navy);
  transition: color .2s var(--ease);
}

.faq-q:hover {
  color: var(--royal);
}

.faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 32, 159, .08);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--royal);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.is-open .faq-icon {
  background: var(--gold);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: var(--navy-deep);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(90deg);
}

.faq-a {
  overflow: hidden;
  height: 0;
  transition: height .35s var(--ease);
}

.faq-a-inner {
  padding: 0 44px 26px 4px;
  color: var(--slate);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   15) CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  text-align: center;
}

.cta-final .wrap {
  position: relative;
  z-index: 2;
}

.cta-final h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.cta-final p {
  color: rgba(255, 255, 255, .8);
  max-width: 50ch;
  margin: 18px auto 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   16) CONTACT
   -------------------------------------------------------------------------- */
.contact-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}

.contact-head .section-title {
  margin-inline: auto;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg, 0 30px 70px rgba(0, 14, 68, .18));
  border: 1px solid var(--line-light);
}

@media (min-width: 920px) {
  .contact-card {
    grid-template-columns: .82fr 1.18fr;
  }
}

/* Panneau coordonnées (sombre) */
.contact-aside {
  position: relative;
  overflow: hidden;
  background: var(--grad-deep);
  color: #fff;
  padding: clamp(30px, 4vw, 46px);
}

.contact-aside::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
  opacity: .5;
  pointer-events: none;
}

.contact-aside-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: #fff;
  position: relative;
  z-index: 1;
}

.contact-aside-text {
  margin-top: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.contact-methods {
  margin-top: 28px;
  display: grid;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-method .pastille {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: rgba(255, 183, 73, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 183, 73, .4);
}

.contact-method .pastille svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.contact-method .lbl {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 3px;
}

.contact-method .val {
  color: #fff;
  font-weight: 500;
  font-size: .96rem;
  line-height: 1.45;
  word-break: break-word;
}

.contact-method .val a {
  color: #fff;
}

.contact-method .val a:hover {
  color: var(--gold);
}

/* Bouton WhatsApp */
.contact-wa {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 140, 126, .34);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.contact-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 140, 126, .46);
}

.contact-wa .wa-ico {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .2);
}

.contact-wa .wa-ico svg {
  width: 21px;
  height: 21px;
  color: #fff;
}

.contact-wa .wa-txt strong {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem;
}

.contact-wa .wa-txt span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .85);
}

.contact-wa .wa-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  transition: transform .25s var(--ease);
}

.contact-wa .wa-arrow svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.contact-wa:hover .wa-arrow {
  transform: translateX(4px);
}

/* Colonne formulaire */
.contact-form-col {
  padding: clamp(28px, 4vw, 48px);
}

.form-row {
  display: grid;
  gap: 0 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 12px;
  background: #fbfbfd;
  border: 1.5px solid var(--line-light);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 32, 159, .10);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #d64545;
  background: #fff7f7;
}

.field-error {
  display: none;
  color: #d64545;
  font-size: .82rem;
  margin-top: 7px;
  font-weight: 500;
}

.field.has-error .field-error {
  display: block;
}

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-submit[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   17) FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(48px, 7vw, 80px) 30px;
}

.footer-top {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .wordmark {
  font-size: 1.7rem;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: .95rem;
}

.footer-sign {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: .82rem;
  color: var(--gold-soft);
  font-style: italic;
}

.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: .95rem;
  transition: color .2s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.socials a:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .86rem;
}

/* --------------------------------------------------------------------------
   18) SCROLL REVEAL (remplace AOS)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] {
  transition-delay: .08s;
}

[data-reveal][data-delay="2"] {
  transition-delay: .16s;
}

[data-reveal][data-delay="3"] {
  transition-delay: .24s;
}

[data-reveal][data-delay="4"] {
  transition-delay: .32s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   19) MENU MOBILE
   -------------------------------------------------------------------------- */
/* Fond flouté (menu mobile) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(3, 8, 30, .5);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

/* Menu mobile externe — masqué sur desktop */
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

  /* barre desktop masquée */
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: auto;
    max-height: 84vh;
    background: linear-gradient(180deg, #0a1a52 0%, var(--navy-deep) 100%);
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, .5);
    border-top: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .42s cubic-bezier(.4, .9, .3, 1), visibility .42s;
    z-index: 120;
    overflow: hidden;
    padding: 12px 0 max(20px, env(safe-area-inset-bottom));
  }

  body.nav-open .mobile-menu {
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-menu-grabber {
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .28);
    margin: 0 auto 6px;
    flex: 0 0 auto;
  }

  .mm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    flex: 0 0 auto;
  }

  .mm-head .wordmark {
    font-size: 1.4rem;
  }

  .mm-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transition: background .2s var(--ease);
  }

  .mm-close:hover {
    background: rgba(255, 255, 255, .16);
  }

  .mm-close svg {
    width: 20px;
    height: 20px;
  }

  .mm-links {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 2px;
    overflow-y: auto;
    flex: 1 1 auto;
  }

  .mm-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 12px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .92);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.06rem;
    transition: background .2s var(--ease);
  }

  .mm-links a:hover,
  .mm-links a:active {
    background: rgba(255, 255, 255, .06);
  }
  
  .mm-links a.is-active { background: rgba(255,183,73,.12); }
  .mm-links a.is-active .mm-ico { background: var(--gold); box-shadow: none; }
  .mm-links a.is-active .mm-ico svg { color: var(--navy-deep); }
  .mm-links a.is-active .mm-label { color: #fff; }
  .mm-links a.is-active .mm-arrow { opacity: 1; }
  .mm-links a.is-active .mm-arrow svg { color: var(--gold); }

  .mm-ico {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 183, 73, .14);
    box-shadow: inset 0 0 0 1px rgba(255, 183, 73, .28);
  }

  .mm-ico svg {
    width: 21px;
    height: 21px;
    color: var(--gold);
  }

  .mm-label {
    flex: 1 1 auto;
  }

  .mm-arrow {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    opacity: .5;
  }

  .mm-arrow svg {
    width: 18px;
    height: 18px;
    color: #fff;
  }

  .mm-foot {
    padding: 14px 16px 4px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    flex: 0 0 auto;
  }

  .mobile-menu-cta {
    width: 100%;
    justify-content: center;
    color: var(--navy-deep);
  }

  .mobile-menu-cta svg {
    width: 16px;
    height: 16px;
  }

  .mm-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
  }

  .mm-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .07);
    transition: background .2s var(--ease), color .2s var(--ease);
  }

  .mm-socials a:hover {
    background: var(--gold);
    color: var(--navy-deep);
  }

  .mm-socials a svg {
    width: 19px;
    height: 19px;
  }
}

/* --------------------------------------------------------------------------
   20) UTILITAIRES
   -------------------------------------------------------------------------- */
.stack-lg>*+* {
  margin-top: clamp(28px, 4vw, 44px);
}

.center {
  text-align: center;
  margin-inline: auto;
}

.mt-0 {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   POURQUOI — mise en page magazine (redesign)
   ========================================================================== */
.pourquoi-head {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.pourquoi-heading {
  margin-inline: auto;
}

.pourquoi-lead {
  margin: 20px auto 0;
  max-width: 62ch;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

/* Récit : blocs numérotés côte à côte */
.pourquoi-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-top: clamp(36px, 5vw, 52px);
}

@media (min-width: 760px) {
  .pourquoi-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.pourquoi-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  overflow: hidden;
}

.pourquoi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--royal), var(--gold));
}

.pourquoi-ico {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(0, 32, 159, .10), rgba(0, 32, 159, .03));
  box-shadow: inset 0 0 0 1px rgba(0, 32, 159, .16);
}

.pourquoi-ico svg {
  width: 26px;
  height: 26px;
  color: var(--royal);
}

.pourquoi-card p {
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.62;
}

/* Constat : bandeau sombre à fort impact */
.constat-band {
  margin: clamp(28px, 4vw, 44px) 0;
  position: relative;
  overflow: hidden;
  background: var(--grad-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 52px);
  display: flex;
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
  box-shadow: var(--shadow-md);
}

.constat-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
  opacity: .5;
  pointer-events: none;
}

.constat-mark {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 183, 73, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 183, 73, .45);
}

.constat-mark svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.constat-band p {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.32;
}

/* Transition */
.pourquoi-transition {
  max-width: 68ch;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.6vw, 1.16rem);
  line-height: 1.6;
  font-weight: 500;
}

/* Bénéfices : 3 cartes en ligne */
.benefices-block {
  margin-top: clamp(40px, 6vw, 64px);
}

.benefices-intro {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--navy);
  margin-bottom: 30px;
}

.benefices {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .benefices {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefice {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.benefice:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefice .pastille {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  background: linear-gradient(150deg, rgba(0, 32, 159, .10), rgba(0, 32, 159, .03));
  box-shadow: inset 0 0 0 1px rgba(0, 32, 159, .16);
}

.benefice .pastille svg {
  width: 26px;
  height: 26px;
  color: var(--royal);
}

.benefice p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.55;
}

/* Conclusion (callout doré) */
.pourquoi-conclusion {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255, 183, 73, .16), rgba(255, 183, 73, .05));
  border: 1px solid rgba(255, 183, 73, .4);
}

.pourquoi-conclusion .pastille {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  background: var(--gold);
  box-shadow: var(--shadow-gold);
}

.pourquoi-conclusion .pastille svg {
  width: 28px;
  height: 28px;
  color: var(--navy-deep);
}

.pourquoi-conclusion p {
  flex: 1 1 320px;
  color: var(--navy);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  font-weight: 500;
  line-height: 1.5;
}

.pourquoi-conclusion .btn {
  flex: 0 0 auto;
}

/* ==========================================================================
   QUI EST DERRIÈRE — Moukayiti
   ========================================================================== */
.moukayiti-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 20px;
}

@media (min-width: 900px) {
  .moukayiti-grid {
    grid-template-columns: .92fr 1.08fr;
  }
}

.mk-visual {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}

.mk-logo-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--royal);
  box-shadow: var(--shadow-md);
}

.mk-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-signature {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 38%;
  max-width: 165px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  transform: rotate(-6deg);
  background: var(--navy);
  box-shadow: var(--shadow-lg, 0 18px 40px rgba(0, 14, 68, .28));
  border: 5px solid var(--cream);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}

.mk-visual:hover .mk-signature,
.mk-signature:hover {
  transform: rotate(0deg) scale(1.08);
  box-shadow: 0 24px 54px rgba(0, 14, 68, .34);
}

.mk-signature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-info .mk-heading {
  max-width: 22ch;
}

.mk-heading .accent-royal {
  color: var(--royal);
}

.mk-block {
  margin-top: 26px;
}

.mk-block h3,
.mk-social h3 {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
  position: relative;
  padding-left: 34px;
}

.mk-block h3::before,
.mk-social h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.mk-block p {
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 60ch;
}

.mk-social {
  margin-top: 28px;
}

.mk-socials {
  display: flex;
  gap: 12px;
}

.mk-socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 183, 73, .12);
  box-shadow: inset 0 0 0 1.5px rgba(255, 183, 73, .5);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.mk-socials a svg {
  width: 20px;
  height: 20px;
}

.mk-socials a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
}

/* ==========================================================================
   MODALES MAISON (détail des offres + alertes formulaire)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 8, 30, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
  background: var(--white);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 42px);
  box-shadow: 0 40px 90px rgba(0, 14, 68, .32);
  transform: translateY(18px) scale(.98);
  transition: transform .3s var(--ease);
}

.modal-overlay.is-open .modal {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--slate);
  background: #f2f3f7;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.modal-close:hover {
  color: var(--royal);
  background: #e8eaf2;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 4px auto 16px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-icon--success {
  background: #eafaf1;
  color: #1c9c5a;
}

.modal-icon--error {
  background: #fdecec;
  color: #d64545;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--navy);
}

.modal-body {
  margin-top: 12px;
  color: var(--slate);
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* Détail d'une offre */
.modal-plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--royal);
  text-align: center;
  margin: 2px 0 20px;
}

.modal-plan-price span {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: .04em;
}

.modal-plan-list {
  list-style: none;
  display: grid;
  gap: 16px;
  text-align: left;
  padding: 0;
  margin: 0;
}

.modal-plan-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.modal-plan-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 183, 73, .16);
}

.modal-plan-ico svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.modal-plan-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: .98rem;
  margin-bottom: 3px;
}

.modal-plan-list p {
  color: var(--slate);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
}

.modal-plan-list a {
  color: var(--royal);
  font-weight: 600;
}