/* ==========================================

   ALTERA QUÉBEC — STYLE PRINCIPAL

   Site Web FiveM / GTA RP

========================================== */

/* ==========================================

   1. VARIABLES ET COULEURS

========================================== */

:root {

    --primary: #2563eb;

    --primary-hover: #3b82f6;

    --primary-dark: #102144;

    --background: #090c12;

    --navbar-background: #060910;

    --announcement-background: #0d1628;

    --dropdown-background: #060910;

    --text-primary: #ffffff;

    --text-secondary: #a5aaa5;

    --text-muted: #708071;

    --border-color: #1e3a8a;

    --dropdown-border: #1e3a8a;

    --container-width: 1120px;

    --announcement-height: 34px;

    --navbar-height: 56px;

    --transition: 0.2s ease;

}

/* ==========================================

   2. CONFIGURATION GÉNÉRALE

========================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    min-height: 100vh;

    background-color: var(--background);

    color: var(--text-primary);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    line-height: 1.5;

}

a {

    color: inherit;

    text-decoration: none;

}

button {

    font-family: inherit;

}

img {

    max-width: 100%;

}

/* ==========================================

   3. HEADER PRINCIPAL

========================================== */

.site-header {

    position: relative;

    z-index: 100;

    width: 100%;

    background-color: var(--navbar-background);

    border-bottom: 1px solid var(--dropdown-border);

}

/* ==========================================

   4. BARRE D'ANNONCE

========================================== */

.announcement-bar {

    width: 100%;

    min-height: var(--announcement-height);

    padding: 4px 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    background-color: var(--announcement-background);

    border-bottom: 1px solid var(--border-color);

    color: var(--text-primary);

    font-size: 12px;

    font-weight: 600;

}

/* Badge d'ouverture */

.opening-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 3px 9px;

    background-color: var(--primary);

    color: #101b0c;

    border-radius: 20px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    white-space: nowrap;

}

/* Statut du serveur */

.server-status {

    display: inline-flex;

    align-items: center;

    padding: 2px 9px;

    border: 1px solid var(--border-color);

    border-radius: 20px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

}

/* Lien pour passer la douane */

.announcement-bar a {

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    transition: color var(--transition);

}

.announcement-bar a:hover {

    color: var(--primary-hover);

}

/* ==========================================

   5. BARRE DE NAVIGATION

========================================== */

.navbar {

    width: 100%;

    max-width: var(--container-width);

    min-height: var(--navbar-height);

    margin: 0 auto;

    padding: 0 10px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}

/* ==========================================

   6. LOGO PERSONNALISÉ

========================================== */

.logo {

    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

    text-decoration: none;

}

.logo-image {

    display: block;

    width: 175px;

    height: auto;

    max-height: 48px;

    object-fit: contain;

    transition: opacity var(--transition);

}

.logo:hover .logo-image {

    opacity: 0.85;

}

/* ==========================================

   7. NAVIGATION PRINCIPALE

========================================== */

.nav-links {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 24px;

    margin-left: auto;

}

/* Liens directs de navigation */

.nav-links > a,

.dropdown-toggle {

    color: var(--text-secondary);

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    background: none;

    border: none;

    cursor: pointer;

    white-space: nowrap;

    transition: color var(--transition);

}

.nav-links > a:hover,

.dropdown-toggle:hover {

    color: var(--primary);

}

/* Page sélectionnée */

.nav-links > a.active {

    color: var(--primary);

}

/* ==========================================

   8. MENUS DÉROULANTS

========================================== */

/* Conteneur du menu */

.dropdown {

    position: relative;

}

/* Bouton : Serveur, Guides, Ville... */

.dropdown-toggle {

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 10px 0;

    background: none;

    border: none;

    color: var(--text-secondary);

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition: color var(--transition);

}

/* Survol du bouton */

.dropdown-toggle:hover {

    color: var(--primary);

}

/* Menu actuellement ouvert */

.dropdown.is-open .dropdown-toggle,

.dropdown:focus-within .dropdown-toggle {

    color: var(--primary);

}

/* ==========================================

   9. FENÊTRE DU MENU DÉROULANT

========================================== */

