/* ===========================
   RM Technologies Group â€” Styles
   =========================== */

:root{
  --bg-0:#0c0b12; --bg-1:#12111b; --card:#171625; --stroke:#2a2939;
  --text:#eaeaf2; --muted:#b7b7c7;
  --primary:#ff3b3b; --primary-2:#ff6a6a; --accent:#7d3cff; --shadow:rgba(0,0,0,.35);
  --radius-xl:16px; --radius-2xl:22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

/* PAGE EN COLONNES POUR COLLER LE FOOTER EN BAS */
body{
  margin:0;
  display:flex;             /* <= Ajout */
  flex-direction:column;    /* <= Ajout */
  min-height:100vh;         /* <= Ajout */
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 100% -20%, rgba(125,60,255,.15), transparent 60%),
    radial-gradient(900px 500px at -10% 120%, rgba(255,59,59,.12), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  overflow-x:hidden;
}
main{ flex:1; }            /* <= Le footer reste en bas */

/* Scrollbar custom */
*::-webkit-scrollbar{ width:10px; height:10px; }
*::-webkit-scrollbar-track{ background:#0f0e17; }
*::-webkit-scrollbar-thumb{ background:#2a2939; border-radius:8px; }
*::-webkit-scrollbar-thumb:hover{ background:#3a394d; }

.container{ width:min(1200px,92%); margin-inline:auto; }

/* HEADER */
.site-header{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0;
}

.brand{
  display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto;
  column-gap:10px; text-decoration:none; color:var(--text);
}

/* LOGO SUR FOND BLANC */
.brand-logo{
  width:34px; height:34px; grid-row:span 2;
  background:#fff;             /* <= fond blanc */
  padding:5px;                 /* marge interne */
  border-radius:10px;          /* coins arrondis */
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  filter:none;                 /* on retire lâ€™ancien drop-shadow */
}

.brand-text{ font-weight:700; letter-spacing:.2px; }
.brand-sub{ font-size:12px; color:var(--muted); margin-top:-2px; }

.nav{ display:flex; gap:14px; align-items:center; }
.nav-link{
  text-decoration:none; color:var(--muted);
  padding:8px 12px; border-radius:10px; transition:.2s ease;
}
.nav-link:hover{ color:var(--text); background:rgba(255,255,255,.04); }
.nav-link.active{ color:var(--text); }
.nav-cta{
  text-decoration:none; padding:10px 14px; border-radius:12px;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff; font-weight:600; box-shadow:0 6px 18px rgba(255,59,59,.25);
}

/* HERO */
.hero{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.25fr .9fr; gap:28px;
  padding:72px 0 36px;       /* haut augmentÃ© (40 -> 72) */
}
.title{ margin:6px 0 16px; }
/* Sur mobiles on rÃ©duit un peu pour ne pas trop pousser */
@media (max-width:720px){
  .hero{ padding:56px 0 28px; }
}
.title .accent{
  display:block;
  background:linear-gradient(135deg, var(--primary), #ff4848 30%, #ff7f7f 80%);
  -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:800;
}
.lead{ color:var(--muted); font-size:16px; max-width:60ch; }
.actions{ display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }

.btn{
  display:inline-block; text-decoration:none; border-radius:12px;
  padding:12px 16px; font-weight:600;
  transition:transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:linear-gradient(135deg, var(--primary), var(--primary-2)); color:#fff; box-shadow:0 14px 28px rgba(255,59,59,.25); }
.btn-primary:hover{ box-shadow:0 18px 40px rgba(255,59,59,.35); transform:translateY(-1px); }
.btn-secondary{ background:rgba(255,255,255,.06); color:#fff; border:1px solid rgba(255,255,255,.08); backdrop-filter:blur(6px); }
.btn-secondary:hover{ background:rgba(255,255,255,.09); transform:translateY(-1px); }

/* CARTE HERO + EFFET HOVER LÃ‰GER */
.hero-card{
  align-self:start; background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.12));
  border:1px solid var(--stroke); border-radius:var(--radius-2xl);
  padding:18px 18px 16px; box-shadow:0 10px 30px var(--shadow);
  transition:transform .15s ease, box-shadow .2s ease;
}
.hero-card:hover{ transform:translateY(-3px) scale(1.015); box-shadow:0 16px 42px var(--shadow); }

.card-title{ margin:0 0 6px; font-weight:700; }
.card-sub{ color:#ddd; margin:0 0 8px; }
.card-text{ color:var(--muted); margin:0; }


/* === CARTES GÉNÉRALES (Nos engagements) === */
.commitments .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.commitments .card {
  flex: 1 1 300px;
  background: rgba(40, 40, 55, 0.85);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* <-- clé ici : centrage horizontal du contenu */
  text-align: center;  /* <-- pour centrer aussi le texte */
  transition: transform 0.25s ease, background 0.25s ease;
}

.commitments .card:hover {
  transform: translateY(-3px);
  background: rgba(50, 50, 65, 0.95);
}

.commitments .card h3 {
  margin: 0 0 0.6rem 0;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
}

.commitments .card p {
  margin: 0;
  color: #d3d3dc;
  line-height: 1.4;
  font-size: 0.95rem;
  max-width: 90%;
}



.section-title{
  font-size:22px;
  margin: 22px 0 16px;          /* un peu plus dâ€™air */
}

/* Grille et cartes : inchangÃ© saufâ€¦ */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }

/* CARTES + EFFET GROSSISSEMENT AU SURVOL */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.12)); border:1px solid var(--stroke); border-radius:var(--radius-xl);
  padding:16px; box-shadow:0 8px 20px var(--shadow);
  transition:transform .15s ease, box-shadow .2s ease;
}
.card:hover{
  transform:translateY(-4px) scale(1.025);  /* <= grossit lÃ©gÃ¨rement */
  box-shadow:0 18px 38px var(--shadow);
}
.card h3{ margin:4px 0 8px; }
.card p{ margin:0; color:var(--muted); }


/* FOOTER collÃ© en bas grÃ¢ce au layout flex */
.footer{ padding:40px 0 36px; color:var(--muted); text-align:center; font-size:14px; }


/* RM Networks â€” badge Ã  gauche du titre */
.title-row{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.networks-badge{
  width:56px; height:56px; background:#fff; border-radius:12px;
  box-shadow:0 6px 16px rgba(0,0,0,.25); display:inline-flex;
  align-items:center; justify-content:center; padding:6px;
}
.networks-badge img{ width:100%; height:100%; object-fit:contain; border-radius:8px; }


/* SÃ©parateur horizontal classique */
.section-line {
  width: 100%;
  height: 50px;
  background: rgba(255,255,255,0.15);
  margin: 40px 0 32px;
}

.after-networks {
  padding-bottom: 60px;
}
.after-networks .section-title {
  margin-top: 0;
  margin-bottom: 12px;
}
.after-networks .lead {
  color: var(--muted);
  max-width: 70ch;
}





/* ======= Page Devis ======= */
.quote-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  padding: 14px 0 32px;
}
.form-card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 30px var(--shadow);
  padding: 18px;
}

/* Formulaire */
.form{ display:grid; gap:14px; }
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{ font-weight:600; font-size:14px; color:#eaeaf2; }
.form-row .hint{ font-size:12px; color:var(--muted); margin-top:4px; }

/* Inputs */
.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="number"],
.form select,
.form textarea,
.form input[type="file"]{
  appearance:none;
  background:#0f0e17;
  color:#f0f0f5;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:12px 12px;
  outline:none;
  transition:border .15s ease, box-shadow .15s ease;
}

.form textarea{ resize:vertical; }
.form input[type="file"]{ padding:10px; background:#0f0e17; }
.form input:focus, .form select:focus, .form textarea:focus{
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}








/* === RM NETWORKS PAGE === */
/* --- Cartes d'intro --- */
.cards{ display:flex; gap:2rem; justify-content:center; align-items:stretch; flex-wrap:wrap; }
.card{
  flex:1 1 45%; display:flex; align-items:center;
  background-color:rgba(30,30,40,.9); border-radius:14px; padding:20px;
  transition:transform .25s ease, background .25s ease; cursor:pointer;
}
.card:hover{ transform:scale(1.04); background-color:rgba(40,40,55,.95); }
.card img{ width:60px; height:60px; margin-right:20px; border-radius:8px; object-fit:contain; background:rgba(255,255,255,.06); padding:6px; }
.card-content h3{ margin:0 0 8px; font-size:1.3rem; }
.card-content p{ margin:0; font-size:.95rem; line-height:1.4; color:#ccc; }
.dynamic-content{ margin-top:2.5rem; background:rgba(30,30,40,.9); padding:2rem; border-radius:14px; transition:opacity .4s ease; }

/* === Barre de jeux / versions (pills) === */
.gp-gamebar{
  display:flex; gap:14px; flex-wrap:wrap; justify-content:center; align-items:center;
  margin: 4px auto 16px;
  padding: 10px 12px;
  background: rgba(20,20,28,.6);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  width: fit-content;
}
.gp-gamebar.gp-subbar{ margin-top: -4px; } /* colle visuellement aux jeux */

.gp-pill{
  display:flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:#fff; padding:10px 14px; border-radius: 12px;
  font-weight: 700; cursor:pointer; transition:.2s ease;
  outline:none;
}
.gp-pill img{
  width:22px; height:22px; border-radius:6px; object-fit:cover;
  background: rgba(255,255,255,.08); padding:2px;
}
.gp-pill:hover{ background: rgba(255,255,255,.10); }
.gp-pill.is-active{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(255,59,59,.32);
}

/* utilitaire dÃ©jÃ  utilisÃ© */
.is-hidden{ display:none; }

/* Tabs durÃ©e : un peu plus lisibles + sticky lÃ©ger */
.game-plans{ padding: 6px 0 46px; position: relative; }
.gp-tabs{
  position: sticky; top: 68px; z-index: 5;
  display:flex; gap:12px; justify-content:center; align-items:center;
  padding: 6px 10px;
}
.gp-tab{
  border:1px solid rgba(255,255,255,.14);
  color:#fff; padding:10px 16px; border-radius:999px;
  font-weight:650; cursor:pointer; transition:.2s ease;
  outline: none;
}
.gp-tab:hover{ background: rgba(255,255,255,.10); }
.gp-tab.is-active{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(255,59,59,.35);
}

/* --- Cartes uniformes et bien centrÃ©es --- */
.gp-card {
  flex: 0 1 260px;
  max-width: 280px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  height: auto;
}

/* --- Grille cartes jeux --- */
.gp-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-content: flex-start !important;
  gap: 22px !important;
  margin-top: 35px !important;
  width: 100%;
  text-align: center;
}

@media (max-width:1100px){ .gp-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:640px) { .gp-grid{ grid-template-columns: 1fr; } }

.gp-card {
  flex: 0 1 260px; /* largeur homogÃ¨ne */
  max-width: 280px;
  min-width: 240px;
}
.gp-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 22px 46px rgba(0,0,0,.55);
}

/* --- Remise: badge propre sous le titre --- */
.gp-discount{
  display:inline-block;
  margin: 4px 18px 10px;
  padding: 4px 8px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 12px;
  color:#f0f0f6;
}

#web-grid .gp-card__head .gp-title,
#web-grid .gp-card h3.gp-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

/* En-tÃªte + icÃ´ne */
.gp-card__head{
  padding: 18px 18px 6px;
  display:flex; align-items:center; gap:12px;
}
.gp-card__icon{
  width:36px; height:36px; border-radius:10px;
  background: rgba(255,255,255,.08); padding:5px; object-fit:contain;
}
/* --- Titre sur 1 ligne (avec ellipsis si trop long) --- */
/* Autoriser les retours Ã  la ligne sur les titres */
.gp-title {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-align: left;
}

/* Ruban â€œprÃ©fÃ©rÃ©eâ€ centrÃ© au-dessus */
.gp-featured {
  position: relative;
  border-color: rgba(125,60,255,.45);
  box-shadow: 0 18px 48px rgba(125,60,255,.28);
}

.gp-card.gp-featured {
  position: relative !important;
}

.gp-card.gp-featured::before {
  content: "Offre préféré des joueurs";
  position: absolute;
  top: -24px !important; /* distance au-dessus de la carte */
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(125, 60, 255, 0.65), rgba(180, 100, 255, 0.45));
  border: 1px solid rgba(125, 60, 255, 0.5);
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 10;
}

