
/* ==================================================
   STAR WARS — L'ÈRE DE LA RÉPUBLIQUE
   FEUILLE DE STYLE PRINCIPALE
================================================== */

:root {
    --gold: #ffc400;
    --gold-light: #ffda65;
    --gold-dark: #a67d00;
    --background: #050505;
    --surface: #0c0e12;
    --surface-light: #14171c;
    --white: #f5f6f8;
    --silver: #c5cbd5;
    --muted: #9298a3;
    --border: rgba(255, 255, 255, 0.09);
    --gold-border: rgba(255, 196, 0, 0.25);

    --font-title: 'Barlow Condensed', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container: 1400px;
    --header-height: 88px;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    background: var(--background);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

::selection {
    background: var(--gold);
    color: #000;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    background: #776020;
}

/* ==================================================
   LOADER
================================================== */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #030303;
    transition: opacity .7s ease, visibility .7s ease;
    animation: loader-fallback .6s 5s forwards;
}

.loader.hidden,
.loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    width: 320px;
    text-align: center;
}

.loader-content img {
    width: 220px;
    margin: 0 auto 30px;
    animation: loader-pulse 2s infinite;
}

.loader-label {
    font-family: var(--font-tech);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--gold);
}

.loader-progress {
    width: 100%;
    height: 2px;
    background: #222;
    margin: 24px 0 15px;
    overflow: hidden;
}

.loader-bar {
    width: 100%;
    height: 100%;
    background: var(--gold);
    transform-origin: left;
    animation: loading 2s ease forwards;
    box-shadow: 0 0 15px var(--gold);
}

.loader-content p {
    color: var(--muted);
    font-family: var(--font-tech);
    font-size: 13px;
    letter-spacing: 2px;
}

/* ==================================================
   HEADER
================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, .82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background .3s ease;
}

.header.scrolled {
    background: rgba(5, 5, 5, .97);
}

.header-container {
    max-width: 1600px;
    height: var(--header-height);
    padding: 0 5%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.brand img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-family: var(--font-title);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 3px;
}

.brand-text span {
    font-family: var(--font-tech);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;
    font-family: var(--font-tech);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .25s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.header-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 23px;
    color: #050505;
    background: var(--gold);
    font-family: var(--font-tech);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(
        0 0, calc(100% - 10px) 0,
        100% 10px, 100% 100%,
        10px 100%, 0 calc(100% - 10px)
    );
    transition: background .3s ease;
    flex-shrink: 0;
}

.header-discord:hover {
    background: var(--white);
}

/* ==================================================
   HERO
================================================== */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 150px 6% 120px;
    overflow: hidden;
    isolation: isolate;
}

.hero-background,
.hero-overlay,
.hero-grid,
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-background {
    z-index: -5;
    background-color: #080a0e;
    background-image: url('../images/hero.jpg');
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    z-index: -4;
    background:
        linear-gradient(
            90deg,
            #050505 0%,
            rgba(5,5,5,.95) 30%,
            rgba(5,5,5,.65) 65%,
            rgba(5,5,5,.85) 100%
        ),
        linear-gradient(
            0deg,
            #050505 0%,
            transparent 40%
        );
}

.hero-grid {
    z-index: -3;
    opacity: .16;
    background-image:
        linear-gradient(
            rgba(255,255,255,.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.07) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image: linear-gradient(90deg, transparent, black);
}

.hero-particles {
    z-index: -2;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: particle-float 12s linear infinite;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: var(--container);
    margin: auto;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gold);
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.eyebrow-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.hero h1 {
    font-family: var(--font-title);
    font-size: clamp(75px, 8.5vw, 150px);
    font-weight: 800;
    line-height: .88;
    letter-spacing: -1px;
    margin-bottom: 35px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-description {
    max-width: 570px;
    color: var(--silver);
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* BOUTONS */

.button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 26px;
    font-family: var(--font-tech);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease,
        border-color .3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--gold);
    color: #050505;
    clip-path: polygon(
        0 0, calc(100% - 12px) 0,
        100% 12px, 100% 100%,
        12px 100%, 0 calc(100% - 12px)
    );
}

.button-primary:hover {
    background: var(--white);
}

.button-secondary {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
}

.button-secondary:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: var(--muted);
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(255,196,0,.7);
    animation: status-pulse 2s infinite;
}

