/* ═══════════════════════════════════════════════════════════════════════
   expediteurs.css — page-scoped styles for the sender landing page.
   Loaded ONLY by expediteurs.html (n'affecte pas index.html).
   LTR French page. Ports the handful of components that live in
   carrier-rtl.css (scroll-reveal, sticky CTA bar, floating Messenger widget,
   Tunisia tag) into LTR-clean form, plus the new use-case card grid.
   Brand colors come from style.css :root vars — no raw hex outside brand set.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Scroll-reveal (apparition au scroll) ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* FAQ : ouverture en douceur (le <details> natif s'ouvre sans transition). */
details.faq-item[open] .faq-item__answer { animation: faqReveal .26s ease; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Léger flottement de la carte illustration du hero (vie). */
.illus-card--sender { animation: senderFloat 5s ease-in-out infinite; }
@keyframes senderFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ── "Made in Tunisia" tag ─────────────────────────────────────────────── */
.tunisia-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(235, 185, 95, .1);
  border: 1px solid rgba(235, 185, 95, .3);
  color: var(--char);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 14px;
}

/* ── Use-case card grid ("anyone can ship anything") ───────────────────── */
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.usecase-card {
  background: var(--white);
  border: 1px solid rgba(62, 73, 87, .1);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(26, 35, 50, .14);
}
.usecase-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  margin-bottom: 16px;
}
.usecase-card__icon .brand-icon { width: 28px; height: 28px; color: var(--navy); }
.usecase-card h3 { font-size: 1.12rem; margin: 0 0 6px; color: var(--navy); }
.usecase-card p  { font-size: .95rem; color: var(--char); margin: 0 0 8px; line-height: 1.55; }
.usecase-card .ar-tn {
  font-family: 'Cairo', 'Poppins', sans-serif;
  font-size: .95rem;
  color: var(--gold2);
  margin: 0;
}

/* ── Trip-sharing savings callout (ported from index.html inline block) ── */
.save-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 26px 28px;
  max-width: 720px;
  margin: 8px auto 0;
}
.save-callout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(235, 185, 95, .18);
  flex-shrink: 0;
}
.save-callout__icon .brand-icon { width: 26px; height: 26px; color: var(--gold); }
.save-callout h3 { color: var(--gold); font-size: 1.1rem; margin: 0 0 8px; }
.save-callout p  { font-size: .95rem; line-height: 1.6; margin: 0 0 6px; color: rgba(249, 246, 241, .88); }
.save-callout .ar-tn {
  font-family: 'Cairo', 'Poppins', sans-serif;
  color: rgba(249, 246, 241, .7);
  margin: 0;
}

