/* KORA — landing page
   Palette reprise du logo (rouge #BE1E2D, cartes blanches) et de la table de jeu de l'app (vert feutre). */

:root {
  --red: #be1e2d;
  --red-bright: #e8151c;
  --red-deep: #8f1420;
  --felt: #1c8a44;
  --felt-deep: #0f5c2a;
  --gold: #f5c518;
  --ink: #161616;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --paper: #ffffff;
  --cream: #f6f2ec;
  --card: #f4f5f4;
  --line: rgba(22, 22, 22, 0.08);

  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 18px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.08), 0 10px 30px -12px rgba(0, 0, 0, 0.25);
  --shadow-float: 0 30px 60px -20px rgba(0, 0, 0, 0.55);

  /* Motif de familles du logo, en ton sur ton. */
  --suits: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='%23000' fill-opacity='.11'%3E%3Cpath transform='translate(10 10) scale(1)' d='M12 21.3l-1.4-1.3C5.4 15.4 2 12.3 2 8.5 2 5.4 4.4 3 7.5 3c1.7 0 3.4.8 4.5 2.1C13.1 3.8 14.8 3 16.5 3 19.6 3 22 5.4 22 8.5c0 3.8-3.4 6.9-8.6 11.5z'/%3E%3Cpath transform='translate(54 10)' d='M12 2 20 12 12 22 4 12z'/%3E%3Cpath transform='translate(10 54)' d='M12 2C9 6.5 3 9.5 3 14c0 2.5 2 4.5 4.5 4.5 1.5 0 2.8-.7 3.6-1.8-.3 2.2-1.2 3.9-2.6 5.3h7c-1.4-1.4-2.3-3.1-2.6-5.3.8 1.1 2.1 1.8 3.6 1.8 2.5 0 4.5-2 4.5-4.5C21 9.5 15 6.5 12 2z'/%3E%3Cg transform='translate(54 54)'%3E%3Ccircle cx='12' cy='7' r='4.6'/%3E%3Ccircle cx='6.6' cy='14' r='4.6'/%3E%3Ccircle cx='17.4' cy='14' r='4.6'/%3E%3Cpath d='M10.8 12h2.4l1.8 10H9z'/%3E%3C/g%3E%3C/g%3E%3Cpath d='M0 44 44 0 88 44 44 88z' fill='none' stroke='%23000' stroke-opacity='.06'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.08;
}

h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

.container {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, 100% - 32px);
}

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

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn--large {
  padding: 16px 28px;
  font-size: 1.02rem;
}

.btn--small {
  padding: 8px 18px;
  font-size: 0.92rem;
}

.btn--light {
  background: var(--paper);
  color: var(--red);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}