.gp-featured::before {
  content: "Offre préféré des joueurs";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(125, 60, 255, 0.6), rgba(180, 100, 255, 0.4));
  border: 1px solid rgba(125, 60, 255, 0.45);
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Prix & sÃ©parateur */
.gp-price{
  padding: 2px 18px 12px;
  font-weight: 800; font-size: 30px; line-height:1;
}
.gp-price small{ font-weight:650; font-size:14px; color:#dcdce6; margin-left:6px; }
.gp-sep{ height:1px; background: rgba(255,255,255,.08); margin: 6px 0 4px; }

/* --- Lignes de specs : libellÃ© + valeur qui tient sur une seule ligne --- */
.gp-list{ list-style:none; margin:0; padding: 0 18px 12px; color:#d2d2db; }
.gp-row{
  display:flex; gap:8px; align-items:baseline;
  padding:10px 0; border-bottom:1px dashed rgba(255,255,255,.08);
}
.gp-row:last-child{ border-bottom:none; }
.gp-row strong{ color:#f4f4f8; font-weight:700; min-width:100px; }
/* Correction affichage stockage (+ options) */
.gp-row .val {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gp-row .val .option {
  font-size: 11px;
  color: #aaa;
  opacity: 0.8;
  margin-top: 2px;
}

/* garde les check/croix lisibles */
.gp-row .ok{ color:#9cf6b4; font-weight:700; }
.gp-row .no{ color:#ff9b9b; font-weight:700; }

/* Note + pied */
.gp-muted{ font-size:12px; color:#a6a6b5; padding: 2px 18px 0; }
.gp-foot {
  margin-top: auto;
  display: flex;
  justify-content: center;
}
.gp-cta{
  flex:1; text-align:center; text-decoration:none;
  border-radius:14px; padding:12px 14px; font-weight:800; letter-spacing:.2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff; box-shadow: 0 14px 34px rgba(255,59,59,.28);
  transition: transform .15s ease, box-shadow .2s ease;
}
.gp-cta:hover{ transform: translateY(-1px); box-shadow: 0 18px 50px rgba(255,59,59,.38); }

/* --- Pills (barres jeux/versions) --- */
.gp-gamebar{
  display:flex; gap:14px; flex-wrap:wrap; justify-content:center; align-items:center;
  margin:4px auto 16px; padding:10px 12px;
  background:rgba(20,20,28,.6); border:1px solid rgba(255,255,255,.10);
  border-radius:16px; box-shadow:0 12px 28px rgba(0,0,0,.35); width:fit-content;
}
.gp-gamebar.gp-subbar{ margin-top:-4px; }
.gp-pill{
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  color:#fff; padding:10px 14px; border-radius:12px; font-weight:700; cursor:pointer; transition:.2s ease; outline:none;
}
.gp-pill:hover{ background:rgba(255,255,255,.10); }
.gp-pill.is-active{
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color:transparent; box-shadow:0 10px 26px rgba(255,59,59,.32);
}
.gp-pill img{ width:22px; height:22px; border-radius:6px; object-fit:cover; background:rgba(255,255,255,.08); padding:2px; }

/* --- Tabs durée --- */
.gp-tabs{ position:sticky; top:68px; z-index:5; display:flex; gap:12px; justify-content:center; align-items:center; padding:6px 10px; }
.gp-tab{
  border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06);
  color:#fff; padding:10px 16px; border-radius:999px; font-weight:650; cursor:pointer; transition:.2s ease; outline:none;
}
.gp-tab:hover{ background:rgba(255,255,255,.10); }
.gp-tab.is-active{ background:linear-gradient(135deg, var(--primary), var(--primary-2)); border-color:transparent; box-shadow:0 8px 22px rgba(255,59,59,.35); }

/* --- Grille plans --- */
.gp-grid{ display:grid; gap:22px; margin-top:10px; grid-template-columns:repeat(4, minmax(240px,1fr)); }
@media (max-width:1100px){ .gp-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .gp-grid{ grid-template-columns:1fr; } }

.gp-card{
  display:flex; flex-direction:column;
  background:rgba(20,20,28,.92); border:1px solid rgba(255,255,255,.10);
  border-radius:18px; box-shadow:0 14px 30px rgba(0,0,0,.45);
  overflow:visible; transition:transform .22s, box-shadow .22s, border-color .22s;
}
.gp-card:hover{ transform:translateY(-3px); border-color:rgba(255,255,255,.18); box-shadow:0 22px 46px rgba(0,0,0,.55); }
.gp-card__head{ padding:18px 18px 6px; display:flex; align-items:center; gap:12px; }
.gp-card__icon{ width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,.08); padding:5px; object-fit:contain; }
.gp-title{ margin:0; font-size:22px; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }

/* Ruban featured */
.gp-featured{ position:relative; border-color:rgba(125,60,255,.45); box-shadow:0 18px 48px rgba(125,60,255,.28); }
.gp-featured::before{
  content:"Offre préférée des joueurs"; position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:rgba(125,60,255,.18); border:1px solid rgba(125,60,255,.45); color:#e8dcff;
  padding:6px 10px; border-radius:9px; font-size:12px; pointer-events:none;
}

/* === RM NETWORKS — CARTES D'OFFRES === */
.rmnetworks .rm-cards .card {
  display: flex;
  align-items: center;
  flex-direction: row;
  background-color: rgba(30, 30, 40, 0.9);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.rmnetworks .rm-cards .card:hover {
  transform: scale(1.04);
  background-color: rgba(40, 40, 55, 0.95);
}

.rmnetworks .rm-cards .card img {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.rmnetworks .rm-cards .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rmnetworks .rm-cards .card-content h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.rmnetworks .rm-cards .card-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}





/* Affichage conditionnel de la section jeux */
.is-hidden{ display:none; }




/* ===========OFFRES WEB==========*/
/* Grille des offres web */
/* Espacement et lisibilité des cartes Web */

/* Grille web : cartes étirées à la même hauteur */
#web-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: stretch;
}


#web-grid .gp-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;          /* au lieu de center */
  text-align: left;              /* au lieu de center */
  padding: 1.8rem 1.6rem;
  border-radius: 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  min-height: 380px;             /* fixe une hauteur mini pour aligner les boutons */
}

#web-grid .gp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Titre + icône */
#web-grid .gp-card__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* au lieu de center */
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

#web-grid .gp-card__head img {
  width: 30px;
  height: 30px;
  filter: brightness(1.2);
}

/* Prix */
#web-grid .gp-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#web-grid .gp-sep {
  width: 80%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.8rem 0 1rem 0;
}

/* Liste des specs */
#web-grid .gp-list {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0 0 1.4rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;                       /* clé pour que tout s’aligne entre les cartes */
}

#web-grid .gp-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

#web-grid .gp-list li strong {
  color: #fff;
  font-weight: 600;
}

