/* ============================================================
   LUCIEN LACHANCE
   Dark Brotherhood / Oblivion inspired design
   ============================================================ */


/* ============================================================
   VARIABLES
   ============================================================ */

:root {

    --black: #080808;
    --black-soft: #0d0c0b;

    --stone: #171513;
    --stone-light: #211e1a;

    --paper: #c9b99a;
    --paper-light: #e1d5bc;
    --paper-dark: #82735c;

    --red: #731919;
    --red-dark: #3d0d0d;
    --red-bright: #a92828;

    --gold: #9c845b;

    --border: rgba(201, 185, 154, 0.18);

    --max-width: 1180px;

}


/* ============================================================
   RESET
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--paper);
    font-family: "IM Fell English", Georgia, serif;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* ============================================================
   GLOBAL TEXT
   ============================================================ */

h1,
h2,
h3,
nav,
.section-label,
.command-name,
.command-status,
.brand {
    font-family: "Cinzel", Georgia, serif;
}

h1,
h2,
h3 {
    font-weight: 500;
    line-height: 1.15;
}

h2 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    letter-spacing: -0.03em;
}

p {
    font-size: 1.05rem;
}

.section-label {
    color: var(--red-bright);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}


/* ============================================================
   BACKGROUND EFFECTS
   ============================================================ */

.noise {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.045;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.fog {
    position: fixed;
    width: 80vw;
    height: 30vh;
    border-radius: 50%;
    background: rgba(160, 160, 160, 0.025);
    filter: blur(70px);
    pointer-events: none;
    z-index: 1;
    animation: fogMove 18s ease-in-out infinite alternate;
}

.fog-one {
    left: -20vw;
    bottom: 10vh;
}

.fog-two {
    right: -20vw;
    top: 25vh;
    animation-delay: -8s;
}

@keyframes fogMove {

    from {
        transform: translateX(-5%) scale(1);
    }

    to {
        transform: translateX(8%) scale(1.15);
    }

}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 4vw;

    z-index: 90;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 5, 5, 0.95),
            rgba(5, 5, 5, 0)
        );

    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(7, 7, 7, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.brand {

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 0.75rem;
    letter-spacing: 0.15em;

    color: var(--paper-light);
}

.brand-mark {
    color: var(--red-bright);
    font-size: 1.25rem;
}

.site-header nav {
    display: flex;
    gap: 34px;
}

.site-header nav a {

    position: relative;

    font-size: 0.65rem;
    letter-spacing: 0.16em;

    color: var(--paper-dark);

    transition:
        color 0.25s ease;
}

.site-header nav a:hover {
    color: var(--paper-light);
}

.site-header nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--red-bright);

    transition: width 0.25s ease;
}

.site-header nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    background: none;
    border: 0;

    color: var(--paper);
    font-size: 1.4rem;

    cursor: pointer;
}


/* ============================================================
   COMMON SECTIONS
   ============================================================ */

.section-container {

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: auto;
}

.section-dark {
    background:
        radial-gradient(
            ellipse at center,
            #161311 0%,
            #090909 65%
        );
}

.section-stone {

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        ),
        #171513;

    background-size: 80px 80px;
}

.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at center,
            rgba(80, 10, 10, 0.17),
            transparent 55%
        ),
        #070707;
}

.hero::before {

    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 70%,
            #080808 100%
        );
}

.hero-content {

    position: relative;
    z-index: 5;

    text-align: center;

    padding-top: 60px;
}

.hero .eyebrow {

    font-family: "Cinzel", serif;

    font-size: 0.65rem;
    letter-spacing: 0.4em;

    color: var(--red-bright);

    margin-bottom: 22px;
}

.hero h1 {

    font-size: clamp(
        4.5rem,
        13vw,
        11rem
    );

    letter-spacing: -0.06em;

    color: var(--paper-light);

    text-shadow:
        0 0 40px rgba(0,0,0,0.8);
}

