/* ==========================================================================
   KIVORA · sections.css
   Styles propres à chaque section, dans l'ordre de la page.
   ========================================================================== */

/* ---------- Structure commune des sections ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--alt { background: var(--bg-alt); }
.section--yellow { background: var(--yellow); }

.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head__text { color: var(--ink-soft); font-size: 1.0625rem; max-width: 600px; }
.section-head--left { justify-items: start; text-align: left; margin-inline: 0; }

.section-cta { display: flex; justify-content: center; margin-top: 40px; }
.section-cta .btn { width: 100%; max-width: 380px; }

@media (min-width: 768px) {
  .section-head { margin-bottom: 56px; gap: 16px; }
  .section-cta { margin-top: 56px; }
}

/* ---------- Barre du haut ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); text-decoration: none; }
.brand__logo { width: 34px; height: 34px; }
.brand__name { font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.03em; }

@media (min-width: 900px) {
  .site-header {
    position: sticky; top: 0;
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
  .site-header.is-scrolled { border-bottom-color: var(--line); }
}

/* ---------- 1. Haut de page ---------- */
.hero {
  position: relative;
  padding: 8px 0 56px;
  background:
    radial-gradient(60% 40% at 85% 30%, rgba(110, 155, 248, .22), transparent 70%),
    radial-gradient(50% 35% at 0% 0%, rgba(238, 243, 255, 1), transparent 70%),
    var(--white);
  overflow: hidden;
}

/* Ordre mobile : bandeau, titre, sous-titre, vidéo, phrase, boutons, réassurance */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "badge"
    "title"
    "subtitle"
    "media"
    "count"
    "ctas"
    "reassurance";
  justify-items: center;
  text-align: center;
  row-gap: 18px;
}
.hero__badge { grid-area: badge; }
.hero__title { grid-area: title; max-width: 15ch; }
.hero__subtitle { grid-area: subtitle; max-width: 34ch; color: var(--ink-soft); font-size: 1.0625rem; }
.hero__subtitle strong { color: var(--ink); }
.hero__media { grid-area: media; width: 100%; padding-block: 6px 4px; }
.hero__count { grid-area: count; }
.hero__ctas { grid-area: ctas; }
.hero__reassurance { grid-area: reassurance; }

.hl {
  background: linear-gradient(180deg, #4C82F7 0%, #1D3BD1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--blue);
  -webkit-text-fill-color: transparent;
}

/* Bandeau « Recrutement en Pologne · Réserver » */
.ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(35, 83, 230, .08);
  font-size: var(--fs-small);
  font-weight: 700;
}
.ribbon__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(35, 83, 230, .15);
}
.ribbon__sep { color: var(--ink-soft); }
.ribbon__action {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--orange-gradient);
  color: var(--ink);
  font-weight: 800;
  font-size: var(--fs-small);
  position: relative;
}
/* zone cliquable étendue à 44 px */
.ribbon__action::after { content: ""; position: absolute; inset: -4px -2px; }

/* ---------- Effet d'ouverture (une seule fois) ----------
   La classe "intro" est posée dans le <head> (sauf mouvements réduits).
   Sans JavaScript ou avec mouvements réduits : tout est affiché à l'état final. */
.hero__title { position: relative; }

/* 1. Mots du titre qui montent un par un */
.intro .hero__title { visibility: hidden; }
.intro.intro-ready .hero__title { visibility: visible; }
.hero__title .word { display: inline-block; }
.intro .hero__title .word {
  opacity: 0;
  transform: translateY(.35em);
  transition: opacity .45s ease, transform .55s var(--ease);
}
.intro.intro-play .hero__title .word { opacity: 1; transform: none; }
/* Sécurité : si le script ne se lance pas, le titre s'affiche quand même */
.intro:not(.intro-ready) .hero__title { animation: intro-fallback 0s linear 2.5s forwards; }
@keyframes intro-fallback { to { visibility: visible; } }