#web-grid .gp-list li span {
  color: #bbb;
}

/* Description */
#web-grid .gp-muted {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #999;
  margin-bottom: 1.2rem;
}

/* Bouton */
#web-grid .gp-cta {
  display: inline-block;
  background: linear-gradient(90deg, #ff4b4b, #ff7c5c);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  transition: opacity 0.25s;
}

#web-grid .gp-cta:hover {
  opacity: 0.9;
}


#web-grid .gp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.06);
}

.gp-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff3d5a, #ff7b7b);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gp-badge--web {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff4b4b, #ff7c5c); /* rouge RM Networks */
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 75, 75, 0.6);
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}


/* ===== Ajustements fins pour les cartes WEB ===== */

/* La grille force les cartes à avoir la même hauteur */
#web-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Carte = colonne flex, tout ce qui est avant le bouton reste groupé */
#web-grid .gp-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  min-height: 420px;               /* ajuste si tu veux plus ou moins haut */
}

/* Titre + icône : même “bloc” de hauteur pour toutes les cartes */
#web-grid .gp-card__head {
  height: 90px;                   /* au lieu de min-height */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

#web-grid .gp-card__head img {
  width: 30px;
  height: 30px;
}

/* Titre un peu plus propre */
#web-grid .gp-card__head .gp-title,
#web-grid .gp-card h3.gp-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}


/* Liste CPU / RAM / etc. normale (plus de flex:1 ici) */
#web-grid .gp-list {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0 0 1rem 0;
}

/* C’est la description qui pousse le bouton vers le bas */
#web-grid .gp-muted {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #999;
  margin-bottom: 1.2rem;
  margin-top: auto;                /* pousse tout ce qu’il y a après (le bouton) */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
}

/* Bouton calé en bas et centré */
#web-grid .gp-foot {
  margin-top: 0;
}

#web-grid .gp-cta {
  display: block;
  width: 100%;
  text-align: center;
}

/* Bloc PRIX : même hauteur partout */
#web-grid .gp-price {
  font-size: 1.8rem;     /* était ~1.5 → un peu plus gros */
  font-weight: 700;
  height: 48px;          /* un poil plus grand pour garder l’alignement */
  display: flex;
  align-items: flex-end;
}

#web-grid .gp-price small {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-left: 0.25rem;
}

/* On remet un petit espace fixe avant le séparateur */
#web-grid .gp-sep {
  width: 80%;
  margin: 0.8rem auto 1rem auto;
}

#web-grid .gp-title small {
  display: block;        /* force une nouvelle ligne */
  margin-top: 2px;
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.8;
}

/* Rend les sous-titres entre parenthèses plus petits et italic */
#web-grid .gp-card__head .gp-title span.subtitle {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.8;
}


