/* ==========================================================================
   TREENITY — Page redesign (système tg-*)
   Même langage cinématographique que cocon-figma.css / concours-figma.css
   mais avec la palette bleu nuit Treenity et un focus SUA × The Joke.
   ========================================================================== */

.tg-page {
    --tg-cream: #f0ece4;
    --tg-cream-dim: rgba(240, 236, 228, 0.72);
    --tg-cream-faint: rgba(240, 236, 228, 0.42);
    --tg-gold: #cfa45b;
    --tg-gold-bright: #e8c98a;
    --tg-gold-warm: #cfa45b;
    --tg-orange: #f07a1a;
    --tg-orange-bright: #ff9648;
    --tg-ink: #050024;
    --tg-ink-2: #06001a;
    --tg-ink-3: #0a063a;
    --tg-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.7);
    color: var(--tg-cream);
}

/* ============================== HERO ===================================== */

.tg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 56px 120px;
    overflow: hidden;
    isolation: isolate;
}

.tg-hero-bg { position: absolute; inset: 0; z-index: -1; }
.tg-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.55) saturate(1.05) hue-rotate(-8deg);
}
.tg-hero-bg-grade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(5, 0, 36, 0.6) 0%,
            rgba(5, 0, 36, 0.78) 35%,
            rgba(5, 0, 36, 0.95) 80%,
            var(--tg-ink) 100%),
        radial-gradient(ellipse at 28% 50%, rgba(207, 164, 91, 0.1) 0%, transparent 55%);
}
.tg-hero-bg-grain {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
}

.tg-hero-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tg-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(207, 164, 91, 0.42);
    background: rgba(207, 164, 91, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--tg-gold-bright);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.tg-hero-eyebrow svg { width: 14px; height: 14px; }

.tg-hero-title {
    margin: 28px 0 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(54px, 8.6vw, 132px);
    line-height: 0.92;
    letter-spacing: -0.005em;
    color: var(--tg-cream);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
    text-wrap: balance;
}
.tg-hero-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(110deg, #f4dba2 0%, #e8c98a 50%, #b29f80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tg-hero-title .tg-orange-em {
    background: linear-gradient(110deg, #ffb079 0%, #f07a1a 50%, #c25500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tg-hero-tagline {
    margin: 32px 0 0;
    padding-top: 18px;
    max-width: 540px;
    border-top: 1px solid rgba(207, 164, 91, 0.22);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.25vw, 18px);
    letter-spacing: 0.04em;
    color: var(--tg-cream-faint);
    line-height: 1.4;
}

.tg-hero-deck {
    margin: 24px 0 0;
    max-width: 620px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.7;
    color: var(--tg-cream-dim);
}
.tg-hero-deck strong { color: var(--tg-cream); font-weight: 600; }

.tg-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.tg-hero-marks {
    list-style: none;
    margin: 56px 0 0;
    padding: 28px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 720px;
    border-top: 1px solid rgba(207, 164, 91, 0.18);
}
.tg-hero-marks li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'Inter', sans-serif;
}
.tg-hero-marks strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(34px, 3.6vw, 52px);
    color: var(--tg-gold-bright);
    letter-spacing: 0.5px;
    line-height: 1;
}
.tg-hero-marks span {
    font-size: 11.5px;
    color: var(--tg-cream-dim);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tg-hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--tg-cream-dim);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    z-index: 2;
}
.tg-hero-scroll:hover { color: var(--tg-gold-bright); }
.tg-hero-scroll svg { width: 18px; height: 18px; animation: tg-scroll-pulse 2.4s ease-in-out infinite; }
@keyframes tg-scroll-pulse {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ============================== CTA ===================================== */

.tg-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}
.tg-cta svg { width: 16px; height: 16px; }
.tg-cta-primary {
    background: linear-gradient(135deg, #b29f80 0%, #cfa45b 50%, #e8b96a 100%);
    color: var(--tg-ink);
    box-shadow: 0 16px 40px -16px rgba(207, 164, 91, 0.45);
}
.tg-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px -16px rgba(207, 164, 91, 0.65);
}
.tg-cta-orange {
    background: linear-gradient(135deg, #ff9648 0%, #f07a1a 100%);
    color: #1a0a00;
    box-shadow: 0 16px 40px -16px rgba(240, 122, 26, 0.55);
}
.tg-cta-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px -16px rgba(240, 122, 26, 0.75);
}
.tg-cta-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(207, 164, 91, 0.32);
    color: var(--tg-cream);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.tg-cta-ghost:hover {
    border-color: rgba(207, 164, 91, 0.6);
    color: var(--tg-gold-bright);
    transform: translateY(-2px);
}
.tg-cta-lg { padding: 18px 32px; font-size: 15px; }