/* 2. Surligneur jaune derrière « Garanti ou remboursé » */
.marker {
  color: var(--ink);
  font-weight: 800;
  padding: .05em .3em;
  margin-inline: -.1em;
  border-radius: 6px;
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left center / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.intro .marker { background-size: 0% 100%; transition: background-size .6s cubic-bezier(.6, .1, .2, 1); }
.intro .marker.is-on { background-size: 100% 100%; }

/* 3. Tampon « GARANTI » à côté du titre */
.title-stamp {
  display: table;           /* mobile : sur sa propre ligne, sous le titre */
  margin: 10px auto 0;
  padding: 3px 9px;
  border: 2.5px solid #F25C1E;
  border-radius: 8px;
  color: #F25C1E;
  background: rgba(255, 255, 255, .85);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-9deg);
  pointer-events: none;
}
.intro .title-stamp { opacity: 0; transform: scale(2.2) rotate(-20deg); }
.intro.intro-stamp .title-stamp { animation: title-stamp .5s cubic-bezier(.2, .9, .3, 1.3) forwards; }
@keyframes title-stamp {
  0%   { opacity: 0; transform: scale(2.2) rotate(-20deg); }
  60%  { opacity: 1; transform: scale(.9) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(-9deg); }
}
@media (min-width: 900px) {
  .title-stamp { margin: 14px 0 0; font-size: 1.125rem; padding: 4px 12px; border-width: 3px; }
  /* placé par main.js dans l'espace libre à droite d'une ligne du titre */
  .title-stamp.is-beside { position: absolute; margin: 0; }
}

/* Vidéo d'explication 16:9 */
.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background:
    radial-gradient(70% 70% at 50% 35%, rgba(110, 155, 248, .6), transparent 70%),
    linear-gradient(160deg, #4C82F7 0%, #2353E6 50%, #1D3BD1 100%);
  box-shadow: 0 24px 50px -20px rgba(29, 59, 209, .45), 0 8px 20px -10px rgba(10, 20, 53, .25);
}
.video-card__art {
  position: absolute; top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 30px -12px rgba(10, 20, 53, .45);
}
.video-card__art img { width: 50px; height: 50px; }
.video-card.has-poster .video-card__art, .video-card.has-teaser .video-card__art, .video-card.has-frame .video-card__art { display: none; }
.video-card.has-frame { background: var(--bg-dark); }
.video-card__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.video-card.has-frame .video-card__frame { opacity: 1; }
.video-card__poster, .video-card__teaser, .video-card__full, .video-card__frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-card__full { background: #000; object-fit: contain; }
.video-card__teaser { opacity: 0; transition: opacity .5s ease; }
.video-card.has-teaser .video-card__teaser { opacity: 1; }
.video-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  background: linear-gradient(180deg, rgba(10, 20, 53, 0) 45%, rgba(10, 20, 53, .45) 100%);
  border-radius: var(--radius-card);
}
.video-card__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-size: .9375rem; font-weight: 800;
  box-shadow: 0 12px 28px -10px rgba(10, 20, 53, .5);
  transition: transform .2s var(--ease);
}
.video-card__play:hover .video-card__pill { transform: scale(1.04); }
.video-card__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  padding-left: 3px;
}
.video-card__play:focus-visible { box-shadow: inset 0 0 0 4px var(--yellow); }

/* Phrase « plus de 135 Africains » */
.hero__count {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 34ch;
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.45;
  text-align: left;
}
.hero__count strong { color: var(--ink); }
.hero__count-icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--blue-pale); color: var(--blue);
}

.hero__ctas { display: grid; gap: 12px; width: 100%; max-width: 400px; }

.hero__reassurance {
  display: grid; gap: 8px;
  font-size: var(--fs-small); font-weight: 700;
  text-align: left;
}
.hero__reassurance li { display: flex; align-items: center; gap: 8px; }
.hero__reassurance svg { color: var(--green); flex-shrink: 0; }
.hero__pay .pay-logos { gap: 6px; }

/* Ordinateur : textes à gauche, vidéo (et carte) à droite */
@media (min-width: 900px) {
  .hero { padding: 40px 0 88px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas:
      "badge       media"
      "title       media"
      "subtitle    media"
      "count       media"
      "ctas        media"
      "reassurance media";
    grid-template-rows: auto auto auto auto auto 1fr;
    justify-items: start;
    text-align: left;
    column-gap: 56px;
    row-gap: 22px;
    align-content: center;
  }
  .hero__title { max-width: 15ch; }
  .hero__subtitle { font-size: 1.25rem; max-width: 30ch; }
  .hero__media { align-self: center; padding: 0; }
  .hero__ctas { grid-template-columns: auto auto; width: auto; max-width: none; margin-top: 6px; }
  .hero__reassurance { display: flex; flex-wrap: wrap; gap: 10px 22px; align-self: start; }
  .hero__reassurance li { white-space: nowrap; }
}

