﻿/* (Optionnel) transitions douces mais respect du reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    html.theme-anim .anim-theme {
        transition: background-color .15s linear, color .15s linear, border-color .15s linear, box-shadow .15s linear;
    }
}

/* Inter variable */
@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Chargement boot (Blazor) */
#app {
    min-height: 100vh;
}

.boot-loader {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg, #0b0e13);
    color: var(--fg, #e9eef6);
}

.boot-ring {
    --progress: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--color1, #00ffd5) calc(var(--progress) * 1%), rgba(255, 255, 255, 0.12) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 18px rgba(0, 255, 213, 0.15);
}

    .boot-ring::after {
        content: "";
        position: absolute;
        width: 86px;
        height: 86px;
        border-radius: 50%;
        background: var(--bg, #0b0e13);
        box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
    }

.boot-percent {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 1rem;
}

.boot-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-Variable-Italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Exo variable */
@font-face {
    font-family: "Exo 2";
    src: url("/fonts/exo2/Exo-Variable.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Exo 2";
    src: url("/fonts/exo2/Exo-Variable-Italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Bouton toggle (exemple minimal, ajuste à ton design) */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: var(--border);
    background: var(--backgroundBoutonMenuDashboard);
    color: var(--fg);
    cursor: pointer;
}

    .theme-toggle:hover {
        background: var(--hoverColor);
    }

    .theme-toggle .icon {
        width: 20px;
        height: 20px;
    }

    /* Icônes du switch : pilotées par aria-pressed, pas par data-theme */
    .theme-toggle .icon {
        display: none;
    }

    /* aria-pressed="true" = thème clair actif (ton JS le fait déjà) */
    .theme-toggle[aria-pressed="true"] .icon-sun {
        display: block;
    }

    .theme-toggle[aria-pressed="true"] .icon-moon {
        display: none;
    }

    /* aria-pressed="false" = thème sombre actif */
    .theme-toggle[aria-pressed="false"] .icon-sun {
        display: none;
    }

    .theme-toggle[aria-pressed="false"] .icon-moon {
        display: block;
    }


* {
    box-sizing: border-box
}

body, .textBasic {
    margin: 0;
    font-family: var(--textePolice);
    background: radial-gradient(1200px 600px at 10% -10%, var(--backgroundTopLeft), transparent) no-repeat fixed, linear-gradient(180deg, var(--backgroundBottomRight) 0%, var(--backgroundBottomRight) 100%) no-repeat fixed;
    /* évite les artefacts avec certains GPU */
    backface-visibility: hidden;
    color: var(--fg)
}

/* Titres : Exo 2 */
h1, h2, h3, h4, h5,
.title,
.hero h1,
.hero-left h1,
.feature-card h3,
.faq-title,
.cta-final h2 {
    font-family: var(--titrePolice);
}

h1, h2, h3, h4, h5 {
    font-family: var(--titrePolice);
    font-weight: 800;
}

/* Liens par défaut */
a {
    color: var(--acc1, var(--color2));
    text-decoration: none;
}

    /* Survol / focus clavier → couleur d’accent */
    a:hover,
    a:focus-visible {
        text-decoration: underline;
    }

    /* (Optionnel) clic actif */
    a:active {
        color: var(--acc1);
    }

    a.btn,
    a[class*="btn-"] {
        /*color: inherit;*/ /* ou une couleur spécifique */
        text-decoration: none;
    }

        a.btn:hover,
        a[class*="btn-"]:hover,
        a.btn:focus-visible,
        a[class*="btn-"]:focus-visible {
            color: inherit; /* ou autre, selon ton thème */
            text-decoration: none;
        }


/* Input */
input:not([type="checkbox"]):not([type="radio"]),
textarea {
    width: 100%;
    padding: 8px 10px;
    background: var(--backgroundInput);
    border: var(--border);
    border-radius: 10px;
    color: var(--fg);
    transition: all .2s ease;
    font-size: var(--tailleTexteBase);
    font-family: var(--textePolice);
    background-clip: padding-box; /* évite les débordements de l’autofill */
}

    input:not(:disabled):not(:focus):not(:focus-visible):hover,
    textarea:not(:disabled):not(:focus):not(:focus-visible):hover,
    select:not(:disabled):not(:focus):not(:focus-visible):hover {
        border-color: var(--color2);
        box-shadow: 0 0 8px rgba(0,255,213,.15);
    }

    /* focus normal */
    input:focus, textarea:focus {
        outline: none;
        background: var(--bg);
        border-color: var(--color1);
        box-shadow: 0 0 8px var(--color1);
        color: var(--fg);
    }

    /* ---------- Chrome/Edge/Safari : autofill ---------- */
    input:-webkit-autofill,
    textarea:-webkit-autofill {
        -webkit-text-fill-color: var(--fg) !important;
        caret-color: var(--fg);
        /* 1) repeindre le fond sombre
     2) simuler la bordure fine (inset 1px)
     (Chrome dessine sa “bordure blanche” sinon) */
        -webkit-box-shadow: 0 0 0 1000px var(--fondSombre) inset, 0 0 0 1px rgba(255,255,255,.08) inset !important;
        box-shadow: 0 0 0 1000px var(--fondSombre) inset, 0 0 0 1px rgba(255,255,255,.08) inset !important;
        border-color: transparent; /* on laisse l’inset gérer la bordure */
        background-clip: padding-box;
        transition: background-color 9999s ease-out 0s; /* évite le flash clair */
    }

        /* état focus pendant autofill : garde le glow/couleur de bordure */
        input:-webkit-autofill:hover, textarea:-webkit-autofill:hover {
            -webkit-text-fill-color: var(--fg) !important;
            -webkit-box-shadow: 0 0 0 1000px var(--fondSombre) inset, /* fond */ 0 0 8px var(--color2) !important; /* glow */
            border-color: var(--color2);
            outline: none;
        }

        /* autofill + focus : garder ton glow/bordure magenta */
        input:-webkit-autofill:focus,
        textarea:-webkit-autofill:focus {
            -webkit-text-fill-color: var(--fg) !important;
            -webkit-box-shadow: 0 0 0 1000px var(--fondSombre) inset, 0 0 0 1px var(--color1) inset, 0 0 8px var(--color1) !important;
            box-shadow: 0 0 0 1000px var(--fondSombre) inset, 0 0 0 1px var(--color1) inset, 0 0 8px var(--color1) !important;
            border-color: var(--color1);
            outline: none;
        }

    /* ---------- Firefox : autofill ---------- */
    input:-moz-autofill,
    textarea:-moz-autofill {
        box-shadow: 0 0 0 1000px var(--fondSombre) inset, 0 0 0 1px rgba(255,255,255,.08) inset !important;
        -moz-text-fill-color: var(--fg) !important;
        caret-color: var(--fg);
        border-color: transparent;
    }

    /* DATE */
    /* Chrome / Edge / Safari (WebKit/Blink) */
    input[type="date"]::-webkit-calendar-picker-indicator,
    input[type="datetime-local"]::-webkit-calendar-picker-indicator,
    input[type="time"]::-webkit-calendar-picker-indicator {
        background-color: transparent;
        color: white;
        /*filter: invert(1) brightness(2);*/ /* rend l’icône blanche */
        opacity: 1;
    }

    /* Firefox */
    input[type="date"],
    input[type="datetime-local"],
    input[type="time"] {
        color-scheme: dark; /* force l’icône et le calendrier en mode sombre */
    }

    input[type="email"], input[type="password"] {
        height: 36px;
        padding: 6px 10px;
        font: 18px/1.2 var(--textePolice);
        -webkit-appearance: none;
        appearance: none;
    }

/* Checkbox & radio : taille uniforme + pas de width:100% */
input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 4px; /* checkbox uniquement, ok aussi pour radio si tu veux */
    background: transparent;
    border: none;
    appearance: auto;
    -webkit-appearance: auto;
    accent-color: var(--color1); /* optionnel */
}


select {
    width: 100%;
    background: var(--backgroundBoutonMenuDashboard);
    color: var(--fg);
    border: var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    /*height: var(--ctl-h);
    line-height: calc(var(--ctl-h) - 16px);*/
    box-shadow: none !important;
    outline: none;
    transition: border-color .15s ease;
    font-size: var(--tailleTexteBase);
    font-family: var(--textePolice);
    color-scheme: dark;
}

    select:hover {
        border-color: var(--color2);
    }

    select:focus {
        border-color: var(--color1);
        box-shadow: none !important;
        outline: none;
    }

    /* Icône ▼ de select en blanc */
    select.input::-ms-expand {
        display: none;
    }
    /* Options déroulantes : fond sombre pour tous les selects */
    select option {
        background-color: var(--bg, #111827);
        color: var(--fg, #ffffff);
    }

/* Champ principal */
.select2-container--default .select2-selection--single {
    background-color: var(--bg) !important;
    border: var(--border) !important;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--textePolice);
    font-size: var(--tailleTexteBase);
    border-radius: .5rem !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    font-family: var(--textePolice);
}

    .select2-container--default .select2-selection--single:hover,
    .select2-container--default .select2-selection__rendered:hover {
        border-color: var(--color2);
    }

    .select2-container--default .select2-selection--single:focus,
    .select2-container--default .select2-selection__rendered:focus {
        border-color: var(--color1);
    }

    /* Texte sélectionné */
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: var(--fg) !important;
        line-height: 38px !important;
        padding-left: .6rem !important;
    }

    /* Icône flèche */
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #fff transparent transparent transparent !important;
    }

/* Menu déroulant */
.select2-dropdown {
    background-color: #111827 !important;
    color: #fff !important;
    border: 1px solid #374151 !important;
}

/* Options */
.select2-results__option {
    background-color: #111827 !important;
    color: #fff !important;
    padding: .4rem .6rem;
}

.select2-results__option--highlighted {
    background-color: #2563eb !important; /* bleu focus */
    color: #fff !important;
}

/* Filtre colonnes */
/* --------- Sélecteur Colonnes : grille 4 colonnes propre --------- */
.columns-panel {
    position: fixed;
    right: 1rem;
    top: 4.25rem;
    background: #0b0f19;
    color: #fff;
    border: 1px solid #374151;
    border-radius: .6rem;
    padding: .6rem .75rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.35);
    z-index: 20;
    min-width: 520px; /* un peu plus large */
    max-width: calc(100vw - 2rem);
    max-height: 70vh; /* scroll si trop long */
    overflow: auto;
}

    .columns-panel h4 {
        margin: .25rem 0 .6rem;
        font-size: .95rem;
    }

/* Grille 4 colonnes (responsive -> 3 puis 2) */
.columns-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .35rem .75rem;
}