/* ============================== PILL & SECTION HEAD ==================== */

.tg-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(207, 164, 91, 0.32);
    background: rgba(207, 164, 91, 0.08);
    color: var(--tg-gold-bright);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.tg-pill-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--tg-cream);
}
.tg-pill-orange {
    border-color: rgba(240, 122, 26, 0.42);
    background: rgba(240, 122, 26, 0.1);
    color: var(--tg-orange-bright);
}

.tg-section-head {
    max-width: 740px;
    margin: 0 auto 72px;
    text-align: center;
}
.tg-section-title {
    margin: 22px 0 18px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 5.6vw, 78px);
    line-height: 0.96;
    letter-spacing: 0;
    color: var(--tg-cream);
    text-wrap: balance;
}
.tg-section-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--tg-gold-bright);
}
.tg-section-title .tg-orange-em {
    color: var(--tg-orange-bright);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}
.tg-section-sub {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(14.5px, 1.1vw, 16px);
    line-height: 1.75;
    color: var(--tg-cream-dim);
    text-wrap: balance;
}
.tg-section-sub strong { color: var(--tg-cream); font-weight: 600; }

/* ============================== MANIFESTO ============================== */

.tg-manifesto {
    padding: 140px 56px 100px;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(207, 164, 91, 0.08) 0%, transparent 55%),
        var(--tg-ink);
}

/* — Slide plein écran "L'écosystème" ——————————————————————————— */
.tg-manifesto-hero {
    position: relative;
    min-height: 100vh;
    padding: 100px 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% 28%, rgba(207, 164, 91, 0.10) 0%, transparent 55%),
        linear-gradient(180deg,
            var(--tg-ink) 0%,
            #060129 50%,
            var(--tg-ink) 100%);
}
.tg-manifesto-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.tg-manifesto-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.tg-manifesto-hero-orb-a {
    width: 640px;
    height: 640px;
    top: -16%;
    right: -10%;
    background: radial-gradient(circle, rgba(207, 164, 91, 0.18) 0%, transparent 65%);
}
.tg-manifesto-hero-orb-b {
    width: 520px;
    height: 520px;
    bottom: -18%;
    left: -12%;
    background: radial-gradient(circle, rgba(60, 40, 120, 0.22) 0%, transparent 65%);
}
.tg-manifesto-hero-head {
    margin: 0;
    padding: 0;
    max-width: 880px;
    text-align: center;
}
.tg-manifesto-hero-head::after { display: none !important; }
.tg-manifesto-hero-title {
    margin: 28px 0 32px;
    font-size: clamp(64px, 9vw, 152px);
    line-height: 0.92;
    letter-spacing: 0;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}
.tg-manifesto-hero-title em {
    background: linear-gradient(110deg, #f4dba2 0%, #e8c98a 50%, #b29f80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tg-manifesto-hero-sub {
    margin: 0 auto;
    max-width: 720px;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.7;
}

/* — Slide récit (image cinéma + récit pleine page) ——————————————— */
.tg-manifesto-story {
    position: relative;
    padding: 120px 56px 140px;
    background:
        radial-gradient(ellipse at 15% 100%, rgba(207, 164, 91, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 0%, rgba(207, 164, 91, 0.05) 0%, transparent 60%),
        var(--tg-ink);
    overflow: hidden;
    isolation: isolate;
}

.tg-story-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: stretch;
    padding: 0;
    background: none;
    border: none;
}

/* — Figure cinéma — */
.tg-story-figure {
    position: relative;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    min-height: 520px;
    box-shadow:
        0 38px 80px -28px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(232, 201, 138, 0.18);
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tg-story-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.72) saturate(1.05) contrast(1.05);
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}
.tg-story-figure:hover img {
    transform: scale(1.04);
    filter: brightness(0.8) saturate(1.1) contrast(1.05);
}
.tg-story-figure-grade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(15, 9, 4, 0) 35%, rgba(15, 9, 4, 0.95) 100%),
        radial-gradient(ellipse at 30% 30%, rgba(207, 164, 91, 0.12) 0%, transparent 55%);
}
.tg-story-figure-caption {
    position: absolute;
    bottom: 36px;
    left: 36px;
    right: 36px;
    z-index: 1;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 3.4vw, 48px);
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--tg-cream);
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.5);
    text-wrap: balance;
}
.tg-story-figure-caption em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(110deg, #f4dba2 0%, #e8c98a 50%, #b29f80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tg-story-figure-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(232, 201, 138, 0.5);
    background: linear-gradient(135deg, rgba(40, 30, 18, 0.72) 0%, rgba(26, 18, 10, 0.56) 100%);
    box-shadow: inset 0 1px 0 rgba(244, 219, 162, 0.18);
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--tg-gold-bright);
}