/* ---------- Bandeau de chiffres (fond foncé) ---------- */
.stats { background: var(--bg-dark); color: var(--white); padding-block: 28px; }
.stats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats__item {
  display: grid; align-content: start; gap: 4px;
  padding: 2px 8px;
  text-align: center;
}
.stats__item + .stats__item { border-left: 1px solid rgba(255, 255, 255, .14); }
.stats__value {
  font-size: 1.0625rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--white);
}
.stats__item:first-child .stats__value { color: var(--yellow); }
.stats__label { font-size: var(--fs-xs); line-height: 1.35; color: #B7C4EA; }

@media (min-width: 768px) {
  .stats { padding-block: 40px; }
  .stats__value { font-size: 2rem; }
  .stats__label { font-size: .9375rem; }
}

/* ---------- 2. Le contrat ---------- */
.features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.feature {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 2px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  align-content: start;
}
.feature__icon {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 15px;
  background: var(--blue-pale); color: var(--blue);
}
.feature__title { font-size: 1.0625rem; line-height: 1.3; margin-top: 2px; }
.feature__text { color: var(--ink-soft); font-size: .9375rem; }
.feature__text::first-letter { text-transform: uppercase; }
.feature--accent { background: var(--blue-pale); border-color: #CFDBFC; }
.feature--accent .feature__icon { background: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
  .feature { grid-template-columns: 1fr; padding: 28px; row-gap: 8px; }
  .feature__icon { grid-row: auto; margin-bottom: 10px; width: 54px; height: 54px; }
  .feature__title { font-size: 1.1875rem; }
}

/* ---------- 3. Les preuves ---------- */
.proof-block + .proof-block { margin-top: 44px; }
.proof-block__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px;
}
.proof-block__head h3 { font-size: 1.25rem; }
@media (min-width: 768px) { .proof-block__head h3 { font-size: 1.5rem; } }

/* ---------- 4. Éligibilité ---------- */
.elig { display: grid; gap: 28px; align-items: center; }
.elig .section-head { margin-bottom: 0; }
.elig__card { padding: 24px 20px; box-shadow: var(--shadow-card); }
.elig__card .checklist { margin-bottom: 24px; }
@media (min-width: 900px) {
  .elig { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .elig__card { padding: 36px; }
}

/* ---------- 5. Les 3 étapes ---------- */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px; row-gap: 4px;
  padding: 22px 20px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--line);
}
.step__num {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--blue-gradient); color: var(--white);
  font-size: 1.375rem; font-weight: 800;
  box-shadow: var(--shadow-blue);
}
.step__title { font-size: 1.125rem; margin-top: 2px; }
.step__text { color: var(--ink-soft); font-size: .9375rem; }
.step__text::first-letter { text-transform: uppercase; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .step { grid-template-columns: 1fr; padding: 30px 28px; row-gap: 10px; }
  .step__num { grid-row: auto; margin-bottom: 8px; }
  .step:not(:last-child)::after { /* flèche entre les étapes */
    content: ""; position: absolute; top: 56px; right: -16px; z-index: 1;
    width: 12px; height: 12px;
    border-top: 2.5px solid var(--blue-light); border-right: 2.5px solid var(--blue-light);
    transform: rotate(45deg);
  }
}

/* ---------- La garantie (fond jaune) ---------- */
.guarantee {
  position: relative;
  display: grid; justify-items: center; gap: 18px;
  max-width: 760px; margin: 0 auto;
  text-align: center;
}
.guarantee h2 { max-width: 16ch; }
.guarantee__text { font-size: 1.0625rem; max-width: 60ch; }
.guarantee .section-cta { margin-top: 8px; width: 100%; }
.guarantee .disclosure { width: 100%; max-width: 520px; }
.guarantee .disclosure .checklist {
  margin-top: 12px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .7);
  text-align: left;
}
.guarantee .checklist svg { color: var(--ink); }
/* Le bouton orange sur fond jaune : on le détache avec une ombre plus marquée */
.section--yellow .btn--primary { box-shadow: 0 12px 28px -10px rgba(10, 20, 53, .45); }