.hero h1 span {
    color: var(--paper);
}

.hero-subtitle {

    margin-top: 24px;

    font-family: "Cinzel", serif;

    font-size: 0.85rem;
    letter-spacing: 0.25em;

    text-transform: uppercase;

    color: var(--paper-dark);
}

.hero-text {

    margin-top: 12px;

    font-size: 1.1rem;

    color: var(--paper);
}

.ornament {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin: 28px 0;
}

.ornament span {

    width: 110px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            var(--paper-dark)
        );
}

.ornament span:last-child {

    background:
        linear-gradient(
            to left,
            transparent,
            var(--paper-dark)
        );
}

.ornament b {

    color: var(--red-bright);

    font-size: 1rem;

    font-weight: normal;
}

.scroll-hint {

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    margin-top: 70px;

    font-family: "Cinzel", serif;

    font-size: 0.62rem;
    letter-spacing: 0.18em;

    color: var(--paper-dark);

    transition: color 0.3s ease;
}

.scroll-hint:hover {
    color: var(--paper-light);
}

.scroll-hint i {

    font-style: normal;
    font-size: 1.4rem;

    animation: arrowFloat 2s infinite;
}

@keyframes arrowFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }

}


/* ============================================================
   CANDLE
   ============================================================ */

.hero-candle {

    position: absolute;

    left: 8%;
    bottom: 12%;

    opacity: 0.7;
}

.candle {

    position: relative;

    width: 16px;
    height: 80px;

    background:
        linear-gradient(
            to right,
            #403a2e,
            #c5b693,
            #403a2e
        );

    box-shadow:
        0 0 30px rgba(255, 170, 60, 0.05);
}

.flame {

    position: absolute;

    width: 10px;
    height: 22px;

    left: 3px;
    top: -19px;

    background: #c78b42;

    border-radius:
        50% 50% 50% 50% /
        65% 65% 35% 35%;

    transform: rotate(4deg);

    filter: blur(0.5px);

    animation: flame 0.12s infinite alternate;
}

@keyframes flame {

    from {
        transform: rotate(-3deg) scale(1);
    }

    to {
        transform: rotate(4deg) scale(1.08);
    }

}


/* ============================================================
   INTRO
   ============================================================ */

.intro {

    padding: 170px 0;

    text-align: center;
}

.intro .section-container {
    max-width: 760px;
}

.intro h2 {
    margin-bottom: 35px;
}

.blood-line {

    width: 90px;
    height: 2px;

    background: var(--red);

    margin: 35px auto;
}

.intro .large-text {

    font-size: 1.7rem;

    color: var(--paper-light);

    margin-bottom: 25px;
}

.intro p:not(.section-label):not(.large-text) {
    margin: 15px 0;
    color: var(--paper-dark);
}


/* ============================================================
   MISSION
   ============================================================ */

.mission {

    padding: 150px 0;
}

.section-heading {

    max-width: 650px;

    margin-bottom: 75px;
}

.section-heading h2 {
    margin-bottom: 30px;
}

.section-heading > p:last-child {
    color: var(--paper-dark);
}

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);
}

.feature-card {

    position: relative;

    padding: 45px 35px;

    border-right: 1px solid var(--border);
}

.feature-card:last-child {
    border-right: 0;
}

.feature-icon {

    color: var(--red-bright);

    font-size: 1.4rem;

    margin-bottom: 25px;
}

.feature-number {

    position: absolute;

    right: 30px;
    top: 30px;

    font-family: "Cinzel", serif;

    font-size: 0.65rem;

    color: var(--paper-dark);
}

.feature-card h3 {

    font-size: 1.25rem;

    margin-bottom: 15px;

    color: var(--paper-light);
}

.feature-card p:last-child {
    color: var(--paper-dark);
}


/* ============================================================
   PLATFORM SECTIONS
   ============================================================ */

.platform-section {

    padding: 160px 0;

    position: relative;
}

