/**
 * Funnel — composants réutilisables : boutons, eyebrow, badges, vidéo hero,
 * cards, stats, logos, liste d'offre, sticky CTA, modale, sélecteur de langue.
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .01em;
  padding: 16px 28px;
  border: 2px solid transparent;
  border-radius: var(--fnl-radius);
  cursor: pointer;
  transition: transform .18s var(--fnl-ease), box-shadow .18s;
  line-height: 1.2;
  text-align: center;
}
.btn .emj { font-size: 17px; line-height: 1; }
.btn-primary { background: var(--fnl-orange); color: var(--fnl-on-accent); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(250, 175, 11, .75);
}
.btn[disabled], .btn.is-busy { opacity: .6; cursor: default; transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-label, .13em);
  text-transform: uppercase;
  color: var(--fnl-orange);
  background: rgba(250, 175, 11, .12);
  border: 1px solid rgba(250, 175, 11, .28);
  padding: 7px 13px;
}
.eyebrow em { font-style: normal; font-size: 15px; line-height: 1; }
.eyebrow.center { margin-inline: auto; }
.eyebrow.on-light {
  color: var(--fnl-blue-2);
  background: rgba(29, 141, 186, .13);
  border-color: rgba(29, 141, 186, .30);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 8px 13px;
}
.badge .material-icons-outlined { font-size: 17px; color: var(--fnl-blue-1); }

/* ── Vidéo hero — lazy : poster affiché, source injectée au clic ─────────── */
.hero-video {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 30px auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .16);
  overflow: hidden;
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-ov {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 47%, rgba(15, 19, 23, .5) 0%, rgba(15, 19, 23, .16) 55%, rgba(15, 19, 23, .04) 100%);
  color: #fff;
  font-family: inherit;
  transition: background .2s;
}
.hero-video-ov:hover {
  background: radial-gradient(circle at 50% 47%, rgba(15, 19, 23, .55) 0%, rgba(15, 19, 23, .24) 55%, rgba(15, 19, 23, .1) 100%);
}
.hero-video-ov .hv-play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--fnl-orange);
  color: var(--fnl-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .5), 0 0 0 8px rgba(255, 255, 255, .14);
  transition: transform .18s var(--fnl-ease);
}
.hero-video-ov:hover .hv-play { transform: scale(1.06); }
.hero-video-ov .hv-play .material-icons-outlined { font-size: 34px; margin-inline-start: 3px; }
.hero-video-ov .hv-cap {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
}

/* ── Cards (piliers) ────────────────────────────────────────────────────── */
.card {
  background: var(--fnl-surface);
  border: 1px solid var(--fnl-line);
  /* Marge haute suffisante pour que la vignette en débord ne recouvre pas la pastille
     d'icône ni le titre. */
  padding: 34px 22px 26px;
  position: relative;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.card.c1::before { background: linear-gradient(90deg, var(--fnl-blue-1), var(--fnl-blue-2)); }
.card.c2::before { background: var(--fnl-blue-2); }
.card.c3::before { background: var(--fnl-orange); }
.card.c4::before { background: linear-gradient(90deg, var(--fnl-orange), var(--fnl-blue-2)); }
.card.c3 { overflow: visible; }
.card .pico {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.card.c1 .pico { background: rgba(29, 141, 186, .12); color: var(--fnl-blue-2); }
.card.c2 .pico { background: rgba(61, 163, 200, .14); color: var(--fnl-blue-1); }
.card.c3 .pico { background: rgba(250, 175, 11, .14); color: var(--fnl-orange-2); }
.card.c4 .pico { background: rgba(28, 35, 41, .08); color: var(--fnl-ink); }
.card .pico .material-icons-outlined { font-size: 26px; }
.card h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 800; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 14px; color: #3b3f49; font-weight: 400; }
/* Vignette en débord au-dessus de la carte. Volontairement plus petite que sur la
   landing d'origine : à 4 colonnes elle empiétait sur le titre du pilier. */
.card-ico {
  position: absolute;
  top: -22px;
  inset-inline-end: 10px;
  height: 62px;
  display: flex;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}
.card-ico .card-logo {
  max-height: 62px;
  max-width: 88px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(28, 35, 41, .18));
}
.maroc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--fnl-on-accent);
  background: var(--fnl-orange);
  padding: 5px 8px;
  margin-top: 14px;
}
.maroc-badge .material-icons-outlined { font-size: 13px; }
.mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mods span {
  font-size: 11px;
  font-weight: 700;
  color: #5b616b;
  background: var(--fnl-paper);
  border: 1px solid var(--fnl-line);
  padding: 4px 8px;
}