/* Tampon « Contrat garanti ou remboursé » */
.stamp {
  display: grid; place-items: center; align-content: center; gap: 4px;
  width: 144px; height: 144px;
  padding: 18px;
  border-radius: 50%;
  background: var(--ink); color: var(--yellow);
  box-shadow: 0 0 0 6px rgba(10, 20, 53, .12), 0 18px 36px -14px rgba(10, 20, 53, .55);
  transform: rotate(-6deg);
}
.stamp.is-waiting { opacity: 0; transform: scale(1.7) rotate(0deg); }
.stamp.is-stamped { animation: stamp-in .6s cubic-bezier(.2, .9, .3, 1.25) both; }
@keyframes stamp-in {
  0%   { opacity: 0; transform: scale(1.7) rotate(0deg); }
  55%  { opacity: 1; transform: scale(.92) rotate(-6deg); }
  100% { opacity: 1; transform: scale(1) rotate(-6deg); }
}
.stamp__text {
  font-size: var(--fs-xs); /* texte décoratif, masqué aux lecteurs d'écran (le titre le répète) */
  font-weight: 800; line-height: 1.15;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--white);
}

/* ---------- 6. FAQ ---------- */
/* (styles de l'accordéon dans components.css) */

/* ---------- 7. Les offres ---------- */
.offers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 460px;
  margin: 0 auto;
}
.offer {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}
/* Offre mise en avant (Dossier) : fond orange, texte bleu nuit (contraste 6,5:1, AA) */
.offer--featured {
  background: var(--orange);
  border: 0;
  color: var(--ink);
  box-shadow: 0 22px 44px -18px rgba(255, 107, 44, .75);
}
.offer--featured .offer__audience { color: var(--ink); }
.offer--featured .offer__features { border-top-color: rgba(10, 20, 53, .18); }
.offer--featured .offer__features svg { color: var(--ink); }
.offer--featured .offer__badge { background: var(--white); color: var(--ink); box-shadow: 0 6px 14px -6px rgba(10, 20, 53, .35); }
.offer--featured .offer__note { background: rgba(255, 255, 255, .9); }
.offer__badge { position: absolute; top: -14px; left: 22px; }
.offer__name { font-size: 1.25rem; }
.offer__price {
  margin: 8px 0 4px;
  font-size: 2.5rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.035em;
}
.offer__price span { font-size: 1.25rem; letter-spacing: 0; }
.offer__audience { color: var(--ink-soft); font-size: .9375rem; min-height: 0; }
.offer__features {
  display: grid; gap: 10px;
  margin: 18px 0 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .9375rem; font-weight: 600;
}
.offer__features li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.offer__features svg { color: var(--blue); margin-top: 2px; }
.offer .btn { margin-top: auto; }

@media (min-width: 640px) and (max-width: 979px) {
  .offers { max-width: 520px; }
}
@media (min-width: 980px) {
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 22px; align-items: stretch; }
  .offer { padding: 32px 28px 28px; }
  .offer--featured { transform: translateY(-10px); }
}
/* Mobile : on affiche l'offre mise en avant en premier */
@media (max-width: 979px) {
  .offer--featured { order: -1; }
}

.offers__secure {
  margin: 32px auto 4px; max-width: 560px;
  font-size: var(--fs-small); font-weight: 700; color: var(--ink-soft); text-align: center;
}
.offers__secure svg { display: inline-block; vertical-align: -3px; margin-right: 4px; color: var(--green); }

