/**
 * Chocolate /temps-forts — couche visuelle Nuthex (cacao + vert santé)
 * Scope: body.chol-tf-page--chocolate · après temps-forts-pages.css
 */

.chol-tf-page--chocolate {
    --nx-green: #3b9b5d;
    --nx-green-deep: #1a472a;
    --nx-green-soft: rgba(59, 155, 93, 0.14);
    --cacao-deep: #1a100c;
    --cacao: #4c2416;
    --cacao-mid: #74492c;
    --accent-gold: #c5a059;
    --cream: #faf7f4;
    --cream-muted: #f0ebe6;
    --ink: #2a1810;
    --text: #524038;
    --header-h: 92px;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow: 0 20px 50px rgba(26, 16, 12, 0.08);
    --display: 'Cormorant Garamond', Georgia, serif;
    background: var(--cream);
}

/* —— Hero —— */
.chol-tf-page--chocolate .chol-tf-page-hero {
    min-height: clamp(380px, 52vh, 500px);
    padding: calc(var(--header-h) + clamp(40px, 7vw, 56px)) var(--tf-pad-x) clamp(64px, 9vw, 88px);
    background: linear-gradient(155deg, var(--cacao-deep) 0%, var(--cacao) 45%, var(--cacao-mid) 100%) !important;
    color: #fff;
}

.chol-tf-page--chocolate .chol-tf-page-hero::before {
    background:
        radial-gradient(ellipse 70% 55% at 8% 25%, rgba(59, 155, 93, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 92% 75%, rgba(197, 160, 89, 0.15) 0%, transparent 50%) !important;
    animation: chol-tf-hero-glow 14s ease-in-out infinite alternate;
}

.chol-tf-page--chocolate .chol-tf-page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(44px, 6vw, 60px);
    background: var(--cream);
    border-radius: 50% 50% 0 0;
    z-index: 2;
    pointer-events: none;
}

@keyframes chol-tf-hero-glow {
    from { opacity: 0.88; }
    to { opacity: 1; }
}

.chol-tf-page--chocolate .chol-tf-page-hero .container {
    max-width: 860px;
    text-align: center;
    animation: none !important;
}

.chol-tf-page--chocolate .chol-tf-page-hero__kicker {
    margin-bottom: 16px;
    padding: 6px 18px;
    background: rgba(59, 155, 93, 0.18);
    border: 1px solid rgba(59, 155, 93, 0.45);
    color: #d4f0de;
    letter-spacing: 0.16em;
    font-size: 0.68rem;
}

.chol-tf-page--chocolate .chol-tf-page-hero h1 {
    font-family: var(--display);
    font-size: clamp(2.15rem, 5.2vw, 3.35rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: #fff !important;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

.chol-tf-page--chocolate .chol-tf-page-hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 20px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--nx-green), var(--accent-gold));
}

.chol-tf-page--chocolate .chol-tf-page-hero p {
    margin-top: 18px;
    max-width: 38em;
    margin-inline: auto;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 248, 242, 0.9) !important;
}

.chol-tf-page--chocolate .chol-tf-page-hero__links {
    margin-top: 30px;
    gap: 14px;
}

.chol-tf-page--chocolate .chol-tf-page-hero__links a {
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.chol-tf-page--chocolate .chol-tf-page-hero__links a:hover {
    transform: translateY(-2px);
}

.chol-tf-page--chocolate .chol-tf-page-hero__links .is-primary {
    background: linear-gradient(135deg, var(--nx-green), var(--nx-green-deep)) !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 12px 32px rgba(59, 155, 93, 0.35) !important;
}

.chol-tf-page--chocolate .chol-tf-page-hero__links .is-outline {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(8px);
}

.chol-tf-page--chocolate .chol-tf-page-hero__links .is-outline:hover {
    border-color: var(--accent-gold) !important;
    background: rgba(197, 160, 89, 0.15) !important;
}

/* —— Section contenu —— */
.chol-tf-page--chocolate .chol-temps-forts {
    margin-top: 0;
    border-radius: 0;
    padding: clamp(48px, 7vw, 80px) 0 clamp(88px, 10vw, 120px);
    background:
        radial-gradient(ellipse 75% 45% at 50% 0%, var(--nx-green-soft), transparent 55%),
        linear-gradient(180deg, var(--cream) 0%, #fff 35%, var(--cream-muted) 100%) !important;
}

.chol-tf-page--chocolate .chol-temps-forts::before {
    display: none;
}

.chol-tf-page--chocolate .chol-temps-forts .container {
    max-width: 1080px;
}

.chol-tf-page--chocolate .chol-tf-header {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: clamp(44px, 6vw, 68px);
}

.chol-tf-page--chocolate .chol-tf-kicker {
    background: var(--nx-green-soft);
    border-color: rgba(59, 155, 93, 0.28);
    color: var(--nx-green-deep);
}

.chol-tf-page--chocolate .chol-tf-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.95rem, 4vw, 2.75rem);
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--ink) !important;
}

.chol-tf-page--chocolate .chol-tf-subtitle {
    color: #6b5348;
    font-style: italic;
    font-size: clamp(1.02rem, 2vw, 1.18rem);
}

/* —— Bloc lancement —— */
.chol-tf-page--chocolate .chol-tf-hero {
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(197, 160, 89, 0.22);
    background: #fff;
    box-shadow: var(--shadow);
}

@media (min-width: 960px) {
    .chol-tf-page--chocolate .chol-tf-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: clamp(28px, 4vw, 40px);
        align-items: start;
    }

    .chol-tf-page--chocolate .chol-tf-hero-media {
        margin-bottom: 0;
        aspect-ratio: 4 / 5;
    }
}

