@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =========================================
   VARIABLES
========================================= */

:root {
    --accent: #d8a23a;
    --accent-light: #f0c86a;

    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);

    --background: #080808;
    --card: rgba(10, 10, 10, 0.80);
    --navbar: rgba(5, 5, 5, 0.92);

    --border: rgba(255, 255, 255, 0.11);
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: 'Inter', sans-serif;

    color: var(--text);

    background-color: var(--background);

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90),
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.90)
        ),
        url("https://galerie.t-life.fr/media/gallery/texts.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--navbar);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    z-index: 1000;
}


/* =========================================
   LOGO
========================================= */

.logo {
    font-size: 25px;
    font-weight: 900;

    letter-spacing: 3px;

    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}


/* =========================================
   NAVIGATION
========================================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 8px;
}

.nav-link {
    position: relative;

    padding: 12px 18px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 15px;
    font-weight: 600;

    border-radius: 7px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.07);

    transform: translateY(-1px);
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;

    bottom: 5px;

    height: 2px;

    background: var(--accent);

    border-radius: 10px;
}


/* =========================================
   DISCORD
========================================= */

.nav-link.discord {
    margin-left: 8px;

    color: #ffffff;

    background: rgba(216, 162, 58, 0.15);

    border: 1px solid rgba(216, 162, 58, 0.35);
}

.nav-link.discord:hover {
    color: #111111;

    background: var(--accent);

    border-color: var(--accent);
}


/* =========================================
   PAGE
========================================= */

.entreprise-page {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 145px 30px 70px;
}


/* =========================================
   PAGE HEADER
========================================= */

.page-header {
    text-align: center;

    margin-bottom: 55px;
}