/* ---------- Les avis ---------- */
.rating-summary {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin: -16px auto 32px;
}
.rating-summary__score { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rating-summary__count { color: var(--ink-soft); font-weight: 700; }

.reviews { display: grid; gap: 16px; }
.review {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.review__text { font-size: 1rem; }
.review__author { margin-top: auto; font-weight: 800; font-size: .9375rem; }
.review--placeholder { box-shadow: none; border: 2px dashed #CBD5EE; background: var(--bg-alt); color: #8A93AE; }
.review--placeholder .stars { color: #D5DCEF; }
.review__line { height: 10px; border-radius: 99px; background: #E3E8F5; }
.review__line--short { width: 60%; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Bloc final (fond foncé) ---------- */
.final {
  position: relative;
  padding-block: var(--section-y);
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(35, 83, 230, .45), transparent 70%),
    var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}
.final__inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.final__logo { width: 56px; height: 56px; padding: 10px; border-radius: 18px; background: var(--white); box-sizing: content-box; }
.final h2 { max-width: 18ch; }
.final__text { color: #C3CDEB; font-size: 1.0625rem; max-width: 40ch; }
.final__offers {
  display: grid; gap: 12px;
  width: 100%; max-width: 420px;
  margin: 10px 0 6px;
}
.final__offers .btn { justify-content: space-between; min-height: 60px; }
.final__offers .btn span:last-child { font-weight: 800; }
.final__offers .btn--light { border-color: transparent; }
.final .btn--whatsapp { width: 100%; max-width: 420px; margin-top: 8px; }
.final__phone { margin-top: -6px; color: #C3CDEB; font-weight: 700; font-size: .9375rem; }
@media (min-width: 720px) {
  .final__offers { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
  .final__offers .btn { flex-direction: column; justify-content: center; gap: 2px; }
  .final .btn--whatsapp { width: auto; min-width: 340px; }
}

/* ---------- Pied de page ---------- */
.site-footer { padding: 32px 0 36px; background: var(--white); border-top: 1px solid var(--line); }
.site-footer__brand {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-weight: 700; font-size: .9375rem;
}
.site-footer__brand a { display: inline-block; padding-block: 10px; text-decoration-color: var(--green); text-underline-offset: 3px; }
.site-footer__legal { margin-top: 10px; color: var(--ink-soft); font-size: var(--fs-xs); line-height: 1.5; max-width: 80ch; }

/* ---------- Barre collante (mobile, toujours visible) ---------- */
.sticky-bar {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--sticky-h);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(10, 20, 53, .08);
}
.sticky-bar__price { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); line-height: 1.2; }
.sticky-bar__price strong { display: block; font-size: 1.1875rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.sticky-bar { gap: 8px; }
.sticky-bar__price { flex: 1; min-width: 0; }
.sticky-bar .btn { flex-shrink: 0; min-height: 52px; padding-inline: 16px; }
.sticky-bar__wa {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--green); color: var(--white);
  box-shadow: var(--shadow-green);
}
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------- Page merci ---------- */
.page-merci { padding-bottom: 0; }
.thanks {
  padding: 48px 0 72px;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(110, 155, 248, .25), transparent 70%),
    var(--white);
}
.thanks__inner { display: grid; justify-items: center; gap: 18px; max-width: calc(560px + var(--gutter) * 2); text-align: center; }
.thanks__icon {
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 0 0 10px rgba(255, 194, 61, .25);
}
.thanks__title { font-size: clamp(2rem, 6vw, 3rem); max-width: 16ch; }
.thanks__text { color: var(--ink-soft); font-size: 1.0625rem; }
.thanks__message {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px 18px 18px 6px;
  background: #E7F8EE;
  border: 1px solid #BFE9CF;
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
}
.thanks__message p { white-space: pre-line; }
.thanks__btn { margin-top: 6px; }

/* Phrase sous le prix (offre Dossier) */
.offer__note { display: inline-block; margin: 4px 0 6px; padding: 4px 10px; border-radius: 10px; background: var(--yellow-pale); color: var(--ink); font-size: var(--fs-small); font-weight: 700; }

/* ---------- Badge « Powered by Netlify » (iframe 64 px en bas à droite, offre gratuite) ----------
   On ne le masque pas : on laisse de la place dessous pour qu'il ne recouvre aucun bouton. */
@media (max-width: 899px) {
  .has-host-badge body { padding-bottom: calc(var(--sticky-h) + 64px + env(safe-area-inset-bottom, 0px)); }
  .has-host-badge .sticky-bar { padding-bottom: calc(10px + 64px + env(safe-area-inset-bottom, 0px)); }
  .has-host-badge .toast { bottom: calc(var(--sticky-h) + 74px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) {
  .has-host-badge .wa-float { bottom: 88px; }
}

/* Logos de paiement sous les offres : centrés */
.offers__logos { display: flex; justify-content: center; margin-top: 32px; }
.offers__logos + .offers__secure { margin-top: 14px; }