.dropdown-menu {

    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    width: 240px;

    max-height: 75vh;

    overflow-y: auto;

    overflow-x: hidden;

    padding: 8px 0;

    background-color: var(--dropdown-background);

    border: 1px solid var(--dropdown-border);

    border-radius: 8px;

    z-index: 1000;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    scrollbar-width: thin;

    scrollbar-color: var(--primary) var(--dropdown-background);

}

/* Ouverture du menu */

.dropdown:hover .dropdown-menu,

.dropdown:focus-within .dropdown-menu,

.dropdown.is-open .dropdown-menu {

    display: block;

    animation: dropdownFade 0.18s ease-out;

}

/* Animation d'apparition */

@keyframes dropdownFade {

    from {

        opacity: 0;

        transform: translateY(-6px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* ==========================================

   10. CATÉGORIES DU MENU

========================================== */

/* Groupe de liens */

.dropdown-section {

    padding: 0;

}

/* Espacement entre les groupes */

.dropdown-section + .dropdown-section {

    margin-top: 8px;

}

/* Titre : POUR COMMENCER, MÉTIERS... */

.dropdown-heading {

    display: block;

    padding: 14px 12px 7px;

    color: var(--text-muted);

    font-family: inherit;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    white-space: normal;

}

/* ==========================================

   11. LIENS DU MENU DÉROULANT

========================================== */

.dropdown-menu a {

    display: block;

    padding: 10px 12px;

    color: #b8c2b8;

    font-size: 12px;

    font-weight: 500;

    text-decoration: none;

    border-radius: 0;

    transition:

        background-color var(--transition),

        color var(--transition);

}

/* Survol des liens */

.dropdown-menu a:hover,

.dropdown-menu a:focus-visible {

    color: var(--primary);

    background-color: var(--primary-dark);

}

/* Lien correspondant à la page active */

.dropdown-menu a.active,

.dropdown-menu a[aria-current="page"] {

    color: var(--primary);

    background-color: var(--primary-dark);

}

/* ==========================================

   12. BOUTON DISCORD

========================================== */

.nav-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    padding: 9px 17px;

    background-color: var(--primary);

    color: #101b0c;

    border: none;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:

        background-color var(--transition),

        transform var(--transition);

}

/* Effet au survol */

.nav-button:hover {

    background-color: var(--primary-hover);

    transform: translateY(-1px);

}

/* ==========================================

   13. CONTENU PRINCIPAL

========================================== */

main {

    width: 100%;

    min-height: 500px;

}

main section {

    max-width: var(--container-width);

    margin: 0 auto;

    padding: 80px 20px;

}

main h1 {

    margin-bottom: 20px;

    color: var(--text-primary);

    font-size: 40px;

    font-weight: 800;

}

main h2 {

    margin-bottom: 20px;

    color: var(--text-primary);

    font-size: 30px;

    font-weight: 700;

}

main p {

    margin-bottom: 15px;

    color: var(--text-secondary);

    font-size: 16px;

    line-height: 1.7;

}

/* ==========================================

   14. ACCESSIBILITÉ

========================================== */

.dropdown-toggle:focus-visible,

.dropdown-menu a:focus-visible,

.nav-links > a:focus-visible,

.nav-button:focus-visible,

.announcement-bar a:focus-visible {

    outline: 2px solid var(--primary);

    outline-offset: 3px;

}

/* ==========================================

   15. RESPONSIVE - TABLETTE

========================================== */

@media (max-width: 1100px) {

    .navbar {

        padding: 0 20px;

        gap: 16px;

    }

    .nav-links {

        gap: 14px;

    }

    .logo-image {

        width: 150px;

    }

    .nav-links > a,

    .dropdown-toggle {

        font-size: 11px;

    }

}

/* ==========================================

   16. RESPONSIVE - MOBILE

========================================== */

@media (max-width: 768px) {

    .announcement-bar {

        padding: 8px 12px;

        flex-wrap: wrap;

        gap: 7px;

        font-size: 11px;

    }

    .navbar {

        flex-direction: column;

        justify-content: center;

        align-items: center;

        min-height: auto;

        padding: 15px;

        gap: 15px;

    }

    .logo-image {

        width: 170px;

        max-height: none;

    }

    .nav-links {

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        width: 100%;

        margin-left: 0;

        gap: 15px;

    }

    .dropdown-menu {

        position: static;

        width: 240px;

        max-width: calc(100vw - 30px);

        max-height: 60vh;

        margin-top: 5px;

        transform: none;

    }

    .dropdown:hover .dropdown-menu,

    .dropdown:focus-within .dropdown-menu,

    .dropdown.is-open .dropdown-menu {

        animation: none;

    }

    .dropdown-menu a {

        padding: 12px;

    }

    .nav-button {

        padding: 10px 20px;

    }

    main section {

        padding: 50px 20px;

    }

    main h1 {

        font-size: 30px;

    }

    main h2 {

        font-size: 24px;

    }

}

/* ==========================================

   17. TRÈS PETITS ÉCRANS

========================================== */

@media (max-width: 480px) {

    .announcement-bar {

        font-size: 10px;

    }

    .nav-links {

        gap: 12px;

    }

    .nav-links > a,

    .dropdown-toggle {

        font-size: 11px;

    }

    .logo-image {

        width: 150px;

    }

    .dropdown-heading {

        font-size: 9px;

    }

    .dropdown-menu a {

        font-size: 12px;

    }

}

/* ==========================================

   18. ANIMATIONS RÉDUITES

========================================== */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }

    *,

    *::before,

    *::after {

        animation-duration: 0.01ms !important;

        transition-duration: 0.01ms !important;

    }

}

/* ==========================================

   DIAPORAMA DE LA PAGE D'ACCUEIL

========================================== */

main:has(> .hero) {

    min-height: 0;

}

/* Conteneur principal */

main > .hero {

    position: relative;

    isolation: isolate;

    width: 100%;

    max-width: none;

    min-height: 650px;

    min-height: max(650px, calc(100svh - 90px));

    margin: 0;

    padding: 80px max(24px, calc((100% - 1120px) / 2));

    display: flex;

    align-items: center;

    overflow: hidden;

    background-color: #090c12;

}

/* Conteneur des images */

.hero-slideshow {

    position: absolute;

    inset: 0;

    z-index: -2;

}

/* Chaque image */

.hero-slide {

    position: absolute;

    inset: 0;

    background-size: cover;

    background-position: center;

    opacity: 0;

    transition: opacity 1.5s ease-in-out;

}

/* Images du serveur */

.hero-slide:nth-child(1) {

    background-image:

        url("../assets/images/slideshow/image1.png");

}

.hero-slide:nth-child(2) {

    background-image:

        url("../assets/images/slideshow/image2.png");

}

.hero-slide:nth-child(3) {

    background-image:

        url("../assets/images/slideshow/image3.png");

}

/* Image visible */

.hero-slide.active {

    opacity: 1;

}

/* Filtre sombre */

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -1;

    background: linear-gradient(

        90deg,

        rgba(0, 0, 0, 0.86) 0%,

        rgba(0, 0, 0, 0.55) 55%,

        rgba(0, 0, 0, 0.35) 100%

    );

    pointer-events: none;

}

/* Texte au premier plan */

.hero-content {

    position: relative;

    z-index: 1;

    max-width: 650px;

}

/* Petit badge */

.hero-badge {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

}

/* Titre principal */

.hero-content h1 {

    margin-bottom: 20px;

    color: #ffffff;

    font-size: clamp(36px, 5vw, 64px);

    font-weight: 800;

    line-height: 1.1;

}

/* Description */

.hero-content p {

    margin-bottom: 30px;

    color: #d1d5db;

    font-size: 18px;

    line-height: 1.7;

}

/* Bouton */

.hero-button {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    padding: 14px 28px;

    background-color: var(--primary);

    color: #ffffff;

    border-radius: 6px;

    font-size: 14px;

    font-weight: 700;

    transition:

        background-color 0.2s ease,

        transform 0.2s ease;

}

.hero-button:hover {

    background-color: var(--primary-hover);

    transform: translateY(-2px);

}

/* Adaptation mobile */

@media (max-width: 768px) {

    main > .hero {

        min-height: 550px;

        padding: 70px 24px;

    }

    .hero-content h1 {

        font-size: 38px;

    }

    .hero-content p {

        font-size: 16px;

    }

    .hero-overlay {

        background: rgba(0, 0, 0, 0.68);

    }

}

/* Accessibilité */

@media (prefers-reduced-motion: reduce) {

    .hero-slide {

        transition: none;

    }

}

