/* =================== Variables globales ==================== */
:root {
    /* ===================== Fonds ===================== */
    --bg-base:              #120A1A;
    --bg-gradient-1:        hsla(272, 47%, 9%, 1);
    --bg-gradient-2:        hsla(283, 43%, 8%, 1);

    /* ===================== Surfaces / Cards ===================== */
    --surface-1:            rgba(36, 18, 46, 0.55);
    --surface-2:            rgba(28, 14, 38, 0.55);
    --surface-2-opaque:     rgba(28, 14, 38, 0.97);
    --surface-3:            rgba(18, 10, 26, 0.55);
    --surface-base:         #120A1A;
    --surface-hover:        rgba(58, 30, 80, 0.55);

    /* ===================== Accent / Primary ===================== */
    --accent-primary:       #C26BFF;
    --accent-primary-hover: rgba(194, 107, 255, 0.3);
    --accent-strong:        #D13CFF;
    --accent-light:         #DFA0FF;

    /* ===================== Textes ===================== */
    --text-primary:         #F6F2FF;
    --text-secondary:       #B89FD4;
    --text-tertiary:        #C8B0E0;
    --text-description:     #E0D4F5;
    --text-separator:       #9B7FBF;

    /* ===================== Bordures ===================== */
    --border-default:       rgba(122, 58, 169, 0.5);
    --border-strong:        #7A3AA9;
    --border-subtle:        rgba(122, 58, 169, 0.2);
    --border-faint:         rgba(122, 58, 169, 0.15);
    --border-mobile:        rgba(122, 58, 169, 0.25);

    /* ===================== Tableaux ===================== */
    --table-row-hover:      rgba(194, 107, 255, 0.1);
    --table-row-even:       rgba(122, 58, 169, 0.08);

    /* ===================== États ===================== */
    --color-online:         #00F836;
    --color-online-glow:    rgba(11, 237, 45, 0.25);

    /* ===================== Ombres ===================== */
    --shadow-img:           rgba(0, 0, 0, 0.6);
}


/* =================== Reset & Base ==================== */
* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    display: flex;
    padding: 36px 20px 0 20px;
    flex-direction: column;
    align-items: center;
    margin: 0;
    min-height: 100%;
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(at 0% 0%, var(--bg-gradient-1) 0, transparent 50%), 
        radial-gradient(at 100% 100%, var(--bg-gradient-2) 0, transparent 50%);
    background-attachment: fixed;
}

main {
    flex: 1;
    display: flex;
    width: 100%;
    max-width: 1420px;
    padding-bottom: 100px;
    flex-direction: column;
    align-items: center;
    gap: 150px;
}


/* =================== Typographie ==================== */
.name h1 {
    font-size: 40px;
    font-weight: 700;

    background: linear-gradient(180deg, var(--surface-1) 0%, var(--text-primary) 50.96%, var(--surface-1) 86.54%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Titre */
h2 {
    align-self: stretch;

    color: var(--text-primary);
    font-family: Baskervville;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    margin: 0;
}

/* Sous-Titre */
h3 {
    align-self: stretch;

    color: var(--text-primary);
    font-family: Baskervville;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    
    margin: 0;
}

/* Description */
h4 {
    align-self: stretch;
    
    color: var(--text-secondary);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

    margin: 0;
}

/* Titre 2 */
h5 {
    color: var(--text-primary);
    font-size: 45px;
    font-weight: 600;

    margin: 0;
}

/* Titre Infos */
h6 {
    color: var(--text-primary);
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

    margin: 0;
}


/* =================== Composants ==================== */
/* Séparateur horizontal */
.line {
    width: 100%;
    max-width: 1420px;
    height: 1px;

    background: var(--text-separator);
}

/* Bouton principal */
.bouton {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;

    border-radius: 13px;
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);

    color: var(--surface-base);
    font-family: Baskervville;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    transition: background 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.bouton:hover {
    background: var(--surface-base);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}


/* =================== Animations ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out !important;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}