/*
 * accueil-blog.css — page d'accueil du blog (FR/EN/IT), pensée pour la future mariée.
 * ---------------------------------------------------------------------------
 * Tout est préfixé « ba- » pour ne rien croiser avec 01blog.css, partagée par les 63 pages.
 * Les tailles de texte sont en em : le centre d'accessibilité agrandit le texte en changeant
 * la taille de police du <body> (data-accessibility-font).
 * Thème : clair par défaut, sombre quand onglet01.js pose data-theme="dark" sur <html>.
 */

body.blog-accueil-page {
    --ba-bg: #fbf9fd;
    --ba-surface: #f2edf9;
    --ba-surface-2: #e9e2f5;
    --ba-ink: #1b1240;
    --ba-soft: #3f3762;
    --ba-mute: #625a82;
    --ba-accent: #4d53bd;
    --ba-grad-text: linear-gradient(90deg, #5b4fe6, #8a3fe0);
    --ba-like: #6a4ff0;
    --ba-like-bg: rgba(111, 99, 255, 0.1);
    --ba-line: rgba(27, 18, 64, 0.12);
    --ba-grad: linear-gradient(90deg, #6f63ff, #a364ff);
    --ba-shadow: 0 22px 44px -28px rgba(40, 20, 90, 0.4);
    --ba-radius: 18px;
    --ba-gutter: 24px;
    padding-top: 0;
    background: var(--ba-bg);
}
[data-theme="dark"] body.blog-accueil-page {
    --ba-bg: #10003f;
    --ba-surface: #1d0f4b;
    --ba-surface-2: #261857;
    --ba-ink: #f5f1ff;
    --ba-soft: #d3cbee;
    --ba-mute: #aaa0d0;
    --ba-accent: #a9adff;
    --ba-grad-text: linear-gradient(90deg, #a9a3ff, #d0a2ff);
    --ba-like: #c2b6ff;
    --ba-like-bg: rgba(163, 100, 255, 0.18);
    --ba-line: rgba(225, 215, 255, 0.13);
    --ba-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
}
/* styleA01.css pose un padding-top sur html et body : la vidéo démarre tout en haut, sous le menu. */
html.blog-accueil-root { padding-top: 0; }
body.blog-accueil-page main { background: var(--ba-bg); }
body.ba-qz-lock { overflow: hidden; }
/* Le menu mobile se superpose aussi à la vidéo, sans repousser le premier écran. */
@media (max-width: 1200px) {
    body.blog-accueil-page #mobile-header-main { position: fixed; }
}

/* Le site ne met pas border-box partout : sans ça, le bloc vidéo dépassait l'écran de ses marges. */
.ba, .ba *, .ba *::before, .ba *::after, .ba-qz, .ba-qz * { box-sizing: border-box; }

.ba {
    color: var(--ba-ink);
    font-family: "Space Grotesk", system-ui, sans-serif;
    line-height: 1.6;
}
.ba img { display: block; max-width: 100%; }
.ba a { color: inherit; text-decoration: none; }
.ba :focus-visible { outline: 2px solid var(--ba-accent); outline-offset: 3px; border-radius: 6px; }
.ba-wrap { width: min(1120px, 100% - 2 * var(--ba-gutter)); margin-inline: auto; }
.ba-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 1. Bloc vidéo (même principe que Photographe de mariage et Entreprises) ---------- */
.ba-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* Plein écran sans plafond ; svh garde une hauteur stable sur mobile. */
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    /* Le contenu reste légèrement au-dessus du centre, à l'écart des liens du bas. */
    padding: 120px var(--ba-gutter) 200px;
    text-align: center;
    color: #fff;
    background: #10003f url("/2src/xrefvideo/videaste-et-photographe/wedding-add-poster.webp") center / cover;
}
.ba-hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ba-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(12, 0, 46, 0.97) 0%, rgba(16, 0, 63, 0.66) 40%, rgba(16, 0, 63, 0.32) 72%, rgba(16, 0, 63, 0.6) 100%);
}
.ba-hero__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #dcd7ff;
}
.ba-hero h1 {
    margin: 20px auto 0;
    max-width: 19ch;
    text-wrap: balance;
    font-family: "Bahnschrift", "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(2.4em, 5.8vw, 4.5em);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.ba-hero h1 span {
    display: block;
    background: linear-gradient(90deg, #c9c4ff, #dcb4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ba-hero__lead { margin: 20px auto 0; max-width: 44ch; font-size: 1.12em; color: #e6e1ff; }
.ba-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.ba-hero__stars { margin: 18px 0 0; font-size: 0.86em; color: #e6e1ff; }
.ba-hero__stars b { color: #ffc95c; letter-spacing: 1px; font-weight: 400; }
.ba-hero__univers {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 26px;
    margin: 0;
    padding: 0 var(--ba-gutter);
    list-style: none;
    font-size: 0.84em;
    color: #cfc8f2;
}
.ba-hero__univers li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: #a364ff;
    vertical-align: 2px;
}
.ba-hero__univers a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ba-hero__pause {
    position: absolute;
    right: 22px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(16, 0, 63, 0.45);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.ba-hero__pause { transition: transform 0.2s, background-color 0.2s, border-color 0.2s; }
.ba-hero__pause:hover, .ba-hero__pause:focus-visible { transform: scale(1.08); border-color: #fff; background: rgba(16, 0, 63, 0.7); }
.ba-hero__pause svg { width: 14px; height: 14px; fill: currentColor; }

/* Boutons */
.ba-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 0;
    font: 600 0.95em "Space Grotesk", system-ui, sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s, background-color 0.22s, background-position 0.5s, border-color 0.22s, color 0.22s;
}
.ba-btn:hover, .ba-btn:focus-visible { transform: translateY(-2px); }
.ba-btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.ba .ba-btn--grad, .ba-qz .ba-btn--grad {
    background: linear-gradient(90deg, #6f63ff, #a364ff, #6f63ff);
    background-size: 200% 100%;
    color: #fff;
    box-shadow: 0 10px 30px -12px rgba(111, 99, 255, 0.8);
}
.ba .ba-btn--grad:hover, .ba .ba-btn--grad:focus-visible, .ba-qz .ba-btn--grad:hover {
    background-position: 100% 0;
    box-shadow: 0 16px 36px -10px rgba(122, 82, 255, 0.7);
}
/* Reflet : une bande claire traverse le bouton au survol, une seule fois */
.ba-btn--grad::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-120%);
}
.ba-btn--grad:hover::after, .ba-btn--grad:focus-visible::after { animation: ba-shine 0.75s ease-out; }
@keyframes ba-shine { to { transform: translateX(120%); } }
.ba .ba-btn--glass:hover, .ba .ba-btn--glass:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}
.ba .ba-btn--glass {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.ba-btn--ghost { border: 1px solid var(--ba-line); background: none; color: var(--ba-ink); }
.ba-btn--ghost:hover, .ba-btn--ghost:focus-visible {
    border-color: var(--ba-accent);
    background: var(--ba-like-bg);
    box-shadow: 0 12px 26px -16px rgba(111, 99, 255, 0.7);
}
.ba-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Articles aimés (la liste vient de qrBlogLikes, déjà gardé par le like) */
.ba-liked-bar { display: flex; justify-content: center; padding: 22px 0 0; }
.ba-liked-bar[hidden] { display: none; }
.ba-liked-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ba-soft);
    font: inherit;
    font-size: 0.9em;
    cursor: pointer;
}
.ba-liked-link:hover { color: var(--ba-ink); }
.ba-liked-link svg { width: 15px; height: 15px; fill: url(#ba-grad-like); transition: transform 0.2s; }
.ba-liked-link:hover svg { transform: scale(1.18); }

/* ---------- Sections ---------- */
.ba section { scroll-margin-top: 90px; }
.ba-block { padding: 60px 0; }
.ba-block + .ba-block { border-top: 1px solid var(--ba-line); }
.ba-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.ba-head h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.6em, 2.6vw, 2.05em);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
    color: var(--ba-ink);
}
.ba-head p { margin: 6px 0 0; color: var(--ba-mute); }
.ba-link-arrow { color: var(--ba-accent); font-weight: 600; font-size: 0.92em; white-space: nowrap; }
.ba .ba-link-arrow { color: var(--ba-accent); }
.ba-link-arrow::after { content: "→"; display: inline-block; margin-left: 0.3em; transition: transform 0.2s; }
.ba-link-arrow:hover::after, .ba-link-arrow:focus-visible::after { transform: translateX(4px); }
.ba-kicker { margin: 0 0 8px; font-size: 0.72em; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ba-accent); }
.ba-kicker--rose, .ba-quiz h2 em, .ba-qz__res h3 {
    background: var(--ba-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ba-kicker--rose { width: fit-content; }
.ba-meta { margin: 0; color: var(--ba-mute); font-size: 0.86em; }
.ba-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }

.ba-media { position: relative; overflow: hidden; border-radius: var(--ba-radius); background: var(--ba-surface); }
.ba-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.ba-media:hover img, .ba-card:hover .ba-media img, .ba-step:hover .ba-media img { transform: scale(1.03); }
.ba-media__link { display: block; height: 100%; }
.ba-card, .ba-step { position: relative; }
.ba-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Like réel (API /blog/counts, affiché dès 0 ; rien si l'API ne répond pas) */
.ba-like {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 9px;
    border: 1px solid var(--ba-line);
    border-radius: 999px;
    background: none;
    color: var(--ba-mute);
    font: inherit;
    font-size: 0.95em;
    line-height: 1.3;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.ba-like__icon { position: relative; display: inline-grid; place-items: center; }
.ba-like svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s; }
.ba-like:hover { color: var(--ba-like); border-color: color-mix(in srgb, var(--ba-like) 45%, transparent); }
.ba-like:hover svg { transform: scale(1.15); }
.ba-like:active { transform: scale(0.94); }
.ba-like[aria-pressed="true"] { color: var(--ba-like); border-color: color-mix(in srgb, var(--ba-like) 55%, transparent); background: var(--ba-like-bg); }
.ba-like[aria-pressed="true"] svg { fill: url(#ba-grad-like); stroke: url(#ba-grad-like); }
.ba-like__n:empty { display: none; }
/* Au clic « j'aime » : le cœur rebondit, un anneau s'ouvre et six points s'envolent */
.ba-like.is-pop svg { animation: ba-heart-pop 0.55s cubic-bezier(0.2, 1.6, 0.4, 1); }
.ba-like__fx { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; pointer-events: none; }
.ba-like__fx::before, .ba-like__fx::after { content: ""; position: absolute; opacity: 0; }
/* Anneau */
.ba-like__fx::after { inset: 0; border-radius: 50%; }
/* Six points */
.ba-like__fx::before {
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    box-shadow: 0 -19px 0 #6f63ff, 16px -10px 0 #a364ff, 16px 10px 0 #8a7dff, 0 19px 0 #a364ff, -16px 10px 0 #6f63ff, -16px -10px 0 #c08bff;
}
.ba-like.is-pop .ba-like__fx::after { animation: ba-like-ring 0.6s ease-out; }
.ba-like.is-pop .ba-like__fx::before { animation: ba-like-burst 0.6s ease-out; }
@keyframes ba-heart-pop { 0% { transform: scale(1); } 25% { transform: scale(0.75); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes ba-like-ring {
    0% { opacity: 1; box-shadow: inset 0 0 0 8px rgba(163, 100, 255, 0.55); transform: scale(0.2); }
    100% { opacity: 0; box-shadow: inset 0 0 0 0 rgba(163, 100, 255, 0); transform: scale(1.2); }
}
@keyframes ba-like-burst { 0% { transform: scale(0.45); opacity: 1; } 70% { opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }

/* ---------- 2. À la une ---------- */
.ba-une { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.ba-une .ba-media { aspect-ratio: 16 / 10; box-shadow: var(--ba-shadow); }
.ba-une__title {
    margin: 0 0 16px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.7em, 3vw, 2.45em);
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
    color: var(--ba-ink);
}
.ba-une__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ba-une__excerpt { margin: 0 0 20px; color: var(--ba-soft); font-size: 1.04em; }
.ba-byline { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.ba-byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* ---------- 3. Par où commencer ---------- */
.ba-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.ba-step__num {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-family: "Fraunces", Georgia, serif;
    font-style: italic;
    font-size: 1.9em;
    line-height: 1;
    color: var(--ba-accent);
}
.ba-step__num::after { content: ""; flex: 1; height: 1px; background: var(--ba-line); }
.ba-step .ba-media { aspect-ratio: 4 / 3; margin-bottom: 16px; }
.ba-step .ba-stretch { display: block; }
.ba-step h3, .ba-card h3 {
    margin: 0 0 8px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.24em;
    line-height: 1.25;
    text-wrap: pretty;
    color: var(--ba-ink);
}
.ba-step:hover h3, .ba-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- 4. Le quiz du style ---------- */
.ba-quiz { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 34px; border-radius: 30px; background: var(--ba-surface); }
.ba-quiz__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 24px; }
.ba-quiz__mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.ba-quiz__mosaic img:nth-child(even) { transform: translateY(24px); }
.ba-quiz h2 {
    margin: 0 0 14px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.8em, 3.2vw, 2.6em);
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
    color: var(--ba-ink);
}
.ba-quiz h2 em { font-style: italic; font-weight: 400; padding-right: 0.08em; }
.ba-quiz__text { margin: 0 0 24px; color: var(--ba-soft); font-size: 1.04em; max-width: 46ch; }
.ba-quiz__go { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }

/* ---------- 5. Vrais mariages et inspirations ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.ba-card .ba-media { aspect-ratio: 3 / 2; margin-bottom: 16px; }
.ba-card__excerpt {
    margin: 0 0 10px;
    color: var(--ba-soft);
    font-size: 0.95em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ba-empty { grid-column: 1 / -1; color: var(--ba-mute); }
.ba-more { display: flex; justify-content: center; margin-top: 40px; }
.ba-more[hidden] { display: none; }
.ba-more__btn span { transition: transform 0.15s; }
.ba-more__btn:hover span { transform: translateY(2px); }
.ba-cta {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    margin-top: 48px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #2a1470, #10003f);
    color: #fff;
}
.ba-cta__img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.ba-cta__body { align-self: center; padding: 40px 44px; }
.ba-cta .ba-kicker {
    width: fit-content;
    background: linear-gradient(90deg, #c9c4ff, #dcb4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ba-cta h2 {
    margin: 0 0 14px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.7em, 3vw, 2.4em);
    line-height: 1.1;
    text-wrap: balance;
    color: #fff;
}
.ba-cta p { margin: 0 0 24px; color: #e6e1ff; max-width: 44ch; }
.ba .ba-cta .ba-btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.ba .ba-cta .ba-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.ba-reset { margin-left: 14px; padding: 0; border: 0; background: none; font: inherit; color: var(--ba-accent); font-weight: 600; cursor: pointer; }

/* ---------- 6. Côté entreprises ---------- */
.ba-pro .ba-head h2 { font-size: 1.3em; }
.ba-pro-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ba-pro-item { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; }
.ba-pro-item .ba-media { aspect-ratio: 4 / 3; border-radius: 12px; }
.ba-pro-item h3 { margin: 0 0 4px; font-size: 0.96em; font-weight: 600; line-height: 1.35; color: var(--ba-ink); }
.ba-pro-item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 7. Le texte du blog (tout le texte d'origine, sous des intertitres) ---------- */
.ba-seo { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 56px; }
.ba-seo__intro h2 {
    margin: 0 0 18px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.6em, 2.6vw, 2.05em);
    line-height: 1.15;
    text-wrap: balance;
    color: var(--ba-ink);
}
.ba-seo p { margin: 0 0 14px; color: var(--ba-soft); font-size: 0.98em; }
.ba-seo a { color: var(--ba-ink); text-decoration: underline; text-decoration-color: var(--ba-accent); text-underline-offset: 3px; }
.ba-seo__cols { display: grid; gap: 30px; }
.ba-seo__col { padding-left: 22px; border-left: 2px solid var(--ba-line); scroll-margin-top: 90px; }
.ba-seo__col h3 { margin: 0 0 10px; font-size: 1.08em; font-weight: 600; color: var(--ba-ink); }
.ba-seo__col h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--ba-grad);
    vertical-align: 1px;
}
.ba-seo__end { grid-column: 1 / -1; padding: 22px 26px; border-radius: 18px; background: var(--ba-surface); }
.ba-seo__end p:last-child { margin-bottom: 0; }

/* ---------- 8. La rédaction (cartes rendues par authors.js dans [data-authors-grid]) ---------- */
.ba-head .ba-kicker { margin: 0 0 8px; color: var(--ba-accent); }
.ba-team .ba-head > div { max-width: 760px; }
.ba-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px; }
.ba-team .editorial-author {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 26px;
    padding: 26px;
    border: 1px solid var(--ba-line);
    border-radius: 24px;
    background: var(--ba-surface);
}
[data-theme="dark"] .ba-team .editorial-author { background: var(--ba-surface); }
.ba-team .editorial-author__portrait { width: 120px; border-color: var(--ba-surface-2); border-radius: 50%; }
.ba-team .editorial-author h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.5em; }
.ba-team .editorial-author h3 a { color: var(--ba-ink); }
.ba-team .editorial-author__role { color: var(--ba-soft); font-weight: 600; }
.ba-team .editorial-author__bio { color: var(--ba-soft); max-width: 68ch; }
.ba-team .editorial-author__meta { color: var(--ba-accent); font-weight: 600; }
.ba-team .editorial-author__profile-link { color: var(--ba-accent); font-weight: 600; }
.ba-team__join {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    margin-top: 22px;
    padding: 24px 28px;
    border-radius: 24px;
    background: linear-gradient(100deg, #6f63ff, #a364ff 62%, #cf54c2);
    color: #fff;
}
.ba-team__join strong { display: block; margin-bottom: 4px; font-size: 1.1em; }
.ba-team__join span { display: block; max-width: 62ch; font-size: 0.94em; color: rgba(255, 255, 255, 0.9); }
.ba .ba-team__join-btn {
    flex: none;
    padding: 13px 22px;
    border-radius: 999px;
    background: #fff;
    color: #4d53bd;
    font-weight: 700;
    font-size: 0.95em;
    transition: transform 0.15s;
}
.ba .ba-team__join-btn { transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s; }
.ba .ba-team__join-btn:hover, .ba .ba-team__join-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(40, 10, 90, 0.55); }
.ba .ba-team__join-btn:active { transform: scale(0.97); }

/* ---------- 9. FAQ ---------- */
.ba-faq { max-width: 760px; }
.ba-faq details { border-bottom: 1px solid var(--ba-line); }
.ba-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 1.02em;
    color: var(--ba-ink);
}
.ba-faq summary::-webkit-details-marker { display: none; }
.ba-faq summary::after { content: "+"; color: var(--ba-accent); font-size: 1.3em; line-height: 1; transition: transform 0.15s; }
.ba-faq details[open] summary::after { transform: rotate(45deg); }
.ba-faq details p { margin: 0 0 18px; color: var(--ba-soft); max-width: 62ch; }

/* ---------- Retour en haut (le défilement doux vient de 01blog.js, qui gère tous les liens #top) ---------- */
.ba-top { display: flex; justify-content: center; padding: 12px 0 64px; }
.ba-top__btn span { display: inline-block; transition: transform 0.2s; }
.ba-top__btn:hover span, .ba-top__btn:focus-visible span { transform: translateY(-3px); }
.ba [tabindex="-1"]:focus { outline: none; }

/* ---------- Fenêtre du quiz ---------- */
.ba-qz {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(8, 0, 30, 0.74);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-family: "Space Grotesk", system-ui, sans-serif;
    color: var(--ba-ink);
}
.ba-qz.is-open { display: grid; }
.ba-qz__panel {
    position: relative;
    width: min(780px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 24px 28px 30px;
    border: 1px solid var(--ba-line);
    border-radius: 26px;
    background: var(--ba-bg);
    box-shadow: var(--ba-shadow);
}
.ba-qz__top { display: grid; grid-template-columns: 110px 1fr 110px; align-items: center; margin-bottom: 24px; }
.ba-qz__back, .ba-qz__close { padding: 6px 0; border: 0; background: none; color: var(--ba-mute); font: 500 0.9em "Space Grotesk", system-ui, sans-serif; cursor: pointer; }
.ba-qz__back { justify-self: start; }
.ba-qz__back[hidden] { display: block; visibility: hidden; }
.ba-qz__close { justify-self: end; font-size: 1.5em; line-height: 1; }
.ba-qz__back:hover, .ba-qz__close:hover { color: var(--ba-ink); }
.ba-qz__dots { display: flex; justify-content: center; gap: 6px; }
.ba-qz__dots i { width: 26px; height: 4px; border-radius: 4px; background: var(--ba-line); transition: background 0.2s; }
.ba-qz__dots i.on { background: var(--ba-grad); }
.ba-qz__q {
    margin: 0 0 24px;
    text-align: center;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.4em, 3vw, 1.95em);
    line-height: 1.2;
    text-wrap: balance;
    color: var(--ba-ink);
}
.ba-qz__imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ba-qz__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 16px; background: var(--ba-surface); cursor: pointer; }
.ba-qz__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.ba-qz__img:hover img { transform: scale(1.04); }
.ba-qz__img span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 14px 12px;
    background: linear-gradient(0deg, rgba(12, 0, 46, 0.85), transparent);
    color: #fff;
    font: 600 0.95em "Space Grotesk", system-ui, sans-serif;
    text-align: left;
}
.ba-qz__img { transition: transform 0.2s, box-shadow 0.2s; }
.ba-qz__img:hover, .ba-qz__img:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(60, 30, 140, 0.8); }
.ba-qz__img.is-picked { outline: 3px solid #a364ff; outline-offset: 3px; }
.ba-qz__txts { display: grid; gap: 10px; max-width: 540px; margin: 0 auto; }
.ba-qz__txt {
    padding: 16px 18px;
    border: 1px solid var(--ba-line);
    border-radius: 14px;
    background: var(--ba-surface);
    color: var(--ba-ink);
    font: 500 1em "Space Grotesk", system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s;
}
.ba-qz__txt { transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.ba-qz__txt:hover, .ba-qz__txt:focus-visible { border-color: var(--ba-accent); transform: translateX(4px); box-shadow: 0 10px 24px -18px rgba(111, 99, 255, 0.9); }
.ba-qz__txt.is-picked { border-color: transparent; background: var(--ba-grad); color: #fff; }
.ba-qz__res { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.ba-qz__res > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.ba-qz__res h3 {
    margin: 0 0 12px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: clamp(2em, 4vw, 2.6em);
    line-height: 1.05;
}
.ba-qz__res p { margin: 0 0 14px; color: var(--ba-soft); }
.ba-qz__tip { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--ba-surface); font-size: 0.94em; }
.ba-qz__tip strong { display: block; margin-bottom: 4px; color: var(--ba-ink); font-size: 0.8em; letter-spacing: 0.12em; text-transform: uppercase; }
.ba-qz__reads { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.ba-qz__reads a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--ba-ink); font-weight: 600; font-size: 0.94em; line-height: 1.3; text-decoration: none; }
.ba-qz__reads img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.ba-qz__reads a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ba-qz .ba-btn--grad { text-decoration: none; }

/* ---------- Tablette ---------- */
@media (max-width: 960px) {
    .ba-une, .ba-quiz, .ba-seo, .ba-cta { grid-template-columns: 1fr; gap: 28px; }
    .ba-cta { gap: 0; }
    .ba-cta__img { min-height: 0; aspect-ratio: 16 / 9; }
    .ba-grid { grid-template-columns: repeat(2, 1fr); }
    .ba-pro-list { grid-template-columns: 1fr; gap: 16px; }
    .ba-quiz__mosaic { max-width: 520px; }
}
/* ---------- Téléphone ---------- */
@media (max-width: 680px) {
    body.blog-accueil-page { --ba-gutter: 16px; --ba-radius: 14px; }
    .ba-hero { padding: 120px var(--ba-gutter) 160px; }
    .ba-hero__lead { font-size: 1em; }
    .ba-hero__actions .ba-btn { flex: 1 1 100%; }
    .ba-hero__univers { flex-direction: column; align-items: center; gap: 4px; bottom: 22px; font-size: 0.78em; }
    .ba-hero__pause { right: 14px; bottom: auto; top: 84px; width: 34px; height: 34px; }
    .ba-block { padding: 44px 0; }
    .ba-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 22px; }
    .ba-steps { grid-template-columns: 1fr; gap: 18px; }
    .ba-step { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; align-items: start; }
    .ba-step__num { grid-column: 1 / -1; margin-bottom: 10px; font-size: 1.5em; }
    .ba-step .ba-media { margin-bottom: 0; }
    .ba-step h3 { font-size: 1.06em; }
    .ba-quiz { padding: 22px 18px 26px; border-radius: 24px; }
    .ba-quiz__mosaic { padding-bottom: 0; }
    .ba-quiz__mosaic img:nth-child(even) { transform: none; }
    .ba-quiz__go .ba-btn { flex: 1 1 100%; }
    .ba-grid { grid-template-columns: 1fr; gap: 34px; }
    .ba-cta__body { padding: 26px 22px 28px; }
    .ba-team .editorial-author { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
    .ba-team .editorial-author__portrait { width: 88px; }
    .ba-team__join { flex-direction: column; align-items: flex-start; padding: 22px; }
    .ba .ba-team__join-btn { width: 100%; text-align: center; }
    .ba-btns .ba-btn { flex: 1 1 100%; }
    .ba-qz { padding: 0; }
    .ba-qz__panel { width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; padding: 16px 16px 28px; }
    .ba-qz__top { grid-template-columns: 90px 1fr 90px; margin-bottom: 18px; }
    .ba-qz__imgs { gap: 10px; }
    .ba-qz__img { aspect-ratio: 3 / 4; }
    .ba-qz__img span { font-size: 0.86em; padding: 26px 10px 10px; }
    .ba-qz__res { grid-template-columns: 1fr; gap: 18px; }
    .ba-qz__res > img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
    .ba *, .ba *::before, .ba *::after, .ba-qz *, .ba-qz *::before, .ba-qz *::after { transition: none !important; animation: none !important; }
}