/* — Bloc texte — */
.tg-story-text {
    position: relative;
    align-self: center;
    padding-left: 10px;
}
.tg-story-mark {
    position: absolute;
    top: -42px;
    left: -6px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(120px, 13vw, 180px);
    line-height: 0.7;
    color: rgba(232, 201, 138, 0.18);
    pointer-events: none;
    user-select: none;
}
.tg-story-text p {
    margin: 0 0 22px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15.5px, 1.2vw, 17px);
    line-height: 1.7;
    color: var(--tg-cream);
}
.tg-story-text p:last-child { margin-bottom: 0; }
.tg-story-text p em {
    font-style: italic;
    color: var(--tg-gold-bright);
    font-family: 'Playfair Display', serif;
}
.tg-story-text p strong {
    font-weight: 600;
    color: var(--tg-cream);
    border-bottom: 1px solid rgba(232, 201, 138, 0.35);
    padding-bottom: 1px;
}

.tg-story-lead {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-size: clamp(20px, 1.8vw, 26px) !important;
    line-height: 1.5 !important;
    color: var(--tg-cream) !important;
    margin-bottom: 32px !important;
}
.tg-story-lead em {
    font-family: 'Playfair Display', serif !important;
    color: var(--tg-gold-bright) !important;
}

.tg-story-outro {
    margin-top: 28px !important;
    padding-top: 24px;
    border-top: 1px solid rgba(232, 201, 138, 0.22);
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-size: clamp(16px, 1.3vw, 19px) !important;
    color: var(--tg-gold-bright) !important;
    line-height: 1.55 !important;
}

@media (max-width: 1080px) {
    .tg-manifesto-story {
        padding: 80px 36px 100px;
    }
    .tg-story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .tg-story-figure { min-height: 380px; }
    .tg-story-figure-caption {
        bottom: 28px;
        left: 28px;
        right: 28px;
    }
    .tg-story-text { padding-left: 0; }
    .tg-story-mark { top: -32px; }
}

@media (max-width: 640px) {
    .tg-manifesto-story { padding: 64px 20px 80px; }
    .tg-story-figure { min-height: 320px; border-radius: 20px; }
    .tg-story-figure-caption {
        bottom: 22px;
        left: 22px;
        right: 22px;
    }
}

/* Le header (titre + accroche) est clairement séparé du bloc texte/image
   en dessous : margin renforcée + séparateur ornemental doré (3 points). */
.tg-manifesto .tg-section-head {
    margin-bottom: 32px;
    padding-bottom: 56px;
    position: relative;
}
.tg-manifesto .tg-section-head::after {
    content: "·   ·   ·";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 8px;
    color: var(--tg-gold-bright);
    opacity: 0.65;
    line-height: 1;
}

.tg-mani-grid {
    max-width: 1200px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
    /* Cadre subtil pour matérialiser le bloc "récit" et le distinguer
       nettement du header centré au-dessus. */
    padding: 56px 64px;
    border: 1px solid rgba(207, 164, 91, 0.14);
    border-radius: 24px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.005) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.03) inset,
        0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.tg-mani-text {
    position: relative;
}
/* Filet doré vertical à gauche du texte pour appuyer le côté "manifeste" */
.tg-mani-text::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(207, 164, 91, 0.0) 0%,
        rgba(207, 164, 91, 0.55) 25%,
        rgba(207, 164, 91, 0.55) 75%,
        rgba(207, 164, 91, 0.0) 100%
    );
}