@media (max-width: 900px) {
    .columns-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .columns-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

/* Item colonne : alignement propre + hover */
.columns-panel label {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    line-height: 1.2;
    padding: .25rem .35rem;
    border-radius: .35rem;
    user-select: none;
    white-space: normal; /* autorise les retours à la ligne */
    word-break: break-word; /* coupe proprement si nécessaire */
    color: var(--fg);
}

    .columns-panel label:hover {
        background: rgba(255,255,255,.05);
    }

/* Checkbox homogène (si supporté) */
.columns-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #22d3ee; /* turquoise (selon navigateur) */
}

/* Barre d’actions en bas du panel */
.columns-panel .actions {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-top: .75rem;
}

/* TABLEAU */
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
    /*table-layout: fixed;*/
    /*border-collapse: collapse;*/
}

    table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: var(--bg);
    }

    table th, table td {
        text-align: left;
        padding: 8px 10px;
        border-bottom: 1px solid var(--lineColor);
        /*white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 1px;*/
    }

    table a,
    table a.sort {
        text-decoration: none;
        border-bottom: var(--headerBorderBottomLink);
        color: var(--fg);
    }

        table a:hover,
        table a.sort:hover {
            border-color: var(--headerBorderBottomLinkHover);
        }

/*.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th, .table td {
        padding: .5rem .6rem;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

        .table th a {
            text-decoration: none;
            color: inherit;
        }*/

