/* ==========================================================================
   CSS DÉDIÉ : Chronique Noéva — Jour 2
   Design : Rose, Orange, Rouge avec effets de lumière
========================================================================== */

:root {
    --noeva-orange: #FAA940;
    --noeva-orange-dark: #f89310;
    --noeva-rose: #FF006B;
    --noeva-rose-dark: #dc0b63;
    --noeva-red: #da0a0e;
    --noeva-red-dark: #971012;
    --noeva-panel: rgba(255, 255, 255, 0.045);
    --noeva-border: rgba(255, 255, 255, 0.12);
    --noeva-text: rgba(255, 255, 255, 0.86);
    --noeva-muted: rgba(255, 255, 255, 0.66);
}

.sa-content .boost-article-noeva,
.sa-content .boost-article-noeva * {
    box-sizing: border-box;
}

.sa-content .boost-article-noeva {
    margin: 28px 0 46px;
    color: var(--noeva-text);
    font-size: 15px;
    line-height: 1.9;
}

.sa-content .boost-article-noeva-j2 {
    position: relative;
    isolation: isolate;
}

.sa-content .boost-article-noeva p {
    margin: 0 0 1.35rem;
    font-size: 15px;
    line-height: 1.9;
}

.sa-content .boost-article-noeva strong {
    color: #fff;
    font-weight: 850;
}

.sa-content .boost-article-noeva a {
    color: var(--noeva-orange);
    text-decoration: none;
    border-bottom: 1px solid rgba(250, 169, 64, 0.42);
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.sa-content .boost-article-noeva a:hover {
    color: var(--noeva-rose);
    border-color: var(--noeva-rose);
}

/* Animation légère utilisée par les blocs du modèle HTML */
.ba2-animate {
    animation: noevaContentIn 0.65s ease both;
}

@keyframes noevaContentIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   HERO : 2/3 texte — 1/3 vidéo
========================================================================== */

.ba2-hero-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 34px;
}

.ba2-hero-layout .ba2-intro {
    height: 100%;
    margin: 0;
}

.ba2-hero-video {
    position: relative;
    top: 26px;
    z-index: 10;
    width: 100%;
}

.ba2-video-glow {
    position: absolute;
    z-index: -1;
    inset: -12px;
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        var(--noeva-rose),
        var(--noeva-red),
        var(--noeva-orange)
    );
    filter: blur(28px);
    opacity: 0.65;
    animation: noevaVideoGlow 4s ease-in-out infinite alternate;
}

@keyframes noevaVideoGlow {
    0% {
        opacity: 0.5;
        filter: blur(20px);
        transform: scale(0.98);
    }

    100% {
        opacity: 0.8;
        filter: blur(35px);
        transform: scale(1.02);
    }
}

.ba2-video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: #000;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.ba2-video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 980px) {
    .ba2-hero-layout {
        grid-template-columns: 1fr;
    }

    .ba2-hero-video {
        top: 0;
    }
}

/* ==========================================================================
   PANNEAUX
========================================================================== */

.ba2-intro,
.ba2-summary,
.ba2-card,
.ba2-exercise,
.ba2-template,
.ba2-resource-box,
.ba2-newsletter-panel,
.ba2-footer {
    border: 1px solid var(--noeva-border);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 0, 107, 0.12),
            transparent 36%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(250, 169, 64, 0.10),
            transparent 34%
        ),
        var(--noeva-panel);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.ba2-intro {
    padding: 26px;
}

.ba2-article-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 24px 0;
    border: 1px solid var(--noeva-border);
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
}

/* ==========================================================================
   SECTIONS ET SÉPARATEURS
========================================================================== */

.ba2-section {
    position: relative;
    margin: 64px 0;
    padding-top: 54px;
}

.ba2-section::before {
    position: absolute;
    top: 0;
    right: 10%;
    left: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--noeva-rose),
        var(--noeva-red),
        var(--noeva-orange),
        transparent
    );
    box-shadow:
        0 0 18px var(--noeva-rose),
        0 0 32px var(--noeva-orange);
    content: "";
    opacity: 0.8;
}

/* ==========================================================================
   TITRES
========================================================================== */

.ba2-kicker {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 14px !important;
    padding: 7px 12px;
    border: 1px solid rgba(255, 0, 107, 0.38);
    border-radius: 999px;
    background: rgba(255, 0, 107, 0.08);
    color: var(--noeva-rose);
    font-size: 0.78rem !important;
    font-weight: 850;
    line-height: 1.3 !important;
    text-transform: uppercase;
    letter-spacing: 0;
}

.sa-content .boost-article-noeva .ba2-title,
.sa-content .boost-article-noeva .ba2-subtitle,
.sa-content .boost-article-noeva .ba2-summary-title {
    color: #fff;
    letter-spacing: 0;
}

.sa-content .boost-article-noeva .ba2-title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 950;
    line-height: 1.12;
}

.sa-content .boost-article-noeva .ba2-subtitle {
    position: relative;
    margin: 0 0 18px;
    padding-left: 18px;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 900;
    line-height: 1.3;
}

