/* ========== RESET & FOND ========== */
:root {
  --nb-bg-main: #23134d;
}

.settings-page * {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px; /* base un peu plus grande sur desktop */
}

/* Écrans larges: légère montée de lisibilité */
@media (min-width: 1600px) {
  html { font-size: 18px; }
}

/* Tablette: garder un bon confort de lecture */
@media (max-width: 1024px) {
  html { font-size: 16px; }
}

/* Mobile: on revient à la taille standard */
@media (max-width: 600px) {
  html { font-size: 16px; }
}

body {
  min-height: 100vh;
  background: var(--nb-bg-main);
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #e8eaff;
  overflow-x: hidden; /* 🔒 plus de scroll horizontal */
}


/* ========== HEADER STRUCTURE ========== */
/* ========== HEADER STRUCTURE ========== */
header {
  width: 100%; /* 🔁 100% au lieu de 100vw */
  min-height: 38px;
  background: #3c1b7a;
  box-shadow: 0 2px 24px #18e7ff30, 0 1.5px 9px #9147ff44;
  border-bottom: 2.5px solid #18e7ff48;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.header-inner {
  width: 100%; /* 🔁 100% au lieu de 100vw */
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2em;
  padding-right: 2em;
  position: relative;
}

.logo-zone {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.logo-img {
  height: 24px;
  width: 24px;
}

.logo-nov {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #fff;
  display: flex;
  gap: 0.05em;
}

.logo-nov .nov { color: #b978f7; }
.logo-nov .ia  { color: #18e7ff; }
.logo-nov .bot { color: #b978f7; }


/* ===== TWITCH CENTER (structure seulement) ===== */
.twitch-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.twitch-connect-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  font-weight: 800;
  color: #fff;
  border-radius: .42em;
  padding: .16em 1.2em;
}

.twitch-header-logo {
  height: 24px;
  width: 24px;
  margin-right: 0.05em;
}

.twitch-connect-text {
  opacity: 0;
  max-width: 0;
  white-space: nowrap;
}


/* ========== MENU DROITE ========== */
nav {
  display: flex;
  align-items: center;
  gap: 2em;
  margin-left: auto;
}

.nav-btn {
  border: none;
  background: none;
  color: #e8eaff;
  font-weight: 900;
  font-size: 22px;
  cursor: pointer;
  padding: 0.14em 1.15em;
  letter-spacing: 0.01em;
  text-decoration: none !important;
}


/* ========== MAIN LAYOUT ========== */
main.center-main {
  width: 100%; /* 🔁 100% au lieu de 100vw */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}


/* ========== FOOTER ========== */
footer {
  width: 100%; /* 🔁 100% au lieu de 100vw */
  background: #3c1b7a;
  font-size: 1.04em;
  font-weight: 700;
  color: #e8eaff;
padding: 0.54em 20px 0.41em 20px;
  display: flex;
  align-items: center;
  gap: 2em;
  box-shadow: 0 -2px 24px #18e7ff30, 0 -1.5px 9px #9147ff44;
  border-top: 2.5px solid #18e7ff48;
}

.bot-status-block {
  display: flex;
  align-items: center;
  gap: .28em;
}

.bot-status {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, #1afd57 70%, #119f40 100%);
  box-shadow: 0 0 7px #24ff7c;
}

.bot-status-label {
  color: #1afd57;
  font-weight: 900;
  font-size: 1.01em;
}

.stats {
  display: flex;
  gap: 2.2em;
  align-items: center;
}

.stats-block {
  display: flex;
  align-items: center;
  gap: .45em;
}

.stats-label {
  color: #fff;
  font-weight: 700;
  font-size: 0.97em;
}

.copy-pro {
  margin-left: auto;
  color: #fff;
  font-weight: 700;
  font-size: 1.01em;
  display: flex;
  align-items: center;
  gap: .35em;
}
.copy-pro .heart {
  color: #ff487d;
  font-size: 1.12em;
}
/* ===============================
   FIX CARTES + SCROLL FINAL CLEAN
=============================== */

/* Empêche le double scroll */
html, body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Rétablit le comportement normal du contenu */
main, section, .main-section {
  overflow: visible !important;
  position: relative !important;
}

/* Cartes fixes */
.novia-guide,
.safety-card {
  position: fixed !important;
  top: 80px !important;
  z-index: 50000 !important;
  pointer-events: auto !important;
}

/* Positions latérales */
.novia-guide { left: 30px !important; }
.safety-card { right: 30px !important; }

/* Empêche les blocs pricing de forcer un scroll */
.pricing-wide,
.commit-wide-cols,
.pricing-grid-glass,
.commit-grid-2 {
  overflow: visible !important;
  max-height: unset !important;
}
.novia-guide,
.safety-card {
  display: none !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
/* ========== FOOTER ========== */
footer {
  width: 100%;
  background: #3c1b7a;
  font-size: 1.04em;
  font-weight: 700;
  color: #e8eaff;
  padding: 0.54em 20px 0.41em 20px;
  display: flex;
  align-items: center;
  gap: 2em;
  box-shadow: 0 -2px 24px #18e7ff30, 0 -1.5px 9px #9147ff44;
  border-top: 2.5px solid #18e7ff48;
  overflow: visible !important; /* 🔑 Assurez-vous que cette ligne est présente */
}

.bot-status-block {
  display: flex;
  align-items: center;
  gap: 0.28em;
}

.bot-status {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, #1afd57 70%, #119f40 100%);
  box-shadow: 0 0 7px #24ff7c;
}

.bot-status-label {
  color: #1afd57;
  font-weight: 900;
  font-size: 1.01em;
}

.stats {
  display: flex;
  gap: 2.2em;
  align-items: center;
}

.stats-block {
  display: flex;
  align-items: center;
  gap: 0.45em;
}

.stats-label {
  color: #fff;
  font-weight: 700;
  font-size: 0.97em;
}

.copy-pro {
  margin-left: auto;
  color: #fff;
  font-weight: 700;
  font-size: 1.01em;
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.copy-pro .heart {
  color: #ff487d;
  font-size: 1.12em;
}

/* ========== ICÔNE "i" POUR MENTIONS LÉGALES ========== */
.legal-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px !important;
  height: 22px !important;
  margin-left: 10px;
  cursor: pointer;
  opacity: 0.9;
  vertical-align: middle;
  position: relative;
  z-index: 50;
}

.legal-icon:hover {
  transform: scale(1.12);
  opacity: 1;
}

.legal-svg {
  width: 100%;
  height: 100%;
  stroke: #ffffff !important;
  stroke-width: 2;
  fill: none !important;
}

.legal-circle {
  stroke: #ffffff !important;
}

.legal-line {
  stroke: #ffffff !important;
  stroke-linecap: round;
}

.legal-dot {
  fill: #ffffff !important;
  stroke: none !important;
}