.profit-pos {
    color: #0f766e;
    font-weight: 600;
}

.profit-neg {
    color: #b91c1c;
    font-weight: 600;
}

/* --- Pagination --- */
.pager {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    align-items: center;
    margin-top: .75rem;
}

    .pager .btn {
        padding: .35rem .6rem;
    }

    .pager .info {
        padding: .35rem .6rem;
        opacity: .85;
    }

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    border-bottom: var(--borderBouton);
    backdrop-filter: blur(8px);
}

.logo img {
    height: 100px; /* adapte : 30px, 50px, etc. */
    width: auto; /* conserve les proportions */
    display: block; /* évite le petit espace en bas */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 14px; /* espace entre logo et badge */
}

.sub-badge {
    display: inline-block;
    margin-left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
    border: 1px solid rgba(255,255,255,.12);
    /*background: #0b0d12;*/
    box-shadow: 0 0 12px rgba(0,0,0,.25);
}

    .sub-badge.ok {
        color: var(--color2); /* cyan */
        border-color: var(--color2);
        box-shadow: 0 0 18px var(--shadowHoverColor);
    }

    .sub-badge.ko {
        color: var(--color1); /* magenta */
        border-color: var(--color1);
        box-shadow: 0 0 18px var(--shadowBorderColor);
    }

