/* Page d'accueil publique de JINEIYATECH-POS (couleurs du logo : bleu marine, bleu vif, cyan). */
:root {
    --navy-950: #040d22;
    --navy-900: #071735;
    --navy-800: #0b2452;
    --blue-700: #0b4fae;
    --blue-600: #1366d6;
    --blue-500: #2b7ff0;
    --cyan-400: #38bdf8;
    --cyan-300: #7dd3fc;
    --emerald: #10b981;
    --ink: #0f172a;
    --text: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f5f7fc;
    --radius: 18px;
    --shadow: 0 24px 50px -28px rgba(11, 36, 82, .35);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0; background: #fff; color: var(--text);
    font-family: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
a { color: var(--blue-600); }
img { max-width: 100%; }
::selection { background: var(--cyan-300); color: var(--navy-900); }

/* ---------- Boutons ---------- */
.btn-marque, .btn-clair, .btn-contour {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none;
    border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-marque { color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); box-shadow: 0 14px 30px -14px rgba(19, 102, 214, .9); }
.btn-marque:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(19, 102, 214, .95); }
.btn-clair { color: var(--navy-900); background: #fff; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.btn-clair:hover { color: var(--blue-700); transform: translateY(-2px); }
.btn-contour { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-contour:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.btn-marque:focus-visible, .btn-clair:focus-visible, .btn-contour:focus-visible { outline: 3px solid var(--cyan-300); outline-offset: 3px; }

/* ---------- Barre de navigation ---------- */
.site-nav {
    position: fixed; inset: 0 0 auto; z-index: 1030; padding: 16px 0;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-nav.defile { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -22px rgba(11, 36, 82, .6); padding: 10px 0; }
.site-nav .marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-nav .marque img { width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }
.site-nav .marque span { font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.01em; transition: color .25s; }
.site-nav .marque span b { color: var(--cyan-300); font-weight: 800; transition: color .25s; }
.site-nav.defile .marque span { color: var(--navy-900); }
.site-nav.defile .marque span b { color: var(--blue-600); }
.site-nav .liens a:not(.btn-marque):not(.btn-contour) {
    color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px;
    transition: color .2s, background .2s;
}
.site-nav .liens a:not(.btn-marque):not(.btn-contour):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav.defile .liens a:not(.btn-marque):not(.btn-contour) { color: var(--text); }
.site-nav.defile .liens a:not(.btn-marque):not(.btn-contour):hover { color: var(--blue-700); background: #eef4ff; }
.site-nav.defile .btn-contour { color: var(--navy-900); border-color: var(--line); background: #fff; }
.site-nav .btn-marque, .site-nav .btn-contour { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.site-nav .menu-bouton { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 44px; height: 44px; padding: 0; border-radius: 12px; font-size: 22px; box-shadow: none; }
.site-nav.defile .menu-bouton { background: #eef4ff; color: var(--navy-900); }
@media (max-width: 991.98px) {
    .site-nav .liens { margin-top: 12px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
    .site-nav .liens a:not(.btn-marque):not(.btn-contour) { color: var(--text); display: block; }
    .site-nav .liens .btn-contour { color: var(--navy-900); border-color: var(--line); background: #fff; }
}

/* ---------- En-tête (hero) ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff; padding: 150px 0 110px;
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(56, 189, 248, .28), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(43, 127, 240, .35), transparent 60%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 40%, var(--navy-800) 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 50% 40%, #000 0, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.pastille-hero {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; font-weight: 600; color: var(--cyan-300);
}
.pastille-hero b { background: var(--cyan-400); color: var(--navy-900); padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 22px 0 18px; }
.hero h1 .degrade { background: linear-gradient(90deg, var(--cyan-300), #a5f3fc 40%, var(--cyan-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .accroche { font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .garanties { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero .garanties i { color: var(--emerald); margin-right: 6px; }

/* Aperçu de l'application */
.apercu { position: relative; margin-top: 10px; }
.fenetre {
    position: relative; background: #fff; border-radius: 20px; overflow: hidden; color: var(--text);
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .6s ease;
}
.apercu:hover .fenetre { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.fenetre-barre { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.fenetre-barre span { width: 11px; height: 11px; border-radius: 50%; background: #fca5a5; }
.fenetre-barre span:nth-child(2) { background: #fcd34d; }
.fenetre-barre span:nth-child(3) { background: #86efac; }
.fenetre-barre em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 8px; flex: 1; }
.fenetre-corps { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.kpi small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.kpi strong { display: block; font-size: 16px; color: var(--ink); margin-top: 2px; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--emerald); }
.graphique { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.graphique .titre-mini { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink); }
.graphique .titre-mini span { color: var(--muted); font-weight: 600; }
.barres { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 12px; }
.barres i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--cyan-400), var(--blue-600)); opacity: .9; transform-origin: bottom; animation: monter 1.1s cubic-bezier(.2, .9, .3, 1) both; }
.barres i:nth-child(odd) { opacity: .55; }
@keyframes monter { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ventes { display: grid; gap: 8px; }
.vente { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.vente .rond { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 11px; color: var(--blue-700); background: #eaf2ff; }
.vente b { color: var(--ink); }
.vente .statut { margin-left: auto; font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.vente .statut.ok { color: #047857; background: #ecfdf5; }
.vente .statut.part { color: #b45309; background: #fffbeb; }
.flottant {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
    background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
    animation: flotter 6s ease-in-out infinite;
}
.flottant small { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; }
.flottant .icone { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #fff; }
.fenetre-corps:has(.ventes) { padding-bottom: 40px; }
.flottant.facture { left: -34px; bottom: -34px; }
.flottant.facture .icone { background: linear-gradient(135deg, #34d399, #059669); }
.flottant.transfert { right: -26px; top: 41%; animation-delay: -3s; }
.flottant.transfert .icone { background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); }
@keyframes flotter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Bandeau des atouts ---------- */
.atouts { position: relative; z-index: 2; margin-top: -48px; }
.atouts .carte-atouts { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 26px 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.atout { display: flex; gap: 14px; align-items: center; }
.atout i { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--blue-600); background: #eef4ff; }
.atout strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.atout span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.fond { background: var(--bg); }
.entete-section { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sur-titre {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
    background: #eef4ff; color: var(--blue-700); font-weight: 700; font-size: 13px; letter-spacing: .02em;
}
.entete-section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin-bottom: 14px; }
.entete-section p { font-size: 1.06rem; color: var(--muted); margin: 0; }

/* Fonctionnalités */
.fonction {
    height: 100%; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fonction:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.fonction .tuile {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 25px; color: #fff; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); box-shadow: 0 14px 26px -14px rgba(19, 102, 214, .9);
}
.fonction:nth-child(6n + 2) .tuile, .col:nth-child(6n + 2) .fonction .tuile { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 14px 26px -14px rgba(5, 150, 105, .9); }
.col:nth-child(6n + 3) .fonction .tuile { background: linear-gradient(135deg, #a78bfa, #6d28d9); box-shadow: 0 14px 26px -14px rgba(109, 40, 217, .9); }
.col:nth-child(6n + 4) .fonction .tuile { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: 0 14px 26px -14px rgba(217, 119, 6, .9); }
.col:nth-child(6n + 5) .fonction .tuile { background: linear-gradient(135deg, #f472b6, #db2777); box-shadow: 0 14px 26px -14px rgba(219, 39, 119, .9); }
.col:nth-child(6n + 6) .fonction .tuile { background: linear-gradient(135deg, #22d3ee, #0e7490); box-shadow: 0 14px 26px -14px rgba(14, 116, 144, .9); }
.fonction h3 { font-size: 1.18rem; margin-bottom: 10px; }
.fonction p { margin: 0; font-size: 15px; }

/* Mise en avant (achats importés) */
.vedette { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: rgba(255, 255, 255, .8); border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
.vedette::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 65%); }
.vedette h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 4px 0 16px; }
.vedette .liste-coche { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.vedette .liste-coche li { display: flex; gap: 12px; }
.vedette .liste-coche i { color: var(--cyan-300); font-size: 18px; }
.calcul { position: relative; z-index: 1; background: #fff; color: var(--text); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.calcul h4 { font-size: 15px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.calcul h4 span { font-size: 11px; font-weight: 700; color: var(--blue-700); background: #eef4ff; padding: 3px 10px; border-radius: 999px; }
.calcul .ligne { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.calcul .ligne b { color: var(--ink); }
.calcul .resultat { margin-top: 14px; padding: 14px 16px; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #fff; font-weight: 800; background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); }
.calcul .marge { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.calcul .marge i { color: var(--emerald); font-size: 16px; }
.sur-titre.sombre { background: rgba(255, 255, 255, .1); color: var(--cyan-300); border: 1px solid rgba(255, 255, 255, .14); }
.vedette p { color: rgba(255, 255, 255, .78); }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.etapes::before { content: ""; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan-400) 0 10px, transparent 10px 18px); opacity: .6; }
.etape { position: relative; text-align: center; padding: 0 10px; }
.etape .numero {
    position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center;
    font-size: 26px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    box-shadow: 0 16px 30px -14px rgba(19, 102, 214, .9), 0 0 0 8px #fff;
}
.fond .etape .numero { box-shadow: 0 16px 30px -14px rgba(19, 102, 214, .9), 0 0 0 8px var(--bg); }
.etape h3 { font-size: 1.15rem; }
.etape p { font-size: 15px; margin: 0; }

/* Tarifs */
.tarif {
    position: relative; height: 100%; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 22px;
    background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.tarif:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tarif.populaire { background: linear-gradient(170deg, var(--navy-900), var(--navy-800)); color: rgba(255, 255, 255, .78); border: 0; box-shadow: 0 30px 60px -28px rgba(11, 36, 82, .8); }
.tarif.populaire h3, .tarif.populaire .prix { color: #fff; }
.tarif .badge-offre { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--navy-900); background: linear-gradient(90deg, var(--cyan-300), var(--cyan-400)); }
.tarif h3 { font-size: 1.05rem; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.tarif .prix { font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.tarif .prix small { font-size: 1.2rem; font-weight: 700; margin-right: 2px; vertical-align: top; }
.tarif .par-mois { margin-top: 8px; font-size: 14px; }
.tarif .economie { align-self: flex-start; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: #047857; background: #ecfdf5; padding: 3px 10px; border-radius: 999px; }
.tarif.populaire .economie { color: var(--navy-900); background: var(--cyan-300); }
.tarif ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14.5px; }
.tarif ul i { color: var(--emerald); margin-right: 8px; }
.tarif.populaire ul i { color: var(--cyan-300); }
.tarif .btn-marque, .tarif .btn-clair { margin-top: auto; width: 100%; }
.tarif:not(.populaire) .btn-marque { background: #eef4ff; color: var(--blue-700); box-shadow: none; }
.tarif:not(.populaire) .btn-marque:hover { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; }

/* Inscription */
.inscription { border-radius: 28px; overflow: hidden; overflow: clip; background: #fff; box-shadow: 0 40px 80px -40px rgba(11, 36, 82, .45); border: 1px solid var(--line); }
.inscription .resume {
    height: 100%; padding: 40px 34px; color: rgba(255, 255, 255, .8); position: relative;
    background: radial-gradient(500px 300px at 100% 0, rgba(56, 189, 248, .3), transparent 60%), linear-gradient(165deg, var(--navy-900), var(--navy-800));
}
.inscription .resume h3 { color: #fff; font-size: 1.5rem; }
.choix-resume { margin: 22px 0; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.choix-resume small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; color: var(--cyan-300); }
.choix-resume .valeur { font-size: 1.6rem; font-weight: 800; color: #fff; margin-top: 4px; }
.choix-resume .valeur span { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pas { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: pas; }
.pas li { display: flex; gap: 12px; font-size: 14.5px; }
.pas li::before { counter-increment: pas; content: counter(pas); flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--navy-900); background: var(--cyan-300); }
/* Résumé visible pendant qu'on remplit le formulaire (overflow: clip ne bloque pas « sticky »). */
@supports (overflow: clip) {
    @media (min-width: 992px) { .inscription .resume .colle { position: sticky; top: 110px; } }
}
.choix-resume .detail { margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.aide-contact { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.aide-contact i { font-size: 22px; line-height: 1; color: var(--cyan-300); }
.aide-contact a { color: #fff; font-weight: 700; }
.formulaire { padding: 40px 38px; }
.formulaire .groupe { margin-bottom: 30px; }
.formulaire .groupe-titre { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-700); margin: 0 0 16px; }
.formulaire .groupe-titre::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.formulaire .groupe-titre span { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.formulaire .form-control::file-selector-button {
    padding: 11px 14px; margin: -11px -14px; margin-inline-end: 14px; background-color: #eef4ff; color: var(--blue-700); font-weight: 700; border-inline-end-color: var(--line);
}
.formulaire .form-control:hover:not(:disabled):not([readonly])::file-selector-button { background-color: #e0ebff; }
.champ-logo { display: flex; align-items: center; gap: 12px; }
.champ-logo .form-control { flex: 1; min-width: 0; }
.retour { margin-top: 6px; font-size: 13px; font-weight: 600; color: #dc2626; }
.retour:empty { display: none; }
.duree { position: relative; }
.durees.is-invalid label, .moyens.is-invalid label { border-color: #fca5a5; background: #fff7f7; }
.duree label small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: #047857; }
.moyens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.moyen label { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--ink); }
.moyen label i { font-size: 24px; line-height: 1; }
.moyen-alipay label i { color: #1677ff; }
.moyen-wechat label i { color: #07c160; }
.paiement-qr { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; margin-top: 14px; padding: 16px; border-radius: 16px; border: 1.5px dashed var(--line); background: #fbfcfe; }
.paiement-qr .qr-bouton { display: block; width: 100%; border: 0; padding: 0; border-radius: 12px; background: #fff; cursor: zoom-in; box-shadow: 0 12px 26px -16px rgba(11, 36, 82, .6); }
.paiement-qr .qr-bouton img { display: block; width: 100%; border-radius: 12px; }
.paiement-qr .qr-bouton:focus-visible { outline: 3px solid var(--cyan-300); outline-offset: 3px; }
.paiement-qr .qr-vide { aspect-ratio: 1; display: grid; place-content: center; gap: 6px; padding: 12px; text-align: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.paiement-qr .qr-vide i { font-size: 34px; line-height: 1; color: var(--blue-600); }
.paiement-qr .montant small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.paiement-qr .montant strong { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.2; color: var(--ink); }
.paiement-qr .montant p { margin: 8px 0 0; font-size: 13.5px; }
.formulaire .form-label, .contact-form .form-label { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.formulaire .form-control, .formulaire .form-select, .contact-form .form-control {
    border-radius: 12px; border: 1.5px solid var(--line); padding: 11px 14px; font-size: 15px; color: var(--ink); background-color: #fbfcfe;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.formulaire .form-control:focus, .formulaire .form-select:focus, .contact-form .form-control:focus { border-color: var(--blue-500); background-color: #fff; box-shadow: 0 0 0 4px rgba(43, 127, 240, .14); }
.formulaire .form-control.is-invalid, .formulaire .form-select.is-invalid, .contact-form .form-control.is-invalid { border-color: #ef4444; }
.formulaire .aide { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.durees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.duree input { position: absolute; opacity: 0; pointer-events: none; }
.duree label {
    display: block; height: 100%; padding: 14px 10px; border-radius: 14px; border: 1.5px solid var(--line); text-align: center; cursor: pointer;
    background: #fbfcfe; transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
.duree label:hover { border-color: var(--cyan-400); transform: translateY(-2px); }
.duree label b { display: block; font-size: 1.05rem; color: var(--ink); }
.duree label span { display: block; font-size: 13px; color: var(--blue-700); font-weight: 700; }
.duree input:checked + label { border-color: var(--blue-600); background: #eef4ff; box-shadow: 0 0 0 4px rgba(43, 127, 240, .14); }
.duree input:focus-visible + label { outline: 3px solid var(--cyan-300); outline-offset: 2px; }
.logo-apercu { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.erreurs-envoi { border-radius: 16px; padding: 16px 18px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 14.5px; margin-bottom: 26px; }
.erreurs-envoi strong { display: block; margin-bottom: 6px; color: #7f1d1d; }
.erreurs-envoi ul { margin: 0; padding-left: 18px; }
.bouton-envoi { width: 100%; padding: 16px; font-size: 16px; margin-top: 6px; }
.btn-marque:disabled { opacity: .8; cursor: progress; transform: none; }
.note-securite { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.note-securite i { color: var(--emerald); }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; overflow: hidden; margin-bottom: 12px; background: #fff; }
.faq .accordion-button { font-weight: 700; color: var(--ink); padding: 20px 22px; font-size: 16px; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--blue-700); background: #f6f9ff; }
.faq .accordion-button:focus { box-shadow: 0 0 0 4px rgba(43, 127, 240, .14); }
.faq .accordion-body { padding: 4px 22px 22px; color: var(--text); background: #f6f9ff; }
.faq .accordion-header { margin: 0; }
.faq-intro h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; margin-bottom: 14px; }
.faq-intro p { color: var(--muted); }

/* Contact */
.contact-infos { display: grid; gap: 14px; }
.contact-info { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
a.contact-info:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.contact-info i { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); }
.contact-info small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.contact-info strong { color: var(--ink); font-size: 16px; }
.contact-form { padding: 34px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.message-envoye { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-weight: 600; margin-bottom: 20px; }
.message-envoye i { font-size: 22px; color: var(--emerald); }
.contact-form .erreurs-envoi { margin-bottom: 20px; }

/* Agrandissement du QR code */
.qr-modal { border: 0; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(4, 13, 34, .6); }
.qr-modal .modal-title { font-weight: 800; color: var(--ink); }
.qr-modal img { max-height: 70vh; border-radius: 14px; }

/* Appel final */
.appel { position: relative; overflow: hidden; border-radius: 28px; padding: 60px 40px; text-align: center; color: rgba(255, 255, 255, .85); background: linear-gradient(120deg, var(--blue-700), var(--blue-500) 55%, var(--cyan-400)); }
.appel::before, .appel::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.appel::before { width: 320px; height: 320px; left: -100px; bottom: -180px; }
.appel::after { width: 240px; height: 240px; right: -60px; top: -120px; }
.appel h2 { position: relative; color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.appel p { position: relative; max-width: 560px; margin: 10px auto 28px; }
.appel .btn-clair { position: relative; }

/* Pied de page */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding: 70px 0 30px; font-size: 15px; }
.site-footer .marque { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; }
.site-footer .marque img { width: 40px; height: 40px; border-radius: 12px; background: #fff; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-300); }
.site-footer .bas { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }

/* Notification (déconnexion…) */
.notif { position: fixed; z-index: 1050; top: 90px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); border: 1px solid var(--line); animation: notif 5s ease forwards; }
.notif i { color: var(--emerald); font-size: 20px; }
@keyframes notif { 0% { opacity: 0; transform: translate(-50%, -10px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -10px); visibility: hidden; } }

/* Apparition au défilement (seulement si le JavaScript est actif) */
.js .revele { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .revele.visible { opacity: 1; transform: none; }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1199.98px) {
    .flottant.facture { left: -10px; }
    .flottant.transfert { right: -10px; }
}
@media (max-width: 991.98px) {
    .hero { padding: 130px 0 120px; text-align: center; }
    .hero .accroche { margin: 0 auto; }
    .hero .actions, .hero .garanties { justify-content: center; }
    .apercu { margin-top: 56px; }
    .fenetre { transform: none; text-align: left; }
    .atouts .carte-atouts { grid-template-columns: repeat(2, 1fr); }
    .etapes { grid-template-columns: 1fr; gap: 36px; }
    .etapes::before { display: none; }
    .vedette { padding: 36px 26px; }
    .formulaire, .inscription .resume { padding: 30px 22px; }
}
@media (max-width: 575.98px) {
    .section { padding: 72px 0; }
    .flottant { display: none; }
    .fenetre-corps:has(.ventes) { padding-bottom: 18px; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .kpis .kpi:last-child { display: none; }
    .atouts .carte-atouts { grid-template-columns: 1fr; }
    .durees { grid-template-columns: repeat(2, 1fr); }
    .paiement-qr { grid-template-columns: 1fr; text-align: center; }
    .paiement-qr .qr-bouton, .paiement-qr .qr-vide { max-width: 210px; margin: 0 auto; }
    .contact-form { padding: 24px 18px; }
    .appel { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .revele { opacity: 1; transform: none; transition: none; }
    .flottant, .barres i, .notif { animation: none; }
    .fenetre, .apercu:hover .fenetre { transform: none; }
}