.twitch-section {

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(90, 10, 10, 0.13),
            transparent 35%
        ),
        #0b0a09;
}

.platform-intro {

    max-width: 700px;

    margin-bottom: 90px;
}

.platform-intro h2 {
    margin-bottom: 20px;
}

.platform-quote {

    color: var(--paper-dark);

    font-style: italic;

    font-size: 1.2rem;
}

.platform-layout {

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 90px;

    align-items: start;
}

.platform-description p {

    margin-bottom: 22px;

    color: var(--paper-dark);
}

.command-list {

    border-top: 1px solid var(--border);
}

.command-title {

    display: flex;
    justify-content: space-between;

    padding: 17px 0;

    font-family: "Cinzel", serif;

    font-size: 0.68rem;

    letter-spacing: 0.14em;

    color: var(--paper-light);
}

.command-title small {
    color: var(--red-bright);
}

.command {

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 22px 0;

    border-top: 1px solid var(--border);
}

.command-main {

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.command-name {

    color: var(--paper-light);

    font-size: 0.8rem;

    letter-spacing: 0.08em;
}

.command-description {

    color: var(--paper-dark);

    font-size: 0.95rem;
}

.command-status {

    flex-shrink: 0;

    font-family: "Cinzel", serif;

    font-size: 0.55rem;

    letter-spacing: 0.1em;

    padding: 5px 8px;

    border: 1px solid rgba(201,185,154,0.18);

    color: var(--paper-dark);
}

.command-status.restricted {

    color: var(--red-bright);

    border-color:
        rgba(169, 40, 40, 0.4);
}


/* ============================================================
   DISCORD
   ============================================================ */

.discord-section {
    padding: 160px 0;
}

.discord-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.discord-card {

    padding: 40px 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.card-symbol {

    display: block;

    color: var(--red-bright);

    font-size: 1.5rem;

    margin-bottom: 30px;
}

.discord-card h3 {

    font-size: 1.1rem;

    margin-bottom: 12px;

    color: var(--paper-light);
}

.discord-card p {
    color: var(--paper-dark);
}

.platform-action {

    margin-top: 55px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.blood-button,
.dark-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 210px;

    padding: 15px 25px;

    font-family: "Cinzel", serif;

    font-size: 0.65rem;

    letter-spacing: 0.13em;

    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.blood-button {

    background: var(--red-dark);

    border: 1px solid var(--red);

    color: var(--paper-light);
}

.blood-button:hover {

    background: var(--red);

    transform: translateY(-2px);
}

.dark-button {

    border: 1px solid var(--border);

    color: var(--paper);

    background: rgba(255,255,255,0.02);
}

.dark-button:hover {

    background: rgba(255,255,255,0.06);

    transform: translateY(-2px);
}


/* ============================================================
   PRECEPTS
   ============================================================ */

.precepts {

    padding: 160px 0;
}

.precepts-list {

    max-width: 850px;

    margin: 80px auto 0;

    border-top: 1px solid var(--border);
}

.precept {

    display: grid;

    grid-template-columns: 80px 1fr;

    align-items: center;

    padding: 28px 0;

    border-bottom: 1px solid var(--border);
}

.precept span {

    font-family: "Cinzel", serif;

    color: var(--red-bright);

    font-size: 0.75rem;
}

.precept p {

    color: var(--paper-light);

    font-size: 1.2rem;
}


/* ============================================================
   SITHIS
   ============================================================ */

.sithis-section {

    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #181010 0%,
            #070707 55%,
            #000 100%
        );
}

.sithis-background-symbol {

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    font-size: 70vw;

    line-height: 1;

    color: rgba(120, 20, 20, 0.025);

    pointer-events: none;
}

.sithis-content {

    position: relative;

    z-index: 2;

    text-align: center;

    max-width: 800px;
}

.sithis-content h2 {
    font-size: clamp(5rem, 15vw, 12rem);
}

.poem {

    margin-top: 55px;

    color: var(--paper-dark);

    font-size: 1.25rem;

    line-height: 2;
}

.poem p {
    margin: 22px 0;
}

.poem-final {

    color: var(--paper-light);

    font-family: "Cinzel", serif;

    font-size: 1.8rem;

    letter-spacing: 0.2em;
}


/* ============================================================
   NIGHT MOTHER
   ============================================================ */

.night-mother {

    padding: 170px 0;
}

.night-mother-layout {

    display: grid;

    grid-template-columns:
        0.7fr 1.3fr;

    gap: 100px;

    align-items: center;
}

.night-mother-visual {

    text-align: center;

    padding: 50px;

    border: 1px solid var(--border);
}

.moon {

    font-family: Georgia, serif;

    font-size: 10rem;

    line-height: 1;

    color: var(--paper-dark);

    margin-bottom: 30px;
}

.night-mother-visual p {

    font-family: "Cinzel", serif;

    font-size: 0.65rem;

    letter-spacing: 0.25em;

    color: var(--red-bright);
}

.night-mother-text h2 {
    margin-bottom: 30px;
}

.mother-poem {

    text-align: left;

    border-left: 1px solid var(--red);

    padding-left: 35px;
}


/* ============================================================
   FAMILY
   ============================================================ */

.family-section {

    padding: 160px 0;
}

.family-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-top: 80px;
}

.family-member {

    background: rgba(0,0,0,0.18);

    border: 1px solid var(--border);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.family-member:hover {

    transform: translateY(-6px);

    border-color:
        rgba(169, 40, 40, 0.45);
}

.member-portrait {

    aspect-ratio: 0.82;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            #312b22,
            #100f0e
        );

    border-bottom: 1px solid var(--border);

    font-size: 5rem;

    color: rgba(201,185,154,0.2);
}

.lucien-portrait {

    background:
        radial-gradient(
            circle at center,
            rgba(80,10,10,0.35),
            #100c0b
        );
}

.night-mother-portrait {
    background:
        radial-gradient(
            circle at center,
            rgba(80,80,80,0.15),
            #090909
        );
}

.member-info {

    padding: 25px;
}

.member-role {

    font-family: "Cinzel", serif;

    color: var(--red-bright);

    font-size: 0.55rem;

    letter-spacing: 0.18em;

    margin-bottom: 8px;
}

.member-info h3 {

    color: var(--paper-light);

    font-size: 1.05rem;

    margin-bottom: 10px;
}

.member-info p:last-child {

    color: var(--paper-dark);

    font-size: 0.9rem;
}


/* ============================================================
   FATE
   ============================================================ */

.fate-section {

    min-height: 90vh;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            ellipse at center,
            rgba(90, 10, 10, 0.12),
            transparent 55%
        ),
        #080707;
}