.side-sublink.warn {
    color: var(--color1);
    margin-bottom: 30px;
}
    /* met le lien en rouge */
    .side-sublink.warn .ico {
        color: inherit;
    }


.nav-right a {
    margin-left: 18px;
    color: var(--fg);
    text-decoration: none;
    opacity: .9
}

    .nav-right a:hover {
        color: var(--color2)
    }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(20px, 6vh, 60px) 20px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: 14px;
    color: var(--footer);
    background: var(--bg);
    flex-wrap: wrap;
}

.footer-left {
    margin-bottom: 0px;
}

.footer-right i {
    font-size: 32px; /* taille des logos */
    margin-left: 16px; /* espace entre eux */
    color: var(--footer); /* gris clair par défaut */
    opacity: .85;
    transition: color .2s ease, opacity .2s ease;
}

    .footer-right i:hover {
        opacity: 1;
        color: var(--color2); /* cyan néon au survol */
    }

.footer-middle {
    margin-bottom: 0px;
}

/* mobile : centrer tout */
@media(max-width:980px) {
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-right i {
        margin: 0 8px;
    }
}

.hero {
    padding: 40px 0;
    text-align: center;
    overflow: visible;
}

    .hero h1 {
        font-size: 80px;
        line-height: 1.05;
        margin: 0;
        /*color: var(--color2);*/
        background: var(--variation);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero p {
        margin-top: 20px;
        font-size: 20px;
    }

        .hero p span .letter {
            color: var(--color1);
            /*font-weight: 100;*/
        }

@media(max-width:600px) {
    .hero {
        padding: 40px 16px;
    }

        .hero h1 {
            font-size: clamp(2.6rem, 9vw, 3.2rem);
            line-height: 1.1;
            overflow-wrap: break-word; /* permet de couper proprement si besoin */
            word-wrap: break-word;
            max-width: 100%;
        }
}

.cta {
    margin-top: 26px
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--color2);
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--backgroundBoutonMenuDashboard);
    color: var(--fg);
    box-shadow: 0 0 20px rgba(0,255,213,.15);
    transition: transform .06s ease, box-shadow .2s ease;
    font-family: var(--titrePolice);
    font-size: var(--tailleTexteBase);
    cursor: pointer;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 0 28px rgba(255,0,230,.18);
        border-color: var(--color1);
    }

    .btn.ghost {
        border-color: var(--color1)
    }

    .btn:focus-visible,
    .nav-toggle:focus-visible,
    .nav-menu a:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px var(--color2);
    }

form div {
    margin-bottom: 14px
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--fg)
}

.hero-img.tixian-small {
    max-width: 500px; /* largeur max sur desktop */
    width: 90%; /* responsive */
    height: auto; /* conserve les proportions */
    margin: 0 auto; /* centre horizontalement */
    display: block;
}

/*@media (max-width: 768px) {
    .hero-img.tixian-small {
        max-width: 320px;*/ /* réduit sur petit écran */
/*width: 90%;
        margin: 0 auto;
    }
}*/

/* ===== Hero split ===== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    padding: 40px 0;
}

.hero-left h1 {
    margin: 0 0 10px 0;
    font-size: 45px;
    line-height: 1.05;
    letter-spacing: .2px;
    background: var(--subTitle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.05; /* au lieu de 1.05 */
    padding-bottom: .12em; /* petit buffer sous la ligne de base */
    overflow: visible; /* au cas où le conteneur clippe */
}

.hero-subtitle {
    margin: 18px 0 12px 0;
    font-weight: 700;
    color: var(--fg);
    font-size: 18px;
}

.hero-text {
    color: var(--footer);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 0 26px 0;
    text-align: justify;
}

    .hero-text strong {
        color: var(--fg);
    }