/* ── Chiffres clés (layout `stats`) ─────────────────────────────────────── */
.fnl-stats { display: flex; flex-wrap: wrap; gap: 22px; margin: 22px 0 0; }
.fnl-stats.center { justify-content: center; }
.mstat .v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--fnl-text); }
.mstat .l { font-size: 12px; color: var(--fnl-muted); font-weight: 600; }
.sec-dark .mstat .v, .sec-demo .mstat .v { color: #fff; }
.sec-dark .mstat .l, .sec-demo .mstat .l { color: #cfd3d9; }

/* ── Bandeau de logos (layout `logos`) ──────────────────────────────────── */
.fnl-logos { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fnl-logos.center { justify-content: center; }
.fnl-logos .org {
  font-size: 13px;
  font-weight: 700;
  color: #5b616b;
  border: 1px solid var(--fnl-line);
  padding: 5px 11px;
}
.fnl-logos img { max-height: 34px; width: auto; }

/* ── Liste d'offre (items du layout `banner`) ───────────────────────────── */
.offer-list { list-style: none; margin: 28px auto 0; padding: 0; max-width: 440px; text-align: start; }
.offer-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.offer-list li:last-child { border-bottom: 0; }
.offer-list .material-icons-outlined { font-size: 22px; color: var(--fnl-orange); flex: 0 0 auto; margin-top: 1px; }

/* ── Sticky CTA (mobile) ────────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--fnl-ink);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 11px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform .3s var(--fnl-ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .s-txt { font-size: 13px; color: #cfd3d9; font-weight: 600; line-height: 1.25; }
.sticky-cta .s-txt b { color: #fff; display: block; font-size: 14px; }
.sticky-cta .btn { padding: 12px 18px; font-size: 14px; }

/* ── Modale (formulaire de commande) ────────────────────────────────────── */
.dm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
  background: rgba(15, 19, 23, .74);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.dm.open { display: flex; }
.dm-dialog { position: relative; width: 100%; max-width: 480px; margin: auto; }
.dm-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s;
}
.dm-close:hover { background: rgba(255, 255, 255, .26); }

/* ── Formulaire de commande ─────────────────────────────────────────────── */
.fnl-form {
  background: var(--fnl-surface);
  border: 1px solid var(--fnl-line);
  padding: 30px 26px 26px;
}
.fnl-form__head { text-align: center; margin-bottom: 20px; }
.fnl-form__head h2 { margin: 12px 0 0; font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.fnl-form__head p { margin: 8px 0 0; font-size: 14.5px; color: var(--fnl-muted); }

.fnl-field { display: block; margin: 0 0 14px; }
.fnl-field > span {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fnl-muted);
  margin-bottom: 6px;
}
.fnl-field input,
.fnl-field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--fnl-text);
  background: var(--fnl-surface);
  border: 1px solid var(--fnl-line);
  border-radius: var(--fnl-radius);
  padding: 13px 14px;
  min-height: 46px;
  transition: border-color .18s;
}
.fnl-field input:focus,
.fnl-field select:focus { outline: none; border-color: var(--fnl-blue-2); }

/* Placeholder : indication, pas contenu. Sans regle explicite il heritait du
   poids de la police du champ et se lisait comme une valeur DEJA saisie —
   l'utilisateur ne distinguait plus un champ vide d'un champ rempli. */
.fnl-field input::placeholder { font-weight: 400; color: var(--fnl-muted); opacity: .75; }
.fnl-field select:invalid,
.fnl-field select option[value=""] { font-weight: 400; color: var(--fnl-muted); }
/* La valeur reellement saisie, elle, reste franche. */
.fnl-field input,
.fnl-field select { font-weight: 500; }

.fnl-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fnl-muted);
  margin: 4px 0 18px;
  line-height: 1.45;
}
.fnl-consent input { margin-top: 3px; flex: 0 0 auto; }

.fnl-submit { width: 100%; }
.fnl-fine { margin: 12px 0 0; font-size: 12.5px; color: var(--fnl-muted); text-align: center; }

/* Groupe WhatsApp — alternative secondaire au CTA : visible mais jamais
   concurrente du bouton de reservation (pas de fond plein, pas d'orange). */
.fnl-wa {
  margin: 16px 0 0;
  padding: 14px 12px 12px;
  border-top: 1px solid var(--fnl-line);
  text-align: center;
}
.fnl-wa__or {
  display: block;
  font-size: 12.5px;
  color: var(--fnl-muted);
  margin-bottom: 9px;
}
.fnl-wa__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #128c7e;                    /* vert WhatsApp, en texte seulement */
  background: rgba(18, 140, 126, .07);
  border: 1px solid rgba(18, 140, 126, .3);
  border-radius: var(--fnl-radius);
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.fnl-wa__link:hover,
.fnl-wa__link:focus-visible { background: rgba(18, 140, 126, .13); border-color: rgba(18, 140, 126, .55); }
.fnl-wa__link .material-icons-outlined { font-size: 19px; }
.fnl-wa__note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--fnl-muted);
}
@media (max-width: 400px) {
  .fnl-wa__link { width: 100%; }
}

/* Honeypot : hors écran, jamais display:none (certains bots ignorent le masquage). */
.fnl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Vue « commande confirmée » : remplace le formulaire après succès. */
.fnl-form.is-done .fnl-field,
.fnl-form.is-done .fnl-consent,
.fnl-form.is-done .fnl-submit,
.fnl-form.is-done .fnl-fine { display: none; }

/* Vue de confirmation — masquée tant que le formulaire n'a pas abouti. */
.fnl-done { display: none; text-align: center; padding: 10px 0 4px; }
.fnl-form.is-done .fnl-done { display: block; }
.fnl-form.is-done .fnl-form__head { display: none; }
.fnl-done .material-icons-outlined { font-size: 46px; color: var(--fnl-blue-2); }
.fnl-done h3 { margin: 12px 0 0; font-size: 21px; font-weight: 800; }
.fnl-done p { margin: 8px 0 0; font-size: 14.5px; color: var(--fnl-muted); line-height: 1.55; }