/* EMBLÈME */

.hero-emblem {
    position: relative;
    width: 100%;
    max-width: 530px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.hero-emblem img {
    position: relative;
    width: 88%;
    z-index: 2;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 35px rgba(255,196,0,.08));
}

.emblem-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ring-one {
    inset: -2%;
    border: 1px solid rgba(255,196,0,.16);
    border-top-color: var(--gold);
    border-bottom-color: var(--gold);
    animation: rotate 45s linear infinite;
}

.ring-two {
    inset: -6%;
    border: 1px dashed rgba(255,255,255,.12);
    animation: rotate 90s linear infinite reverse;
}

.emblem-caption {
    position: absolute;
    bottom: -45px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--font-tech);
}

.emblem-caption span {
    display: block;
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--muted);
}

.emblem-caption strong {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--silver);
}

.hero-coordinate {
    position: absolute;
    top: 115px;
    right: 6%;
    display: flex;
    flex-direction: column;
    text-align: right;
    color: #797d85;
    font-family: var(--font-tech);
    font-size: 10px;
    letter-spacing: 3px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-tech);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--muted);
}

.scroll-indicator i {
    color: var(--gold);
    animation: scroll-bounce 2s infinite;
}

.hero-index {
    position: absolute;
    bottom: 35px;
    right: 6%;
    color: var(--muted);
    font-family: var(--font-tech);
    font-size: 12px;
    letter-spacing: 4px;
}

/* ==================================================
   BARRE D'INFORMATIONS
================================================== */

.information-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0a0b0e;
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
}

.information-item {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px;
    border-right: 1px solid var(--border);
}

.information-item:last-child {
    border-right: none;
}

.information-item i {
    font-size: 26px;
    color: var(--gold);
}

.information-item div {
    display: flex;
    flex-direction: column;
}

.information-item span {
    color: var(--muted);
    font-family: var(--font-tech);
    font-size: 11px;
    letter-spacing: 2px;
}

.information-item strong {
    font-family: var(--font-tech);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ==================================================
   SECTIONS COMMUNES
================================================== */

.section {
    position: relative;
    padding: 130px 6%;
}

.section-container {
    max-width: var(--container);
    margin: 0 auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold);
}

.section-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    border: 1px solid var(--gold-border);
    background: rgba(255,196,0,.05);
}

.section h2 {
    font-family: var(--font-title);
    font-size: clamp(45px, 5vw, 84px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.section h2 span {
    color: var(--gold);
}

.section p {
    color: var(--muted);
    line-height: 1.9;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 330px;
    padding-bottom: 5px;
}

/* ==================================================
   UNIVERS
================================================== */

.universe {
    background:
        radial-gradient(
            ellipse at 10% 50%,
            rgba(255,196,0,.035),
            transparent 55%
        ),
        #08090b;
}

.universe-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.universe-visual {
    position: relative;
    min-height: 530px;
    border: 1px solid var(--border);
    background: #101218;
}

.universe-image {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            0deg,
            rgba(0,0,0,.9),
            transparent 65%
        ),
        url('../images/universe.jpg');
    background-size: cover;
    background-position: center;
}

.visual-corner {
    position: absolute;
    width: 55px;
    height: 55px;
    z-index: 2;
}

.corner-top {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.corner-bottom {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.visual-caption {
    position: absolute;
    bottom: 35px;
    left: 35px;
    right: 35px;
    display: flex;
    flex-direction: column;
}

.visual-caption span {
    color: var(--gold);
    font-family: var(--font-tech);
    font-size: 11px;
    letter-spacing: 3px;
}

.visual-caption strong {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 10px 0;
}

.visual-caption small {
    color: var(--silver);
    font-family: var(--font-tech);
    letter-spacing: 3px;
}

.universe-content > p {
    margin-bottom: 20px;
}

.universe-features {
    display: grid;
    gap: 25px;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid var(--border);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--gold);
    background: rgba(255,196,0,.05);
    border: 1px solid var(--gold-border);
    font-size: 20px;
}

.feature h3 {
    font-family: var(--font-tech);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature p {
    font-size: 13px;
}

/* ==================================================
   PLANÈTES
================================================== */

.planets {
    background: #050505;
    border-top: 1px solid var(--border);
}

.planet-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
}

.planet-card {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    background: #11151c;
    border: 1px solid var(--border);
    isolation: isolate;
    transition: border-color .4s ease;
}

.planet-card:hover {
    border-color: var(--gold);
}

.planet-image {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-position: center;
    background-size: cover;
    transition: transform .8s ease;
}

.planet-card:hover .planet-image {
    transform: scale(1.07);
}

.planet-coruscant .planet-image {
    background-image: url('../images/coruscant.jpg');
}

.planet-kamino .planet-image {
    background-image: url('../images/kamino.jpg');
}

.planet-geonosis .planet-image {
    background-image: url('../images/geonosis.jpg');
}

.planet-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            0deg,
            #050505 0%,
            rgba(5,5,5,.95) 20%,
            rgba(5,5,5,.2) 70%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.65),
            transparent 25%
        );
}