.btn-cta {
    display: inline-block;
    background: var(--color1);
    color: var(--bg);
    text-decoration: none;
    font-weight: 800;
    padding: 16px 22px;
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(255,0,230,.35), inset 0 -3px 0 rgba(0,0,0,.25);
    transition: transform .06s ease, box-shadow .2s ease, filter .2s ease;
}

    .btn-cta:hover {
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

.hero-right {
    width: 100%;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-left h1 {
        font-size: 42px;
    }
}

.title {
    text-align: center;
    /*color: var(--color2);*/
    font-size: 40px;
}

.whatisit p {
    text-align: justify;
}


/* Cards */
.panels {
    display: grid;
    /* passe automatiquement de 3 -> 2 -> 1 colonnes selon la largeur dispo */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
    padding: 0; /* évite de décaler la grille à gauche */
}

    .panels .feature-card {
        width: 100%;
        min-height: 220px; /* si tu veux garder une hauteur mini */
        background: var(--backgroundBoutonMenuDashboard);
        border: 1px solid var(--color2);
        border-radius: 12px;
        padding: 22px;
        margin-bottom: 20px;
        color: var(--fg);
        /*box-shadow: 0 0 12px var(--shadowBorderColor);*/
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .panels .feature-card:hover {
            border-color: var(--color1);
        }

        .panels .feature-card h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--color2); /* cyan néon */
            margin: 0 0 0 0;
            /*text-align: center;*/
        }

        .panels .feature-card p {
            font-size: 15px;
            line-height: 1.5;
            color: var(--fg);
            margin: 0;
            text-align: justify-all;
        }

        .panels .feature-card i {
            z-index: 0;
            color: var(--color1);
        }

/* (optionnel) si tu veux forcer 1 colonne sur très petit écran */
@media (max-width: 480px) {
    .panels {
        grid-template-columns: 1fr;
    }
}

.arguments {
    padding: 18px;
}


/* FAQ */
/* ===== FAQ cyberpunk ===== */
.faq {
    margin: 0 0;
}

/* conteneur item */
.faq-item {
    background: var(--backgroundBoutonMenuDashboard);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,0,230,.16) inset; /* léger halo magenta */
}

    /* ligne de question */
    .faq-item > summary {
        list-style: none; /* retire le caret natif */
        cursor: pointer;
        padding: 16px 18px 16px 40px; /* place pour l’icône + à gauche */
        color: var(--fg);
        position: relative;
        font-weight: 600;
        user-select: none;
        z-index: 0;
    }

        .faq-item > summary:hover {
            color: var(--color2);
        }

        .faq-item > summary::-webkit-details-marker {
            display: none;
        }

        /* icône + / – à gauche */
        .faq-item > summary::before {
            content: "+"; /* fermé = plus */
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            font-weight: 800;
            color: var(--acc2, var(--color1)); /* magenta */
            font-size: 18px;
            line-height: 1;
        }

    .faq-item[open] > summary::before {
        content: "–"; /* ouvert = moins */
    }

    /* séparateur ligne et zone réponse */
    .faq-item[open] {
        /*border-color: rgba(255,255,255,.18);*/
        border-color: var(--color2);
        box-shadow: 0 0 0 1px rgba(0,255,213,.14) inset; /* halo cyan quand ouvert */
    }

.faq-content {
    padding: 14px 18px 18px 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--fg);
    line-height: 1.65;
}

    .faq-content p {
        margin: 0 0 10px 0;
    }

    .faq-content a {
        color: var(--acc1, var(--color2));
        text-decoration: none;
    }

        .faq-content a:hover {
            text-decoration: underline;
        }

/* grand cadre autour de toute la FAQ, si tu veux reproduire la maquette */
.faq {
    /*border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;*/
    padding: 18px;
    /*background: linear-gradient(180deg, rgba(124,58,237,.08), rgba(10,11,16,1));*/
}

/* ===== CTA final ===== */
.cta-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background: #0b0d12;*/
    padding: 40px 30px;
    border-radius: 10px;
    margin: 60px auto;
    max-width: 1100px;
}

    .cta-final h2 {
        margin: 0;
        font-size: 34px;
        font-weight: 800;
        line-height: 1.2;
        color: var(--color2); /* cyan néon */
    }