.tg-mani-text p {
    margin: 0 0 18px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.15vw, 16.5px);
    line-height: 1.75;
    color: var(--tg-cream-dim);
}
.tg-mani-text p:first-child {
    /* La première phrase joue le rôle de "lead" du manifeste. */
    font-size: clamp(16px, 1.3vw, 18.5px);
    color: var(--tg-cream);
    line-height: 1.65;
    margin-bottom: 22px;
}
.tg-mani-text p:last-child { margin-bottom: 0; }
.tg-mani-text p strong { color: var(--tg-cream); font-weight: 600; }
.tg-mani-text p em {
    font-style: italic;
    color: var(--tg-gold-bright);
    font-family: 'Playfair Display', serif;
}

.tg-mani-figure {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--tg-shadow);
    isolation: isolate;
}
.tg-mani-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tg-mani-figure:hover img { transform: scale(1.04); }
.tg-mani-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 0, 36, 0.05) 0%, rgba(5, 0, 36, 0.5) 100%);
    pointer-events: none;
}

/* ============================== LES DEUX PILIERS ======================= */

.tg-pillars {
    min-height: 100vh;
    padding: clamp(40px, 6vh, 96px) 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(24px, 3.5vh, 44px);
    box-sizing: border-box;
    background:
        radial-gradient(ellipse at 20% 100%, rgba(240, 122, 26, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 0%, rgba(207, 164, 91, 0.08) 0%, transparent 55%),
        var(--tg-ink-2);
}
.tg-pillars .tg-section-head { margin-bottom: 0; }

.tg-pillars-grid {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    align-items: stretch;
}

.tg-pillar {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(160deg,
        rgba(167, 150, 121, 0.1) 0%,
        rgba(80, 60, 20, 0.05) 100%);
    border: 1px solid rgba(207, 164, 91, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--tg-shadow);
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
}
.tg-pillar:hover {
    transform: translateY(-6px);
    border-color: rgba(207, 164, 91, 0.42);
    box-shadow: 0 36px 80px -28px rgba(207, 164, 91, 0.32);
}

.tg-pillar.is-academy {
    border-color: rgba(240, 122, 26, 0.22);
}
.tg-pillar.is-academy:hover {
    border-color: rgba(240, 122, 26, 0.55);
    box-shadow: 0 36px 80px -28px rgba(240, 122, 26, 0.38);
}

.tg-pillar-img {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    max-height: clamp(180px, 26vh, 320px);
    overflow: hidden;
}
.tg-pillar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.78) saturate(1.05);
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tg-pillar:hover .tg-pillar-img img { transform: scale(1.04); }
.tg-pillar-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(5, 0, 36, 0.05) 0%,
        rgba(5, 0, 36, 0.55) 70%,
        rgba(5, 0, 36, 0.85) 100%);
    pointer-events: none;
}
.tg-pillar-img-num {
    position: absolute;
    top: 24px;
    left: 28px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 6vw, 88px);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(207, 164, 91, 0.85);
    letter-spacing: 0.02em;
    z-index: 2;
}
.tg-pillar.is-academy .tg-pillar-img-num {
    -webkit-text-stroke-color: rgba(240, 122, 26, 0.85);
    text-shadow: 0 2px 30px rgba(240, 122, 26, 0.25);
}
.tg-pillar-img-tag {
    position: absolute;
    bottom: 24px;
    left: 28px;
    z-index: 2;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(5, 0, 36, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 164, 91, 0.36);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tg-gold-bright);
}
.tg-pillar.is-academy .tg-pillar-img-tag {
    border-color: rgba(240, 122, 26, 0.5);
    color: var(--tg-orange-bright);
}