/* Désactive le badge violet "Offre préférée des joueurs" uniquement pour les offres Web */
#web-plans .gp-featured::before,
#web-plans .gp-featured::after {
  display: none !important;
  content: none !important;
}


.web-options {
  text-align: center;
}

.web-options h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.web-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.opt-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1rem;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.opt-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.opt-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #fff;
}

.opt-card p {
  font-size: 0.9rem;
  color: #ccc;
}



/* RM TECH CARE TEMP EN DEVELOPEMENT */
.coming-soon img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}





/* Style commun à tous les badges (jeux + web) */
.gp-badge,
.gp-badge--web {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 12px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

/* Badge "jeux" – violet foncé */
.gp-featured::before {
  content: "Offre préférée des joueurs";
  background: linear-gradient(135deg, #6a4fff, #9a7bff);
  color: #fff;
}

/* Badge "web" – violet clair RMTG */
#web-plans .gp-badge--web {
  background: linear-gradient(135deg, #8e63ff, #b894ff);
  color: #fff;
}

.contact-page {
  position: relative;
  margin-top: 20px; /* même valeur que about pour être cohérent */
  padding: 2rem 1.5rem 3rem;
  box-sizing: border-box;
}

.contact-page__overlay {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-page__container {
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 20, 0.60); /* semi transparent pour voir le fond animé */
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Titre / intro */
.contact-hero {
  text-align: left;
  margin-bottom: 2rem;
}

.contact-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
}

.contact-hero p {
  max-width: 700px;
  margin: 0;
  opacity: 0.85;
}

/* Grille principale */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Cards */
.contact-card {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.contact-card--info {
  font-size: 0.95rem;
}

.contact-tagline {
  margin-top: 0;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

/* Alertes */
.contact-alert {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.contact-alert--error {
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.5);
}

.contact-alert--success {
  background: rgba(90, 200, 140, 0.12);
  border: 1px solid rgba(90, 200, 140, 0.5);
}

.contact-alert ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* Formulaire */
.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 20, 0.8);
  color: #fff;
  padding: 0.55rem 0.7rem;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  background: rgba(10, 10, 26, 0.95);
}

.contact-form textarea {
  min-height: 150px;
}

/* Bouton principal – utilise ta classe .btn / .btn-primary si tu en as déjà une */
.btn.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  background: linear-gradient(135deg, #ff295c, #7c3aed);
  color: #fff;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.btn.btn-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* Texte RGPD */
.contact-privacy {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.7;
  line-height: 1.4;
}

.contact-privacy a {
  text-decoration: underline;
}

/* Infos colonne droite */
.contact-info-block {
  margin-bottom: 1.4rem;
}

.contact-info-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.contact-info-block ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.contact-info-block li {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.4rem;
}

.contact-info-block li span {
  font-size: 0.8rem;
  opacity: 0.7;
}

.contact-info-block a {
  color: inherit;
  text-decoration: none;
}

.contact-info-block a:hover {
  text-decoration: underline;
}

/* Tags services */
.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.contact-tags li {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

/* Bloc carte / texte */
.contact-map {
  margin-top: 2rem;
}

.contact-card--map p {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-page__container {
    padding: 1.7rem 1.3rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-page {
    padding-top: 6rem;
  }
}

/*footer commun */
.footer {
  background: transparent;
  padding: 24px 0 16px;
  margin-top: 40px;
  color: #ccc;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-copy {
  margin: 0;
  opacity: 0.7;
  font-size: 12px;
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 0 12px;
  }
}

/* Page de connexion */
.auth-page {
  max-width: 100%;
  padding-top: 3rem;
  padding-bottom: 0.5rem; /* avant 4rem */
}

.auth-page .section-title,
.auth-page .section-intro {
  text-align: center;
}

.auth-page .section-intro {
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  color: #d0d0d0;
}


.auth-page .form-errors {
  max-width: 520px;               /* même largeur que la carte */
  margin: 0 auto 20px auto;       /* centre l’erreur */
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 80, 120, 0.12);
  border: 1px solid rgba(255, 80, 120, 0.6);
  color: #ffd6de;
  list-style: none;
}

.auth-page .form-errors ul {
  margin: 0;
  padding-left: 18px;
}

.auth-page .form-errors li {
  font-size: 0.95rem;
}

/* Card de login */
.auth-form {
  max-width: 480px;              /* réduit la largeur */
  margin: 0 auto;                /* centre */
  margin-bottom: 0.5rem; /* évite un gros trou avant le footer */
  padding: 2rem 2.5rem 1.2rem;
  background: rgba(10, 10, 20, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Espacement des lignes */
.auth-form .form-row {
  margin-bottom: 1.3rem;
}

/* Labels */
.auth-form label {
  text-align: center;
  font-size: 1.2rem;
  width: 100%;
  display: block;
}

/* Inputs */
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 15, 0.9);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-form input[type="email"]::placeholder,
.auth-form input[type="password"]::placeholder {
  color: #777;
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
  border-color: #ff4f5a;
  box-shadow: 0 0 0 1px rgba(255, 79, 90, 0.5);
  background: rgba(10, 10, 25, 0.95);
}

/* Boutons */
.auth-form .form-actions {
  display: flex;
  flex-direction: column;      /* empile les boutons */
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
/* Bouton principal */
.auth-form .btn-primary {
  min-width: 190px;
  padding: 0.75rem 2.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ff4f5a, #ff7a4f);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(255, 79, 90, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-form .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 79, 90, 0.55);
  background: linear-gradient(135deg, #ff5f68, #ff8a5c);
}

.auth-form .btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(255, 79, 90, 0.4);
}

/* Bouton secondaire */
.auth-form .btn-secondary {
  min-width: 190px;
  padding: 0.7rem 2.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.auth-form .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.auth-form .btn-secondary:active {
  transform: translateY(1px);
}

.auth-form .form-actions .btn {
  flex: 1;
}

/* Lien "mot de passe oublié" */
.auth-form .forgot-row {
  margin-top: 0.6rem;
  margin-bottom: 0.2rem; /* avant rien → ça gardait un trou */
  text-align: right;
}

.auth-form .forgot-link {
  font-size: 0.8rem;
  color: #cccccc;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.auth-form .forgot-link:hover {
  color: #ffffff;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;

  /* Effet glow propre et visible */
  background: linear-gradient(90deg, #ff4f5a, #ff7a4f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 18px rgba(255, 80, 90, 0.35);
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Un peu de responsive */
@media (max-width: 640px) {
  .auth-form {
    padding: 1.6rem 1.4rem;
    max-width: 100%;
    border-radius: 20px;
    padding-top: 1.8rem;
  }

  .auth-page {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
}





/* Layout global de la page "mot de passe oublié" */
.forgotpw-main {
  min-height: calc(100vh - 80px);     /* laisse la place au header */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 40px;
}

.forgotpw-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

/* Titre + sous-titre */
.forgotpw-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  -webkit-background-clip: text;
  color: transparent;
}

.forgotpw-subtitle {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
}

/* Carte formulaire */
.forgotpw-card {
  margin: 0 auto;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), rgba(10, 10, 20, 0.98));
  border-radius: 22px;
  padding: 36px 34px 32px;
  padding-bottom: 14px; /* au lieu de 32 ou 26 */
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- STYLE INPUTS MOT DE PASSE OUBLIÉ --- */
.forgotpw-card .form-row input {
  width: 100%;
  height: 42px;                         /* hauteur clean */
  border-radius: 999px;                 /* arrondi complet */
  border: 2px solid rgba(255, 80, 110, 0.55);  /* contour rouge */
  background: #0c0c15;                  /* fond sombre stable */
  color: #fff;

  text-align: center;                   /* texte centré */

  font-size: 0.95rem;
  padding: 0 14px;

  transition: all 0.2s ease;
}

/* Hover */
.forgotpw-card .form-row input:hover {
  border-color: rgba(255, 80, 110, 0.75);
}

/* Focus */
.forgotpw-card .form-row input:focus {
  border-color: #ff506e;
  background: #10101c;
  box-shadow: 0 0 8px rgba(255, 80, 110, 0.35);
  outline: none;
}

.forgotpw-card .form-row {
  margin-bottom: 18px; /* augmente l'espacement vertical */
}


/* Force le style pilule sur les inputs "mot de passe oublié" */
.forgotpw-card .form-row input[type="text"],
.forgotpw-card .form-row input[type="email"] {
  height: 42px;
  border-radius: 999px !important;   /* on force l'arrondi max */
  border-width: 2px;
  border-style: solid;
  border-color: rgba(255, 80, 110, 0.7);
  background: #0c0c15;
  color: #fff;
  text-align: center;
  padding: 0 16px;
}

/* Focus clean */
.forgotpw-card .form-row input[type="text"]:focus,
.forgotpw-card .form-row input[type="email"]:focus {
  border-color: #ff506e;
  background: #10101c;
  box-shadow: 0 0 8px rgba(255, 80, 110, 0.35);
  outline: none;
}


/* ============================
   Boutons page "Mot de passe oublié"
   ============================ */

.forgotpw-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center; /* centre les boutons */
}

/* Style commun aux deux boutons */
.forgotpw-actions .btn {
  /* largeur maîtrisée */
  width: 70%;
  max-width: 260px;
  min-width: 200px;

  border-radius: 999px !important; /* pill */
  padding: 11px 26px !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-align: center;
  text-transform: none !important;
  letter-spacing: 0.01em;

  border: none;
  cursor: pointer;
  text-decoration: none;

  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

/* Bouton principal (Envoyer le lien) */
.forgotpw-actions .btn-primary {
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(255, 80, 120, 0.55);
}

.forgotpw-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 80, 120, 0.65);
  opacity: 0.96;
}

.forgotpw-actions .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(255, 80, 120, 0.45);
}

/* Bouton secondaire (Retour à la connexion) */
.forgotpw-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.forgotpw-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.forgotpw-actions .btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

/* Alertes */
.forgotpw-alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  text-align: left;
}

.forgotpw-alert ul {
  margin: 0;
  padding-left: 18px;
}

.forgotpw-alert li {
  margin-bottom: 4px;
}

.forgotpw-alert-success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.6);
  color: #c8f7dc;
}

.forgotpw-alert-error {
  background: rgba(255, 80, 120, 0.12);
  border: 1px solid rgba(255, 80, 120, 0.6);
  color: #ffd6de;
}

/* Responsive */
@media (max-width: 600px) {
  .forgotpw-main {
    padding-top: 70px;
  }

  .forgotpw-card {
    padding: 20px 16px 18px;
  }

  .forgotpw-title {
    font-size: 2rem;
  }
}

/* ============================
   Layout global page reset password
   ============================ */

.resetpw-main {
  min-height: calc(100vh - 80px); /* laisse la place au header */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 40px;
}

.resetpw-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================
   Carte
   ============================ */

.resetpw-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), rgba(10, 10, 20, 0.98));
  border-radius: 22px;
  padding: 28px 26px 22px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.resetpw-card--success {
  background: radial-gradient(circle at top, rgba(255, 60, 100, 0.15), rgba(10, 10, 20, 0.98));
}