.btn--light:hover {
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn__icon {
  width: 22px;
  height: 22px;
}

/* ---------- Marque (lettres en cartes, comme le logo) ---------- */

.brand {
  display: inline-flex;
  gap: 3px;
  text-decoration: none;
  padding: 4px 2px;
}

.brand__card {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 40px;
  background: var(--card);
  color: var(--ink);
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.brand__card:nth-child(1) { transform: rotate(-9deg) translateY(2px); }
.brand__card:nth-child(2) { transform: rotate(-3deg); }
.brand__card:nth-child(3) { transform: rotate(3deg); }
.brand__card:nth-child(4) { transform: rotate(9deg) translateY(2px); }

.brand:hover .brand__card:nth-child(1) { transform: rotate(-14deg) translate(-3px, 3px); }
.brand:hover .brand__card:nth-child(4) { transform: rotate(14deg) translate(3px, 3px); }

.brand__card--red {
  color: var(--red-bright);
}

.brand--small .brand__card {
  width: 24px;
  height: 32px;
  font-size: 1.05rem;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
}

.nav.is-scrolled {
  background: rgba(143, 20, 32, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.5);
  padding: 8px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__links a:not(.btn) {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.88;
  position: relative;
}

.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__links a:not(.btn):hover {
  opacity: 1;
}

.nav__links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Fonds ---------- */

.suits-bg {
  background-color: var(--red);
  background-image: var(--suits), radial-gradient(120% 90% at 20% 0%, #d4283a 0%, var(--red) 45%, var(--red-deep) 100%);
  background-size: 88px 88px, cover;
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.82);
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero__title em {
  font-style: italic;
  color: #fff;
  background: linear-gradient(var(--gold), var(--gold)) left 0 bottom 0.02em / 100% 0.09em no-repeat;
  padding-bottom: 0.04em;
}

.hero__lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: 100%;
  /* Proportions exactes des captures de l'app (390 × 844) : rien n'est rogné (main du joueur, onglets). */
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  padding: 10px;
  background: #141414;
  box-shadow: var(--shadow-float), inset 0 0 0 2px #2b2b2b;
}

/* Caméra dans le contour plutôt qu'une encoche : les maquettes n'ont pas de barre d'état, une
   encoche masquerait le haut de l'écran (timer, bouton Abandon). */
.phone::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  background: #2e2e2e;
  border-radius: 50%;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 29px;
}

.phone--hero {
  width: min(280px, 70%);
  z-index: 2;
  transform: rotate(4deg);
}

.float-card {
  position: absolute;
  width: 132px;
  border-radius: 12px;
  box-shadow: var(--shadow-float);
  background: #fff;
  animation: drift 7s ease-in-out infinite;
}

.float-card--a {
  top: 6%;
  left: 2%;
  --r: -16deg;
  transform: rotate(var(--r));
  z-index: 1;
}

.float-card--b {
  bottom: 2%;
  left: -2%;
  --r: 12deg;
  transform: rotate(var(--r));
  z-index: 3;
  animation-delay: -2.5s;
}

.float-card--c {
  top: 14%;
  right: 0;
  --r: 18deg;
  transform: rotate(var(--r));
  z-index: 1;
  animation-delay: -4.5s;
}

@keyframes drift {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(calc(var(--r) * 0.8)) translateY(-14px); }
}

.chip {
  position: absolute;
  z-index: 4;
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.55);
}

.chip--kora {
  right: 4%;
  bottom: 14%;
  transform: rotate(-6deg);
}

.chip strong {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  margin-left: 4px;
}

.hero__fade {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

/* ---------- Chiffres ---------- */

.stats {
  background: var(--ink);
  color: #fff;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 30px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--gold);
}

.stat__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 11vw, 130px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--cream {
  background: var(--cream);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 70px);
}

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

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.005em;
}

.section__lead {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
}

.section__head--light .section__title {
  color: #fff;
}

.section__head--light .section__lead {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Règles ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 24px 40px -18px rgba(0, 0, 0, 0.3);
}

.step__index {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  margin-bottom: 18px;
}

.step__index b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.2rem;
  color: var(--ink);
}

.suit {
  font-style: normal;
  font-size: 1.3rem;
  color: var(--ink);
  margin-top: 2px;
}