.tg-pillar-body {
    padding: clamp(20px, 2.4vh, 32px) clamp(24px, 2vw, 36px) clamp(22px, 2.8vh, 32px);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tg-pillar-eyebrow {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--tg-gold-bright);
    margin-bottom: clamp(8px, 1.2vh, 12px);
    letter-spacing: 0.04em;
}
.tg-pillar.is-academy .tg-pillar-eyebrow { color: var(--tg-orange-bright); }
.tg-pillar-title {
    margin: 0 0 clamp(12px, 1.8vh, 18px);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--tg-cream);
}
.tg-pillar-desc {
    margin: 0 0 clamp(14px, 1.8vh, 22px);
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tg-cream-dim);
}
.tg-pillar-desc strong { color: var(--tg-cream); font-weight: 600; }

.tg-pillar-chips {
    list-style: none;
    margin: 0 0 clamp(16px, 2vh, 26px);
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.tg-pillar-chips li {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(207, 164, 91, 0.22);
    background: rgba(207, 164, 91, 0.06);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: var(--tg-cream-dim);
    letter-spacing: 0.04em;
}
.tg-pillar.is-academy .tg-pillar-chips li {
    border-color: rgba(240, 122, 26, 0.25);
    background: rgba(240, 122, 26, 0.07);
    color: rgba(255, 200, 160, 0.92);
}

.tg-pillar-cta {
    margin-top: auto;
    align-self: flex-start;
}

/* ============================== NETWORK — chapters ===================== */

/* La section ouvre par une slide titre plein écran (bg photo + dégradé),
   puis enchaîne 3 slides « levier » plein écran chacune avec une grande
   photo, sur le modèle de la partie « voyage » des pages formation. */
.tg-network {
    padding: 0;
    background:
        radial-gradient(ellipse at 20% 100%, rgba(207, 164, 91, 0.08) 0%, transparent 55%),
        var(--tg-ink);
}

/* Slide titre « Les trois leviers » — fond photo + dégradé. */
.tg-network .tg-section-head {
    position: relative;
    min-height: 100vh;
    max-width: none;
    margin: 0;
    padding: 100px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate;
    overflow: hidden;
}
.tg-network .tg-section-head .tg-section-title,
.tg-network .tg-section-head .tg-section-sub {
    max-width: 820px;
}
.tg-network .tg-section-head .tg-section-sub {
    max-width: 640px;
}
.tg-section-head-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.tg-section-head-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.55) saturate(1.15);
}
.tg-section-head-bg-grade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(5, 0, 36, 0.55) 0%, rgba(5, 0, 36, 0.92) 70%, rgba(2, 0, 24, 0.98) 100%),
        linear-gradient(135deg,
            rgba(207, 164, 91, 0.16) 0%,
            transparent 40%,
            rgba(2, 0, 24, 0.6) 100%);
}
.tg-section-head-bg-grain {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
}

.tg-network-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tg-chapter {
    min-height: 100vh;
    padding: 80px 56px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    align-content: center;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.tg-chapter.is-reverse {
    grid-template-columns: 1fr 1.05fr;
}
.tg-chapter.is-reverse .tg-chapter-img { order: 2; }
.tg-chapter.is-reverse .tg-chapter-body { order: 1; }

.tg-chapter-img {
    position: relative;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: auto;
    height: 78vh;
    max-height: 720px;
    box-shadow:
        0 32px 80px -32px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(207, 164, 91, 0.08);
    isolation: isolate;
}
.tg-chapter-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.82) saturate(1.08);
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tg-chapter:hover .tg-chapter-img img { transform: scale(1.04); }
.tg-chapter-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(5, 0, 36, 0.15) 0%,
        rgba(5, 0, 36, 0.45) 60%,
        rgba(5, 0, 36, 0.85) 100%);
    pointer-events: none;
}
.tg-chapter-num {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(64px, 7vw, 100px);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(207, 164, 91, 0.85);
    letter-spacing: 0.02em;
}
.tg-chapter-tag {
    position: absolute;
    bottom: 24px;
    left: 28px;
    z-index: 2;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(5, 0, 36, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 164, 91, 0.36);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tg-gold-bright);
}

.tg-chapter-body { padding: 12px 0; }
.tg-chapter-eyebrow {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--tg-gold-bright);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}
.tg-chapter-title {
    margin: 0 0 22px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 0.96;
    color: var(--tg-cream);
}
.tg-chapter-body p {
    margin: 0 0 22px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.1vw, 16px);
    line-height: 1.75;
    color: var(--tg-cream-dim);
    max-width: 520px;
}
.tg-chapter-body p strong { color: var(--tg-cream); font-weight: 600; }
.tg-chapter-marks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tg-chapter-marks li {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(207, 164, 91, 0.18);
    background: rgba(207, 164, 91, 0.05);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--tg-cream-dim);
    letter-spacing: 0.04em;
}