/* ── Floating contact widget (Messenger) ───────────────────────────────── */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 900;
}
.float-contact__label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  padding: 3px 12px;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
  white-space: nowrap;
}
.float-contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.float-contact__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.float-contact__btn--msg { background: #0084FF; }

/* ── Sticky bottom CTA bar (slides up when hero CTA is off-screen) ──────── */
.sticky-register {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 30px rgba(26, 35, 50, .38);
  padding: 14px 0;
  transform: translateY(110%);
  transition: transform .42s cubic-bezier(.22, .68, 0, 1.2), opacity .3s ease;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.sticky-register.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-register__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sticky-register__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(249, 246, 241, .78);
  white-space: nowrap;
}
.sticky-register__label strong { color: var(--gold); font-weight: 800; }
.sticky-register__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: stickyDotPulse 2.4s ease-in-out infinite;
}
@keyframes stickyDotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
  50%      { box-shadow: 0 0 0 7px rgba(34, 197, 94, .06); }
}
.sticky-register__btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: .88rem;
  min-height: 44px;
  margin-inline-start: auto;
}
.sticky-register__dismiss {
  background: none;
  border: none;
  padding: 6px;
  color: rgba(249, 246, 241, .38);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: color .18s, background .18s;
  flex-shrink: 0;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-register__dismiss:hover { color: rgba(249, 246, 241, .78); background: rgba(255, 255, 255, .08); }

/* ── Photographic images (hero + section), Higgsfield-generated ────────── */
.hero__photo,
.split__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.hero__photo { max-width: 560px; margin-inline: auto; }
.split__photo { max-width: 520px; margin-inline: auto; }

/* ── Responsive ────────────────────────────────────────────────────────── */
/* Mobile-first fix: on ≤768px the shared style.css collapses .download__inner
   to a single `1fr` column, but grid items default to min-width:auto, so the
   store buttons/QR refuse to shrink and stretch the track ~517px past a 390px
   viewport (horizontal scroll). min-width:0 lets the track shrink; content then
   wraps. Scoped to this page (expediteurs.css loads only here). */
@media (max-width: 768px) {
  .download__inner { grid-template-columns: 1fr; }
  .download__inner > * { min-width: 0; }
  .download__btns { flex-wrap: wrap; }
  .store-btn { max-width: 100%; }
  /* .download__qr is a flex row (QR box + hint + button) — stack it on mobile
     so the direct-download button doesn't shoot past the viewport edge. */
  .download__qr { flex-direction: column; gap: 12px; }
}
@media (max-width: 900px) {
  .usecases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .usecases__grid { grid-template-columns: 1fr; }
  .sticky-register { padding: 12px 0 16px; }
  .sticky-register__inner { position: relative; gap: 10px; }
  .sticky-register__label { font-size: .84rem; }
  .sticky-register__btn { margin-inline-start: 0; width: 100%; justify-content: center; }
  .sticky-register__dismiss { position: absolute; top: 6px; right: 6px; }
  .save-callout { flex-direction: column; gap: 12px; padding: 22px; }
}

/* ── App screenshots (real product shots) ──────────────────────────────── */
/* .device/.appshot base rules moved to shared style.css (also used by
   transporteurs.html) — only expediteurs-specific overrides stay here. */
/* Delivery-code screen — pure-CSS card (replaces the old cropped bitmap). */
.device--code .device__screen,
.device--code .device__statusbar { background: var(--cream); }
.code-card { background: var(--cream); padding: 26px 18px 34px; text-align: left; }
.code-card__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.code-card__lock {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: inline-flex; align-items: center; justify-content: center;
}
.code-card__lock .brand-icon { width: 22px; height: 22px; color: var(--navy); }
.code-card__head h3 { font-size: 1rem; color: #8a5e0f; margin: 0 0 4px; }
.code-card__head p { font-size: .8rem; color: var(--char); margin: 0; line-height: 1.45; }
.code-card__digits { display: flex; justify-content: center; gap: 4px; margin: 4px 0 16px; }
.code-card__digits span {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.95rem;
  color: var(--navy); width: 1.15ch; text-align: center;
}
.code-card__ar { font-family: 'Cairo', 'Poppins', sans-serif; font-size: .85rem; color: var(--gold2); text-align: center; margin: 0; }

/* ── Relocation / déménagement block ───────────────────────────────────── */
.reloc { background: var(--cream); }
.reloc__note {
  font-size: .82rem; color: var(--char); opacity: .8;
  margin-top: 18px; max-width: 640px;
}

/* ── Trust: carrier verification + delivery code ───────────────────────── */
.trust__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.trust__list { display: flex; flex-direction: column; gap: 24px; }
.trust__item { display: flex; gap: 16px; align-items: flex-start; }
.trust__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: inline-flex; align-items: center; justify-content: center;
}
.trust__icon .brand-icon { width: 26px; height: 26px; color: var(--navy); }
.trust__item h3 { font-size: 1.08rem; color: var(--navy); margin: 0 0 4px; }
.trust__item p  { font-size: .95rem; color: var(--char); margin: 0; line-height: 1.55; }
.trust__shot { text-align: center; margin: 0; }
.trust__shot img {
  width: 100%; max-width: 420px; height: auto;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgba(62, 73, 87, .08);
}
.trust__shot figcaption { font-size: .85rem; color: var(--char); margin-top: 12px; }
.badge-verified {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34, 197, 94, .12); color: #15803d;
  font-weight: 700; font-size: .82rem; padding: 5px 12px; border-radius: 99px;
}
.badge-verified .brand-icon { width: 16px; height: 16px; color: #15803d; }

@media (max-width: 768px) {
  /* .appshots__grid mobile override moved to shared style.css */
  .trust__inner { grid-template-columns: 1fr; gap: 32px; }
  .trust__shot { order: -1; }
}

/* ── Réduire les animations ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  details.faq-item[open] .faq-item__answer { animation: none !important; }
  .illus-card--sender { animation: none !important; }
  .sticky-register__pulse { animation: none !important; }
  .usecase-card, .float-contact__btn, .btn { transition: none !important; }
}


/* ── Bilingual (FR + Tunisian Derja) headings ──────────────────────────── */
.hero__headline-ar {
  font-family: 'Cairo', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 4.4vw, 2rem);
  color: var(--gold);
  margin: 4px 0 14px;
  line-height: 1.4;
}
.section-header .ar-head,
.split__text .ar-head {
  font-family: 'Cairo', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold2);
  line-height: 1.5;
  margin: 8px 0 0;
}