.planet-top {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--silver);
    font-family: var(--font-tech);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.planet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
}

.planet-category {
    color: var(--gold);
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.planet-content h3 {
    font-family: var(--font-title);
    font-size: clamp(38px, 4vw, 65px);
    font-weight: 800;
    line-height: 1;
    margin: 12px 0 20px;
}

.planet-content p {
    font-size: 13px;
    min-height: 75px;
}

.planet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.planet-tags span {
    padding: 5px 10px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    font-family: var(--font-tech);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--silver);
}

/* ==================================================
   FACTIONS
================================================== */

.factions {
    background:
        linear-gradient(
            90deg,
            rgba(255,196,0,.025),
            transparent 60%
        ),
        #0a0b0e;
    border-top: 1px solid var(--border);
}

.faction-list {
    display: grid;
    gap: 18px;
}

.faction {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #101217;
    isolation: isolate;
    transition:
        border-color .3s ease,
        transform .3s ease;
}

.faction:hover {
    border-color: var(--gold-border);
    transform: translateX(5px);
}

.faction-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center 35%;
    transition: transform .6s ease;
}

.faction:hover .faction-image {
    transform: scale(1.04);
}

.faction::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        #0a0b0e 0%,
        rgba(10,11,14,.98) 35%,
        rgba(10,11,14,.65) 65%,
        rgba(10,11,14,.2) 100%
    );
}

.faction-clones .faction-image {
    background-image: url('../images/clones.jpg');
}

.faction-jedi .faction-image {
    background-image: url('../images/jedi.jpg');
}

.faction-senate .faction-image {
    background-image: url('../images/senate.jpg');
}

.faction-civilians .faction-image {
    background-image: url('../images/civilians.jpg');
}

.faction-content {
    padding: 35px 45px;
    max-width: 75%;
}

.faction-number {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
}

.faction-content h3 {
    font-family: var(--font-title);
    font-size: clamp(27px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    margin: 12px 0;
}

.faction-content p {
    max-width: 600px;
    font-size: 14px;
    color: var(--silver);
}

.faction-arrow {
    display: none;
}

/* ==================================================
   DÉVELOPPEMENT
================================================== */

.development {
    background:
        radial-gradient(
            ellipse at 80% 50%,
            rgba(255,196,0,.045),
            transparent 50%
        ),
        #050505;
    border-top: 1px solid var(--border);
}

.development-layout {
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    gap: 100px;
}

.development-content p {
    max-width: 600px;
    margin-bottom: 22px;
}

.development-content .button {
    margin-top: 15px;
}

.development-panel {
    position: relative;
    border: 1px solid var(--gold-border);
    background: #0b0d11;
}

.development-panel::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 45px;
    height: 3px;
    background: var(--gold);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 30px;
    border-bottom: 1px solid var(--gold-border);
    background: rgba(255,196,0,.025);
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
}