.chol-tf-page--chocolate .chol-tf-hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(76, 36, 22, 0.16);
}

.chol-tf-page--chocolate .chol-tf-hero-body h2 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--ink) !important;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(59, 155, 93, 0.25);
}

.chol-tf-page--chocolate .chol-tf-hero-body p {
    font-size: 1.02rem;
    line-height: 1.82;
    color: var(--text);
}

/* —— Moments numérotés —— */
.chol-tf-page--chocolate .chol-temps-forts .container {
    counter-reset: chol-moment;
}

.chol-tf-page--chocolate .chol-tf-row {
    counter-increment: chol-moment;
    padding: clamp(18px, 2.5vw, 24px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(76, 36, 22, 0.08);
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.35s ease;
}

.chol-tf-page--chocolate .chol-tf-row:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 155, 93, 0.25);
    box-shadow: 0 26px 60px rgba(26, 16, 12, 0.11);
}

.chol-tf-page--chocolate .chol-tf-row-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.chol-tf-page--chocolate .chol-tf-row-body h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.28rem, 2.3vw, 1.65rem);
    color: var(--ink) !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.chol-tf-page--chocolate .chol-tf-row-body h2::before {
    content: counter(chol-moment, decimal-leading-zero);
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--nx-green-deep);
    padding: 6px 11px;
    border-radius: 8px;
    background: var(--nx-green-soft);
    border: 1px solid rgba(59, 155, 93, 0.22);
}

.chol-tf-page--chocolate .chol-tf-row-body p {
    margin-top: 14px;
    line-height: 1.78;
    color: var(--text);
}

/* —— Trophée (grille 50/50 — image contenue, sans chevauchement) —— */
.chol-tf-page--chocolate .chol-tf-trophy {
    margin-top: clamp(52px, 7vw, 76px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 24px 64px rgba(26, 16, 12, 0.14);
    overflow: hidden;
    isolation: isolate;
}

.chol-tf-page--chocolate .chol-tf-trophy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
}

.chol-tf-page--chocolate .chol-tf-trophy-media {
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    min-height: clamp(280px, 34vw, 400px);
    margin: 0;
    overflow: hidden;
    background: #ebe4dc;
}
 
.chol-tf-page--chocolate .chol-tf-trophy-media img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: clamp(280px, 34vw, 400px);
    max-width: 100% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-left:0px!important;
}

.chol-tf-page--chocolate .chol-tf-trophy-body {
    min-width: 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(165deg, #fff 0%, var(--cream) 100%);
    border-left: 4px solid var(--nx-green);
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chol-tf-page--chocolate .chol-tf-trophy-body .chol-tf-kicker {
    background: rgba(59, 155, 93, 0.1);
    border-color: rgba(59, 155, 93, 0.28);
    color: var(--nx-green-deep);
}

.chol-tf-page--chocolate .chol-tf-trophy-body h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--ink) !important;
}

.chol-tf-page--chocolate .chol-tf-trophy-body p {
    color: var(--text);
    line-height: 1.8;
}

/* Images */
.chol-tf-page--chocolate .chol-tf-hero-media img,
.chol-tf-page--chocolate .chol-tf-row-media img,
.chol-tf-page--chocolate .chol-tf-trophy-media img {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.chol-tf-page--chocolate .chol-tf-hero:hover .chol-tf-hero-media img,
.chol-tf-page--chocolate .chol-tf-row:hover .chol-tf-row-media img {
    transform: scale(1.035);
}

.chol-tf-page--chocolate .chol-tf-trophy:hover .chol-tf-trophy-media img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .chol-tf-page--chocolate .chol-tf-trophy-grid {
        grid-template-columns: 1fr;
    }

    .chol-tf-page--chocolate .chol-tf-trophy-media,
    .chol-tf-page--chocolate .chol-tf-trophy-media img {
        min-height: 0;
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .chol-tf-page--chocolate .chol-tf-trophy-body {
        border-left: none;
        border-top: 4px solid var(--nx-green);
    }
}

/* Révélation : contenu visible sans JS */
.chol-tf-page--chocolate .chol-reveal {
    opacity: 1 !important;
    transform: none !important;
}

.chol-tf-page--chocolate.chol-tf-reveal-pending .chol-reveal {
    opacity: 0 !important;
    transform: translateY(24px) !important;
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.chol-tf-page--chocolate .chol-reveal.is-visible,
.chol-tf-page--chocolate.chol-tf-reveal-pending .chol-reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.chol-tf-page--chocolate .chol-reveal.delay-1.is-visible { transition-delay: 0.08s; }
.chol-tf-page--chocolate .chol-reveal.delay-2.is-visible { transition-delay: 0.14s; }

@media (max-width: 768px) {
    .chol-tf-page--chocolate .chol-tf-trophy-body {
        border-left: none;
        border-top: 4px solid var(--nx-green);
    }

    .chol-tf-page--chocolate .chol-tf-row-body h2::before {
        width: fit-content;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chol-tf-page--chocolate .chol-tf-page-hero::before {
        animation: none;
    }

    .chol-tf-page--chocolate .chol-reveal,
    .chol-tf-page--chocolate.chol-tf-reveal-pending .chol-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .chol-tf-page--chocolate .chol-tf-row:hover {
        transform: none;
    }

    .chol-tf-page--chocolate .chol-tf-hero:hover .chol-tf-hero-media img,
    .chol-tf-page--chocolate .chol-tf-row:hover .chol-tf-row-media img,
    .chol-tf-page--chocolate .chol-tf-trophy:hover .chol-tf-trophy-media img {
        transform: none;
    }
}
