/* ==========================================================================
   1. POLICES DE CARACTÈRES (Messina Sans) & GLOBAL
   ========================================================================== */

#block-racenutrition-logo {
	margin-left:30px;
}
/* Application globale de la police et fond sombre type FuelRace */
body, html {
  font-family: 'Messina Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  background-color: #12121C !important;
  color: #E2E8F0;
}

/* Surcharges des régions demandées */
.main-content.region--default-background, 
.featured-bottom.region--default-background,
.layout-container {
  background-color: #12121C !important;
}

/* Utilitaires de fond Bootstrap sur-mesure */
.bg-dark {
  background-color: rgb(36 36 55 / 0%) !important;
}

header {
  border-bottom: 0px solid rgba(255, 255, 255, 0.08) !important;
}

.bg-secondary {
  background-color: rgb(23, 23, 32) !important;
}

/* ==========================================================================
   2. TYPOGRAPHIE & GRADIENTS
   ========================================================================== */

h1, h2, h3, h4, h5, h6, .bleu-gradient {
  background: linear-gradient(to left, #d61cff, #00c1cf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-family: 'Messina Sans', sans-serif;
}

/* Correction pour les paragraphes et liens standards */
p, li {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   3. EN-TÊTE & NAVIGATION (Absolute, Transparence et Alignement)
   ========================================================================== */

/* Masque le titre de la page uniquement sur la page d'accueil */
.path-frontpage h1.page-title,
.path-frontpage .page-header {
  display: none !important;
}

/* Positionnement absolu pour laisser monter le Hero dessous */
#header, header, .path-frontpage header.navbar {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  z-index: 1050 !important;
  background-color: transparent !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  padding: 1rem 0 !important;
}

.layout-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Alignement Flexbox Bootstrap pour le conteneur du Header */
#header .container, header .container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 100% !important;
  padding: 0 2rem !important;
}

/* Nettoyage agressif des listes pour alignement horizontal à droite */
#header ul, #header ol, header ul, header nav ul, .path-frontpage header.navbar .nav {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#header li, header li {
  list-style: none !important;
  list-style-image: none !important;
  display: inline-block !important;
  margin-left: 1.5rem !important;
  padding: 0 !important;
  background: none !important;
}

#header li::before, header li::before {
  content: none !important;
  display: none !important;
}

/* Liens du menu */
#header a, header a, #header .nav-link, .path-frontpage header.navbar .nav-link, .path-frontpage header.navbar ul.menu li a {
  color: #FFFFFF !important;
  font-family: 'Messina Sans', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  text-decoration: none !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

#header a:hover, header a:hover, .path-frontpage header.navbar .nav-link:hover {
  color: #00c1cf !important;
}

/* ==========================================================================
   4. BLOC HERO / BANNIÈRE SLOGAN
   ========================================================================== */

.home-hero-banner {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 18, 28, 0.5) 0%, #12121C 100%), 
              url('https://racenutrition.fr//sites/default/files/2026-06/femme-qui-court1900.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  padding: 160px 20px 80px 20px;
  margin-top: 0;
}

.home-hero-banner h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.home-hero-banner .lead {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #E2E8F0;
  font-size: 1.25rem;
}

.btn-gradient-primary {
  background: linear-gradient(to right, #00c1cf, #d61cff);
  color: #FFF !important;
  border: none;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 193, 207, 0.3);
}

/* ==========================================================================
   5. COMPOSANTS LAYOUT BUILDER (3 Piliers & Fonctions)
   ========================================================================== */

.section-features {
  padding: 80px 0;
  background-color: #12121C;
}