.panel-body {
    padding: 10px 30px;
}

.report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-tech);
}

.report-item:last-child {
    border-bottom: none;
}

.report-item span {
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.report-item strong {
    font-size: 15px;
    letter-spacing: 1px;
    text-align: right;
}

.gold-text {
    color: var(--gold);
}

.panel-footer {
    padding: 16px 30px;
    border-top: 1px solid var(--border);
    font-family: var(--font-tech);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--muted);
    text-align: center;
}

/* ==================================================
   COMMUNAUTÉ
================================================== */

.community {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid var(--gold-border);
}

.community-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        #101217 url('../images/community.jpg')
        center / cover no-repeat;
}

.community-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(
            ellipse at center,
            rgba(5,5,5,.65),
            rgba(5,5,5,.97)
        ),
        linear-gradient(
            0deg,
            #050505,
            transparent 50%
        );
}

.community-content {
    position: relative;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.community-content .section-label {
    justify-content: center;
}

.community-logo {
    width: 190px;
    margin: 0 auto 30px;
    mix-blend-mode: screen;
}

.community h2 {
    font-size: clamp(55px, 7vw, 105px);
}

.community p {
    max-width: 550px;
    margin: 0 auto 35px;
    color: var(--silver);
}

/* ==================================================
   FOOTER
================================================== */

.footer {
    padding: 65px 6% 0;
    background: #050505;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--container);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 55px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.footer-brand img {
    width: 95px;
    flex-shrink: 0;
}

.footer-brand h3 {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 12px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    margin-bottom: 8px;
    color: var(--gold);
    font-family: var(--font-tech);
    font-size: 13px;
    letter-spacing: 3px;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
    transition: color .3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--container);
    margin: auto;
    padding: 25px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
    font-size: 11px;
}

.legal-notice {
    max-width: 550px;
    font-size: 10px;
    line-height: 1.8;
}

.back-to-top {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--gold-border);
    color: var(--gold);
    transition: background .3s ease, color .3s ease;
}

.back-to-top:hover {
    background: var(--gold);
    color: #000;
}

/* ==================================================
   ANIMATIONS
================================================== */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes loading {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes loader-fallback {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes loader-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .65;
    }
}

@keyframes status-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255,196,0,.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(255,196,0,.8);
    }
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    20% {
        opacity: .6;
    }
    80% {
        opacity: .4;
    }
    100% {
        transform: translateY(-180px);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* ==================================================
   FINALISATION DE L'ACCUEIL
================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

.header-container {
    max-width: 1800px;
    gap: 20px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.4vw, 26px);
}

.nav-link {
    white-space: nowrap;
    font-size: 13px;
}

.brand,
.header-discord {
    flex-shrink: 0;
}

/* TAILLE DES LOGOS */

.hero-emblem {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.hero-emblem img {
    width: 100%;
    max-width: 240px;
    max-height: 240px;
    object-fit: contain;
}

.emblem-ring {
    display: none;
}

.brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.community-logo {
    width: 110px;
    max-height: 110px;
    object-fit: contain;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.loader-content img {
    width: 140px;
}

/* LIENS D'EXPLORATION */

.home-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    color: #ffc400;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: color .25s ease;
}

.home-explore-link i {
    transition: transform .25s ease;
}

.home-explore-link:hover {
    color: #fff;
}

.home-explore-link:hover i {
    transform: translateX(5px);
}

.home-section-action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.universe-content > .button {
    margin-top: 25px;
}

.planet-card {
    min-height: 520px;
}

.faction {
    cursor: pointer;
    text-decoration: none;
}

.faction .faction-arrow {
    display: block;
    color: #ffc400;
    transition: transform .3s ease;
}

.faction:hover .faction-arrow {
    transform: translateX(5px);
}

/* ==================================================
   ACTUALITÉS
================================================== */

.home-news {
    position: relative;
    background: #08090b;
    border-top: 1px solid rgba(255,255,255,.07);
}

.home-news-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 22px;
}

.home-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 30px;
    overflow: hidden;
    isolation: isolate;
    background: #101217;
    border: 1px solid rgba(255,255,255,.1);
    transition: border-color .3s ease;
}

.home-news-card:hover {
    border-color: rgba(255,196,0,.5);
}

.home-news-featured {
    min-height: 542px;
    padding: 40px;
}

.home-news-image,
.home-news-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-news-image {
    z-index: -2;
    background-position: center;
    background-size: cover;
    transition: transform .8s ease;
}

.home-news-card:hover .home-news-image {
    transform: scale(1.05);
}

.home-news-opening {
    background-image: url('../images/hero.jpg');
}

.home-news-recruitment {
    background-image: url('../images/kamino.jpg');
}

.home-news-rules {
    background-image: url('../images/senate.jpg');
}

.home-news-overlay {
    z-index: -1;
    background: linear-gradient(
        0deg,
        rgba(5,5,5,.98),
        rgba(5,5,5,.65) 45%,
        rgba(5,5,5,.15)
    );
}

.home-news-top {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.home-news-top > span:last-child:not(.home-news-category) {
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.home-news-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    color: #ffc400;
    background: rgba(5,5,5,.8);
    border: 1px solid rgba(255,196,0,.3);
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.home-news-content {
    position: relative;
}

.home-news-meta {
    display: block;
    margin-bottom: 12px;
    color: #ffc400;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.home-news-content h3 {
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.05;
}

.home-news-featured h3 {
    max-width: 600px;
    font-size: clamp(40px, 5vw, 72px);
}

.home-news-content p {
    max-width: 500px;
    margin-top: 20px;
    color: #b6bdc8;
    font-size: 14px;
    line-height: 1.85;
}

.home-news-secondary {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
}

/* ==================================================
   BIEN DÉBUTER
================================================== */

.home-start {
    position: relative;
    background:
        radial-gradient(
            ellipse at 0% 50%,
            rgba(255,196,0,.035),
            transparent 65%
        ),
        #0b0d10;
    border-top: 1px solid rgba(255,255,255,.07);
}

.home-start-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.home-start-content h2 {
    margin-bottom: 30px;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(50px, 6vw, 90px);
    font-weight: 800;
    line-height: .95;
}

.home-start-content h2 span {
    color: #ffc400;
}

.home-start-content p {
    max-width: 550px;
    margin-bottom: 30px;
    color: #b6bdc8;
    font-size: 15px;
    line-height: 1.95;
}

.home-start-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-start-step {
    display: grid;
    grid-template-columns: 40px 45px minmax(0, 1fr) 15px;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #101217;
    border: 1px solid rgba(255,255,255,.08);
    border-left: 2px solid rgba(255,196,0,.3);
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.home-start-step:hover {
    transform: translateX(5px);
    border-color: rgba(255,196,0,.4);
    background: #15181e;
}

.home-step-number {
    color: rgba(255,196,0,.4);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 800;
}

.home-start-step > i:not(.home-step-arrow) {
    color: #ffc400;
    font-size: 25px;
    text-align: center;
}

.home-start-step h3 {
    margin-bottom: 7px;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 27px;
    font-weight: 700;
}

.home-start-step p {
    color: #aeb5c0;
    font-size: 12px;
    line-height: 1.8;
}

.home-step-arrow {
    color: #ffc400;
    font-size: 12px;
}

/* ==================================================
   ACCESSIBILITÉ
================================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid #ffc400;
    outline-offset: 4px;
}

::selection {
    color: #050505;
    background: #ffc400;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-news-image,
    .home-start-step,
    .home-explore-link i,
    .faction-arrow {
        transition: none;
    }
}

/* Navigation centralisée */

/* ==================================================
   STAR WARS : L'ÈRE DE LA RÉPUBLIQUE
   NAVIGATION PUBLIQUE CENTRALISÉE
================================================== */

:root {
    --nav-background: #08090b;
    --nav-secondary: #111318;
    --nav-gold: #ffc400;
    --nav-white: #f5f5f5;
    --nav-text: #c5cbd5;
    --nav-muted: #858c9b;
    --nav-border: rgba(255, 255, 255, .09);
    --nav-discord: #5865f2;
    --nav-heading: "Barlow Condensed", sans-serif;
    --nav-tech: "Rajdhani", sans-serif;
    --nav-body: "Inter", sans-serif;
}

[data-republic-header],
[data-republic-footer] {
    width: 100%;
    font-family: var(--nav-body);
}

[data-republic-header] *,
[data-republic-footer] * {
    box-sizing: border-box;
}

[data-republic-header] [hidden],
[data-republic-footer] [hidden] {
    display: none !important;
}

/* ==================================================
   HEADER PRINCIPAL
================================================== */

.republic-site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: var(--nav-background);
    border-bottom: 1px solid var(--nav-border);
}

.republic-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: min(1700px, calc(100% - 60px));
    min-height: 88px;
    margin-inline: auto;
}

/* ==================================================
   IDENTITÉ VISUELLE
================================================== */

.republic-site-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    color: var(--nav-white);
    text-decoration: none;
}

.republic-site-brand img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    transition: transform .3s ease;
}

.republic-site-brand:hover img {
    transform: scale(1.05);
}

.republic-site-brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.republic-site-brand-text strong {
    color: var(--nav-white);
    font-family: var(--nav-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
}

.republic-site-brand-text span {
    color: var(--nav-gold);
    font-family: var(--nav-tech);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

/* ==================================================
   NAVIGATION PRINCIPALE
================================================== */

.republic-main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 0;
}

.republic-main-navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 0;
    color: var(--nav-text);
    font-family: var(--nav-tech);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .25s ease;
}

.republic-main-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--nav-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.republic-main-navigation a:hover,
.republic-main-navigation a.active {
    color: var(--nav-gold);
}

.republic-main-navigation a:hover::after,
.republic-main-navigation a.active::after {
    transform: scaleX(1);
}

/* ==================================================
   BOUTONS ROBLOX ET DISCORD
================================================== */

.republic-nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 10px;
}

.republic-nav-roblox,
.republic-nav-discord {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 11px 17px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 3px;
    font-family: var(--nav-tech);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.republic-nav-roblox {
    background: var(--nav-gold);
    border-color: var(--nav-gold);
    color: #050505;
}

.republic-nav-roblox:hover {
    background: #ffda59;
    border-color: #ffda59;
    color: #050505;
    box-shadow: 0 0 22px rgba(255, 196, 0, .18);
    transform: translateY(-2px);
}

.republic-nav-discord {
    background: var(--nav-discord);
    border-color: var(--nav-discord);
    color: #ffffff;
}

.republic-nav-discord:hover {
    background: #4752c4;
    border-color: #7983ff;
    color: #ffffff;
    box-shadow: 0 0 22px rgba(88, 101, 242, .2);
    transform: translateY(-2px);
}

.republic-nav-roblox i,
.republic-nav-discord i {
    flex-shrink: 0;
    font-size: 15px;
}

.republic-nav-roblox:active,
.republic-nav-discord:active {
    transform: translateY(0);
}

/* ==================================================
   NAVIGATION COMMUNAUTAIRE
================================================== */

.republic-community-navigation {
    position: relative;
    z-index: 90;
    background: #101216;
    border-bottom: 1px solid var(--nav-border);
}

.republic-community-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 30px;
    width: min(1400px, calc(100% - 60px));
    margin-inline: auto;
}

.republic-community-inner a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 12px 4px;
    color: var(--nav-muted);
    font-family: var(--nav-tech);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color .25s ease,
        background .25s ease;
}

.republic-community-inner a i {
    flex-shrink: 0;
    font-size: 12px;
}

.republic-community-inner a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--nav-gold);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.republic-community-inner a:hover,
.republic-community-inner a.active {
    color: var(--nav-gold);
}

.republic-community-inner a.active {
    background: rgba(255, 196, 0, .025);
}

.republic-community-inner a:hover::after,
.republic-community-inner a.active::after {
    transform: scaleX(1);
}

/* ==================================================
   FOOTER PRINCIPAL
================================================== */

.republic-site-footer {
    position: relative;
    padding-top: 65px;
    background: var(--nav-background);
    border-top: 1px solid var(--nav-border);
}

.republic-footer-inner {
    width: min(1400px, calc(100% - 80px));
    margin-inline: auto;
}

.republic-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 45px;
    padding-bottom: 50px;
}

/* ==================================================
   IDENTITÉ DU FOOTER
================================================== */

.republic-footer-brand {
    min-width: 0;
}

.republic-footer-brand img {
    display: block;
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    object-fit: contain;
}

.republic-footer-brand h3 {
    margin: 0 0 5px;
    color: var(--nav-white);
    font-family: var(--nav-heading);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 3px;
}

.republic-footer-brand > strong {
    display: block;
    color: var(--nav-gold);
    font-family: var(--nav-tech);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.republic-footer-brand p {
    max-width: 340px;
    margin: 18px 0 25px;
    color: var(--nav-muted);
    font-size: 13px;
    line-height: 1.85;
}

.republic-footer-brand .republic-nav-actions {
    flex-wrap: wrap;
    gap: 8px;
}

.republic-footer-brand .republic-nav-roblox,
.republic-footer-brand .republic-nav-discord {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 11px;
}

/* ==================================================
   COLONNES DU FOOTER
================================================== */

.republic-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

.republic-footer-column h4 {
    position: relative;
    margin: 0 0 12px;
    padding-bottom: 13px;
    color: var(--nav-white);
    font-family: var(--nav-tech);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.republic-footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--nav-gold);
}

.republic-footer-column a {
    color: var(--nav-muted);
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color .25s ease,
        transform .25s ease;
}

.republic-footer-column a:hover {
    color: var(--nav-gold);
    transform: translateX(4px);
}

/* ==================================================
   BAS DU FOOTER
================================================== */

.republic-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    min-height: 80px;
    padding: 20px 0;
    border-top: 1px solid var(--nav-border);
}

.republic-footer-bottom p {
    margin: 0;
    color: var(--nav-muted);
    font-size: 11px;
    line-height: 1.8;
}

.republic-footer-bottom > a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: var(--nav-secondary);
    border: 1px solid var(--nav-border);
    border-radius: 4px;
    color: var(--nav-text);
    font-size: 17px;
    text-decoration: none;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.republic-footer-bottom > a:hover {
    background: var(--nav-discord);
    border-color: var(--nav-discord);
    color: #ffffff;
}

/* ==================================================
   ACCESSIBILITÉ
================================================== */

[data-republic-header] a:focus-visible,
[data-republic-footer] a:focus-visible {
    outline: 2px solid var(--nav-gold);
    outline-offset: 4px;
}

/* ==================================================
   RESPONSIVE — ORDINATEURS
================================================== */

@media (max-width: 1500px) {

    .republic-site-header-inner {
        width: calc(100% - 40px);
        gap: 18px;
    }

    .republic-main-navigation {
        gap: 15px;
    }

    .republic-main-navigation a {
        font-size: 12px;
    }

    .republic-nav-roblox,
    .republic-nav-discord {
        padding-inline: 12px;
        font-size: 12px;
    }

    .republic-site-brand-text strong {
        font-size: 22px;
    }

    .republic-site-brand-text span {
        font-size: 9px;
    }

}

@media (max-width: 1250px) {

    .republic-site-header-inner {
        flex-wrap: wrap;
        gap: 15px;
        padding: 16px 0 0;
    }

    .republic-main-navigation {
        order: 3;
        width: 100%;
        gap: 25px;
        padding: 5px 0;
        border-top: 1px solid var(--nav-border);
    }

    .republic-main-navigation a {
        font-size: 14px;
    }

    .republic-community-inner {
        gap: 0 20px;
    }

    .republic-community-inner a {
        font-size: 12px;
    }

}

/* ==================================================
   RESPONSIVE — TABLETTES
================================================== */

@media (max-width: 850px) {

    .republic-site-header-inner {
        width: calc(100% - 32px);
    }

    .republic-main-navigation {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px 12px;
    }

    .republic-main-navigation a {
        min-height: 38px;
        font-size: 13px;
    }

    .republic-community-inner {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        width: calc(100% - 32px);
    }

    .republic-community-inner a {
        min-height: 48px;
        padding: 10px 4px;
    }

    .republic-footer-inner {
        width: calc(100% - 48px);
    }

    .republic-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

}

/* ==================================================
   RESPONSIVE — MOBILES
   AUCUN MENU HAMBURGER
================================================== */

@media (max-width: 550px) {

    .republic-site-header-inner {
        width: calc(100% - 28px);
        justify-content: center;
        gap: 15px;
        padding-top: 18px;
    }

    .republic-site-brand {
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .republic-site-brand img {
        width: 45px;
        height: 45px;
    }

    .republic-site-brand-text strong {
        font-size: 24px;
    }

    .republic-site-brand-text span {
        font-size: 9px;
    }

    .republic-site-header-inner > .republic-nav-actions {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 8px;
    }

    .republic-site-header-inner .republic-nav-roblox,
    .republic-site-header-inner .republic-nav-discord {
        flex: 1;
        min-width: 0;
        min-height: 40px;
        padding: 10px 8px;
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    .republic-nav-roblox i,
    .republic-nav-discord i {
        font-size: 13px;
    }

    .republic-main-navigation {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2px;
        padding: 8px 0;
    }

    .republic-main-navigation a {
        min-height: 36px;
        padding: 9px 2px;
        font-size: 11px;
        text-align: center;
        white-space: normal;
    }

    .republic-main-navigation a::after {
        right: 10%;
        left: 10%;
    }

    .republic-community-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: calc(100% - 12px);
    }

    .republic-community-inner a {
        flex-direction: column;
        gap: 7px;
        min-height: 58px;
        padding: 10px 2px;
        font-size: 10px;
        line-height: 1.3;
        text-align: center;
    }

    .republic-community-inner a i {
        font-size: 13px;
    }

    .republic-site-footer {
        padding-top: 40px;
    }

    .republic-footer-inner {
        width: calc(100% - 36px);
    }

    .republic-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 20px;
        padding-bottom: 35px;
    }

    .republic-footer-brand {
        grid-column: 1 / -1;
    }

    .republic-footer-brand img {
        width: 60px;
        height: 60px;
    }

    .republic-footer-brand h3 {
        font-size: 30px;
    }

    .republic-footer-brand p {
        font-size: 12px;
    }

    .republic-footer-column {
        gap: 12px;
    }

    .republic-footer-column h4 {
        font-size: 14px;
    }

    .republic-footer-column a {
        font-size: 11px;
    }

    .republic-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

}

/* ==================================================
   RESPONSIVE — PETITS MOBILES
================================================== */

@media (max-width: 350px) {

    .republic-main-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .republic-community-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .republic-site-header-inner > .republic-nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .republic-site-header-inner .republic-nav-roblox,
    .republic-site-header-inner .republic-nav-discord {
        width: 100%;
    }

    .republic-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

}

/* ==================================================
   RÉDUCTION DES ANIMATIONS
================================================== */

@media (prefers-reduced-motion: reduce) {

    [data-republic-header] *,
    [data-republic-footer] *,
    [data-republic-header] *::before,
    [data-republic-header] *::after,
    [data-republic-footer] *::before,
    [data-republic-footer] *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

    .republic-nav-roblox:hover,
    .republic-nav-discord:hover,
    .republic-site-brand:hover img,
    .republic-footer-column a:hover {
        transform: none;
    }

}

/* ==================================================
   FIN — NAVIGATION PUBLIQUE CENTRALISÉE
================================================== */

body[data-page] .button,body[data-page] .republic-button{gap:12px} body[data-page] .information-item{gap:16px} body[data-page] .information-item>div{display:flex;flex-direction:column;gap:4px}