/* ============================
   Titre / sous-titre
   ============================ */

.resetpw-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  -webkit-background-clip: text;
  color: transparent;
}

.resetpw-subtitle {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
  text-align: center;
}

/* ============================
   Formulaire
   ============================ */

.resetpw-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.resetpw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.resetpw-field label {
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.resetpw-help {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Inputs pilule rouge (comme mot de passe oublié) */
.resetpw-field input[type="password"] {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(255, 80, 110, 0.55);
  background: #0c0c15;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  padding: 0 16px;
  transition: all 0.2s ease;
}

.resetpw-field input[type="password"]:focus {
  border-color: #ff506e;
  background: #10101c;
  box-shadow: 0 0 8px rgba(255, 80, 110, 0.35);
  outline: none;
}

/* ============================
   Alertes
   ============================ */

.resetpw-alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.resetpw-alert ul {
  margin: 0;
  padding-left: 18px;
}

.resetpw-alert-error {
  background: rgba(255, 80, 120, 0.12);
  border: 1px solid rgba(255, 80, 120, 0.6);
  color: #ffd6de;
}

/* ============================
   Boutons (même style que mot de passe oublié)
   ============================ */

.resetpw-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.resetpw-btn {
  width: 70%;
  max-width: 260px;
  min-width: 200px;

  border-radius: 999px;
  padding: 11px 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;

  border: none;
  cursor: pointer;
  text-decoration: none;

  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

/* Valider */
.resetpw-btn-primary {
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 80, 120, 0.55);
}

.resetpw-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 80, 120, 0.65);
  opacity: 0.96;
}

.resetpw-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(255, 80, 120, 0.45);
}

/* Annuler */
.resetpw-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.resetpw-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.resetpw-btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}


/* ============================
   Page LOGOUT
   ============================ */

.logout-main {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  padding: 80px 16px 40px;
}

.logout-wrapper {
  width: 100%;
  max-width: 650px;
  text-align: center;
  margin: 0 auto;
}

.logout-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 22px;

  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  -webkit-background-clip: text;
  color: transparent;
}

.logout-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), rgba(10, 10, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  padding: 26px 24px 22px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
}

.logout-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

/* Boutons */
.logout-actions {
  display: flex;
  justify-content: center;
}

.logout-btn {
  width: 70%;
  max-width: 260px;
  min-width: 200px;

  border-radius: 999px;
  padding: 11px 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;

  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.logout-btn-primary {
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 80, 120, 0.55);
}

.logout-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 80, 120, 0.65);
  opacity: 0.96;
}

.logout-gif {
    width: 180px;      /* ajuste comme tu veux */
    height: auto;      /* garde les proportions */
    display: block;
    margin: 0 auto 20px;   /* centré + petit espace en bas */
}




/* ============================
   Page REGISTER
   ============================ */

.register-main {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  padding: 80px 16px 40px;
}

.register-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

/* Titre / sous-titre */
.register-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  -webkit-background-clip: text;
  color: transparent;
}

.register-subtitle {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
}

/* Carte formulaire */
.register-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), rgba(10, 10, 20, 0.98));
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Champs */
.register-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.register-field label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.register-help {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
}

/* Inputs pilule rouge (cohérent forgot/reset) */
.register-field input {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.12); /* bord gris discret */
  background: #0c0c15;
  color: #fff;
  font-size: 0.95rem;
  padding: 0 16px;
  text-align: center;
  transition: all 0.2s ease;
}

/* Bord rouge SEULEMENT en focus */
.register-field input:focus {
  border-color: #ff506e;
  box-shadow: 0 0 8px rgba(255, 80, 110, 0.35);
  background: #10101c;
  outline: none;
}