.fate-content {

    max-width: 850px;

    text-align: center;
}

.fate-content h2 {
    margin-bottom: 35px;
}

.fate-content .blood-line {
    margin: 35px auto;
}

.fate-content p:not(.section-label):not(.fate-final) {

    color: var(--paper-dark);

    margin: 14px 0;
}

.fate-final {

    margin-top: 50px;

    font-family: "Cinzel", serif;

    color: var(--paper-light);

    font-size: 1.5rem;

    letter-spacing: 0.08em;
}


/* ============================================================
   FINAL
   ============================================================ */

.final-section {

    padding: 170px 0;

    text-align: center;
}

.final-section .section-container {
    max-width: 800px;
}

.final-section h2 {
    margin-bottom: 35px;
}

.final-section > .section-container > p:not(.section-label) {

    color: var(--paper-dark);

    max-width: 500px;

    margin: 0 auto;
}

.final-actions {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 45px;
}

.final-quote {

    margin-top: 130px;
}

.final-quote .ornament {
    margin-bottom: 30px;
}

.final-quote p {

    font-size: 1.3rem;

    font-style: italic;

    color: var(--paper);
}

.final-quote small {

    display: block;

    margin-top: 10px;

    color: var(--paper-dark);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {

    padding: 80px 30px 40px;

    text-align: center;

    border-top: 1px solid var(--border);

    background: #050505;
}

.footer-symbol {

    color: var(--red-bright);

    font-size: 2rem;

    margin-bottom: 20px;
}

.site-footer h3 {

    font-size: 1rem;

    letter-spacing: 0.2em;

    color: var(--paper-light);
}

.site-footer > p {

    color: var(--paper-dark);

    font-size: 0.85rem;
}

.footer-links {

    display: flex;

    justify-content: center;

    gap: 25px;

    margin: 30px 0;
}

.footer-links a {

    font-family: "Cinzel", serif;

    font-size: 0.6rem;

    letter-spacing: 0.15em;

    color: var(--paper-dark);

    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--red-bright);
}