/* ============================== POSTER ================================= */

.tg-poster {
    position: relative;
    padding: 160px 56px;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}
.tg-poster-bg { position: absolute; inset: 0; z-index: -1; }
.tg-poster-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.9) hue-rotate(-8deg);
}
.tg-poster-bg-grade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(5, 0, 36, 0.55) 0%, rgba(5, 0, 36, 0.92) 75%, var(--tg-ink) 100%),
        linear-gradient(180deg, rgba(5, 0, 36, 0.55) 0%, rgba(5, 0, 36, 0.85) 100%);
}
.tg-poster-content { max-width: 920px; margin: 0 auto; }
.tg-poster-title {
    margin: 28px 0 36px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(46px, 7vw, 100px);
    line-height: 0.9;
    color: var(--tg-cream);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}
.tg-poster-line { display: block; }
.tg-poster-line-em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(110deg, #f4dba2 0%, #e8c98a 50%, #b29f80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tg-poster-foot {
    margin: 0 auto;
    max-width: 580px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
    color: var(--tg-cream-dim);
}
.tg-poster-foot strong {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--tg-cream);
}

/* ============================== TIMELINE — tg-journey ================== */

.tg-timeline {
    padding: 140px 56px 120px;
    background: var(--tg-ink-2);
}

.tg-journey {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    position: relative;
    counter-reset: tg-journey;
}

/* Trait reliant tous les pas (sous les numéros) */
.tg-journey::before {
    content: "";
    position: absolute;
    top: 30px;
    left: calc(100% / 14);
    right: calc(100% / 14);
    height: 2px;
    background: linear-gradient(90deg,
        rgba(207, 164, 91, 0.15) 0%,
        rgba(207, 164, 91, 0.55) 50%,
        var(--tg-gold-bright) 100%);
    z-index: 0;
}

.tg-journey-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.tg-journey-num {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(160deg, rgba(166, 149, 120, 0.18) 0%, rgba(80, 60, 20, 0.1) 100%);
    border: 1.5px solid rgba(207, 164, 91, 0.32);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1.5px;
    color: var(--tg-gold-bright);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.tg-journey-step:hover .tg-journey-num {
    transform: translateY(-3px) scale(1.06);
    border-color: rgba(207, 164, 91, 0.62);
    box-shadow: 0 18px 40px -16px rgba(207, 164, 91, 0.45);
}

.tg-journey-step.is-start .tg-journey-num {
    border-color: rgba(240, 122, 26, 0.55);
    background: linear-gradient(160deg, rgba(240, 122, 26, 0.18) 0%, rgba(240, 122, 26, 0.06) 100%);
    color: var(--tg-orange-bright);
}

.tg-journey-step.is-end .tg-journey-num {
    background: linear-gradient(135deg, #b29f80 0%, #cfa45b 50%, #e8b96a 100%);
    border-color: var(--tg-gold-bright);
    color: var(--tg-ink);
    box-shadow: 0 0 30px rgba(232, 201, 138, 0.45),
                0 18px 40px -16px rgba(207, 164, 91, 0.55);
}

.tg-journey-label {
    margin-top: 18px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    letter-spacing: 0.6px;
    color: var(--tg-cream);
    line-height: 1.2;
}

.tg-journey-step.is-end .tg-journey-label {
    color: var(--tg-gold-bright);
}

.tg-journey-meta {
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tg-cream-faint);
    line-height: 1.4;
}

@media (max-width: 980px) {
    .tg-journey {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 24px;
        max-width: 560px;
    }
    .tg-journey::before {
        display: none;
    }
    .tg-journey-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 18px;
        padding: 0;
    }
    .tg-journey-num {
        flex: 0 0 auto;
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
    .tg-journey-label {
        margin-top: 0;
        font-size: 18px;
    }
    .tg-journey-meta {
        margin-top: 4px;
    }
    .tg-journey-step > .tg-journey-label,
    .tg-journey-step > .tg-journey-meta {
        flex: 1 1 0;
    }
    .tg-journey-step {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 18px;
        row-gap: 2px;
    }
    .tg-journey-num {
        grid-row: span 2;
    }
}

@media (max-width: 560px) {
    .tg-journey {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* ============================== MOTHER ================================= */

.tg-mother-section {
    padding: 140px 56px 120px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(207, 164, 91, 0.1) 0%, transparent 55%),
        var(--tg-ink);
}
.tg-mother-section .tr-mother {
    max-width: 920px;
    margin: 0 auto;
}

/* ============================== FINALE ================================= */

.tg-finale {
    position: relative;
    padding: 120px 56px;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.tg-finale-bg { position: absolute; inset: 0; z-index: -1; }
.tg-finale-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.6) saturate(1.1) hue-rotate(-8deg);
}
.tg-finale-bg-grade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(5, 0, 36, 0.55) 0%, rgba(5, 0, 36, 0.88) 70%, var(--tg-ink) 100%),
        linear-gradient(135deg,
            rgba(207, 164, 91, 0.08) 0%,
            transparent 40%,
            rgba(5, 0, 36, 0.6) 100%);
}
.tg-finale-content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.tg-finale-title {
    margin: 28px 0 24px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(50px, 7.5vw, 120px);
    line-height: 0.9;
    color: var(--tg-cream);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}