/* ── Hero photo + floating trust chip ──────────────────────────────────── */
.hero__photo-wrap { position: relative; display: inline-block; max-width: 560px; width: 100%; }
.hero__chip {
  position: absolute;
  left: 16px; bottom: 16px;
  background: var(--white);
  color: #15803d;
  box-shadow: 0 6px 18px rgba(26,35,50,.28);
}
@media (max-width: 600px) {
  .hero__chip { left: 12px; bottom: 12px; font-size: .74rem; padding: 4px 10px; }
}

/* Derja H1 is deliberate, but at full size it pushed the value pillars below
   the fold — tighten it so the mechanic is visible without scrolling.
   Scoped to this page: style.css .hero padding is shared with index/transporteurs. */
.hero { padding: 56px 0 84px; }
.hero .hero__headline { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.25; margin-bottom: 12px; }
.hero .hero__headline-ar { font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin: 2px 0 10px; }

/* ── Hero value pillars (the 4 things that sell the app, scannable) ────── */
.hero__pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  max-width: 560px;
}
.hero__pillar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-start;
  background: var(--white);
  border: 1px solid rgba(62,73,87,.1);
  border-radius: 99px;
  padding: 7px 13px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(26,35,50,.05);
}
.hero__pillar .brand-icon { width: 17px; height: 17px; color: var(--gold); }
.hero__pillar--verified { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.22); color: #15803d; }
.hero__pillar--verified .brand-icon { color: #15803d; }

@media (max-width: 760px) {
  /* two auto columns overflow a phone viewport — stack them */
  .hero__pillars { grid-template-columns: 1fr; max-width: 100%; }
}
@media (max-width: 600px) {
  .hero__pillar { font-size: .74rem; padding: 6px 10px; }
  .hero__pillar .brand-icon { width: 15px; height: 15px; }
}

/* Déménagement keeps only its two vertical-specific points (the other two
   duplicated #avantages / #confiance) — balance the 3-col grid for 2 cards. */
.reloc .features__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .reloc .features__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────
   FLOW — shipment lifecycle track (5 steps, swipeable at every width)
   Status names mirror the app's real shipment state machine.
   ───────────────────────────────────────────────────────────────────────── */

/* status rail */
.flow__rail {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: rail;
}
.flow__rail-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: #8b95a3;
  padding: 5px 10px;
  border-radius: 99px;
  transition: color .25s ease, background .25s ease;
}
.flow__rail-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(62,73,87,.22);
  transition: background .25s ease, box-shadow .25s ease;
}
.flow__rail-step.is-active {
  color: #8a5e0f;
  background: rgba(235,185,95,.16);
}
.flow__rail-step.is-active .flow__rail-dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(235,185,95,.25);
}

/* swipe track */
.flow__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 268px);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;         /* don't trigger browser back-swipe */
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 24px;
  padding: 4px 24px 8px;
  margin-inline: -24px;                   /* bleed to the screen edges */
  scrollbar-width: none;
}
.flow__track::-webkit-scrollbar { display: none; }
/* 'start' (not center) so snap positions match offsetLeft — with centre
   alignment the browser lands elsewhere than we compute and the last card
   can never become the active step. */
.flow__card { scroll-snap-align: start; }

.flow__dots { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.flow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(62,73,87,.2);
  transition: background .25s ease, width .25s ease;
}
.flow__dot.is-active { background: var(--gold); width: 20px; border-radius: 99px; }

.flow__hint {
  text-align: center;
  font-size: .8rem;
  color: #8b95a3;
  margin: 10px 0 0;
}

/* 5 phones never fit a viewport (~1450px of cards), so the track stays a
   scrollable timeline at every width. Do NOT center overflowing content —
   it clips the first card and makes it unreachable. */

/* ── step 3 · live tracking screen ─────────────────────────────────────── */
.track { background: var(--cream); padding: 12px 11px 20px; text-align: left; aspect-ratio: 560 / 981; }
.track__head {
  background: var(--white);
  border-radius: var(--radius-xs);
  padding: 9px 11px;
  box-shadow: 0 2px 8px rgba(26,35,50,.07);
  display: flex; flex-direction: column; gap: 2px;
}
.track__route { font-size: .82rem; font-weight: 700; color: var(--navy); }
.track__eta { font-size: .66rem; color: #8a5e0f; font-weight: 600; }

.track__steps { list-style: none; margin: 16px 0 14px; padding: 0 2px; }
.track__step {
  position: relative;
  display: flex; align-items: flex-start; gap: 10px;
  padding-bottom: 18px;
}
.track__step:last-child { padding-bottom: 0; }
/* connector line between bullets */
.track__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 9px; top: 20px; bottom: 2px;
  width: 2px;
  background: rgba(62,73,87,.14);
}
.track__step.is-done:not(:last-child)::before { background: rgba(235,185,95,.55); }

.track__bullet {
  position: relative; z-index: 1;
  flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(62,73,87,.18);
  display: flex; align-items: center; justify-content: center;
}
.track__bullet .brand-icon { width: 18px; height: 18px; color: var(--gold); }
.track__step.is-done .track__bullet { border-color: transparent; background: transparent; }
.track__step.is-current .track__bullet {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(235,185,95,.22);
}