.copyright {

    margin-top: 40px;

    font-style: italic;

    opacity: 0.5;
}

/* ============================================================
   REVEAL ANIMATION
   Le contenu reste visible même si JavaScript est désactivé.
   JavaScript ajoute simplement la classe "js-ready".
   ============================================================ */

.reveal {
    opacity: 1;
    transform: translateY(0);
}


/* Lorsque JavaScript est disponible,
   on prépare les animations */

.js-ready .reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}


/* Élément révélé */

.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Respect des préférences d'animation */

@media (prefers-reduced-motion: reduce) {

    .js-ready .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .site-header nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .feature-grid,
    .discord-grid,
    .family-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .platform-layout,
    .night-mother-layout {

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .night-mother-visual {

        max-width: 400px;

        margin: auto;
    }

}


@media (max-width: 600px) {

    .site-header {
        height: 65px;
    }

    .brand {
        font-size: 0.6rem;
    }

    .section-container {
        width: min(
            calc(100% - 32px),
            var(--max-width)
        );
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-candle {
        left: 4%;
        bottom: 7%;
    }

    .intro,
    .mission,
    .platform-section,
    .discord-section,
    .precepts,
    .night-mother,
    .family-section,
    .final-section {

        padding: 100px 0;
    }

    h2 {
        font-size: 3.5rem;
    }

    .feature-grid,
    .discord-grid,
    .family-grid {

        grid-template-columns: 1fr;
    }

    .feature-card {
        border-right: 0;
    }

    .platform-layout {
        gap: 45px;
    }

    .command {
        align-items: flex-start;
    }

    .command-status {
        display: none;
    }

    .precept {
        grid-template-columns: 45px 1fr;
    }

    .precept p {
        font-size: 1rem;
    }

    .sithis-section {
        min-height: 90vh;
    }

    .sithis-content h2 {
        font-size: 5rem;
    }

    .mother-poem {
        padding-left: 20px;
    }

    .final-actions {

        flex-direction: column;

        align-items: center;
    }

    .blood-button,
    .dark-button {
        width: 100%;
        max-width: 300px;
    }

}
/* =========================================================
   CORRECTION VISIBILITÉ DU TEXTE
   ========================================================= */

body {
    color: #d8c7a0;
}

/* Titres principaux */
h1,
h2,
h3,
h4 {
    color: #d8c7a0;
}

/* Paragraphes et textes */
p,
li,
span {
    color: #c8b994;
}

/* Petits textes / labels */
.eyebrow,
.kicker,
.section-label,
.hero-subtitle,
.hero-description {
    color: #a89470;
}

/* Gros titre Lucien */
.hero h1 {
    color: #e2d1aa;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.95),
        0 0 30px rgba(120, 0, 0, 0.25);
}

/* Navigation */
.nav a {
    color: #bcae91;
}

.nav a:hover {
    color: #d8c7a0;
}

/* Boutons */
.btn {
    color: #e0d0ad;
}

/* Liens */
a {
    color: #c9aa72;
}

a:hover {
    color: #e5c98f;
}