/* Alertes */
.register-alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  text-align: left;
}

.register-alert ul {
  margin: 0;
  padding-left: 18px;
}

.register-alert-error {
  background: rgba(255, 80, 120, 0.12);
  border: 1px solid rgba(255, 80, 120, 0.6);
  color: #ffd6de;
}

/* Boutons */
.register-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.register-btn {
  width: 70%;
  max-width: 260px;
  min-width: 200px;

  border-radius: 999px;
  padding: 11px 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;

  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

/* Créer mon compte */
.register-btn-primary {
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 80, 120, 0.55);
}

.register-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 80, 120, 0.65);
  opacity: 0.96;
}

/* J’ai déjà un compte */
.register-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.register-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* Responsive */
@media (max-width: 600px) {
  .register-main {
    padding-top: 70px;
  }

  .register-card {
    padding: 22px 16px 18px;
  }

  .register-title {
    font-size: 2rem;
  }
}




/* ============================
   Responsive
   ============================ */

@media (max-width: 600px) {
  .resetpw-main {
    padding-top: 70px;
  }

  .resetpw-card {
    padding: 22px 16px 18px;
  }

  .resetpw-title {
    font-size: 1.9rem;
  }
}


/* ============================
   Page "Compte créé" (register_done)
   ============================ */

.registerdone-main {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  padding: 80px 16px 40px;
}

.registerdone-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.registerdone-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  -webkit-background-clip: text;
  color: transparent;
}

.registerdone-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), rgba(10, 10, 20, 0.98));
  border-radius: 22px;
  padding: 26px 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.registerdone-text {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}

/* Boutons */
.registerdone-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.registerdone-btn {
  width: 70%;
  max-width: 260px;
  min-width: 200px;

  border-radius: 999px;
  padding: 11px 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;

  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

/* Retour à l’accueil */
.registerdone-btn-primary {
  background: linear-gradient(90deg, #ff6b6b, #ff4a7a);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 80, 120, 0.55);
}

.registerdone-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 80, 120, 0.65);
  opacity: 0.96;
}

/* Aller à la connexion */
.registerdone-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.registerdone-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* Responsive */
@media (max-width: 600px) {
  .registerdone-main {
    padding-top: 70px;
  }

  .registerdone-card {
    padding: 22px 16px 20px;
  }

  .registerdone-title {
    font-size: 2rem;
  }
}



/* ===========================
   PAGE QUI SOMMES-NOUS
   =========================== */

.about-page {
  position: relative;
  /* on décale tout le main sous le header fixe */
  margin-top: 30px; /* adapte à la hauteur de ton header si besoin */
  padding: 2rem 1.5rem 3rem;
  box-sizing: border-box;
}

.about-page__overlay {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-page__container {
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 20, 0.60);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* HERO */

.about-hero {
  margin-bottom: 2rem;
}

.about-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.75rem;
}

.about-hero-text {
  max-width: 740px;
  margin: 0;
  opacity: 0.9;
}

/* GRID PRINCIPALE */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.about-card {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.about-card h2 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: 1.4rem;
}

.about-card--main p {
  margin-top: 0;
}

.about-card--main p + p {
  margin-top: 0.6rem;
}

.about-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.about-list li {
  margin-bottom: 0.4rem;
}

/* COLONNE DROITE */

.about-card--side {
  font-size: 0.95rem;
}

.about-info-block {
  margin-bottom: 1.4rem;
}

.about-info-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.about-info-block p {
  margin: 0;
}

.about-info-block ul {
  margin: 0;
  padding-left: 1.2rem;
}

.about-info-block li {
  margin-bottom: 0.35rem;
}

/* SECTIONS GENERIQUES */

.about-section {
  margin-top: 2rem;
}

