/* ============================================================
 * IFLISS GAMES — page d'accueil
 * Palette : taupe, blanc cassé, violet, touches de rouge / bordeaux (pas de bleu).
 * Seule exception : le fond du bandeau « Jeux populaires » sous le header.
 * Icônes : Bootstrap Icons. CSS simple, sans compilation : ce fichier se modifie directement.
 * Les couleurs .acc ainsi que .acc-wrap, .acc-kicker, .acc-mark et .acc-section-white
 * servent aussi à la page /jeux (jeux.css).
 * ============================================================ */

.acc {
    --paper: #faf6f0;
    --paper-2: #f3ede4;
    --card: #ffffff;
    --ink: #221a36;
    --ink-soft: #5f587a;
    --line: #e9e2f2;

    --violet-50: #f5f1fe;
    --violet-100: #e9e1fd;
    --violet-200: #d6c8fb;
    --violet-400: #a78bfa;
    --violet-600: #7c5bd8;
    --violet-800: #4a2f94;

    --taupe-100: #e6ddd1;
    --taupe-200: #d6c9b9;
    --taupe-400: #a89684;
    --taupe-700: #6b5a4c;
    --taupe-ink: #4a3f36;

    --bordeaux: #8e1b2c;
    --bordeaux-dark: #6f1422;
    --cream: #fbf3e6;

    /* Bleu du bandeau « Jeux populaires », repris pour le fond des boutons (accueil et /jeux) */
    --strip-blue: linear-gradient(90deg, #1c1948, #2a2173 50%, #1a2c68);
    --strip-blue-hover: linear-gradient(90deg, #262260, #372c93 50%, #243a85);
    --strip-blue-solid: #2a2173;

    /* Violet foncé : atouts, appel final */
    --night-1: #2b1850;
    --night-2: #472a84;
    --night-3: #673a9a;
    --night-text: #e3dbf3;

    --red: #d7263d;
    --red-hover: #b81d32;
    --red-50: #fdecef;
    --red-100: #fbd5dc;

    --radius: 16px;
    --shadow-sm: 0 1px 2px rgb(34 26 54 / 0.06);
    --shadow: 0 1px 2px rgb(34 26 54 / 0.05), 0 18px 40px -22px rgb(74 47 148 / 0.35);

    background: var(--paper);
    color: var(--ink);
    font-family: 'Lexend', sans-serif;
    overflow: hidden;
}
/* Accueil : blanc cassé plus soutenu et cartes sans blanc pur, pour reposer les yeux */
.acc-home {
    --paper: #f3eee6;
    --paper-2: #e9e1d6;
    --card: #fbf8f3;
    --line: #e0d7cb;
}
.acc *, .acc *::before, .acc *::after { box-sizing: border-box; }
.acc .bi { line-height: 1; vertical-align: -0.125em; }
:where(.acc) a { color: inherit; }
.acc :focus-visible { outline: 3px solid var(--violet-600); outline-offset: 3px; border-radius: 10px; }

.acc-wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

/* ============================================================
 * 1. Jeux populaires : les 10 jeux les plus joués
 *    Ordinateur et tablette : rangée fixe. Mobile : une ligne qui défile.
 * ============================================================ */
.acc-strip {
    padding: 10px 0 9px;
    background: var(--strip-blue);
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.acc-strip-inner { display: flex; align-items: center; gap: 20px; }
.acc-strip-title { flex-shrink: 0; margin: 0; line-height: 0; }
.acc-strip-title img {
    display: block;
    width: auto;
    height: 72px;
    filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.35));
}
.acc-strip-viewport { flex: 1; min-width: 0; }
.acc-strip-list {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Copie de la liste : ne sert qu'au défilement continu sur mobile */
.acc-strip-copy { display: none; }
.acc-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}
.acc-chip-img {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    border: 2px solid rgb(255 255 255 / 0.85);
    border-radius: 50%;
    background: #2a2173;
    box-shadow: 0 8px 14px -8px rgb(0 0 0 / 0.6);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s, border-color 0.28s;
}
.acc-chip-img img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* Point rouge clignotant pour attirer l'œil */
.acc-chip-img::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border: 2px solid #231d5e;
    border-radius: 50%;
    background: #ff2d4a;
    animation: acc-clignote 1.4s ease-in-out infinite;
}
.acc-strip-list li:nth-child(even) .acc-chip-img::after { animation-delay: -0.7s; }
@keyframes acc-clignote {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgb(255 45 74 / 0.7); }
    50% { opacity: 0.35; box-shadow: 0 0 0 5px rgb(255 45 74 / 0); }
}
.acc-chip-name {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: #e2ddff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s;
}
.acc-chip:hover .acc-chip-img,
.acc-chip:focus-visible .acc-chip-img {
    transform: translateY(-4px) rotate(-5deg) scale(1.06);
    border-color: #ff6b81;
    box-shadow: 0 12px 20px -10px rgb(255 107 129 / 0.6);
}
.acc-chip:hover .acc-chip-name,
.acc-chip:focus-visible .acc-chip-name { color: #fff; }
@keyframes acc-defile { to { transform: translateX(-50%); } }

/* ============================================================
 * 2. Bandeau d'accueil (fond taupe)
 * ============================================================ */
.acc-hero {
    position: relative;
    padding: 56px 0 88px;
    background:
        radial-gradient(760px 460px at 82% 45%, rgb(255 250 243 / 0.45), transparent 70%),
        radial-gradient(560px 340px at 0% 100%, rgb(255 250 243 / 0.25), transparent 70%),
        linear-gradient(135deg, #ddd1c3, #cfc0ae 55%, #c3b19d);
    color: var(--ink);
}
.acc-strip :focus-visible,
.acc-section-dark :focus-visible,
.acc-cta-box :focus-visible { outline-color: #d6c8fb; }
.acc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
}
/* Petite étiquette au-dessus d'un titre : n'est plus utilisée sur l'accueil, reste pour /jeux */
.acc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--violet-800);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.acc-kicker .bi { color: var(--red); }
.acc-hero h1 {
    position: relative;
    z-index: 0;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.01em;
}
.acc-mark { position: relative; color: var(--red); white-space: nowrap; }
.acc-mark::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 0.06em;
    z-index: -1;
    height: 0.3em;
    border-radius: 6px;
    background: var(--violet-200);
}
/* « en ligne » : base identique à « Jeu » sur /jeux (texte rouge surligné violet clair),
   avec un contour blanc et un trait violet façon coup de feutre fait à la main */
