/* =====================================================
   LA FRATRIE RP — CSS FINAL SAIN
===================================================== */

/* ---------------- RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ---------------- VARIABLES ---------------- */
:root {
    --gold: #c9a24d;
    --gold-light: #f5d37b;
    --gold-dark: #9e7c2f;

    --bg-main: #0b0b0b;
    --bg-card: #141414;
    --bg-card-soft: #101010;

    --text-main: #eaeaea;
    --text-soft: #bfbfbf;
}

/* ---------------- BASE ---------------- */
body {
    font-family: "Poppins", sans-serif;
    color: var(--text-main);
    line-height: 1.6;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.9)
        ),
        url("/assets/img/background.png") center / cover no-repeat fixed;
}

/* ---------------- CONTAINER ---------------- */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* ---------------- NAVBAR ---------------- */
.nav {
    background: #080808;
    border-bottom: 1px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav {
    padding: 8px 0;          /* 🔥 réduit la hauteur */
}

.nav-inner {
    min-height: 56px;        /* hauteur propre */
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gold-light);
}

.brand img {
    width: 42px;
}

.brand .title {
    font-weight: 700;
    letter-spacing: 1px;
}

.brand .subtitle {
    font-size: 12px;
    color: var(--text-soft);
}

.links {
    display: flex;
    gap: 18px;
    margin-right: auto;
}

.links a {
    text-decoration: none;
    color: var(--gold);
    font-weight: 600;
}

.links a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.links a:hover {
    color: #fff;
}

.links a.active {
    color: var(--gold-light);
}


.cta {
    display: flex;
	align-items: center;
    gap: 10px;
}

/* Boutons navbar */
.nav .btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 18px;
}

/* ---------------- TITRES ---------------- */
h1 {
    font-size: 30px;
    margin-bottom: 12px;
    color: var(--gold-light);
}

h2 {
    font-size: 22px;
    margin: 25px 0 12px;
    color: var(--gold);
}

h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--gold);
}

/* ---------------- TEXTE ---------------- */
p {
    margin-bottom: 12px;
    color: var(--text-soft);
}

.subtitle {
    color: var(--text-soft);
    margin-bottom: 25px;
    font-size: 14px;
}

/* ---------------- LISTES ---------------- */
ul {
    padding-left: 22px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* ---------------- CARD ---------------- */
.card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 35px;
    border: 1px solid rgba(201,162,77,0.2);
    max-width: 100%;
}

/* ---------------- INDEX (ALIGNÉ DISCORD) ---------------- */
.home-card {
    max-width: 900px;
    margin: 0 auto;
}

.home-card ul {
    text-align: left;
}

.home-card hr {
    margin: 35px 0;
    border: none;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(201,162,77,0.4),
        transparent
    );
}

/* ---------------- ALERTES ---------------- */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.alert.ok {
    background: rgba(46,204,113,0.15);
    border-left: 4px solid #2ecc71;
}

.alert.warn {
    background: rgba(241,196,15,0.15);
    border-left: 4px solid #f1c40f;
}

.alert.err {
    background: rgba(231,76,60,0.15);
    border-left: 4px solid #e74c3c;
}

/* ---------------- BOUTONS ---------------- */
.btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 18px;
    font-weight: 600;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    color: #111;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------------- INPUTS ---------------- */
input,
textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-card-soft);
    border: 1px solid rgba(201,162,77,0.3);
    border-radius: 8px;
    color: #fff;
}

input::placeholder {
    color: rgba(255,255,255,0.4);
}

/* ---------------- FOOTER ---------------- */
footer {
    background: #060606;
    border-top: 1px solid var(--gold);
    padding: 25px;
    text-align: center;
    font-size: 13px;
    color: var(--text-soft);
}

/* =====================================================
   BOUTIQUE
===================================================== */

body.page-boutique {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.9)
        ),
        url("/assets/img/bg-boutique.png") center / cover no-repeat fixed;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
/* --- Boutique : images Premium --- */
.page-boutique .shop-grid img {
    max-height: 260px;        /* 🔥 limite la hauteur */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}