/* Alignement flex natif pour harmoniser les hauteurs de colonnes Bootstrap */
.section-features .row, .layout--threecol-section {
  display: flex !important;
  flex-wrap: wrap !important;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: calc(100% - 30px); /* Compense les marges */
  margin: 15px;
  min-height: 325px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.alterne_color
 {
    background: linear-gradient(to left, #d61cff, #00c1cf) !important;

}

.alterne_color:hover
 {
    background: linear-gradient(to left, #d61cff, #00c1cf) !important;

}

.feature-card:hover {
  border-color: rgba(0, 193, 207, 0.5) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card .fs-1 {
  font-size: 2.5rem !important;
  line-height: 1;
}

/* ==========================================================================
   6. COMPOSANT MULTISPORTS & BLOC FOCUS
   ========================================================================== */

.section-focus {
  padding: 80px 0;
  background: radial-gradient(circle at 80% 20%, rgba(214, 28, 255, 0.08), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(0, 193, 207, 0.08), transparent 45%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.focus-box {
  display: block !important;
  background: rgba(18, 18, 28, 0.8);
  border: 1px solid rgba(214, 28, 255, 0.25) !important;
  border-radius: 16px;
  padding: 3rem;
  margin: 40px auto;
  max-width: 960px;
}

/* Badges Disciplines Sportives */
.sport-badge {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sport-badge:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 28, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.sport-icon {
  font-size: 2.2rem;
  line-height: 1.2;
  filter: drop-shadow(0 0 8px rgba(0, 193, 207, 0.2));
}

.sport-badge h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  background: none;
  -webkit-text-fill-color: initial;
}

.text-cyan {
  color: #00c1cf !important;
}

/* ==========================================================================
   7. BAS DE PAGE (Footer)
   ========================================================================== */

footer, .featured-bottom {
  background-color: #0B0B11 !important;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
}


footer .container, .featured-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

footer ul.menu, .featured-bottom ul.menu {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

footer ul.menu li a, .featured-bottom ul.menu li a {
  color: #A0AEC0 !important;
  font-family: 'Messina Sans', sans-serif !important;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem !important;
  text-decoration: none;
}

footer ul.menu li a:hover, .featured-bottom ul.menu li a:hover {
  color: #d61cff !important;
}
/* Style des icônes modernes monochromes SVG */
.sport-icon-modern {
  color: rgba(255, 255, 255, 0.75) !important; /* Couleur monochrome de départ */
  transition: color 0.3s ease, filter 0.3s ease;
  display: inline-block;
}

/* Force le SVG à écouter la couleur parente (currentColor) */
.sport-icon-modern svg {
  fill: currentColor !important;
  transition: transform 0.3s ease;
}

/* Comportement au survol de la carte */
.sport-badge:hover .sport-icon-modern {
  color: #00c1cf !important; /* L'icône passe instantanément en Cyan */
  filter: drop-shadow(0 0 10px rgba(0, 193, 207, 0.4)); /* Effet de lueur technologique */
}

.sport-badge:hover .sport-icon-modern svg {
  transform: scale(1.1); /* Léger effet de zoom dynamique moderne */
}
/* Animation et couleur au survol pour les cartes de caractéristiques */
.feature-card .sport-icon-modern {
  color: rgba(255, 255, 255, 0.6) !important;
  transition: color 0.3s ease, filter 0.3s ease;
}

.feature-card:hover .sport-icon-modern {
  color: #00c1cf !important; /* L'icône passe en cyan électrique au survol */
  filter: drop-shadow(0 0 8px rgba(0, 193, 207, 0.3));
}

.feature-card:hover .sport-icon-modern svg {
  transform: scale(1.05); /* Discret effet d'échelle */
}


#header, header, .path-frontpage header.navbar {
 border-bottom: 0px solid rgba(255, 255, 255, 0.08) !important;
}
footer {
	text-align:center;
}
.my-5
 {
    margin-right: 15px;
    margin-left: 15px;
}
/* ==========================================================================
   STYLISATION AUTOMATIQUE DES PAGES TEXTES CLASSIQUES (DARK THEME)
   ========================================================================== */

/* Titres dans le contenu */
.content-page-card h2, 
.content-page-card h3, 
.content-page-card h4 {
  color: #ffffff !important;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-page-card h2 { font-size: 1.75rem; }
.content-page-card h3 { font-size: 1.4rem; border-left: 3px solid #00c1cf; padding-left: 12px; }

/* Paragraphes et textes */
.content-page-card p {
  color: #a0a0b0 !important; /* Gris doux pour la lisibilité sur fond sombre */
  margin-bottom: 1.25rem;
}

/* Listes à puces (Ul / Li) */
.content-page-card ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.content-page-card li {
  color: #a0a0b0 !important;
  margin-bottom: 0.5rem;
  list-style-type: square; /* Carrés discrets plus techniques que les ronds */
}

/* Liens hypertextes dans le texte */
.content-page-card a {
  color: #00c1cf !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.content-page-card a:hover {
  color: #0072ff !important;
  text-decoration: underline;
}

/* Balises de mise en valeur (Strong / Em) */
.content-page-card strong {
  color: #ffffff !important;
}

.content-page-card em {
  color: #00c1cf;
  font-style: italic;
}
.region-content {
    padding-right: 0em!important;
    padding-left: 0em!important;
}
/* ==========================================================================
   8. COMPLÉMENTS NOUVELLES FONCTIONNALITÉS (PAGE D'ACCUEIL)
   ========================================================================== */

/* Alignement gauche spécifique pour le titre de la philosophie */
.focus-box h2.text-left {
  background: linear-gradient(to left, #d61cff, #00c1cf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-align: left !important;
}

/* Carte Gravel désactivée temporairement */
.rn-card-disabled {
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.005) !important;
  border: 1px dashed rgba(255, 255, 255, 0.08) !important;
  pointer-events: none; /* Désactive les interactions de survol */
}

/* Badge "Bientôt disponible" */
.rn-badge {
  display: inline-block;
  background: rgba(214, 28, 255, 0.15);
  border: 1px solid rgba(214, 28, 255, 0.3);
  color: #d61cff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Encart visuel "Philosophie" */
.rn-philosophie-visual {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 193, 207, 0.15);
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: inset 0 0 20px rgba(0, 193, 207, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.sport-icon-modern svg {
  max-width: 100%;
  max-height: 100%;
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 100%;
    }
}