/* ==========================================

   PANNEAUX ACCUEIL - VERSION COMPACTE

========================================== */

/* Conteneur des deux panneaux */

.hero-panels {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1120px;

    display: grid;

    grid-template-columns: 1.5fr 1fr;

    align-items: center;

    gap: 30px;

    margin: 0 auto;

}

/* Apparence commune */

.hero-card {

    background: rgba(0, 0, 0, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 16px;

    padding: 24px;

    backdrop-filter: none;

    -webkit-backdrop-filter: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);

}

/* ==========================================

   PANNEAU GAUCHE

========================================== */

.hero-intro {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

}

.hero-intro .hero-badge {

    margin: 0;

    padding: 5px 12px;

    font-size: 10px;

    letter-spacing: 1px;

}

.hero-intro h1 {

    margin: 5px 0 0;

    font-size: clamp(24px, 3vw, 36px);

    font-weight: 800;

    line-height: 1.1;

}

.hero-intro h2 {

    margin: 0;

    font-size: 16px;

    font-weight: 600;

}

.hero-intro p {

    margin: 0 0 10px;

    font-size: 13px;

    line-height: 1.5;

}

/* ==========================================

   PANNEAU DROIT

========================================== */

.server-card {

    display: flex;

    flex-direction: column;

    gap: 14px;

    align-self: center;

}

.server-card-header h3 {

    font-size: 12px;

}

.server-stats {

    padding-top: 10px;

}

.stat-value {

    font-size: 15px;

}

.stat-label {

    font-size: 10px;

}

/* Graphique réduit */

.server-graph {

    height: 55px;

}

/* ==========================================

   BOUTONS

========================================== */

.discord-button,

.connect-button {

    margin-top: 8px;

    padding: 10px 16px;

    font-size: 12px;

    border-radius: 8px;

}

/* ==========================================

   MOBILE

========================================== */

@media (max-width: 900px) {

    .hero-panels {

        grid-template-columns: 1fr;

        gap: 16px;

    }

    .hero-card {

        padding: 20px;

    }

}

/* ==========================================

   CARTE SERVEUR STYLE RÉFÉRENCE

========================================== */

.server-card {

    width: 100%;

    max-width: 420px;

    padding: 26px 22px 18px;

    background: rgba(8, 15, 28, 0.55);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 24px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);

    display: flex;

    flex-direction: column;

    gap: 18px;

}

/* Ligne du haut */

.server-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

}

.server-title-small {

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

}

.server-online {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #44d19a;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

}

.server-online-dot {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background: #35d39a;

    box-shadow: 0 0 10px rgba(53, 211, 154, 0.45);

}

/* Bloc infos */

.server-info-row {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

}

.server-info-block {

    display: flex;

    flex-direction: column;

    gap: 6px;

}

.server-info-right {

    text-align: right;

    align-items: flex-end;

}

.server-info-value {

    color: #dbe7f7;

    font-size: 16px;

    font-weight: 600;

}

.server-info-label {

    color: #8f9eb2;

    font-size: 12px;

    font-weight: 500;

}

/* Graphique */

.server-chart {

    width: 100%;

    height: 110px;

    display: flex;

    align-items: flex-end;

    padding-top: 4px;

    padding-bottom: 8px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

}

.server-chart svg {

    width: 100%;

    height: 100%;

    display: block;

}

/* Bouton connect */

.server-connect-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 48px;

    border-radius: 16px;

    background: linear-gradient(90deg, #4b86f8 0%, #4f97ff 100%);

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);

    transition: transform 0.2s ease, filter 0.2s ease;

}

.server-connect-button:hover {

    transform: translateY(-1px);

    filter: brightness(1.06);

}

/* ==========================================

   STATUT FIVEM - COULEURS

========================================== */

/* EN LIGNE */

.server-online.status-online {

    color: #35d39a;

}

.server-online.status-online .server-online-dot {

    background-color: #35d39a;

}

/* HORS LIGNE */

.server-online.status-offline {

    color: #ef4444;

}

.server-online.status-offline .server-online-dot {

    background-color: #ef4444;

}

/* INDISPONIBLE */

.server-online.status-unknown {

    color: #fbbf24;

}

.server-online.status-unknown .server-online-dot {

    background-color: #fbbf24;

}