.page-boutique .card {
    display: flex;
    flex-direction: column;
}

.page-boutique .card #paypal-standard,
.page-boutique .card #paypal-medium,
.page-boutique .card #paypal-full {
    margin-top: auto;
}

@media (max-width: 900px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 25px 15px;
    }

    .links {
        display: none;
    }

    h1 {
        font-size: 24px;
    }
}
/* =====================================================
   INDEX — CORRECTION FINALE
===================================================== */

.page-home .home-header,
.home-header {
    text-align: center;
    margin-bottom: 25px;
}

.page-home .home-actions,
.home-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 10px;
}

.page-home .home-block,
.home-block {
    max-width: 820px;
    margin: 0 auto 10px;
}

.page-home .home-sep,
.home-sep {
    margin: 35px auto;
    border: none;
    height: 1px;
    max-width: 820px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(201,162,77,0.4),
        transparent
    );
}

.page-home .home-cta,
.home-cta {
    text-align: center;
    margin-top: 10px;
}

.page-home .home-card ul,
.home-card ul {
    text-align: left;
}
/* =====================================================
   NAVBAR — FIX HAUTEUR DEFINITIF (CSS ONLY)
===================================================== */

/* La navbar ne doit JAMAIS hériter du padding global */
.nav .container {
    padding: 0 20px !important;
}

/* Hauteur réelle et propre */
.nav {
    height: 56px;
    padding: 0 !important;
}

/* Contenu centré verticalement */
.nav-inner {
    height: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
}

/* Supprime toute hauteur parasite */
.brand {
    line-height: 1;
}

.brand .subtitle {
    display: none !important;
}

/* Logo plus compact */
.brand img {
    width: 34px;
}

/* Liens menu bien alignés */
.links a {
    line-height: 1;
}

/* Boutons plus fins */
.nav .btn {
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
}
/* =====================================================
   SUPPORT — FENÊTRE & MISE EN PAGE
===================================================== */

.page-support .support-window {
    max-width: 950px;
    margin: 0 auto;
    padding: 40px 45px;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.9)
    );

    border-radius: 18px;
    border: 1px solid rgba(201,162,77,0.35);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

.page-support .support-intro {
    margin-bottom: 30px;
    color: var(--text-soft);
}

.page-support .support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.page-support .support-panel {
    background: rgba(0,0,0,0.35);
    padding: 25px 28px;
    border-radius: 14px;
    border: 1px solid rgba(201,162,77,0.25);
}

.page-support .support-panel.full {
    margin-top: 10px;
}

.page-support h1,
.page-support h2 {
    color: var(--gold-light);
}

.page-support ul {
    padding-left: 20px;
}

.page-support li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .page-support .support-grid {
        grid-template-columns: 1fr;
    }

    .page-support .support-window {
        padding: 28px;
    }
}
.pay-blocked{
  margin-top: 15px;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  color: #c9a24d;
  background: rgba(0,0,0,0.35);
  border: 1px dashed rgba(201,162,77,0.35);
  border-radius: 8px;
}
/* =====================================================
   FENÊTRE BOUTIQUE — VERSION LISIBILITÉ MAX
   ===================================================== */

.page-boutique main.shop-window {
  position: relative;

  /* Fenêtre très sombre */
  background: rgba(0, 0, 0, 0.82);

  /* Effet premium */
  border-radius: 22px;
  padding: 50px 40px;
  margin: 70px auto 90px auto;
  max-width: 1450px;

  /* Bordure or + profondeur */
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.95);

  overflow: hidden;
}

/* Voile interne pour casser les fonds très lumineux */
.page-boutique main.shop-window::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.75)
    );

  z-index: 0;
}

/* Tout le contenu passe AU-DESSUS du voile */
.page-boutique main.shop-window > * {
  position: relative;
  z-index: 1;
}

/* Titre boutique encore plus lisible */
.page-boutique .shop-hero {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 40px;

  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.25),
    0 15px 40px rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 900px) {
  .page-boutique main.shop-window {
    padding: 30px 18px;
    margin: 40px 12px 70px 12px;
  }
}