.acc-hero .acc-mark {
    text-shadow:
        0.04em 0 0 #fff, -0.04em 0 0 #fff, 0 0.04em 0 #fff, 0 -0.04em 0 #fff,
        0.028em 0.028em 0 #fff, -0.028em 0.028em 0 #fff, 0.028em -0.028em 0 #fff, -0.028em -0.028em 0 #fff;
}
.acc-hero .acc-mark::after,
.jx-hero .acc-mark::after,
.gr-hero .acc-mark::after,
.guide-hero .acc-mark::after,
.auth-title .acc-mark::after,
.wm-hero .acc-mark::after,
.sp-hero .acc-mark::after,
.ej-hero .acc-mark::after,
.ct-hero .acc-mark::after,
.jr-hero .acc-mark::after,
.in-hero .acc-mark::after {
    left: -0.14em;
    right: -0.1em;
    bottom: 0.04em;
    height: 0.44em;
    border-radius: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' preserveAspectRatio='none'%3E%3Cpath fill='%23c3aef8' d='M4 13.5C22 9.8 47 8.4 74 8.9c27 .5 52-2.6 80-2.1 17 .3 32 .4 41 2.6 4 1 4.6 4.3 1.3 5.8-10 4.3-35 4.5-58 5.6-26 1.3-52 4.3-80 4.6-22 .3-44-.4-53-1.6-5-.7-6-4.6-1.3-6.3z'/%3E%3Cpath fill='%23a98cf3' fill-opacity='.55' d='M12 17.2c30-3.4 70-3.9 104-5.6 28-1.4 52-1.8 72-.9 3 .2 3.4 2.4.6 3.1-24 5.3-68 5.9-110 8.3-24 1.3-48 1.6-64 .6-4-.3-5-4.6-2.6-5.5z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    transform: rotate(-1.5deg);
}
.acc-lead { max-width: 580px; margin: 0; color: var(--taupe-ink); font-size: 1.06rem; line-height: 1.75; }

.acc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s, background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.acc-btn-primary { background: var(--strip-blue); color: #fff; box-shadow: 0 12px 24px -14px rgb(28 25 72 / 0.9); }
.acc-btn-primary:hover { background: var(--strip-blue-hover); transform: translateY(-2px); }
.acc-btn-ghost { background: rgb(255 255 255 / 0.4); border-color: rgb(42 33 115 / 0.45); color: var(--strip-blue-solid); }
.acc-btn-ghost:hover { background: rgb(255 255 255 / 0.65); border-color: var(--strip-blue-solid); transform: translateY(-2px); }

.acc-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--taupe-ink);
    font-size: 0.88rem;
    font-weight: 600;
}
.acc-proof li { display: inline-flex; align-items: center; gap: 6px; }
.acc-proof .bi { color: var(--violet-600); }

.acc-visual { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 420px; }
.acc-blob {
    position: absolute;
    inset: 10% 8% 2%;
    border-radius: 48% 52% 42% 58% / 55% 45% 55% 45%;
    background: linear-gradient(145deg, #d2c2fb, #b39bf6 55%, #9577ec);
    opacity: 0.9;
    animation: acc-blob 14s ease-in-out infinite alternate;
}
@keyframes acc-blob {
    to { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; transform: rotate(6deg) scale(1.03); }
}
.acc-visual picture { position: relative; z-index: 1; display: block; width: min(100%, 560px); }
.acc-couple { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgb(70 50 35 / 0.35)); }

/* ============================================================
 * 3. Chiffres clés : style classique et chaleureux
 *    (fond crème, pastille bordeaux, grands chiffres lisibles)
 * ============================================================ */
.acc-stats { position: relative; z-index: 3; margin-top: -44px; }
.acc-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 auto; padding: 0; list-style: none; }
.acc-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #dccfbf;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 16px 32px -20px rgb(70 50 35 / 0.5);
}
.acc-stat .bi {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--bordeaux), var(--bordeaux-dark));
    box-shadow: inset 0 0 0 3px rgb(251 243 230 / 0.25);
    color: var(--cream);
    font-size: 1.3rem;
}
.acc-stat strong { display: block; color: var(--ink); font-size: 1.75rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.acc-stat span { display: block; margin-top: 5px; color: var(--taupe-ink); font-size: 0.9rem; font-weight: 600; }

/* ============================================================
 * Sections communes
 * ============================================================ */
.acc-section { padding: 72px 0; }
.acc-section-white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Taupe : catalogue de l'accueil */
.acc-section-taupe {
    --ink-soft: #5a4d43;
    background: linear-gradient(180deg, #e1d6c9, #d8cbbb);
    border-top: 1px solid #cdbfae;
    border-bottom: 1px solid #cdbfae;
}
/* Violet foncé : atouts de l'accueil */
.acc-section-dark {
    background:
        radial-gradient(620px 320px at 90% 0%, rgb(167 139 250 / 0.28), transparent 70%),
        linear-gradient(135deg, var(--night-1), var(--night-2) 55%, var(--night-3));
    color: #fff;
}
.acc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.acc-head h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; }
.acc-head p { max-width: 520px; margin: 0; color: var(--ink-soft); line-height: 1.7; }
.acc-section-dark .acc-head h2 { color: #fff; }
.acc-section-dark .acc-head p { color: var(--night-text); }
.acc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-800); font-weight: 700; text-decoration: none; }
.acc-link:hover { color: var(--red); }
.acc-link .bi { transition: transform 0.18s; }
.acc-link:hover .bi { transform: translateX(3px); }

/* ============================================================
 * 4. Nouveautés : image « Nouveaux, à découvrir ! » à gauche, jeux sur deux lignes
 * ============================================================ */