.about-section h2 {
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

/* APPROCHE / PILIERS */

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-pillar {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.about-pillar h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

/* STATS / REPÈRES */

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.about-stat {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.about-stat-number {
  margin: 0 0 0.4rem;
  font-weight: 500;
}

.about-stat-label {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* CTA FINAL */

.about-section--cta {
  margin-top: 2.5rem;
}

.about-card--cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.about-card--cta h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.about-card--cta p {
  margin: 0;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* On réutilise le style de bouton principal de la page contact */
.btn.btn-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  background: linear-gradient(135deg, #ff295c, #7c3aed);
  color: #fff;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.btn.btn-about:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* Formulaire d'inscription / login plus compact et centré */
.form-card--auth {
  max-width: 480px;
  margin: 0 auto 40px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
}

/* Labels un peu plus clairs et resserrés */
.form-card--auth .form-row label {
  font-weight: 500;
  font-size: 14px;
  color: #e2e2f0;
  margin-bottom: 6px;
}

/* Inputs plus lisibles */
.form-card--auth .form-row input[type="text"],
.form-card--auth .form-row input[type="email"],
.form-card--auth .form-row input[type="password"] {
  background: #0f0f18;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Focus effet rouge RMTG */
.form-card--auth .form-row input:focus {
  border-color: #ff4d4d;
  box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.4);
}

/* Boutons du form d'auth alignés propre */
.form-card--auth .form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.form-card--auth .form-actions .btn {
  flex: 1;
  text-align: center;
}

/* Carte de validation de compte (verify.php) */
.verify-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 220px); /* grosso modo header + footer */
}

.verify-card {
  background: radial-gradient(circle at top, #1f1a2e 0, #151521 45%, #101018 100%);
  border-radius: 18px;
  padding: 40px 32px 32px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.verify-icon img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.verify-title {
  font-size: 26px;
  margin: 0 0 10px;
  color: #ffffff;
}

.verify-text {
  margin: 0 0 10px;
  color: #dcdcef;
  font-size: 15px;
}

.verify-subtext {
  margin: 0 0 24px;
  color: #9a9ab8;
  font-size: 13px;
}

.verify-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.verify-actions .btn {
  min-width: 160px;
  text-align: center;
}
/* Wrapper de table admin */
.table-wrapper {
  margin-top: 24px;
  overflow-x: auto;
}

/* Table users */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #14141f;
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
}

.table thead {
  background: linear-gradient(90deg, #221b3a, #1b1b29);
}

.table th,
.table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table th {
  font-weight: 600;
  color: #f0f0ff;
  white-space: nowrap;
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.01);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

/* Abonnement */
.badge-sub {
  background: rgba(255, 77, 77, 0.08);
  color: #ff8a8a;
  border: 1px solid rgba(255, 77, 77, 0.4);
}

/* Statut */
.badge-status {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
}

.badge-status--active {
  background: rgba(46, 213, 115, 0.12);
  color: #46e18b;
  border: 1px solid rgba(46, 213, 115, 0.5);
}

.badge-status--pending {
  background: rgba(255, 193, 7, 0.12);
  color: #ffcf66;
  border: 1px solid rgba(255, 193, 7, 0.5);
}

.badge-status--disabled {
  background: rgba(220, 53, 69, 0.12);
  color: #ff7a85;
  border: 1px solid rgba(220, 53, 69, 0.5);
}

.badge-status--other {
  background: rgba(108, 117, 125, 0.12);
  color: #ced4da;
  border: 1px solid rgba(108, 117, 125, 0.5);
}

/* Rôle */
.badge-role {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4ff;
  border: 1px solid rgba(129, 140, 248, 0.4);
}

/* Actions de la table */
.table-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.table-actions form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-actions__password .input-inline {
  background: #0f0f18;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 8px;
  font-size: 11px;
  color: #e2e2f5;
}

/* Petits boutons */
.btn-small {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

/* Variantes */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e5e5f7;
}

.btn-outline:hover {
  border-color: #ffffff;
}

.btn-danger {
  background: #dc3545;
  color: #fff;
}

.btn-danger:hover {
  background: #e55363;
}

/* Sous-nav admin */
.admin-subnav {
  display: flex;
  gap: 12px;
  margin: 10px 0 24px;
}

.admin-subnav-link {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e2ff;
  text-decoration: none;
  background: rgba(10, 10, 20, 0.9);
}

.admin-subnav-link--active {
  border-color: #ff4d4d;
  background: radial-gradient(circle at top, #ff4d4d 0, #7b1d2b 40%, #101018 80%);
}

/* Cartes dashboard */
.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-card {
  background: radial-gradient(circle at top, #1f1a2e 0, #151521 45%, #101018 100%);
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.admin-card--wide {
  grid-column: span 2;
}

.admin-card h2 {
  font-size: 14px;
  margin: 0 0 6px;
  color: #b3b3ff;
}

.admin-card-number {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #ffffff;
}

.admin-card-meta {
  font-size: 12px;
  color: #8b8ba8;
}

/* Sections admin */
.admin-section {
  margin-top: 24px;
}

.admin-section-title {
  font-size: 16px;
  margin-bottom: 12px;
}

/* Search admin utilisateurs */
.admin-search {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-search-input {
  flex: 1;
  background: #0f0f18;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  font-size: 13px;
  color: #e0e0ff;
}

/* Lien sur le nom utilisateur */
.admin-user-link {
  color: #ff8a8a;
  text-decoration: none;
}

.admin-user-link:hover {
  text-decoration: underline;
}

/* Pagination admin */
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
}

.admin-page-link {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  color: #e5e5ff;
}

.admin-page-link:hover {
  border-color: #ffffff;
}

.admin-page-info {
  color: #a5a5c0;
}



/* ===== Layout global home ===== */

.home-landing {
  padding-bottom: 4rem;
}

.home-section {
  padding-block: 3rem;
}

.home-section-title {
  font-size: 1.9rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1.3rem;
  color: #f9fafb;
}

.home-section-intro {
  max-width: 720px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: #9ca3af;
  font-size: 0.97rem;
}

/* Centre le contenu des cards de la section "Exemples de projets accompagnés" */
.home-section .home-card h3,
.home-section .home-card p {
  text-align: center;
}
.home-grid-3 .home-card {
  text-align: center;
}



/* ===== Hero ===== */

.home-hero {
  display: flex;
  gap: 2.5rem;
  padding-block: 3.2rem;
  align-items: flex-start;
}

.home-hero-left {
  flex: 1.4;
}

.home-hero-card {
  flex: 1;
  background: radial-gradient(circle at top left, #171827, #050814);
  border-radius: 24px;
  padding: 1.7rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Titre hero */

.home-hero-title {
  margin: 0 0 1.3rem 0;
}

.home-hero-kicker {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.45rem;
}

.home-hero-main {
  display: block;
  font-size: clamp(2.1rem, 2.3vw + 1.1rem, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  color: #ff4b4b;
}

/* Texte hero */

.home-hero-lead {
  max-width: 580px;
  font-size: 0.98rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

/* Pills */

.home-pill-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.home-pill {
  font-size: 0.82rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* Actions + note */

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.home-hero-note {
  font-size: 0.86rem;
  color: #9ca3af;
}

.home-hero-note a {
  color: #ff4b4b;
  text-decoration: none;
}

.home-hero-note a:hover {
  text-decoration: underline;
}

/* Carte hero droite */

.home-hero-card-title {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #f9fafb;
}

.home-hero-card-text {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.home-hero-stats {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  gap: 0.8rem;
}

.home-hero-stats li {
  flex: 1;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 0.6rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-align: center;
}

.home-hero-stats span {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f9fafb;
}

.home-hero-stats small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: #9ca3af;
}

/* ===== Grid / cards ===== */

.home-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.home-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.home-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #f9fafb;
}

.home-card p {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* ===== Split RM Networks / RM TechCare ===== */

.home-section-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.home-split-block {
  background: rgba(10, 16, 30, 0.96);
  border-radius: 20px;
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}

.home-section-title-small {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.home-section-intro-small {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.home-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.home-feature-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.home-feature-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #ff4b4b;
}

.home-link-more {
  font-size: 0.88rem;
  color: #ff7979;
  text-decoration: none;
}

.home-link-more:hover {
  text-decoration: underline;
}

/* ===== Process ===== */

.home-process {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-process-step {
  display: flex;
  gap: 0.9rem;
  align-items: center !important;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.home-process-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ff4b4b;
  color: #050816;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0; /* reset éventuel */
}

.home-process-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: #f9fafb;
}

.home-process-step p {
  font-size: 0.88rem;
  color: #9ca3af;
}

/* ===== FAQ ===== */

.home-faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.home-faq-item {
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0.2rem 0.9rem;
}

.home-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.6rem 0.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #f9fafb;
}

.home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-item[open] summary {
  color: #ff7979;
}

.home-faq-item p {
  margin: 0 0 0.7rem 0;
  padding: 0 0.1rem 0.5rem 0.1rem;
  font-size: 0.88rem;
  color: #9ca3af;
}

/* ===== CTA ===== */

.home-cta {
  padding-block: 3.2rem 3.8rem;
}

.home-cta-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  background: radial-gradient(circle at top, #111827, #020617);
  border-radius: 26px;
  padding: 2.1rem 1.9rem;
  border: 1px solid rgba(248, 250, 252, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.home-cta-inner p {
  font-size: 0.94rem;
  color: #9ca3af;
  margin-bottom: 1.4rem;
}

/* Centre les boutons dans la section CTA finale */
.home-cta .home-hero-actions {
  justify-content: center !important;
  text-align: center;
  width: 100%;
}


/* ===== Responsive ===== */

@media (max-width: 960px) {
  .home-hero {
    flex-direction: column;
  }

  .home-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-section-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding-block: 2.4rem;
  }

  .home-section {
    padding-block: 2.4rem;
  }

  .home-grid-3 {
    grid-template-columns: 1fr;
  }

  .home-cta-inner {
    padding-inline: 1.4rem;
  }
}


/* ===== Page Support / Messagerie ===== */

.support-page {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* Titre + intro */

.support-header {
  margin-bottom: 1.8rem;
}

.support-title {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 0.4rem;
  color: #ff6a6a;
}

.support-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #b3b3c7;
  max-width: 640px;
}

/* Layout global */

.support-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Sidebar */

.support-sidebar {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem;
  background: rgba(10, 10, 20, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
}

.support-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.support-sidebar-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.support-sidebar-count {
  font-size: 0.75rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c8c8dd;
}

/* Liste des threads */

.support-thread-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.support-thread-list::-webkit-scrollbar {
  width: 6px;
}

.support-thread-list::-webkit-scrollbar-track {
  background: transparent;
}

.support-thread-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.support-thread-item {
  margin-bottom: 0.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.01);
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}

.support-thread-item:last-child {
  margin-bottom: 0.5rem;
}

.support-thread-item--active {
  background: radial-gradient(circle at top left, rgba(255, 106, 106, 0.16), rgba(10, 10, 20, 0.9));
  border-color: rgba(255, 106, 106, 0.6);
}

.support-thread-link {
  display: block;
  padding: 0.5rem 0.6rem;
  text-decoration: none;
  color: inherit;
}

.support-thread-item:hover:not(.support-thread-item--active) {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.support-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.support-thread-title {
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-thread-meta {
  font-size: 0.7rem;
  color: #9a9ab6;
}

/* Statuts */

.support-status {
  font-size: 0.7rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.support-status--open {
  background: rgba(61, 201, 112, 0.12);
  color: #5ae18f;
}

.support-status--closed {
  background: rgba(255, 106, 106, 0.12);
  color: #ff9b9b;
}

/* Nouveau thread */

.support-new-thread {
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.support-new-thread-label {
  font-size: 0.78rem;
  color: #c0c0d5;
}

.support-new-thread-input {
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.55rem;
  font-size: 0.8rem;
  background: rgba(5, 5, 15, 0.9);
  color: #f5f5ff;
}

.support-new-thread-input::placeholder {
  color: #767699;
}

.support-new-thread-input:focus {
  outline: none;
  border-color: rgba(255, 106, 106, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 106, 106, 0.25);
}

.support-new-thread-btn {
  margin-top: 0.25rem;
  align-self: flex-start;
}

/* Empty state sidebar / chat */

.support-empty-state {
  font-size: 0.8rem;
  color: #b3b3c7;
  padding: 0.6rem 0;
}

/* Zone principale */

.support-main {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem;
  background: rgba(10, 10, 20, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
}

.support-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  color: #b3b3c7;
}

/* Thread courant */

.support-thread-current {
  margin-bottom: 0.8rem;
}

.support-thread-current-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.support-thread-current-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.support-thread-current-meta {
  margin: 0;
  font-size: 0.75rem;
  color: #8f8fb0;
}

/* Zone messages */

.chat-wrapper {
  flex: 1;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(255, 106, 106, 0.06), rgba(8, 8, 18, 0.95));
  padding: 0.6rem 0.7rem;
  overflow-y: auto;
  max-height: 420px;
  scrollbar-width: thin;
}

.chat-wrapper::-webkit-scrollbar {
  width: 6px;
}

.chat-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

/* Messages */

.chat-message {
  max-width: 80%;
  margin-bottom: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  font-size: 0.82rem;
}

.chat-message--admin {
  background: rgba(22, 24, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-right: auto;
}

.chat-message--me {
  background: linear-gradient(135deg, #ff6a6a, #ff9b6a);
  color: #1b1b25;
  margin-left: auto;
  text-align: left;
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
  font-size: 0.7rem;
}

.chat-sender {
  font-weight: 600;
}

.chat-date {
  opacity: 0.8;
}

.chat-body {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Formulaire d’envoi */

.chat-form {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.chat-label {
  font-size: 0.78rem;
  color: #c0c0d5;
}

.chat-input {
  width: 100%;
  min-height: 70px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.45rem 0.55rem;
  font-size: 0.82rem;
  background: rgba(5, 5, 15, 0.96);
  color: #f5f5ff;
  resize: vertical;
}

.chat-input::placeholder {
  color: #7777a0;
}

.chat-input:focus {
  outline: none;
  border-color: rgba(255, 106, 106, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 106, 106, 0.35);
}

.chat-actions {
  display: flex;
  justify-content: flex-end;
}

/* Info conversation close */

.support-closed-info {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #ff9b9b;
  background: rgba(255, 106, 106, 0.07);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
}

/* Responsive */

@media (max-width: 900px) {
  .support-layout {
    grid-template-columns: 1fr;
  }

  .support-thread-list {
    max-height: 260px;
  }

  .chat-wrapper {
    max-height: 360px;
  }

  .chat-message {
    max-width: 100%;
  }
}








/* RESPONSIVE *//* RESPONSIVE *//* RESPONSIVE */
/* RESPONSIVE *//* RESPONSIVE *//* RESPONSIVE */
/* RESPONSIVE *//* RESPONSIVE *//* RESPONSIVE */
/* RESPONSIVE *//* RESPONSIVE *//* RESPONSIVE */
@media (max-width: 900px) {
  .about-page__container {
    padding: 1.7rem 1.3rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-card--cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-page {
    padding-top: 6rem;
  }
}


/* Honeypot (masquÃ© visuellement, accessible aux bots) */
.hp{ position:absolute; left:-50000px; width:1px; height:1px; }

/* Carte contact spÃ©cifique */
.contact-card{ align-self:start; }

/* Responsive */
@media (max-width: 980px){
  .quote-grid{ grid-template-columns: 1fr; }
}

/* CANVAS FOND */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 100%, rgba(40,40,60,0.5), rgba(10,10,20,0.9));
}

/*Account - Chat */
/* Grille compte client */
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* Chat support */
.chat-wrapper {
  max-height: 400px;
  overflow-y: auto;
  margin: 10px 0 16px;
  padding-right: 4px;
}

.chat-message {
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.chat-message--me {
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.3);
}

.chat-message--admin {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #aaa;
  margin-bottom: 3px;
}

.chat-body {
  font-size: 14px;
  color: #e4e4f5;
}

.chat-form {
  margin-top: 10px;
}

.chat-input {
  width: 100%;
  background: #0f0f18;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 10px;
  font-size: 14px;
  color: #fff;
  resize: vertical;
}


/* Responsive */
@media (max-width:980px){
  .hero{ grid-template-columns:1fr; }
  .hero-card{ order:2; }
}
@media (max-width:720px){
  .nav{ gap:8px; }
  .nav-link{ padding:6px 10px; }
  .cards{ grid-template-columns:1fr; }
}

/* NAV DESKTOP (par défaut) */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;   /* 👉 pousse tout le menu à droite */
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 18px 0;
  /* pas besoin de justify-content:space-between si on push la nav avec margin-left:auto */
}

.nav-link,
.nav-cta {
  display: flex;
  align-items: center;
}

/* ========================= */
/* ======= BURGER BTN ====== */
/* ========================= */

.nav-toggle {
  display: none; /* Affiché uniquement en mobile */
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform-origin: center;
  transition: .2s ease;
}

/* Position des 3 barres */
.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -6px);
}
.nav-toggle span:nth-child(2) {
  transform: translate(-50%, 0);
}
.nav-toggle span:nth-child(3) {
  transform: translate(-50%, 6px);
}

/* Animation en croix */
.nav-toggle.is-open span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* ========================= */
/* ===== RESPONSIVE =========*/
/* ========================= */

@media (max-width: 900px) {

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);   /* juste SOUS le bouton burger */
    right: 0;
    width: 50%;
    min-width: 260px;

    padding: 1.1rem 1.3rem;
    background: rgba(10, 10, 20, 0.97);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 40px rgba(0,0,0,0.8);

    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

    display: none;
    z-index: 500;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link,
  .nav-cta,
  .nav-user {
    width: 100%;
  }

  .nav-link {
    padding: 0.35rem 0;
  }
}

/*Bouton deconnexion menu burger */
  .nav-cta {
    margin-top: 0.4rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    justify-content: center;

    background: linear-gradient(135deg, #ff5252, #ff7b4a);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 25px rgba(255, 82, 82, 0.5);
    border: none;
  }

  .nav-cta:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }