/* =========================================================
   MON INVOICE — PAGE D'ACCUEIL PUBLIQUE
   Fichier : accueil.css  (utilisé seulement par accueil.html)
   ========================================================= */

:root {
    --acc-marine: #0a2463;
    --acc-marine-2: #0d3a8f;
    --acc-marine-fonce: #071a4a;
    --acc-bleu: #1668f2;
    --acc-bleu-fonce: #0f55cf;
    --acc-bleu-clair: #4fb2ff;
    --acc-fond-bleu: #eaf2fd;
    --acc-texte: #0f1f3d;
    --acc-gris: #55627a;
    --acc-bordure: #dbe5f3;
    --acc-titre: "Montserrat", system-ui, sans-serif;
    --acc-corps: "Roboto", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #ffffff;
    color: var(--acc-texte);
    font-family: var(--acc-corps);
    line-height: 1.45;
}

a { color: inherit; }

.acc-conteneur {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------- Boutons ---------- */

.acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1.5px solid transparent;
    border-radius: 7px;
    font: 700 15px/1.2 var(--acc-corps);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.acc-btn:hover { transform: translateY(-1px); }
.acc-btn:focus-visible { outline: 3px solid #9ccaff; outline-offset: 2px; }

.acc-btn-bleu { background: var(--acc-bleu); color: #ffffff; }
.acc-btn-bleu:hover { background: var(--acc-bleu-fonce); }

.acc-btn-contour { border-color: rgba(255, 255, 255, .85); background: transparent; color: #ffffff; }
.acc-btn-contour:hover { background: rgba(255, 255, 255, .1); }

.acc-btn-grand { width: min(560px, 100%); min-height: 50px; font-size: 17px; }

/* ---------- En-tête + héros (fond bleu marine quadrillé) ---------- */

.acc-entete {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 38px 38px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 38px 38px,
        radial-gradient(ellipse at 50% 35%, #1546a8 0%, var(--acc-marine) 55%, var(--acc-marine-fonce) 100%);
}

.acc-entete-ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}

.acc-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.acc-logo-icone { font-size: 34px; }

.acc-logo-texte { display: flex; flex-direction: column; line-height: 1.15; }
.acc-logo-texte strong { font: 700 20px/1.1 var(--acc-corps); }
.acc-logo-texte small { margin-top: 3px; font-size: 12.5px; opacity: .9; }

.acc-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.acc-menu > a {
    position: relative;
    padding: 8px 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.acc-menu > a.actif::after,
.acc-menu > a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
}

.acc-menu-boutons { display: flex; gap: 10px; margin-left: 10px; }
.acc-menu-boutons .acc-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

.acc-burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.acc-heros {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 0 0;
    text-align: center;
}

.acc-heros h1 {
    margin: 0;
    font: 800 clamp(30px, 4.6vw, 50px)/1.15 var(--acc-titre);
    letter-spacing: -.5px;
}

.acc-heros h1 span { color: var(--acc-bleu-clair); }

.acc-heros-texte {
    margin: 16px 0 24px;
    font-size: clamp(16px, 1.8vw, 19px);
    opacity: .95;
}

.acc-heros-boutons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.acc-atouts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 48px;
    margin: 22px 0 34px;
    padding: 0;
    list-style: none;
    font-size: 15.5px;
    font-weight: 500;
}

.acc-atouts li { display: inline-flex; align-items: center; gap: 12px; }
.acc-atouts i { font-size: 23px; color: #ffffff; }

/* ---------- Ordinateur portable (illustration) ---------- */

.acc-portable {
    width: min(860px, 100%);
    margin: 0;
}

.acc-portable-ecran {
    padding: 10px;
    border: 3px solid #3a3f4a;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: #11141a;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, .35);
}

.acc-portable-base {
    position: relative;
    height: 16px;
    margin: 0 -7%;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(#e7eaef, #a9aeb7);
}

.acc-portable-base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 16%;
    height: 6px;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    background: #bfc4cc;
}

/* Mini logiciel affiché dans l'écran */
.acc-app {
    display: grid;
    grid-template-columns: 22% 1fr;
    min-height: 300px;
    overflow: hidden;
    border-radius: 6px;
    background: #f6f8fc;
    color: #1d2a44;
    font-size: 10px;
    text-align: left;
}

.acc-app-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 8px;
    background: #ffffff;
    border-right: 1px solid #e6ebf3;
}

.acc-app-logo { margin-bottom: 8px; font-weight: 700; font-size: 11px; }
.acc-app-logo i { margin-right: 4px; }

.acc-app-menu span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 7px;
    border-radius: 5px;
    color: #33415c;
}

.acc-app-menu span i { width: 12px; text-align: center; }
.acc-app-menu span.actif { background: var(--acc-bleu); color: #ffffff; font-weight: 700; }

.acc-app-corps { display: flex; flex-direction: column; gap: 8px; padding: 10px; min-width: 0; }

.acc-app-haut { display: flex; align-items: center; gap: 10px; }
.acc-app-recherche { flex: 0 1 46%; padding: 5px 9px; border-radius: 999px; background: #e9eef6; color: #8792a6; }
.acc-app-cloche { margin-left: auto; }
.acc-app-profil { display: inline-flex; align-items: center; gap: 5px; }
.acc-app-profil > i:first-child { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #10141c; color: #ffffff; font-size: 8px; }

.acc-app-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }

.acc-app-stats > div,
.acc-app-carte {
    padding: 8px;
    border: 1px solid #e6ebf3;
    border-radius: 6px;
    background: #ffffff;
}

.acc-app-stats small { display: block; color: #6b778c; }
.acc-app-stats strong { display: block; margin: 3px 0 2px; font-size: 12px; }
.acc-app-stats em { color: #15a34a; font-style: normal; font-weight: 700; }

.acc-app-graphes { display: grid; grid-template-columns: 1.35fr 1fr; gap: 7px; }
.acc-app-carte b { display: block; margin-bottom: 6px; }

.acc-barres {
    display: flex;
    align-items: flex-end;
    gap: 8%;
    height: 82px;
    padding: 0 4px 14px 0;
}

.acc-barres-axe {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    color: #8792a6;
    font-size: 8px;
}

.acc-barre {
    position: relative;
    flex: 1;
    height: var(--h);
    border-radius: 2px 2px 0 0;
    background: var(--acc-bleu);
}

.acc-barre span {
    position: absolute;
    left: 50%;
    bottom: -13px;
    transform: translateX(-50%);
    color: #6b778c;
    font-size: 8px;
}

.acc-donut-zone { display: flex; align-items: center; gap: 12px; }

.acc-donut {
    flex: none;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffffff 0 42%, transparent 43%),
        conic-gradient(#1f78e8 0 60%, #13a39b 60% 85%, #f5b301 85% 100%);
}

.acc-legende { display: grid; gap: 5px; flex: 1; margin: 0; padding: 0; list-style: none; }
.acc-legende li { display: flex; align-items: center; gap: 5px; }
.acc-legende li span { margin-left: auto; }
.acc-legende i { width: 7px; height: 7px; border-radius: 50%; }
.acc-legende .p1 { background: #1f78e8; }
.acc-legende .p2 { background: #13a39b; }
.acc-legende .p3 { background: #f5b301; }

.acc-app-tableau table { width: 100%; border-collapse: collapse; }
.acc-app-tableau th { padding: 3px 4px; color: #33415c; text-align: left; }
.acc-app-tableau td { padding: 4px; border-top: 1px solid #eef2f8; }
.acc-app-tableau td.lien { color: var(--acc-bleu); }
.acc-app-tableau .ok,
.acc-app-tableau .att { padding: 1px 5px; border-radius: 3px; font-weight: 700; }
.acc-app-tableau .ok { background: #dcfce7; color: #15803d; }
.acc-app-tableau .att { background: #fde68a; color: #92400e; }

/* ---------- Sections ---------- */

.acc-section { padding: 46px 0; }
.acc-section-bleue { background: var(--acc-fond-bleu); }

.acc-section h2 {
    margin: 0;
    color: var(--acc-marine);
    font: 800 clamp(24px, 2.6vw, 30px)/1.2 var(--acc-titre);
}

.acc-h2-petit { margin-top: 30px !important; font-size: clamp(21px, 2.2vw, 25px) !important; }

.acc-sous-titre { margin: 4px 0 18px; color: var(--acc-gris); font-size: 16px; }

/* Liste des fonctionnalités */
.acc-liste { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }

.acc-liste a {
    display: grid;
    grid-template-columns: 64px minmax(190px, 290px) 1fr 40px;
    align-items: center;
    min-height: 54px;
    overflow: hidden;
    border: 1px solid var(--acc-bordure);
    border-radius: 8px;
    background: #ffffff;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.acc-liste a:hover { border-color: #9cc1f5; box-shadow: 0 4px 14px rgba(22, 104, 242, .1); }

.acc-liste a > i:first-child {
    display: grid;
    place-items: center;
    align-self: stretch;
    background: #eef4fe;
    color: var(--acc-bleu);
    font-size: 21px;
}

.acc-liste strong { padding: 0 14px 0 20px; font-size: 16px; color: var(--acc-texte); }
.acc-liste span { padding-right: 10px; color: var(--acc-gris); font-size: 14.5px; }
.acc-chevron { color: var(--acc-bleu); text-align: center; }

/* Étapes */
.acc-etapes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.acc-etapes a {
    display: grid;
    grid-template-columns: 64px 1fr 40px;
    align-items: center;
    gap: 16px;
    padding: 12px 16px 12px 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(10, 36, 99, .06);
    text-decoration: none;
}

.acc-num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--acc-bleu);
    color: #ffffff;
    font: 700 19px/1 var(--acc-corps);
}

.acc-etapes strong { display: block; font-size: 16.5px; }
.acc-etapes small { display: block; margin-top: 2px; color: var(--acc-gris); font-size: 15px; }

/* Tarifs */
.acc-tarifs { display: grid; gap: 10px; }

.acc-tarif {
    display: grid;
    grid-template-columns: 90px minmax(200px, 360px) 1fr;
    align-items: center;
    min-height: 74px;
    padding: 10px 20px;
    border: 1px solid var(--acc-bordure);
    border-radius: 8px;
}

.acc-tarif-icone { color: var(--acc-bleu); font-size: 40px; text-align: center; }

.acc-tarif-prix { display: flex; flex-direction: column; padding: 0 20px; border-right: 1px solid var(--acc-bordure); }
.acc-tarif-prix span { font-size: 16px; font-weight: 500; }
.acc-tarif-prix strong { color: var(--acc-bleu); font: 800 clamp(22px, 2.4vw, 27px)/1.15 var(--acc-titre); }

.acc-tarif p { margin: 0; padding-left: 20px; color: var(--acc-gris); font-size: 15px; }

/* Moyens de paiement */
.acc-moyens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.acc-moyen {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 56px;
    border: 1px solid var(--acc-bordure);
    border-radius: 6px;
    font-size: 16px;
}

.acc-wave {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--acc-bleu);
    color: #ffffff;
    font: 800 20px/1 var(--acc-titre);
}

.acc-carte { color: var(--acc-bleu); font-size: 32px; }

/* Support */
.acc-support { padding: 18px 0; background: var(--acc-fond-bleu); }

.acc-support-ligne {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.acc-support-icone { color: var(--acc-bleu); font-size: 46px; }
.acc-support-titre { display: flex; flex-direction: column; }
.acc-support-titre strong { color: var(--acc-marine); font: 800 21px/1.2 var(--acc-titre); }
.acc-support-titre span { font-size: 17px; font-weight: 500; }
.acc-support-ligne p { margin: 0; color: var(--acc-gris); font-size: 14px; }
.acc-support-ligne .acc-btn { min-width: 200px; min-height: 46px; }

.acc-support-panneau {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--acc-bordure);
    border-radius: 10px;
    background: #ffffff;
}

.acc-support-panneau[hidden] { display: none; }
.acc-support-panneau p { margin: 0; }
.acc-support-panneau .acc-contacts { display: flex; flex-wrap: wrap; gap: 10px; }

.acc-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--acc-bordure);
    border-radius: 8px;
    color: var(--acc-texte);
    font-weight: 600;
    text-decoration: none;
}

.acc-contact.wa { border-color: #25d366; background: #25d366; color: #ffffff; }

/* Pied de page */
.acc-pied { padding: 16px 0; background: var(--acc-marine); color: #ffffff; }

.acc-pied-ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.acc-pied-liens { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.acc-pied-liens a { text-decoration: none; }
.acc-pied-liens a:hover { text-decoration: underline; }
.acc-copyright { margin: 0; font-size: 13.5px; text-align: right; }

/* Petite fenêtre d'information */
.acc-dialogue {
    width: min(460px, calc(100vw - 32px));
    padding: 22px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(10, 36, 99, .3);
}

.acc-dialogue::backdrop { background: rgba(7, 26, 74, .55); }
.acc-dialogue h3 { margin: 0 0 8px; color: var(--acc-marine); font-family: var(--acc-titre); }
.acc-dialogue p { margin: 0 0 18px; color: var(--acc-gris); }

/* =========================================================
   TABLETTE ET TÉLÉPHONE
   ========================================================= */

@media (max-width: 980px) {
    .acc-burger { display: inline-grid; place-items: center; }

    .acc-menu {
        position: absolute;
        top: 76px;
        left: 12px;
        right: 12px;
        z-index: 50;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
    }

    .acc-menu.ouvert { display: flex; }

    .acc-menu > a {
        padding: 12px 14px;
        border-radius: 8px;
        color: var(--acc-texte);
    }

    .acc-menu > a::after { display: none; }
    .acc-menu > a.actif,
    .acc-menu > a:hover { background: var(--acc-fond-bleu); color: var(--acc-bleu); }

    .acc-menu-boutons { flex-direction: column; margin: 8px 0 0; }
    .acc-menu-boutons .acc-btn { min-height: 46px; }
    .acc-menu-boutons .acc-btn-contour { border-color: var(--acc-bleu); color: var(--acc-bleu); }

    .acc-liste a { grid-template-columns: 56px minmax(140px, 200px) 1fr 34px; }
}

@media (max-width: 720px) {
    .acc-conteneur { width: calc(100% - 32px); }

    .acc-logo-icone { font-size: 30px; }
    .acc-logo-texte strong { font-size: 18px; }

    .acc-heros { padding-top: 22px; }
    .acc-heros-texte br { display: none; }
    .acc-atouts { gap: 10px 20px; font-size: 14.5px; }
    .acc-atouts i { font-size: 19px; }

    /* L'écran du portable reste lisible : on le réduit en entier */
    .acc-portable { width: 100%; overflow: hidden; }
    .acc-portable-ecran { padding: 6px; border-radius: 12px 12px 0 0; }
    .acc-app { grid-template-columns: 1fr; min-height: 0; font-size: 9px; }
    .acc-app-menu { display: none; }
    .acc-app-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .acc-app-graphes { grid-template-columns: 1fr; }
    .acc-app-tableau th:nth-child(5),
    .acc-app-tableau td:nth-child(5) { display: none; }

    .acc-section { padding: 34px 0; }

    /* Fonctionnalités : icône + titre, description dessous */
    .acc-liste a {
        grid-template-columns: 56px 1fr 30px;
        grid-template-rows: auto auto;
        padding: 10px 0;
    }

    .acc-liste a > i:first-child { grid-row: 1 / span 2; margin: -10px 0; }
    .acc-liste strong { grid-column: 2; padding: 0 0 0 14px; font-size: 15.5px; }
    .acc-liste span { grid-column: 2; grid-row: 2; padding: 2px 0 0 14px; font-size: 13.5px; }
    .acc-liste .acc-chevron { grid-column: 3; grid-row: 1 / span 2; }

    .acc-etapes a { grid-template-columns: 48px 1fr 22px; gap: 12px; padding: 12px; }
    .acc-num { width: 42px; height: 42px; font-size: 17px; }
    .acc-etapes strong { font-size: 15.5px; }
    .acc-etapes small { font-size: 14px; }

    .acc-tarif { grid-template-columns: 60px 1fr; row-gap: 6px; padding: 14px; }
    .acc-tarif-icone { grid-row: 1 / span 2; font-size: 34px; }
    .acc-tarif-prix { padding: 0 0 0 10px; border-right: 0; }
    .acc-tarif p { grid-column: 2; padding-left: 10px; font-size: 14px; }

    .acc-moyens { grid-template-columns: 1fr; }

    .acc-support-ligne { grid-template-columns: auto 1fr; gap: 12px 16px; }
    .acc-support-ligne p { grid-column: 1 / -1; }
    .acc-support-ligne .acc-btn { grid-column: 1 / -1; width: 100%; }

    .acc-pied-ligne { flex-direction: column; align-items: flex-start; }
    .acc-pied-liens { flex-wrap: wrap; gap: 8px 12px; }
    .acc-copyright { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .acc-btn { transition: none; }
    .acc-btn:hover { transform: none; }
}

.acc-btn[hidden] { display: none; }

/* =========================================================
   SECTION « MON INVOICE.CI AU TRAVAIL » (photo réaliste)
   Juste sous la première section. Ordinateur : 2 colonnes,
   téléphone : photo puis texte.
   ========================================================= */
.acc-vitrine {
    padding: 64px 0;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(22, 104, 242, .10), transparent 55%),
        linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
    overflow: hidden;
}

.acc-vitrine-grille {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

/* Photo */
.acc-vitrine-photo {
    position: relative;
    margin: 0;
}

.acc-vitrine-photo::before {
    content: "";
    position: absolute;
    inset: 8% -6% -4% 8%;
    z-index: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--acc-bleu) 0%, var(--acc-marine) 100%);
    opacity: .16;
    filter: blur(28px);
}

.acc-vitrine-photo picture,
.acc-vitrine-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.acc-vitrine-photo img {
    aspect-ratio: 1080 / 1616;
    max-height: 640px;
    object-fit: cover;
    object-position: center 35%;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(10, 36, 99, .28), 0 6px 16px rgba(10, 36, 99, .14);
}

/* Étiquettes en verre glacé posées sur la photo */
.acc-vitrine-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .25) 100%),
        rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(12px) saturate(1.5);
    backdrop-filter: blur(12px) saturate(1.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 26px rgba(10, 36, 99, .22);
    color: var(--acc-marine);
    font: 700 14px/1.2 var(--acc-corps);
    white-space: nowrap;
    animation: acc-flotte 6s ease-in-out infinite;
}

.acc-vitrine-badge i { font-size: 16px; }
.acc-vitrine-badge-1 { top: 9%; right: -18px; }
.acc-vitrine-badge-1 i { color: #16a34a; }
.acc-vitrine-badge-2 { bottom: 12%; left: -18px; animation-delay: -3s; }
.acc-vitrine-badge-2 i { color: var(--acc-bleu); }

@keyframes acc-flotte {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Texte */
.acc-vitrine-marque {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--acc-fond-bleu);
    color: var(--acc-bleu-fonce);
    font: 800 13px/1 var(--acc-titre);
    letter-spacing: .08em;
}

.acc-vitrine h2 {
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.18;
}

.acc-vitrine-intro {
    margin: 14px 0 24px;
    color: var(--acc-gris);
    font-size: 17px;
}

.acc-vitrine-points {
    display: grid;
    gap: 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.acc-vitrine-points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.acc-vitrine-points li > i {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--acc-fond-bleu);
    color: var(--acc-bleu);
    font-size: 18px;
}

.acc-vitrine-points span {
    color: var(--acc-gris);
    font-size: 15px;
}

.acc-vitrine-points strong {
    display: block;
    margin-bottom: 2px;
    color: var(--acc-texte);
    font: 700 16px/1.3 var(--acc-corps);
}

.acc-vitrine-bouton { gap: 10px; min-height: 50px; padding: 0 24px; font-size: 16px; }

/* Apparition douce au défilement (accueil.js ajoute .visible) */
.acc-apparition {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.acc-apparition.visible { opacity: 1; transform: none; }
.acc-vitrine-texte.acc-apparition { transition-delay: .12s; }

@media (max-width: 860px) {
    .acc-vitrine { padding: 44px 0; }
    .acc-vitrine-grille { grid-template-columns: 1fr; gap: 34px; }
    .acc-vitrine-photo { width: min(460px, 100%); margin: 0 auto; }
    .acc-vitrine-photo img { max-height: 560px; }
    .acc-vitrine-badge-1 { right: 8px; }
    .acc-vitrine-badge-2 { left: 8px; }
}

@media (max-width: 480px) {
    .acc-vitrine-badge { padding: 8px 11px; font-size: 13px; }
    .acc-vitrine-bouton { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .acc-vitrine-badge { animation: none; }
    .acc-apparition { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   VERRE GLACÉ AU SURVOL (accueil.js)
   Plaque de glace claire qui glisse d'un élément à l'autre,
   aussi belle sur le fond bleu marine que sur le fond blanc.
   ========================================================= */
.acc-glace {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9990;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .05) 42%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(90% 60% at 15% 120%, rgba(79, 178, 255, .22), rgba(79, 178, 255, 0) 65%),
        rgba(147, 197, 253, .10);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        inset 0 0 12px rgba(147, 197, 253, .25),
        0 6px 18px rgba(10, 36, 99, .18);
    opacity: 0;
    pointer-events: none;
    transition:
        transform .34s cubic-bezier(.22, 1, .36, 1),
        width .34s cubic-bezier(.22, 1, .36, 1),
        height .34s cubic-bezier(.22, 1, .36, 1),
        opacity .2s ease;
}
.acc-glace.acc-glace-visible { opacity: 1; }
.acc-glace.acc-glace-sans-animation { transition: opacity .2s ease; }
@media print { .acc-glace { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .acc-glace { transition: opacity .2s ease; } }

/* =========================================================
   ARRIVÉE PROGRESSIVE DE LA PAGE (au ralenti)
   - Haut de page : titre, texte, boutons, puis le portable
     dont le tableau de bord se construit morceau par morceau
   - Plus bas : chaque bloc apparaît quand on y arrive
     en faisant défiler (accueil.js ajoute .ar-cache / .ar-vu)
   ========================================================= */
@property --ar-a { syntax: "<angle>"; inherits: false; initial-value: 360deg; }

@keyframes ar-monte   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ar-monte-p { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ar-gauche  { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes ar-descend { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes ar-portable { from { opacity: 0; transform: translateY(44px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ar-barre   { from { height: 0; } to { height: var(--h); } }
@keyframes ar-donut   { from { --ar-a: 0deg; transform: rotate(-90deg); } to { --ar-a: 360deg; transform: none; } }
@keyframes ar-pop     { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }

/* Texte du haut */
.acc-heros > h1                 { animation: ar-monte .9s cubic-bezier(.22, 1, .36, 1) .1s both; }
.acc-heros > .acc-heros-texte   { animation: ar-monte .9s cubic-bezier(.22, 1, .36, 1) .3s both; }
.acc-heros > .acc-heros-boutons { animation: ar-monte .9s cubic-bezier(.22, 1, .36, 1) .45s both; }
.acc-atouts > li                { animation: ar-monte .8s cubic-bezier(.22, 1, .36, 1) both; }
.acc-atouts > li:nth-child(1) { animation-delay: .6s; }
.acc-atouts > li:nth-child(2) { animation-delay: .7s; }
.acc-atouts > li:nth-child(3) { animation-delay: .8s; }

/* Le portable, puis le tableau de bord qui se construit
   (--ar-dec : décalage quand le portable arrive plus tard, sur téléphone) */
.acc-portable { --ar-dec: 0s; animation: ar-portable 1.1s cubic-bezier(.22, 1, .36, 1) calc(.7s - var(--ar-dec)) both; }
.acc-portable .acc-app-menu { animation: ar-gauche .7s cubic-bezier(.22, 1, .36, 1) calc(1.3s - var(--ar-dec)) both; }
.acc-portable .acc-app-logo { animation: ar-fondu-ar .6s ease calc(1.45s - var(--ar-dec)) both; }
.acc-portable .acc-app-menu > span { animation: ar-gauche .55s cubic-bezier(.22, 1, .36, 1) both; }
.acc-portable .acc-app-menu > span:nth-of-type(1) { animation-delay: calc(1.55s - var(--ar-dec)); }
.acc-portable .acc-app-menu > span:nth-of-type(2) { animation-delay: calc(1.62s - var(--ar-dec)); }
.acc-portable .acc-app-menu > span:nth-of-type(3) { animation-delay: calc(1.69s - var(--ar-dec)); }
.acc-portable .acc-app-menu > span:nth-of-type(4) { animation-delay: calc(1.76s - var(--ar-dec)); }
.acc-portable .acc-app-menu > span:nth-of-type(5) { animation-delay: calc(1.83s - var(--ar-dec)); }
.acc-portable .acc-app-menu > span:nth-of-type(6) { animation-delay: calc(1.90s - var(--ar-dec)); }
.acc-portable .acc-app-menu > span:nth-of-type(7) { animation-delay: calc(1.97s - var(--ar-dec)); }
.acc-portable .acc-app-menu > span:nth-of-type(8) { animation-delay: calc(2.04s - var(--ar-dec)); }
@keyframes ar-fondu-ar { from { opacity: 0; } to { opacity: 1; } }

.acc-portable .acc-app-haut { animation: ar-descend .7s cubic-bezier(.22, 1, .36, 1) calc(1.7s - var(--ar-dec)) both; }
.acc-portable .acc-app-stats > div { animation: ar-monte-p .7s cubic-bezier(.22, 1, .36, 1) both; }
.acc-portable .acc-app-stats > div:nth-child(1) { animation-delay: calc(1.9s - var(--ar-dec)); }
.acc-portable .acc-app-stats > div:nth-child(2) { animation-delay: calc(2.02s - var(--ar-dec)); }
.acc-portable .acc-app-stats > div:nth-child(3) { animation-delay: calc(2.14s - var(--ar-dec)); }
.acc-portable .acc-app-stats > div:nth-child(4) { animation-delay: calc(2.26s - var(--ar-dec)); }

.acc-portable .acc-app-graphes > .acc-app-carte { animation: ar-monte-p .7s cubic-bezier(.22, 1, .36, 1) both; }
.acc-portable .acc-app-graphes > .acc-app-carte:nth-child(1) { animation-delay: calc(2.3s - var(--ar-dec)); }
.acc-portable .acc-app-graphes > .acc-app-carte:nth-child(2) { animation-delay: calc(2.42s - var(--ar-dec)); }

.acc-portable .acc-barre { animation: ar-barre .9s cubic-bezier(.22, 1, .36, 1) both; }
.acc-portable .acc-barre:nth-of-type(2) { animation-delay: calc(2.5s - var(--ar-dec)); }
.acc-portable .acc-barre:nth-of-type(3) { animation-delay: calc(2.6s - var(--ar-dec)); }
.acc-portable .acc-barre:nth-of-type(4) { animation-delay: calc(2.7s - var(--ar-dec)); }
.acc-portable .acc-barre:nth-of-type(5) { animation-delay: calc(2.8s - var(--ar-dec)); }
.acc-portable .acc-barre:nth-of-type(6) { animation-delay: calc(2.9s - var(--ar-dec)); }
.acc-portable .acc-barre:nth-of-type(7) { animation-delay: calc(3.0s - var(--ar-dec)); }

.acc-portable .acc-donut {
    -webkit-mask: conic-gradient(#000 var(--ar-a), transparent 0);
    mask: conic-gradient(#000 var(--ar-a), transparent 0);
    animation: ar-donut 1.1s cubic-bezier(.45, 0, .2, 1) calc(2.6s - var(--ar-dec)) both;
}
.acc-portable .acc-legende > li { animation: ar-gauche .5s cubic-bezier(.22, 1, .36, 1) both; }
.acc-portable .acc-legende > li:nth-child(1) { animation-delay: calc(2.9s - var(--ar-dec)); }
.acc-portable .acc-legende > li:nth-child(2) { animation-delay: calc(3.0s - var(--ar-dec)); }
.acc-portable .acc-legende > li:nth-child(3) { animation-delay: calc(3.1s - var(--ar-dec)); }

.acc-portable .acc-app-tableau { animation: ar-monte-p .7s cubic-bezier(.22, 1, .36, 1) calc(3.0s - var(--ar-dec)) both; }
.acc-portable .acc-app-tableau tbody tr { animation: ar-gauche .6s cubic-bezier(.22, 1, .36, 1) both; }
.acc-portable .acc-app-tableau tbody tr:nth-child(1) { animation-delay: calc(3.15s - var(--ar-dec)); }
.acc-portable .acc-app-tableau tbody tr:nth-child(2) { animation-delay: calc(3.3s - var(--ar-dec)); }
.acc-portable .acc-app-tableau tbody tr:nth-child(3) { animation-delay: calc(3.45s - var(--ar-dec)); }
.acc-portable .acc-app-tableau tbody span { display: inline-block; animation: ar-pop .5s ease both; }
.acc-portable .acc-app-tableau tbody tr:nth-child(1) span { animation-delay: calc(3.75s - var(--ar-dec)); }
.acc-portable .acc-app-tableau tbody tr:nth-child(2) span { animation-delay: calc(3.85s - var(--ar-dec)); }
.acc-portable .acc-app-tableau tbody tr:nth-child(3) span { animation-delay: calc(3.95s - var(--ar-dec)); }

/* Téléphone : portable pas encore à l'écran → il attend qu'on y arrive */
.acc-portable.ar-attente { opacity: 0; }
.acc-portable.ar-attente,
.acc-portable.ar-attente * { animation: none !important; }

/* Blocs plus bas : apparition au défilement */
.ar-cache { opacity: 0; transform: translateY(28px); }
.ar-cache.ar-vu {
    opacity: 1;
    transform: none;
    transition: opacity .8s ease var(--ar-d, 0s), transform .9s cubic-bezier(.22, 1, .36, 1) var(--ar-d, 0s);
}
.ar-cache-badge { opacity: 0; scale: .6; }
.ar-cache-badge.ar-vu {
    opacity: 1;
    scale: 1;
    transition: opacity .5s ease var(--ar-d, 0s), scale .6s cubic-bezier(.34, 1.56, .64, 1) var(--ar-d, 0s);
}

@media (prefers-reduced-motion: reduce) {
    .acc-heros > *, .acc-atouts > li, .acc-portable, .acc-portable * { animation: none !important; }
    .acc-portable .acc-donut { -webkit-mask: none; mask: none; }
    .ar-cache, .ar-cache-badge { opacity: 1 !important; transform: none !important; scale: 1 !important; transition: none !important; }
}

/* Étiquette sous le gros titre : « Parfaitement adapté aux ordinateurs… » */
.acc-heros-ecran {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 18px auto 0;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 55%, rgba(255, 255, 255, .12) 100%),
        rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    backdrop-filter: blur(10px) saturate(1.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px rgba(0, 0, 0, .18);
    color: #ffffff;
    font: 600 15px/1.3 var(--acc-corps, inherit);
    letter-spacing: .1px;
}
.acc-heros-ecran i { color: var(--acc-bleu-clair, #7cc0ff); font-size: 15px; }
.acc-heros > .acc-heros-ecran { animation: ar-monte .9s cubic-bezier(.22, 1, .36, 1) .2s both; }
@media (max-width: 600px) {
    .acc-heros-ecran { padding: 7px 13px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .acc-heros > .acc-heros-ecran { animation: none; }
}

/* Départ en douceur vers la page de connexion (accueil.js ajoute .acc-depart) */
body.acc-depart {
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity .25s ease, transform .25s ease;
}
@media (prefers-reduced-motion: reduce) {
    body.acc-depart { opacity: 1; transform: none; transition: none; }
}