.sa-content .boost-article-noeva .ba2-subtitle::before {
    position: absolute;
    top: 0.16em;
    left: 0;
    width: 5px;
    height: 1.12em;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        var(--noeva-rose),
        var(--noeva-orange)
    );
    box-shadow: 0 0 18px rgba(255, 0, 107, 0.35);
    content: "";
}

.ba2-lead {
    max-width: 880px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem !important;
    line-height: 1.9 !important;
}

/* ==========================================================================
   SOMMAIRE, LISTES ET PANNEAUX
========================================================================== */

.ba2-summary,
.ba2-exercise,
.ba2-template,
.ba2-newsletter-panel,
.ba2-footer {
    margin: 30px 0;
    padding: 24px;
}

.ba2-summary {
    border-color: rgba(255, 0, 107, 0.26);
    background: linear-gradient(
        135deg,
        rgba(255, 0, 107, 0.10),
        rgba(255, 255, 255, 0.025)
    );
}

.ba2-toc a {
    display: inline;
    border-bottom-color: rgba(250, 169, 64, 0.28) !important;
    color: rgba(255, 255, 255, 0.84) !important;
}

.ba2-toc a:hover {
    border-bottom-color: var(--noeva-orange) !important;
    color: var(--noeva-orange) !important;
}

.ba2-summary-title,
.ba2-card h3,
.ba2-exercise h3,
.ba2-template h3,
.ba2-newsletter-panel h3,
.ba2-footer h2 {
    margin: 0 0 14px !important;
    color: #fff;
    font-size: 1.1rem !important;
    font-weight: 900;
    line-height: 1.35 !important;
}

.ba2-summary ul,
.ba2-list {
    margin: 0 0 1.3rem;
    padding-left: 0 !important;
    list-style: none;
}

.ba2-summary li,
.ba2-list li {
    position: relative;
    margin: 0 0 12px !important;
    padding-left: 28px;
    line-height: 1.75 !important;
}

.ba2-summary li::before,
.ba2-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--noeva-orange);
    font-weight: 900;
}

.ba2-summary li::before {
    content: "↳";
}

.ba2-list li::before {
    content: "•";
}

/* ==========================================================================
   CARTES
========================================================================== */

.ba2-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.ba2-card {
    padding: 20px;
    background: rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   CITATIONS
========================================================================== */

.ba2-quote {
    position: relative;
    margin: 48px 0;
    padding: 32px 36px 32px 64px;
    border-left: 4px solid var(--noeva-rose);
    border-radius: 0 20px 20px 0;
    background: linear-gradient(
        90deg,
        rgba(255, 0, 107, 0.12),
        rgba(255, 255, 255, 0.02)
    );
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.7;
}

.ba2-quote::before {
    position: absolute;
    top: -10px;
    left: 12px;
    color: var(--noeva-orange);
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 1;
    content: "«";
    opacity: 0.5;
}

/* ==========================================================================
   NEWSLETTER ET BOUTON
========================================================================== */

.ba2-newsletter-panel {
    border-color: rgba(250, 169, 64, 0.32);
    background:
        radial-gradient(
            circle at top,
            rgba(250, 169, 64, 0.18),
            transparent 46%
        ),
        rgba(255, 255, 255, 0.045);
    text-align: center;
}

.ba2-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 13px 22px;
    border: none !important;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        var(--noeva-rose),
        var(--noeva-orange)
    );
    box-shadow: 0 12px 26px rgba(255, 0, 107, 0.25);
    color: #fff !important;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.ba2-cta-button:hover {
    box-shadow: 0 16px 34px rgba(250, 169, 64, 0.35);
    filter: brightness(1.08);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESSOURCES
========================================================================== */

.ba2-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.ba2-resource-card {
    display: flex;
    flex-direction: column;
    min-height: 116px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.76) !important;
    line-height: 1.55;
}

.ba2-resource-card span {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 900;
}

.ba2-resource-card:hover {
    border-color: rgba(250, 169, 64, 0.48) !important;
    color: #fff !important;
    transform: translateY(-4px);
}

/* ==========================================================================
   RESPONSIVE
========================================================================== */

@media (max-width: 860px) {
    .ba2-card-grid,
    .ba2-resource-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sa-content .boost-article-noeva {
        margin: 18px 0 34px;
        font-size: 14px;
        line-height: 1.82;
    }

    .sa-content .boost-article-noeva p {
        font-size: 14px;
        line-height: 1.82;
    }

    .ba2-intro,
    .ba2-summary,
    .ba2-card,
    .ba2-exercise,
    .ba2-template,
    .ba2-newsletter-panel,
    .ba2-footer {
        padding: 18px;
        border-radius: 16px;
    }

    .ba2-article-image {
        margin: 20px 0;
        border-radius: 16px;
    }

    .ba2-section {
        margin: 45px 0;
    }

    .ba2-cta-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ba2-animate,
    .ba2-cta-button,
    .ba2-resource-card,
    .sa-content .boost-article-noeva a {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}