/* Graphique dynamique FiveM */

.server-chart {

    position: relative;

    width: 100%;

    height: 90px;

    padding: 0;

    overflow: hidden;

}

.server-chart canvas {

    width: 100% !important;

    height: 100% !important;

    display: block;

}

/* ==========================================

   CARTE GAUCHE — STYLE ALTERA QUÉBEC

========================================== */

.hero-intro {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    width: 100%;

    max-width: 650px;

    padding: 26px 22px 18px;

    /* Même apparence que la carte serveur */

    background: rgba(8, 15, 28, 0.55);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 24px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);

    /* Aucun flou */

    backdrop-filter: none;

    -webkit-backdrop-filter: none;

    gap: 12px;

}

/* Badge SERVEUR GTA RP */

.hero-intro .hero-badge {

    margin: 0;

    padding: 5px 10px;

    color: #58a4ff;

    background: rgba(50, 110, 200, 0.12);

    border: 1px solid rgba(88, 164, 255, 0.25);

    border-radius: 20px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

}

/* Titre ALTERA QUÉBEC */

.hero-intro h1 {

    margin: 8px 0 0;

    color: #ffffff;

    font-size: clamp(26px, 3vw, 36px);

    font-weight: 800;

    line-height: 1.1;

}

/* Slogan */

.hero-intro h2 {

    margin: 0;

    color: #ffffff;

    font-size: 17px;

    font-weight: 700;

}

/* Description */

.hero-intro p {

    margin: 0 0 10px;

    color: #c4cedc;

    font-size: 13px;

    line-height: 1.6;

}

/* Bouton Discord */

.hero-intro .discord-button {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    margin-top: 8px;

    padding: 12px 22px;

    background: linear-gradient(

        90deg,

        #4b86f8 0%,

        #4f97ff 100%

    );

    color: #ffffff;

    border: none;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);

    transition:

        transform 0.2s ease,

        filter 0.2s ease;

}

.hero-intro .discord-button:hover {

    transform: translateY(-2px);

    filter: brightness(1.08);

}

/* Adaptation mobile */

@media (max-width: 600px) {

    .hero-intro {

        padding: 22px 18px;

        border-radius: 18px;

    }

    .hero-intro h1 {

        font-size: 30px;

    }

}

/* ==========================================

   SECTION 3 - NOUVEAU EN VILLE

========================================== */

main > .newcomer-section {

    position: relative;

    isolation: isolate;

    width: 100%;

    max-width: none;

    margin: 0;

    padding: 75px 25px;

    background-color: #070b12;

    overflow: hidden;

}

/* Conteneur principal */

.newcomer-container {

    width: 100%;

    max-width: 1120px;

    margin: 0 auto;

}

/* ==========================================

   TITRE ET DESCRIPTION

========================================== */

.newcomer-header {

    margin-bottom: 20px;

}

.newcomer-header h2 {

    color: #3b82f6;

    font-size: 28px;

    font-weight: 700;

    margin-bottom: 20px;

}

.newcomer-header p {

    color: #a4b1c4;

    font-size: 14px;

    line-height: 1.6;

    margin: 0;

}

/* ==========================================

   GRILLE DES CINQ CARTES

========================================== */

.newcomer-grid {

    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 12px;

}

/* Carte */

.newcomer-card {

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #10151e;

    border: 1px solid #263348;

    border-radius: 7px;

    text-decoration: none;

    transition:

        transform 0.2s ease,

        border-color 0.2s ease,

        box-shadow 0.2s ease;

}

.newcomer-card:hover {

    transform: translateY(-4px);

    border-color: #3b82f6;

    box-shadow:

        0 8px 25px rgba(37, 99, 235, 0.13);

}

/* Image */

.newcomer-card img {

    display: block;

    width: 100%;

    height: 105px;

    object-fit: cover;

}

/* Contenu de la carte */

.newcomer-card-content {

    padding: 12px;

    flex: 1;

}

.newcomer-card h3 {

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.3;

    margin-bottom: 7px;

}

.newcomer-card p {

    color: #8592a6;

    font-size: 11px;

    line-height: 1.5;

    margin: 0;

}

/* ==========================================

   BOUTON LIRE LE GUIDE

========================================== */

