:root {
    --home-ink: #0b1742;
    --home-blue: #1358e8;
    --home-blue-dark: #0c2e82;
    --home-yellow: #ffc928;
    --home-green: #10b981;
    --home-paper: #f7f8fc;
    --home-line: #dce4f4;
    --home-radius: 28px;
}

.marketing-home {
    margin: 0;
    overflow-x: hidden;
    background: var(--home-paper);
    color: var(--home-ink);
    font-family: "Plus Jakarta Sans", "Avenir Next", sans-serif;
    line-height: 1.55;
}

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

.marketing-home a { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(11, 23, 66, 0.08);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.site-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--home-ink);
    text-decoration: none;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.site-brand img { border-radius: 14px; box-shadow: 0 8px 24px rgba(19, 88, 232, 0.18); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.site-nav a {
    color: #536079;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

.site-nav a:hover { color: var(--home-blue); }

.site-actions { display: flex; align-items: center; gap: 9px; }

.home-lang {
    display: flex;
    padding: 4px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: #f3f6fc;
}

.home-lang button {
    border: 0;
    border-radius: 999px;
    padding: 6px 8px;
    background: transparent;
    color: #6b7890;
    font: 800 0.78rem/1 "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
}

.home-lang button.active { background: #fff; color: var(--home-blue); box-shadow: 0 2px 8px rgba(11, 23, 66, 0.1); }

.header-app-link,
.header-topup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
}

.header-app-link { border: 1px solid var(--home-line); background: #fff; }
.header-topup-link { background: var(--home-blue); color: #fff !important; box-shadow: 0 8px 22px rgba(19, 88, 232, 0.2); }

.hero-new {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 201, 40, 0.17), transparent 25%),
        linear-gradient(145deg, #071b58 0%, #103b9d 55%, #1765ee 100%);
}

.hero-new::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-new-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    min-height: 690px;
    margin: 0 auto;
    padding: 58px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.82fr);
    align-items: center;
    gap: 70px;
}

.hero-copy { color: #fff; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-size: 0.84rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--home-yellow); box-shadow: 0 0 0 5px rgba(255,201,40,.16); }

.hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(3.1rem, 5.3vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.hero-copy h1 span { color: var(--home-yellow); }

.hero-lead {
    max-width: 670px;
    margin: 25px 0 22px;
    color: rgba(255,255,255,.84);
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.7;
}

.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,.1); }
.hero-points i { color: var(--home-yellow); }
.hero-points b { font-size: 0.82rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-cta,
.secondary-cta {
    min-height: 54px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
.primary-cta { background: var(--home-yellow); color: #142251 !important; box-shadow: 0 14px 34px rgba(255,201,40,.22); }
.secondary-cta { border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.12); color: #fff !important; }
.primary-cta:hover,
.secondary-cta:hover { transform: translateY(-2px); }
.hero-reassurance { margin: 13px 0 0; color: rgba(255,255,255,.72); font-size: 0.86rem; font-weight: 700; }

.hero-human {
    position: relative;
    width: 100%;
    height: 570px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 38px 38px 110px 38px;
    box-shadow: 0 36px 70px rgba(3, 12, 42, .4);
}

.hero-human > img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 170%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 47%;
}

.human-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(4, 15, 53, .72)); }
.floating-proof { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 13px; background: rgba(255,255,255,.94); color: var(--home-ink); box-shadow: 0 14px 30px rgba(3,12,42,.22); font-size: 0.8rem; font-weight: 800; }
.floating-proof i { color: var(--home-blue); }
.floating-proof-top { top: 20px; right: 20px; }
.floating-proof-bottom { left: 20px; right: 20px; bottom: 20px; justify-content: center; }

.topup-priority { position: relative; z-index: 5; padding: 28px 20px 20px; background: #fff; box-shadow: 0 -14px 40px rgba(6, 26, 81, .09); }
.topup-priority-inner { width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: auto minmax(270px, 1.15fr) minmax(290px, .9fr) auto; align-items: center; gap: 20px; }
.topup-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: #eafaf4; color: #07845f; font-size: 1.25rem; }
.topup-message h2 { margin: 1px 0 3px; font-size: 1.15rem; letter-spacing: -.03em; }
.topup-message p { margin: 0; color: #667188; font-size: .86rem; }
.mini-label { color: #07845f; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.topup-prices { display: flex; flex-wrap: wrap; gap: 7px; }
.topup-prices span { padding: 7px 9px; border: 1px solid #bdebdc; border-radius: 9px; color: #067755; background: #f4fffb; font-size: .78rem; font-weight: 800; }
.topup-main-cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 17px; border-radius: 13px; background: var(--home-blue); color: #fff !important; text-decoration: none; white-space: nowrap; font-size: .86rem; font-weight: 800; }
.operator-line { width: min(1180px, 100%); margin: 20px auto 0; padding-top: 16px; border-top: 1px solid #eef2f6; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.operator-trust-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #334155; }
.operator-trust-badge i { color: #10b981; font-size: .9rem; }
.cinetpay-badge-img { height: 22px; width: auto; display: block; }
.operator-badges { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.operator-pill { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 40px; padding: 4px 10px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 9px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); transition: transform .15s ease, box-shadow .15s ease; }
.operator-pill:hover { transform: translateY(-1px); box-shadow: 0 3px 6px rgba(15, 23, 42, 0.08); }
.operator-pill img { height: 24px; width: 24px; max-height: 24px; max-width: 24px; object-fit: contain; display: block; }
.operator-footnote { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: #64748b; font-weight: 600; text-align: center; }
.operator-footnote i { color: #059669; font-size: .82rem; }

.final-topup-security { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #e2e8f0; font-size: .8rem; font-weight: 600; }
.final-topup-security i { color: #34d399; }

.footer-payment-strip { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 18px 0 14px; padding: 14px 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; width: 100%; max-width: 620px; }
.footer-payment-trust { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: #94a3b8; font-weight: 600; }
.footer-payment-trust i { color: #10b981; }
.footer-cinetpay-img { height: 19px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-payment-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.footer-payment-logos img { padding: 2px; background: #ffffff; border-radius: 5px; height: 18px; width: 18px; max-height: 18px; max-width: 18px; object-fit: contain; }

.feature-story,
.journey-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 94px 0; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading.compact { margin-bottom: 32px; }
.section-kicker { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #e8efff; color: var(--home-blue); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.section-kicker.light { background: rgba(255,255,255,.12); color: var(--home-yellow); }
.section-heading h2,
.real-life-copy h2 { margin: 15px 0 14px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.055em; color: var(--home-ink); }
.section-heading h2 span,
.real-life-copy h2 span { color: var(--home-blue); }
.section-heading p { max-width: 680px; margin: 0; color: #647087; font-size: .96rem; }

.feature-grid-new { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-new { position: relative; overflow: hidden; min-height: 310px; padding: 28px; border: 1px solid var(--home-line); border-radius: var(--home-radius); background: #fff; box-shadow: 0 16px 45px rgba(11,23,66,.07); }
.feature-new::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -70px; border-radius: 50%; background: currentColor; opacity: .06; }
.feature-number { position: absolute; top: 24px; right: 26px; color: #a8b1c3; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.feature-new-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; margin-bottom: 38px; font-size: 1.15rem; }
.feature-new h3 { margin: 0 0 9px; color: var(--home-ink); font-size: 1.25rem; letter-spacing: -.03em; }
.feature-new p { max-width: 460px; margin: 0 0 24px; color: #606c83; font-size: .95rem; }
.feature-result { display: inline-flex; padding: 7px 10px; border-radius: 9px; background: rgba(11,23,66,.05); color: var(--home-ink); font-size: .78rem; font-weight: 800; }
.feature-blue { color: var(--home-blue); }
.feature-green { color: #07845f; }
.feature-orange { color: #c65b16; }
.feature-yellow { color: #a56d00; }
.feature-blue .feature-new-icon { background: #e9f0ff; }
.feature-green .feature-new-icon { background: #e7f8f2; }
.feature-orange .feature-new-icon { background: #fff0e6; }
.feature-yellow .feature-new-icon { background: #fff6d8; }

.real-life { display: grid; grid-template-columns: .78fr 1.4fr; align-items: center; gap: 58px; padding: 86px max(20px, calc((100vw - 1180px) / 2)); overflow: hidden; background: #071b58; }
.real-life-copy { color: #fff; }
.real-life-copy h2 { color: #fff; }
.real-life-copy h2 span { color: var(--home-yellow); }
.real-life-copy p { color: rgba(255,255,255,.78); font-size: 1rem; }
.light-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; margin-top: 18px; padding: 0 17px; border-radius: 13px; background: #fff; color: var(--home-blue) !important; text-decoration: none; font-size: .88rem; font-weight: 800; }
.campaign-gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; align-items: center; gap: 15px; }
.campaign-card { margin: 0; overflow: hidden; border-radius: 24px; box-shadow: 0 24px 55px rgba(0,0,0,.28); transform: rotate(2deg); }
.campaign-card:nth-child(2) { transform: rotate(-3deg); }
.campaign-card:nth-child(3) { transform: rotate(4deg); }
.campaign-card img { display: block; width: 100%; height: auto; }
.campaign-card-main { transform: translateY(-5px) rotate(-1deg); }

.journey-section { padding-bottom: 104px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey-grid article { position: relative; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--home-line); }
.journey-grid article > span { position: absolute; top: 20px; right: 22px; color: #b0b9ca; font-size: .72rem; font-weight: 800; }
.journey-grid i { margin-bottom: 38px; color: var(--home-blue); font-size: 1.3rem; }
.journey-grid h3 { margin: 0 0 7px; color: var(--home-ink); font-size: 1rem; }
.journey-grid p { margin: 0; color: #68748a; font-size: .9rem; }

.final-topup { padding: 0 20px 76px; background: var(--home-paper); }
.final-topup-inner { width: min(1180px, 100%); margin: 0 auto; padding: 46px; border-radius: 34px; display: grid; grid-template-columns: 1.5fr auto; align-items: center; gap: 40px; background: linear-gradient(135deg, #1559e9, #0a358f); color: #fff; box-shadow: 0 26px 60px rgba(19,88,232,.22); }
.final-tag { color: var(--home-yellow); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.final-topup h2 { margin: 8px 0 8px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.045em; }
.final-topup p { margin: 0; color: rgba(255,255,255,.78); font-size: .95rem; }
.final-topup-action { min-width: 260px; display: grid; gap: 12px; }
.final-price { display: grid; justify-items: end; }
.final-price small { color: rgba(255,255,255,.72); font-size: .76rem; }
.final-price strong { color: var(--home-yellow); font-size: 1.55rem; }
.final-topup-action a { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border-radius: 15px; background: var(--home-yellow); color: var(--home-ink) !important; text-decoration: none; font-size: .9rem; font-weight: 800; }

.site-footer-new { padding: 28px 20px; border-top: 1px solid var(--home-line); background: #fff; }
.footer-main-new { width: min(1180px, 100%); margin: 0 auto; display: flex; align-items: center; gap: 22px; }
.footer-brand-new { font-size: 1rem; }
.footer-main-new > p { margin: 0; color: #718097; font-size: .82rem; }
/* align-items: center est indispensable : sans lui, la rangée étire ses
   éléments vers le haut et le lien WhatsApp, plus haut à cause de son
   rembourrage tactile, descend sous les deux autres. */
.footer-links-new { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.footer-links-new a { color: #5b687f; text-decoration: none; font-size: .82rem; font-weight: 700; }
/* Contact WhatsApp : discret, aligné sur les autres liens du pied de page.
   L'insistance est portée par la bulle flottante ; un second gros bouton vert
   ici déséquilibrait la ligne. Seul le logo garde la couleur de marque. Le
   rembourrage vertical donne une zone tactile confortable sans rien afficher. */
.footer-links-new a.footer-wa { display: inline-flex; align-items: center; gap: 7px; padding: 12px 0; }
.footer-links-new a.footer-wa i { color: #25D366; font-size: 1.05rem; }
.footer-main-new > span { color: #9aa4b5; font-size: .76rem; }

.mobile-topup-bar { display: none; }

/* Sur ordinateur, la bulle WhatsApp flottante est en bas à droite : le pied de
   page reçoit une marge basse pour qu'elle ne recouvre jamais le bouton de
   contact, qui est justement aligné à droite. Sur mobile, la bulle est déjà
   remontée au-dessus de la barre d'achat, la marge reste donc inchangée. */
@media (min-width: 761px) {
    .site-footer-new { padding-bottom: 96px; }
}

@media (max-width: 1000px) {
    .site-nav { display: none; }
    .hero-new-inner { grid-template-columns: 1fr .72fr; gap: 35px; }
    .hero-human { height: 520px; }
    .topup-priority-inner { grid-template-columns: auto 1fr auto; }
    .topup-prices { grid-column: 2 / 3; }
    .topup-main-cta { grid-column: 3; grid-row: 1 / 3; }
    .real-life { grid-template-columns: 1fr; }
    .real-life-copy { max-width: 680px; }
}

@media (max-width: 760px) {
    .marketing-home { padding-bottom: 74px; }
    .site-header-inner { width: calc(100% - 24px); min-height: 66px; gap: 10px; }
    .site-brand span { display: none; }
    .site-brand img { width: 42px; height: 42px; }
    .site-actions { margin-left: auto; }
    .header-app-link { display: none; }
    .header-topup-link { min-height: 40px; padding: 0 12px; font-size: .78rem; }
    .hero-new-inner { width: calc(100% - 28px); min-height: auto; padding: 42px 0 34px; grid-template-columns: 1fr; gap: 32px; }
    .eyebrow { margin-bottom: 18px; font-size: .78rem; }
    .hero-copy h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .hero-lead { margin-top: 20px; font-size: 1rem; }
    .hero-points { gap: 6px; }
    .hero-points span { padding: 7px 8px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .primary-cta,
    .secondary-cta { width: 100%; }
    .hero-human { height: 380px; border-radius: 28px 28px 70px 28px; }
    .hero-human > img { width: 155%; object-position: 76% center; }
    .floating-proof-top { top: 14px; right: 14px; }
    .floating-proof-bottom { left: 14px; right: 14px; bottom: 14px; }
    .topup-priority { padding: 28px 16px 18px; }
    .topup-priority-inner { grid-template-columns: auto 1fr; gap: 15px; }
    .topup-icon { width: 48px; height: 48px; }
    .topup-message h2 { font-size: 1rem; }
    .topup-prices { grid-column: 1 / -1; }
    .topup-main-cta { grid-column: 1 / -1; grid-row: auto; width: 100%; }
    .operator-line { gap: 10px; }
    .operator-trust-badge { font-size: .75rem; padding: 5px 12px; }
    .cinetpay-badge-img { height: 19px; }
    .operator-badges { gap: 6px; }
    .operator-pill { height: 32px; min-width: 36px; padding: 3px 6px; }
    .operator-pill img { height: 20px; width: 20px; max-height: 20px; max-width: 20px; }
    .operator-footnote { font-size: .72rem; }
    .footer-payment-strip { padding: 12px; }
    .feature-story,
    .journey-section { width: calc(100% - 28px); padding: 70px 0; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2,
    .real-life-copy h2 { font-size: 2.15rem; }
    .feature-grid-new { grid-template-columns: 1fr; }
    .feature-new { min-height: auto; padding: 24px; }
    .feature-new-icon { margin-bottom: 30px; }
    .real-life { padding: 65px 14px; gap: 36px; }
    .campaign-gallery { margin: 0 -14px; padding: 8px 14px 24px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .campaign-card { flex: 0 0 76%; scroll-snap-align: center; transform: none !important; }
    .journey-grid { grid-template-columns: 1fr; }
    .journey-grid i { margin-bottom: 26px; }
    .final-topup { padding: 0 14px 54px; }
    .final-topup-inner { padding: 30px 24px; grid-template-columns: 1fr; gap: 24px; }
    .final-price { justify-items: start; }
    .final-topup-action { min-width: 0; }
    .footer-main-new { flex-wrap: wrap; }
    .footer-main-new > p { width: calc(100% - 70px); }
    .footer-links-new { width: 100%; margin: 0; }
    .mobile-topup-bar { position: fixed; z-index: 1200; left: 8px; right: 8px; bottom: 8px; min-height: 58px; padding: 8px 14px; border-radius: 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: #071b58; color: #fff !important; text-decoration: none; box-shadow: 0 14px 35px rgba(3,12,42,.38); }
    .mobile-topup-bar span { display: grid; }
    .mobile-topup-bar small { color: rgba(255,255,255,.68); font-size: .75rem; }
    .mobile-topup-bar b { color: var(--home-yellow); font-size: .9rem; }
    .mobile-topup-bar > strong { text-align: right; font-size: .86rem; }
    .mobile-topup-bar > i { color: var(--home-yellow); }
}

@media (max-width: 390px) {
    .header-topup-link { display: none; }
    .hero-copy h1 { font-size: 2.5rem; }
    .hero-points b { font-size: .75rem; }
    .home-lang button { padding: 6px 7px; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: rise-in .62s ease both; }
    .hero-copy > :nth-child(2) { animation-delay: .06s; }
    .hero-copy > :nth-child(3) { animation-delay: .12s; }
    .hero-copy > :nth-child(4) { animation-delay: .18s; }
    .hero-copy > :nth-child(5) { animation-delay: .24s; }
    .hero-human { animation: rise-in .72s .16s ease both; }
}

@keyframes rise-in {
    from { transform: translateY(12px); }
    to { transform: translateY(0); }
}