.acc-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 36px;
    align-items: center;
}
.acc-news-sans-image { grid-template-columns: 1fr; }
.acc-news-visual { display: flex; justify-content: center; }
.acc-news-visual img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    filter: drop-shadow(0 12px 18px rgb(70 50 35 / 0.2));
}
.acc-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.acc-news-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 14px 16px 14px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.acc-news-card:hover { transform: translateY(-3px); border-color: var(--red-100); box-shadow: 0 22px 40px -24px rgb(74 47 148 / 0.5); }
.acc-news-media {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--violet-200), var(--taupe-100));
}
.acc-news-card:nth-child(even) .acc-news-media { background: linear-gradient(135deg, var(--taupe-100), var(--violet-200)); }
.acc-news-media img {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 20px -12px rgb(74 47 148 / 0.7);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.acc-news-card:hover .acc-news-media img { transform: scale(1.08) rotate(-4deg); }
.acc-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}
.acc-news-body { min-width: 0; }
.acc-news-body h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.acc-news-body p,
.acc-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ============================================================
 * 5. Catalogue par catégorie
 * ============================================================ */
.acc-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.acc-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.18s, color 0.18s, transform 0.18s;
}
.acc-cat .bi { color: var(--violet-600); transition: color 0.18s; }
.acc-cat small { color: var(--ink-soft); font-size: 0.78rem; font-weight: 600; }
.acc-cat:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); }
.acc-cat:hover .bi { color: var(--red); }

.acc-category { scroll-margin-top: 96px; }
.acc-category + .acc-category { margin-top: 56px; }
.acc-category-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    margin-bottom: 20px;
}
.acc-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--violet-200);
    color: var(--violet-800);
    font-size: 1.4rem;
}
.acc-category:nth-of-type(3n+2) .acc-category-icon { background: var(--card); color: var(--taupe-700); }
.acc-category:nth-of-type(3n) .acc-category-icon { background: var(--red-50); color: var(--red); }
.acc-category h3 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.acc-category-copy { margin: 0; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.7; }
.acc-count {
    align-self: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--card);
    color: var(--violet-800);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.acc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.acc-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.acc-card:hover { transform: translateY(-3px); border-color: var(--violet-400); box-shadow: var(--shadow); }
.acc-card img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; transition: transform 0.25s; }
.acc-card:hover img { transform: rotate(-4deg) scale(1.05); }
.acc-card-body { min-width: 0; }
.acc-card h4 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 800; line-height: 1.25; }
.acc-card p { font-size: 0.8rem; line-height: 1.5; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.acc-tag { padding: 2px 8px; border-radius: 999px; background: var(--violet-100); color: var(--violet-800); font-size: 0.68rem; font-weight: 700; }
.acc-tag.xp { background: var(--red-50); color: #b81d31; } /* rouge assombri : contraste AA sur le fond rose */

.acc-center { display: flex; justify-content: center; margin-top: 44px; }

/* ============================================================
 * 6. Pourquoi IFLISS GAMES (sur fond violet foncé)
 * ============================================================ */
.acc-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.acc-feature {
    padding: 26px;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 20px;
    background: rgb(255 255 255 / 0.06);
}
.acc-feature .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgb(255 255 255 / 0.1);
    color: var(--violet-200);
    font-size: 1.3rem;
}
.acc-feature:nth-child(2) .bi { color: #ff8597; }
.acc-feature:nth-child(3) .bi { color: var(--taupe-200); }
.acc-feature h3 { margin: 0 0 8px; color: #fff; font-size: 1.1rem; font-weight: 800; }
.acc-feature p { margin: 0; color: var(--night-text); font-size: 0.92rem; line-height: 1.65; }

/* ============================================================
 * 7. Texte de présentation (SEO)
 * ============================================================ */
.acc-seo { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.acc-seo-panel { display: grid; gap: 14px; }
.acc-seo-item { padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--violet-400); border-radius: 16px; background: var(--card); }
.acc-seo-item:nth-child(2) { border-left-color: var(--red); }
.acc-seo-item:nth-child(3) { border-left-color: var(--taupe-400); }
.acc-seo-item strong { display: block; font-size: 1.2rem; font-weight: 900; }
.acc-seo-item span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; }
.acc-seo-copy h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.15; }
.acc-seo-copy p { margin: 0 0 14px; color: var(--ink-soft); line-height: 1.8; }
.acc-seo-copy strong { color: var(--ink); }
.acc-seo-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acc-seo-links a {
    padding: 8px 14px;
    border: 1px solid var(--violet-200);
    border-radius: 999px;
    background: var(--violet-100);
    color: var(--violet-800);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.acc-seo-links a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
 * 8. Appel final
 * ============================================================ */
.acc-cta { padding: 8px 0 80px; }
.acc-cta-box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    overflow: hidden;
    padding: 44px 48px;
    border-radius: 28px;
    background:
        radial-gradient(420px 260px at 100% 100%, rgb(215 38 61 / 0.28), transparent 70%),
        linear-gradient(120deg, var(--night-1), var(--night-2) 55%, var(--night-3));
    color: #fff;
}
.acc-cta-box::after {
    content: "";
    position: absolute;
    top: -130px;
    right: -90px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.08);
}
.acc-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; line-height: 1.1; }
.acc-cta p { margin: 0; color: var(--night-text); line-height: 1.7; }
.acc-cta .acc-actions { position: relative; z-index: 1; margin-top: 0; }
.acc-btn-light { background: var(--strip-blue); border-color: rgb(255 255 255 / 0.4); color: #fff; }
.acc-btn-light:hover { background: var(--strip-blue-hover); border-color: rgb(255 255 255 / 0.7); transform: translateY(-2px); }
.acc-btn-outline { border-color: rgb(255 255 255 / 0.65); color: #fff; }
.acc-btn-outline:hover { background: rgb(255 255 255 / 0.12); transform: translateY(-2px); }

/* ============================================================
 * Écrans étroits
 * ============================================================ */
@media (max-width: 1060px) {
    .acc-strip-inner { flex-direction: column; gap: 8px; }
    .acc-strip-title img { height: 64px; }
    .acc-strip-viewport { width: 100%; }
    .acc-news-layout { grid-template-columns: 1fr; gap: 24px; }
    .acc-news-visual img { max-width: 400px; }
    .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .acc-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .acc-seo, .acc-features { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .acc-strip-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 10px; }
    .acc-hero { padding: 36px 0 76px; }
    .acc-hero-grid { grid-template-columns: 1fr; gap: 16px; }
    .acc-visual { width: 100%; max-width: 480px; min-height: 0; margin: 0 auto; }
    .acc-cta-box { grid-template-columns: 1fr; padding: 34px 26px; }
    .acc-category-head { grid-template-columns: auto minmax(0, 1fr); }
    .acc-count { grid-column: 2; justify-self: start; }
}
/* Mobile : les bulles restent sur une ligne et défilent en continu (pause au toucher) */
@media (max-width: 600px) {
    .acc-strip { padding: 10px 0 6px; }
    .acc-strip-inner { gap: 2px; }
    .acc-strip-title img { height: 54px; }
    .acc-strip-viewport {
        width: calc(100% + 32px);
        margin: 0 -16px;
        padding: 6px 0 4px;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
        mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
    }
    .acc-strip-track { display: flex; width: max-content; animation: acc-defile 28s linear infinite; }
    .acc-strip-viewport:hover .acc-strip-track,
    .acc-strip-viewport:focus-within .acc-strip-track { animation-play-state: paused; }
    .acc-strip-list,
    .acc-strip-copy { display: grid; grid-template-columns: repeat(10, 70px); gap: 8px; padding-right: 8px; }
    .acc-chip-name { font-size: 0.6rem; }
}
@media (max-width: 560px) {
    .acc-grid, .acc-news { grid-template-columns: 1fr; }
    .acc-news-visual img { max-width: 300px; }
    .acc-news-media { width: 84px; height: 84px; }
    .acc-stats-grid { gap: 10px; }
    .acc-stat { gap: 10px; padding: 14px; }
    .acc-stat .bi { width: 40px; height: 40px; font-size: 1.05rem; }
    .acc-stat strong { font-size: 1.4rem; }
    .acc-stat span { font-size: 0.8rem; }
    .acc-section { padding: 52px 0; }
    .acc-actions .acc-btn { flex: 1 1 auto; }
    .acc-category-head { grid-template-columns: 1fr; }
    .acc-count { grid-column: auto; }
}

/* Mouvements réduits : pas d'animation, les bulles se font défiler au doigt */
@media (prefers-reduced-motion: reduce) {
    .acc-blob, .acc-strip-track, .acc-chip-img::after { animation: none; }
    .acc-strip-viewport { overflow-x: auto; }
    .acc-strip-copy { display: none; }
    .acc *, .acc *::before, .acc *::after { transition: none !important; }
}