.newcomer-footer {

    display: flex;

    justify-content: center;

    margin-top: 25px;

}

.newcomer-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 28px;

    background: #2563eb;

    color: #ffffff;

    border-radius: 7px;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:

        background 0.2s ease,

        transform 0.2s ease;

}

.newcomer-button:hover {

    background: #3b82f6;

    transform: translateY(-2px);

}

/* ==========================================

   TABLETTE

========================================== */

@media (max-width: 1000px) {

    .newcomer-grid {

        grid-template-columns: repeat(3, minmax(0, 1fr));

    }

    .newcomer-card img {

        height: 135px;

    }

}

/* ==========================================

   MOBILE

========================================== */

@media (max-width: 650px) {

    main > .newcomer-section {

        padding: 55px 16px;

    }

    .newcomer-header h2 {

        font-size: 24px;

    }

    .newcomer-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;

    }

    .newcomer-card img {

        height: 100px;

    }

    .newcomer-card-content {

        padding: 10px;

    }

    .newcomer-card h3 {

        font-size: 12px;

    }

    .newcomer-card p {

        font-size: 11px;

    }

}

@media (max-width: 380px) {

    .newcomer-grid {

        grid-template-columns: 1fr;

    }

    .newcomer-card img {

        height: 145px;

    }

}

/* ==========================================

   TRANSITION HERO VERS SECTIONS

========================================== */

main > .hero {

    position: relative;

    isolation: isolate;

}

/* Fondu progressif au bas du diaporama */

main > .hero::after {

    content: "";

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    height: 330px;

    background: linear-gradient(

        to bottom,

        rgba(8, 13, 22, 0) 0%,

        rgba(8, 13, 22, 0.35) 35%,

        rgba(8, 13, 22, 0.75) 70%,

        #080d16 100%

    );

    pointer-events: none;

    z-index: 0;

}

/* Garder les deux cartes au-dessus du fondu */

.hero-panels {

    position: relative;

    z-index: 2;

}

/* ==========================================

   SECTION HISTOIRE — ALTERA QUÉBEC

========================================== */

main > .history-section {

    position: relative;

    width: 100%;

    max-width: none;

    margin: 0;

    padding: 100px 25px;

    background: #080d16;

}

/* Conteneur */

.history-container {

    width: 100%;

    max-width: 1120px;

    margin: 0 auto;

}

.history-content {

    max-width: 800px;

}

/* Petit titre */

.history-badge {

    display: block;

    color: #60a5fa;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 15px;

}

/* Grand titre */

.history-content h2 {

    color: #ffffff;

    font-size: clamp(30px, 4vw, 44px);

    font-weight: 800;

    margin-bottom: 20px;

}

/* Ligne bleue */

.history-line {

    width: 65px;

    height: 3px;

    background: #3b82f6;

    border-radius: 10px;

    margin-bottom: 30px;

}

/* Paragraphes */

.history-content p {

    color: #b9c6d8;

    font-size: 16px;

    line-height: 1.9;

    margin-bottom: 22px;

}

/* Citation */

.history-quote {

    margin: 35px 0;

    padding: 18px 24px;

    border-left: 3px solid #3b82f6;

    background: rgba(59, 130, 246, 0.04);

}

.history-quote h3 {

    color: #ffffff;

    font-size: 21px;

    font-weight: 700;

    font-style: italic;

    margin-bottom: 8px;

}

.history-quote span {

    color: #8eabc9;

    font-size: 13px;

}

/* Mobile */

@media (max-width: 768px) {

    main > .history-section {

        padding: 65px 20px;

    }

    .history-content p {

        font-size: 14px;

        line-height: 1.8;

    }

    .history-quote {

        padding: 15px 18px;

    }

}

/* ==========================================
   CORRECTIONS FINALES — AFFICHAGE ALTERA
========================================== */

/* Deux sections du bas : fond uniforme, sans quadrillage */
main > .newcomer-section,
main > .history-section {
    background: #080d16;
}
.newcomer-section::before {
    content: none;
}

/* Laisser le diaporama visible sous les panneaux */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-slide {
    background-size: cover;
    background-position: center;
}
.hero-slide.active {
    opacity: 1;
}

