/* assets/styles/front/31-saints-foundation.css */

.front-saints-page {
    --codex-ink: #080514;
    --codex-ink-soft: #120a26;
    --codex-panel: #17102f;
    --codex-cyan: #42f5e6;
    --codex-magenta: #f23bd2;
    --codex-gold: #f4c95d;
    --codex-paper: #f7f4ff;
    --codex-muted: #a79dbf;
    --codex-line: rgb(167 157 191 / 20%);
    --saints-accent: #42f5e6;
    --saints-secondary-accent: #f23bd2;

    --codex-font-body:
        "Space Grotesk",
        Arial,
        sans-serif;

    --codex-font-display:
        "Barlow Condensed",
        Impact,
        sans-serif;

    /*
     * Placeholder temporaire de l’entête.
     *
     * Il pourra ensuite être remplacé par :
     * url("/assets/img/saint/saints-page-header.webp")
     *
     * Le visuel source recommandé reste en 1920 × 1080.
     */
    --saints-hero-image:
        url(
            "https://placehold.co/1920x1080/17102f/a79dbf?text=Saints"
        );

    min-width: 320px;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 76% 4%,
            rgb(66 245 230 / 7%),
            transparent 25rem
        ),
        radial-gradient(
            circle at 14% 28%,
            rgb(242 59 210 / 7%),
            transparent 28rem
        ),
        var(--codex-ink);

    color: var(--codex-paper);
    font-family: var(--codex-font-body);
}

.front-saints-page .app-shell {
    min-height: 100svh;
}

.front-saints-page .site-main {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;

    background-image:
        linear-gradient(
            rgb(66 245 230 / 2.5%) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgb(66 245 230 / 2.5%) 1px,
            transparent 1px
        );

    background-size:
        72px
        72px;
}

.saints-page {
    min-width: 0;
    flex: 1;
}

/* Hero */

.saints-hero {
    position: relative;

    width: 100%;

    border-bottom:
        1px solid
        rgb(66 245 230 / 28%);

    overflow: hidden;

    background: var(--codex-ink);

    isolation: isolate;
}

.saints-hero__frame {
    position: relative;

    display: flex;
    width: min(
        100%,
        1920px
    );
    min-height: 21.5rem;
    margin: 0 auto;

    overflow: hidden;

    align-items: center;

    isolation: isolate;
}

.saints-hero__frame::before {
    position: absolute;
    z-index: -3;
    inset: 0;

    background-image:
        var(--saints-hero-image);

    background-position:
        68%
        center;

    background-repeat:
        no-repeat;

    background-size:
        cover;

    content: "";

    opacity: 0.46;

    transform: scale(1.01);
}

.saints-hero__frame::after {
    position: absolute;
    z-index: -2;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgb(8 5 20 / 98%) 0%,
            rgb(8 5 20 / 91%) 33%,
            rgb(8 5 20 / 72%) 60%,
            rgb(8 5 20 / 48%) 100%
        ),
        linear-gradient(
            180deg,
            rgb(8 5 20 / 32%) 0%,
            rgb(8 5 20 / 5%) 48%,
            rgb(8 5 20 / 78%) 100%
        ),
        radial-gradient(
            circle at 20% 50%,
            rgb(242 59 210 / 12%),
            transparent 28rem
        );

    content: "";
}

.saints-hero__orbit {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -8.5rem;

    width: 21rem;
    height: 21rem;

    border:
        1px solid
        rgb(66 245 230 / 16%);

    border-radius: 50%;

    pointer-events: none;

    transform:
        translateY(-50%);

    box-shadow:
        0
        0
        0
        2.5rem
        rgb(242 59 210 / 2.5%),
        0
        0
        0
        5.75rem
        rgb(66 245 230 / 2.5%);
}

.saints-hero__content {
    position: relative;
    z-index: 1;

    width: min(
        calc(100% - 2.25rem),
        108rem
    );
    margin: 0 auto;
    padding:
        3.75rem
        0;
}

.saints-hero__eyebrow {
    display: inline-flex;
    margin:
        0
        0
        1.1rem;

    align-items: center;
    gap: 0.55rem;

    color: var(--saints-secondary-accent);

    font-family:
        var(--codex-font-display);

    font-size: 0.82rem;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.saints-hero__eyebrow::after {
    width: 2.9rem;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--saints-secondary-accent),
            transparent
        );

    content: "";
}

.saints-hero__eyebrow > span:first-child {
    color:
        var(--saints-secondary-accent);

    font-size: 0.95rem;
}

.saints-hero h1 {
    max-width: 46rem;
    margin: 0;

    color: var(--codex-paper);

    font-family:
        var(--codex-font-display);

    font-size: clamp(
        3.75rem,
        18vw,
        5.75rem
    );

    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.84;

    text-shadow:
        0
        0.35rem
        1.8rem
        rgb(8 5 20 / 80%);

    text-transform: uppercase;
}

.saints-hero__introduction {
    max-width: 41rem;
    margin:
        1.4rem
        0
        0;

    color: var(--codex-muted);

    font-size: 0.82rem;
    line-height: 1.75;

    text-shadow:
        0
        0.2rem
        1rem
        rgb(8 5 20 / 90%);
}

/* Tablet */

@media (min-width: 48rem) {
    .saints-hero__frame {
        min-height: 24rem;
    }

    .saints-hero__frame::before {
        background-position:
            70%
            center;

        opacity: 0.54;
    }

    .saints-hero__frame::after {
        background:
            linear-gradient(
                90deg,
                rgb(8 5 20 / 98%) 0%,
                rgb(8 5 20 / 89%) 31%,
                rgb(8 5 20 / 54%) 62%,
                rgb(8 5 20 / 30%) 100%
            ),
            linear-gradient(
                180deg,
                rgb(8 5 20 / 24%) 0%,
                rgb(8 5 20 / 4%) 50%,
                rgb(8 5 20 / 72%) 100%
            ),
            radial-gradient(
                circle at 20% 50%,
                rgb(242 59 210 / 12%),
                transparent 30rem
            );
    }

    .saints-hero__content {
        width: min(
            calc(100% - 8vw),
            108rem
        );

        padding:
            5.25rem
            0;
    }

    .saints-hero__eyebrow {
        font-size: 0.9rem;
    }

    .saints-hero h1 {
        font-size: clamp(
            5.5rem,
            10vw,
            7.5rem
        );
    }

    .saints-hero__introduction {
        font-size: 0.9rem;
    }
}

/* Desktop */

@media (min-width: 75rem) {
    .saints-hero__frame {
        min-height: 26.25rem;
    }

    .saints-hero__frame::before {
        background-position:
            74%
            center;

        opacity: 0.58;
    }

    .saints-hero__content {
        padding:
            5.75rem
            0;
    }

    .saints-hero h1 {
        font-size: 7.5rem;
    }
}