.btn-cta-final {
    display: inline-block;
    background: var(--color1); /* magenta néon */
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
    padding: 20px 28px;
    border-radius: 8px;
    box-shadow: 0 0 24px rgba(255,0,230,.35);
    transition: transform .06s ease, filter .2s ease;
    font-family: var(--titrePolice);
}

    .btn-cta-final:hover {
        transform: translateY(-2px);
        filter: brightness(1.08);
    }

/* Responsive : pile verticale sur mobile */
@media(max-width:768px) {
    .cta-final {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.btn-danger {
    background: var(--dangerBackground);
    border-color: var(--dangerBorderColor);
    box-shadow: none;
    color: var(--fg);
}

/* ——— NAV responsive ——— */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative; /* pour le dropdown en mobile */
}

/* bouton burger (caché en desktop) */
.nav-toggle {
    display: none;
    border: var(--border);
    background: transparent;
    color: var(--fg);
    padding: 8px 10px;
    border-radius: 10px;
    line-height: 0;
    cursor: pointer;
}

    .nav-toggle:hover {
        border-color: var(--color2);
    }

    .nav-toggle svg rect {
        fill: var(--fg);
    }

/* conteneur des liens (desktop = rangée, mobile = dropdown) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 18px;
}

/* ——— BREAKPOINT ——— */
@media (max-width: 1315px) {
    /* badge : compact */
    .sub-badge {
        padding: 6px;
        gap: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 34px;
        min-height: 34px;
        border-radius: 999px;
    }

        .sub-badge .label {
            display: none;
        }
        /* si tu as ajouté le span.label */
        .sub-badge .ico {
            margin: 0;
        }

    /* nav droite : le burger apparait, les liens deviennent un dropdown */
    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--bg);
        border: var(--border);
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,.35);
        padding: 8px;
        display: none; /* fermé par défaut */
        flex-direction: column;
        min-width: 220px;
        z-index: 50;
        align-items: start;
        z-index: 2100;
    }

        .nav-menu.open {
            display: flex;
        }

        .nav-menu a {
            margin: 0;
            padding: 10px 12px;
            border-radius: 8px;
        }

            .nav-menu a:hover {
                background: var(--hoverColor);
                color: var(--fg);
                border-bottom: none; /* évite soulignement si hérité */
            }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.payment-list {
    display: flex;
    gap: .75rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .payment-list li {
        display: flex;
        align-items: center
    }

/* Bulle de notif */
.ntf.hidden {
    display: none;
}

.hidden {
    display: none !important;
}

.ntf {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ntf-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,12,16,.45);
    backdrop-filter: blur(3px);
}

.ntf-card {
    position: relative;
    z-index: 1;
    width: min(520px, 92vw);
    background: var(--backgroundPopUp);
    color: var(--fg);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
    padding: 20px;
    display: flex;
    gap: 14px;
    transform: translateY(10px);
    opacity: 0;
    transition: all .18s ease;
}

.ntf.show .ntf-card {
    transform: translateY(0);
    opacity: 1;
}

.ntf-icon {
    flex: 0 0 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 20px;
    background: var(--backgroundBoutonMenuDashboard);
    border: var(--border);
}

    .ntf-icon[data-type="success"] {
        background: #12361f;
    }

    .ntf-icon[data-type="error"] {
        background: var(--dangerBackground);
    }

.ntf-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .ntf-body .ntf-title {
        margin: 0 0 6px;
        font-weight: 700;
        font-size: 18px;
    }

    .ntf-body p {
        margin: 0 0 12px;
        opacity: .95;
    }

.ntf-actions {
    display: flex;
    justify-content: flex-end; /* pousse les boutons à droite */
    gap: .5rem; /* espace entre boutons */
}

body {
    font-family: var(--textePolice);
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* IMPORTANT : sinon les enfants "shrink" */
    width: 100%;
}

@supports (height: 100svh) {
    body {
        min-height: 100svh;
    }
}

main.container {
    flex: 1 0 auto;
    min-height: 0;
    width: 100%; /* IMPORTANT : prend toute la largeur disponible */
}

/* le footer est poussé en bas quand il y a peu de contenu */
footer.footer {
    margin-top: auto;
}

.page_narrow {
    max-width: 600px;
    margin: 0 auto;
}

.page_wide {
    max-width: 980px;
    margin: 0 auto;
}

.page_text_center {
    text-align: center;
}

:root {
    --nav-h: 0px;
    --promo-h: 0px;
}

body {
    padding-top: calc(var(--nav-h) + var(--promo-h));
}