/* Même transparence pour les deux cartes */
.hero-intro,
.server-card {
    background: rgba(8, 15, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ==========================================
   PAGE ÉQUIPE
========================================== */

.staff-page {
    min-height: 100vh;
    background:
        radial-gradient(
            ellipse at top,
            rgba(37, 99, 235, 0.12) 0%,
            rgba(8, 13, 22, 0.96) 35%,
            #080d16 100%
        );
}

.staff-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */

.staff-hero {
    padding: 40px 0 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;

    font-size: 14px;
    color: #7f91aa;
}

.breadcrumb a {
    color: #7f91aa;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.staff-hero h1 {
    margin: 0 0 12px;

    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
}

.staff-intro {
    margin: 0;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.7;
}

/* SECTION LISTE */

.staff-list-section {
    padding: 20px 0 70px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* CARTE */

.staff-card {
    display: flex;
    align-items: center;
    gap: 16px;

    min-height: 120px;
    padding: 18px;

    background: rgba(8, 15, 28, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 22px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.staff-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

/* AVATAR */

.staff-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;

    border-radius: 12px;
    overflow: hidden;

    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* INFOS */

.staff-info h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.staff-tag {
    margin: 10px 0 0;
    color: #7f91aa;
    font-size: 14px;
}

/* BADGES */

.staff-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 12px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.role-founder {
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.role-mapper {
    color: #38bdf8;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.role-mod {
    color: #93c5fd;
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .staff-hero {
        padding: 30px 0 20px;
    }

    .staff-hero h1 {
        font-size: 42px;
    }

    .staff-card {
        min-height: auto;
        padding: 16px;
    }

    .staff-avatar {
        width: 58px;
        height: 58px;
    }

    .staff-info h2 {
        font-size: 17px;
    }
}

/* Chargement de l'équipe */

.staff-loading {
    grid-column: 1 / -1;
    color: #94a3b8;
    font-size: 15px;
    padding: 25px 0;
}

/* Avatar Discord */

.staff-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Badge du rôle Discord */

.staff-info .staff-role {
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.25);
}


/* ==========================================
   FOOTER — ALTERA QUÉBEC
========================================== */

.site-footer {
    width: 100%;
    padding: 65px 24px 0;

    background: #071523;
    color: #ffffff;

    border-top: 1px solid rgba(59, 130, 246, 0.12);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* COLONNES */

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 65px;
    padding-bottom: 45px;
}

/* IDENTITÉ */

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;

    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.footer-logo span {
    color: #4b86f8;
}

.footer-brand p {
    max-width: 320px;
    margin: 0 0 18px;

    color: #8296b1;
    font-size: 13px;
    line-height: 1.7;
}

/* BOUTON DISCORD */

.footer-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    color: #ffffff;
    background: #326fe9;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;

    transition: background 0.2s ease,
                transform 0.2s ease;
}

.footer-discord:hover {
    background: #4b86f8;
    transform: translateY(-2px);
}

/* LIENS */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-column h3 {
    margin: 0 0 8px;

    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.footer-column a {
    color: #8296b1;

    font-size: 13px;
    font-weight: 400;
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #60a5fa;
}

/* BAS DU FOOTER */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;

    color: #607794;
    font-size: 12px;
}

/* FLÈCHE REMONTER */

.footer-back-top {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;

    color: #a7bdd8;
    font-size: 22px;

    transition: all 0.2s ease;
}

.footer-back-top:hover {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}

/* TABLETTE */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .site-footer {
        padding: 45px 20px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
    }

    .footer-bottom p {
        max-width: 250px;
    }
}


/* ==========================================
   FOOTER COMPACT — ALTERA QUÉBEC
========================================== */

.site-footer {
    padding: 30px 24px 0;
}

.footer-grid {
    gap: 35px;
    padding-bottom: 22px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo-image {
    width: 155px;
    max-height: 55px;
}

.footer-brand p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-column {
    gap: 8px;
}

.footer-column h3 {
    margin-bottom: 4px;
}

.footer-bottom {
    padding: 12px 0;
}

.footer-back-top {
    width: 34px;
    height: 34px;
    font-size: 18px;
}

@media (max-width: 600px) {
    .site-footer {
        padding: 28px 20px 0;
    }

    .footer-grid {
        gap: 22px 15px;
    }

    .footer-logo-image {
        width: 145px;
    }
}