.tg-finale-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(110deg, #f4dba2 0%, #e8c98a 50%, #b29f80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tg-finale-deck {
    margin: 0 auto 36px;
    max-width: 580px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.75;
    color: var(--tg-cream-dim);
}
.tg-finale-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.tg-finale-foot {
    margin: 36px 0 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--tg-cream-faint);
    letter-spacing: 0.04em;
}

/* ============================== REVEAL ================================ */
.tg-page .tg-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tg-page .tg-reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .tg-page .tg-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================== RESPONSIVE ============================= */

@media (max-width: 1080px) {
    .tg-hero, .tg-manifesto, .tg-pillars, .tg-poster, .tg-timeline, .tg-mother-section, .tg-finale {
        padding-left: 36px;
        padding-right: 36px;
    }
    .tg-network .tg-section-head { padding: 80px 36px; }
    .tg-chapter { padding-left: 36px; padding-right: 36px; }
    .tg-mani-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 44px 36px;
        margin-top: 60px;
    }
    .tg-mani-text::before { left: -18px; }
    .tg-pillars-grid { grid-template-columns: 1fr; max-width: 640px; gap: 32px; }
    .tg-pillars { min-height: 0; padding-top: 100px; padding-bottom: 80px; }
    .tg-pillar-img { aspect-ratio: 4 / 3; max-height: none; }
    .tg-chapter { gap: 40px; }
}

@media (max-width: 720px) {
    .tg-hero {
        padding: 120px 24px 100px;
        min-height: 92vh;
    }
    .tg-hero-marks {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 14px;
        margin-top: 40px;
    }
    .tg-manifesto, .tg-pillars, .tg-poster, .tg-timeline, .tg-mother-section, .tg-finale {
        padding-left: 24px;
        padding-right: 24px;
    }
    .tg-network .tg-section-head { padding: 60px 24px; min-height: auto; }
    .tg-chapter { padding: 60px 24px; min-height: auto; }
    .tg-mani-grid { padding: 36px 26px; }
    .tg-mani-text::before { display: none; }
    .tg-manifesto, .tg-pillars, .tg-timeline, .tg-mother-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .tg-pillar-body { padding: 26px 24px 28px; }
    .tg-network-list { gap: 0; }
    .tg-chapter,
    .tg-chapter.is-reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .tg-chapter.is-reverse .tg-chapter-img { order: 0; }
    .tg-chapter.is-reverse .tg-chapter-body { order: 1; }
    .tg-chapter-img { aspect-ratio: 4 / 5; height: auto; max-height: none; }
    .tg-poster, .tg-finale {
        padding-top: 110px;
        padding-bottom: 100px;
    }
    .tg-finale-cta-row { flex-direction: column; align-items: stretch; }
    .tg-finale-cta-row .tg-cta { justify-content: center; }
    .tg-section-head { margin-bottom: 56px; }
}