.badge {
    display: inline-block;

    margin-bottom: 20px;

    padding: 9px 18px;

    color: var(--accent-light);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.35);

    border-radius: 50px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.page-header h1 {
    font-size: clamp(44px, 6vw, 76px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.page-header h1 span {
    color: var(--accent);
}

.page-header p {
    max-width: 780px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================
   WARNING
========================================= */

.warning-card {
    display: flex;

    gap: 25px;

    padding: 30px;

    margin-bottom: 55px;

    background: rgba(216, 162, 58, 0.08);

    border: 1px solid rgba(216, 162, 58, 0.30);

    border-radius: 12px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.warning-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 9px;

    font-size: 22px;
    font-weight: 900;
}

.warning-content {
    flex: 1;
}

.warning-content h2 {
    margin-bottom: 12px;

    font-size: 24px;
    font-weight: 800;
}

.warning-content p {
    margin-bottom: 10px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}

.warning-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   BUSINESS SECTION
========================================= */

.business-section {
    margin-bottom: 65px;
}


/* =========================================
   SECTION HEADER
========================================= */

.section-header {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 28px;
}

.section-number {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.25);

    border-radius: 9px;

    font-size: 15px;
    font-weight: 800;
}

.section-header h2 {
    margin-bottom: 5px;

    font-size: 30px;
    font-weight: 800;
}

.section-header p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================
   BUSINESS GRID
========================================= */

.business-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


/* =========================================
   BUSINESS CARD
========================================= */

.business-card {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-height: 100%;

    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 12px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.business-card:hover {
    transform: translateY(-4px);

    background: rgba(15, 15, 15, 0.88);

    border-color: rgba(216, 162, 58, 0.32);
}


/* =========================================
   BUSINESS ICON
========================================= */

.business-icon {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    background: rgba(216, 162, 58, 0.10);

    border: 1px solid rgba(216, 162, 58, 0.25);

    border-radius: 10px;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.5px;

    margin-bottom: 18px;
}


/* =========================================
   PUBLIC CARDS
========================================= */

.public-card {
    border-color: rgba(255, 255, 255, 0.10);
}


/* =========================================
   BUSINESS TYPE
========================================= */

.business-type {
    display: block;

    width: fit-content;

    margin-bottom: 7px;

    color: var(--accent-light);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    line-height: 1.4;
}


/* =========================================
   BUSINESS TITLE
========================================= */

.business-card h3 {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 800;

    line-height: 1.3;
}


/* =========================================
   BUSINESS DESCRIPTION
========================================= */

.business-card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   TAKEOVER SECTION
========================================= */

.takeover-section {
    margin: 70px 0;
}

.takeover-card {
    display: flex;

    gap: 28px;

    padding: 38px;

    background:
        linear-gradient(
            135deg,
            rgba(216, 162, 58, 0.12),
            rgba(10, 10, 10, 0.85)
        );

    border: 1px solid rgba(216, 162, 58, 0.28);

    border-radius: 14px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.takeover-icon {
    width: 64px;
    height: 64px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111111;

    background: var(--accent);

    border-radius: 10px;

    font-size: 14px;
    font-weight: 900;
}


/* =========================================
   TAKEOVER CONTENT
========================================= */

.takeover-content {
    flex: 1;

    min-width: 0;
}


/* =========================================
   TAKEOVER BADGE
========================================= */

.takeover-badge {
    display: block;

    margin-bottom: 12px;

    color: var(--accent-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1.4;
}


/* =========================================
   TAKEOVER DESCRIPTION
========================================= */

.takeover-description {
    margin-bottom: 20px !important;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   TAKEOVER TITLE
========================================= */

.takeover-content h2 {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.3;
}


/* =========================================
   TAKEOVER TEXT
========================================= */

.takeover-content p {
    margin-bottom: 13px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}

.takeover-content strong {
    color: #ffffff;

    font-weight: 700;
}


/* =========================================
   TAKEOVER BUTTON CONTAINER
========================================= */

.legal-button-container {
    margin-top: 8px;
}


/* =========================================
   LEGAL BUTTON
========================================= */

.legal-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 14px 20px;

    color: #111111;

    background: var(--accent);

    border-radius: 8px;

    font-size: 14px;

    font-weight: 800;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.legal-button span {
    font-size: 20px;

    line-height: 1;
}

.legal-button:hover {
    background: var(--accent-light);

    transform: translateY(-3px);
}


/* =========================================
   DOCUMENTATION
========================================= */

.documentation-section {
    margin-top: 75px;
}

.documentation-header {
    text-align: center;

    margin-bottom: 35px;
}

.documentation-header .badge {
    margin-bottom: 15px;
}

.documentation-header h2 {
    margin-bottom: 15px;

    font-size: clamp(32px, 5vw, 48px);

    font-weight: 900;

    letter-spacing: -1px;
}

.documentation-header h2 span {
    color: var(--accent);
}

.documentation-header p {
    color: var(--muted);

    font-size: 16px;
}


/* =========================================
   CATEGORIES GRID
========================================= */

.reglement-categories {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}


/* =========================================
   CATEGORY BUTTON
========================================= */

.category-button {
    min-height: 85px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 15px;

    text-align: center;

    background: rgba(10, 10, 10, 0.75);

    border: 1px solid var(--border);

    border-radius: 9px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.category-button span {
    margin-bottom: 5px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;
}

.category-button small {
    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;

    line-height: 1.4;
}

.category-button:hover {
    transform: translateY(-3px);

    background: rgba(216, 162, 58, 0.10);

    border-color: rgba(216, 162, 58, 0.35);
}

.category-button.active {
    background: rgba(216, 162, 58, 0.13);

    border-color: rgba(216, 162, 58, 0.45);
}

.category-button.active span {
    color: var(--accent-light);
}


/* =========================================
   FOOTER
========================================= */

footer {
    width: 100%;

    padding: 24px 6%;

    background: rgba(0, 0, 0, 0.45);

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-content {
    display: flex;

    justify-content: space-between;

    color: rgba(255, 255, 255, 0.45);

    font-size: 13px;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1000px) {

    .navbar {
        height: auto;

        min-height: 75px;

        padding: 15px 5%;

        flex-direction: column;

        gap: 12px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .nav-link {
        padding: 9px 12px;

        font-size: 13px;
    }

    .entreprise-page {
        padding-top: 175px;
    }

    .reglement-categories {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================
   PETITE TABLETTE
========================================= */

@media (max-width: 800px) {

    .business-grid {
        grid-template-columns: 1fr;
    }

    .reglement-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .entreprise-page {
        padding: 155px 15px 50px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 42px;

        letter-spacing: -1px;
    }

    .page-header p {
        font-size: 16px;
    }

    .warning-card {
        flex-direction: column;

        padding: 25px;
    }

    .section-header {
        align-items: flex-start;

        gap: 15px;
    }

    .section-number {
        width: 48px;
        height: 48px;
    }

    .section-header h2 {
        font-size: 25px;
    }

    .business-card {
        flex-direction: column;

        padding: 25px;

        gap: 0;
    }

    .business-icon {
        width: 55px;
        height: 55px;

        margin-bottom: 16px;
    }

    .business-type {
        margin-bottom: 7px;
    }

    .business-card h3 {
        font-size: 20px;

        margin-bottom: 12px;
    }

    .business-card p {
        font-size: 15px;

        line-height: 1.75;
    }

    .takeover-card {
        flex-direction: column;

        padding: 28px;

        gap: 22px;
    }

    .takeover-icon {
        width: 58px;
        height: 58px;
    }

    .takeover-badge {
        margin-bottom: 10px;
    }

    .takeover-description {
        font-size: 15px;

        margin-bottom: 18px !important;
    }

    .takeover-content h2 {
        font-size: 24px;

        margin-bottom: 16px;
    }

    .takeover-content p {
        font-size: 15px;

        line-height: 1.75;
    }

    .legal-button {
        width: 100%;

        justify-content: center;

        text-align: center;
    }

    .reglement-categories {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: column;

        align-items: center;

        gap: 8px;

        text-align: center;
    }
}


/* =========================================
   TRÈS PETIT MOBILE
========================================= */

@media (max-width: 400px) {

    .reglement-categories {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .business-card {
        padding: 22px;
    }

    .takeover-card {
        padding: 22px;
    }

    .takeover-content h2 {
        font-size: 22px;
    }
}