.track__label {
  display: flex; flex-direction: column;
  font-size: .78rem; font-weight: 600; color: var(--navy);
  line-height: 1.3;
}
.track__step:not(.is-done):not(.is-current) .track__label { color: #9aa4b1; font-weight: 500; }
.track__time { font-size: .62rem; font-weight: 500; color: #8b95a3; margin-top: 2px; }

.track__carrier {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid rgba(62,73,87,.08);
  border-radius: var(--radius-xs);
  padding: 8px 9px;
}
.track__call {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(235,185,95,.18);
  display: flex; align-items: center; justify-content: center;
}
.track__call .brand-icon { width: 15px; height: 15px; color: #8a5e0f; }

/* ── step 5 · rating screen ────────────────────────────────────────────── */
.rate {
  background: var(--cream);
  padding: 30px 16px;
  text-align: center;
  aspect-ratio: 560 / 981;
  display: flex; flex-direction: column; align-items: center;
}
.rate__badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(34,197,94,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.rate__badge .brand-icon { width: 30px; height: 30px; color: #15803d; }
.rate__done { font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0 0 22px; }
.rate__q { font-size: .8rem; color: var(--char); margin: 0 0 10px; line-height: 1.4; }

.rate__stars { display: flex; justify-content: center; gap: 5px; margin-bottom: 18px; }
.rate__star { width: 26px; height: 26px; color: rgba(62,73,87,.18); }

.rate__note { font-size: .68rem; color: #8b95a3; margin: 0 0 auto; line-height: 1.45; }
.rate__receipt {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1px solid rgba(62,73,87,.08);
  border-radius: 99px;
  padding: 7px 12px;
  font-size: .68rem; font-weight: 600; color: var(--navy);
}
.rate__receipt .brand-icon { width: 14px; height: 14px; color: var(--gold); }

/* one-shot step animations — gated on the page's existing .is-visible reveal */
.track__step.is-current .track__bullet { box-shadow: 0 0 0 4px rgba(235,185,95,.22); }
.appshot--track.is-visible .track__step.is-current .track__bullet {
  animation: track-pulse 1.8s ease-in-out 3;
}
@keyframes track-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(235,185,95,.22); }
  50%      { box-shadow: 0 0 0 9px rgba(235,185,95,0); }
}

.appshot--rate.is-visible .rate__star { animation: star-fill .4s ease-out forwards; }
.appshot--rate.is-visible .rate__star:nth-child(1) { animation-delay: .25s; }
.appshot--rate.is-visible .rate__star:nth-child(2) { animation-delay: .38s; }
.appshot--rate.is-visible .rate__star:nth-child(3) { animation-delay: .51s; }
.appshot--rate.is-visible .rate__star:nth-child(4) { animation-delay: .64s; }
.appshot--rate.is-visible .rate__star:nth-child(5) { animation-delay: .77s; }
@keyframes star-fill {
  from { color: rgba(62,73,87,.18); transform: scale(.8); }
  60%  { transform: scale(1.15); }
  to   { color: var(--gold); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .appshot--track.is-visible .track__step.is-current .track__bullet,
  .appshot--rate.is-visible .rate__star { animation: none !important; }
  .rate__star { color: var(--gold); }
}

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE POLISH
   ───────────────────────────────────────────────────────────────────────── */

/* iOS safe area: the home indicator lives where our fixed UI sits */
.sticky-register { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.float-contact   { bottom: calc(24px + env(safe-area-inset-bottom)); }

/* the Messenger bubble sits on top of the sticky bar once it slides up —
   they are siblings, so lift the bubble clear of it */
.sticky-register.is-visible ~ .float-contact {
  bottom: calc(92px + env(safe-area-inset-bottom));
}
.float-contact { transition: bottom .3s ease; }

/* 44px minimum touch targets for the interactive elements that aren't .btn */
.faq-item summary { min-height: 44px; display: flex; align-items: center; }
.footer__col a,
.header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.float-contact__btn { width: 52px; height: 52px; }

@media (max-width: 760px) {
  /* body copy at 16px: smaller text also makes iOS zoom on focus */
  .hero__sub { font-size: 1rem; }
  .section-header p { font-size: 1rem; }

  /* full-width primary CTA is far easier to hit with a thumb */
  .hero__cta-group { flex-direction: column; align-items: stretch; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }

  /* blur is expensive on mid-range Android GPUs — go opaque on phones */
  .header { backdrop-filter: none; background: rgba(255,255,255,.97); }

  /* keep the last section clear of the sticky bar */
  .download { padding-bottom: 96px; }
}

/* ── Sender scenarios (persona-grounded situations, NOT testimonials) ───── */
.scenarios__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
}
.scenario-card {
  background: var(--white);
  border: 1px solid rgba(62,73,87,.08);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.scenario-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(26,35,50,.13); }

.scenario-card__top { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; }
.scenario-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(235,185,95,.14);
  display: flex; align-items: center; justify-content: center;
}
.scenario-card__icon .brand-icon { width: 24px; height: 24px; color: var(--gold); }
.scenario-card h3 { font-size: 1.08rem; color: var(--navy); margin: 0 0 3px; }
.scenario-card__who { font-size: .78rem; color: #8b95a3; margin: 0; font-weight: 500; }

.scenario-card__what { font-size: .9rem; color: var(--char); margin: 0 0 14px; line-height: 1.6; }
.scenario-card__what strong { color: var(--navy); }

.scenario-card__quote {
  position: relative;
  font-size: .92rem;
  color: var(--char);
  line-height: 1.65;
  margin: 0 0 8px;
  padding-inline-start: 15px;
  border-inline-start: 3px solid rgba(235,185,95,.5);
}
.scenarios__note {
  text-align: center;
  font-size: .85rem;
  color: #8b95a3;
  margin: 32px auto 0;
  max-width: 560px;
}

@media (max-width: 760px) {
  .scenarios__grid { grid-template-columns: 1fr; gap: 18px; }
  .scenario-card { padding: 22px 20px; }
}

/* the delivery-code moment is now demonstrated in the flow (step 4), so
   #confiance keeps the explanation only — single column, no duplicate mockup */
.trust__inner { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }

/* remaining sub-44px touch targets */
.footer__bottom a {
  display: inline-block;
  padding: 14px 2px;          /* 19px text -> 45px tappable, no layout shift */
  line-height: 1.3;
}
.sticky-register__dismiss { min-width: 44px; min-height: 44px; }
.header__logo { display: inline-flex; align-items: center; min-height: 44px; }

/* hero photo removed — single centred column */
.hero__inner { grid-template-columns: 1fr; gap: 0; }
.hero__text {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.hero__sub { max-width: 620px; margin-inline: auto; margin-bottom: 30px; }
.hero__pillars   { justify-content: center; margin-inline: auto; gap: 7px; margin-bottom: 26px; }
.hero__cta-group { justify-content: center; }
.hero__trust     { justify-content: center; }

/* scenarios are Derja-only -> Cairo throughout, RTL-aware sizing */
#scenarios { font-family: 'Cairo', 'Poppins', sans-serif; }
#scenarios .section-header h2 { font-family: 'Cairo', 'Poppins', sans-serif; line-height: 1.4; }
#scenarios .section-tag { font-family: 'Cairo', 'Poppins', sans-serif; letter-spacing: 0; }
.scenario-card h3 { font-family: 'Cairo', 'Poppins', sans-serif; line-height: 1.5; }
.scenario-card__who   { font-size: .82rem; }
.scenario-card__what  { font-size: .95rem; line-height: 1.75; }
.scenario-card__quote { font-size: .95rem; line-height: 1.8; color: var(--char); }
.scenarios__note      { font-size: .9rem; line-height: 1.7; }

/* ── Real app screen recording (slot; activated when img/app-demo.* lands) ── */
.appdemo { text-align: center; margin: 44px auto 0; max-width: 300px; }
.appdemo__video { width: 100%; height: auto; display: block; background: var(--cream); }
.appdemo__caption { font-size: .9rem; color: #8b95a3; margin: 16px 0 0; }

/* while the demo reel auto-advances, soften the swipe hint so it doesn't
   read as "you must do something" */
.flow__track.is-autoplaying ~ .flow__hint { opacity: .45; transition: opacity .3s ease; }

/* ── Témoignages — NOT rendered until real quotes exist ───────────────────
   Component is built and styled; the markup lives commented in the HTML with
   ⟪À COMPLÉTER⟫ placeholders. Do not populate with invented reviews: the
   platform has no completed deliveries yet, and Meta rejects ads whose
   landing page carries fabricated testimonials. ------------------------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial {
  background: var(--white);
  border: 1px solid rgba(62,73,87,.08);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  text-align: start;
}
.testimonial__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.testimonial__stars .brand-icon { width: 17px; height: 17px; color: var(--gold); }
.testimonial__quote { font-size: .95rem; line-height: 1.7; color: var(--char); margin: 0 0 18px; }
.testimonial__who { display: flex; align-items: center; gap: 11px; }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy); font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.testimonial__name { font-size: .92rem; font-weight: 700; color: var(--navy); }
.testimonial__role { font-size: .78rem; color: #8b95a3; }

@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ── Parcours type — illustrative journey strip (Derja, RTL) ──────────────
   Labelled as an example, never as a customer testimonial. ------------- */
.journey {
  background: var(--white);
  border: 1px solid rgba(235,185,95,.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px 22px;
  max-width: 940px;
  margin: 0 auto 34px;
}
.journey__label {
  display: inline-block;
  background: rgba(235,185,95,.16);
  color: #8a5e0f;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 99px;
  margin: 0 0 20px;
}
.journey__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: journey;
}
.journey__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
/* connector between beats (RTL-aware: runs toward the reading-end side) */
.journey__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  inset-inline-start: -12px;
  width: 12px;
  height: 2px;
  background: rgba(235,185,95,.45);
}
.journey__icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: rgba(235,185,95,.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.journey__icon .brand-icon { width: 22px; height: 22px; color: var(--gold); }
.journey__step p {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--char);
  margin: 0;
}
.journey__note {
  font-size: .8rem;
  color: #8b95a3;
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(62,73,87,.08);
}

@media (max-width: 860px) {
  .journey__steps { grid-template-columns: 1fr; gap: 20px; }
  .journey__step { flex-direction: row; align-items: flex-start; gap: 13px; }
  .journey__step:not(:last-child)::after {
    top: auto; bottom: -14px; inset-inline-start: 20px;
    width: 2px; height: 14px;
  }
}