.suit--red,
.step__index:has(.suit--red) b {
  color: var(--red-bright);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Combos (tapis vert) ---------- */

.section--felt {
  background-color: var(--felt-deep);
  background-image: var(--suits), radial-gradient(110% 80% at 50% 0%, #22a052 0%, var(--felt) 40%, var(--felt-deep) 100%);
  background-size: 88px 88px, cover;
  color: #fff;
}

.combos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.combo {
  grid-column: span 2;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 28px 26px;
  backdrop-filter: blur(2px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.combo:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.combo--featured {
  grid-column: span 3;
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  padding: 34px 32px 34px 210px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.combo--featured:hover {
  background: var(--paper);
}

.combo h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  margin: 12px 0 8px;
}

.combo p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.combo--featured p {
  color: var(--muted);
}

.combo__badge {
  align-self: flex-start;
  display: inline-block;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
}

.combo__badge--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid rgba(245, 197, 24, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.combo__cards {
  position: absolute;
  left: 28px;
  top: 50%;
  width: 160px;
  height: 170px;
  transform: translateY(-50%);
}

.combo__cards img {
  position: absolute;
  width: 104px;
  border-radius: 10px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease;
}

.combo__cards img:first-child {
  left: 0;
  top: 8px;
  transform: rotate(-12deg);
}

.combo__cards img:last-child {
  left: 48px;
  top: 0;
  transform: rotate(8deg);
}

.combo--featured:hover .combo__cards img:first-child { transform: rotate(-18deg) translateX(-6px); }
.combo--featured:hover .combo__cards img:last-child { transform: rotate(14deg) translateX(6px); }

/* ---------- Modes ---------- */

.modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mode {
  border-radius: 24px;
  padding: clamp(30px, 4vw, 46px);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.mode:hover {
  transform: translateY(-4px);
}

.mode--accent {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.mode__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--red);
  margin-bottom: 26px;
}

.mode__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mode--accent .mode__icon {
  background: var(--gold);
}

.mode--accent .mode__icon svg {
  stroke: var(--ink);
}

.mode__tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.mode--accent .mode__tag {
  color: var(--gold);
}

.mode h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.mode p:last-child {
  color: var(--muted);
}

.mode--accent p:last-child {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Mobile Money ---------- */

.money__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.money__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 26px;
}

.money__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.money__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1.1;
  min-width: 2ch;
}

.money__list h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.money__list p {
  color: rgba(255, 255, 255, 0.82);
}

.operators {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.operator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}

.operator::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.operator--airtel::before {
  background: #e40000;
}

.operator--moov::before {
  background: #0066b3;
}

.money__visual {
  display: grid;
  place-items: center;
}

.money__visual .phone {
  width: min(290px, 80%);
  transform: rotate(-4deg);
}

/* ---------- Galerie ---------- */

.gallery {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  padding: 44px 16px 30px; /* marge haute : la capture du milieu est décalée vers le haut */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 280px);
  scroll-snap-align: center;
  text-align: center;
}

.gallery__item:nth-child(2) {
  transform: translateY(-24px);
}

.gallery__item figcaption {
  margin-top: 20px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0 24px;
  transition: box-shadow 0.25s ease;
}

.faq details[open] {
  box-shadow: var(--shadow-card);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-weight: 700;
  font-size: 1.04rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
}

/* ---------- CTA final ---------- */

.cta {
  padding: clamp(80px, 10vw, 120px) 0;
  text-align: center;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta__logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: var(--shadow-float);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

/* ---------- Pied de page ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 30px;
  font-size: 0.95rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__publisher {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.88rem;
}

.footer__publisher a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer__publisher a:hover {
  text-decoration: underline;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer__links a {
  text-decoration: none;
  font-weight: 600;
}

.footer__links a:hover {
  color: #fff;
}

.footer__legal {
  padding-top: 24px;
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal strong {
  display: inline-block;
  padding: 0 8px;
  margin-right: 6px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
}

/* ---------- Apparition au défilement ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .gallery__item.reveal.is-visible:nth-child(2) {
  transform: translateY(-24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .float-card {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .combo--featured {
    grid-column: span 6;
  }
  .combo {
    grid-column: span 3;
  }
  .combo:last-child {
    grid-column: span 6;
  }
}

@media (max-width: 880px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(143, 20, 32, 0.97);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__links a:not(.btn) {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nav__links a:not(.btn)::after {
    display: none;
  }

  .nav__links a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav__links .btn {
    margin-top: 6px;
  }

  .hero {
    padding: 110px 0 80px;
  }

  .hero__inner,
  .money__inner {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__ctas,
  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    min-height: 580px;
  }

  .phone--hero {
    width: min(250px, 62%);
  }

  .float-card {
    width: 100px;
  }

  .modes {
    grid-template-columns: 1fr;
  }

  .money__visual {
    order: -1;
  }

  .money__visual .phone {
    width: min(240px, 66%);
  }

  .gallery {
    justify-content: flex-start;
  }

  .gallery__item:nth-child(2),
  .js .gallery__item.reveal.is-visible:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .combo,
  .combo:last-child {
    grid-column: span 6;
  }

  .combo--featured {
    padding: 190px 24px 28px;
    min-height: 0;
  }

  .combo__cards {
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    width: 150px;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: 520px;
  }

  .float-card {
    width: 84px;
  }

  .chip {
    font-size: 1.15rem;
    padding: 8px 16px;
  }

  .faq details {
    padding: 0 18px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
