:root,
.site-stravaalibi {

  --primary-color: #220c00;          
  --primary-color-light: #220c00;    
  --accent-color: #FE5501;           
  --accent-over-color: #FE5501;    
  --shadow-over-color: #e2530022;
  --highlight-color: #FFD78C;        
  --error-color: #E94F4F;            
  --text-color: white;     
  --background-color: linear-gradient(to bottom,  #cccccc, #aaaaaa); 
  --footer-text-color-link : #FE5501;
  --draw-line-color : #FE5501;
  --footer-background-color : black;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --header-img-height: 110px;
  --etat-de-forme:#FE5501;
  --etat-de-forme-label-km:#FE5501;
  --etat-de-forme-label-unit: white;
  --etat-de-forme-grid-color:white;
  --etat-de-forme-bgd-0:transparent;
  --etat-de-forme-bgd-40:transparent;
  --etat-de-forme-bgd-70:transparent;
  --etat-de-forme-bgd-100:transparent;
  --etat-de-forme-opacity:1;
  --etat-de-forme-textcolor:white;
  --cgv-text-color:#220c00;
  --faq-text-color:#220c00;
  --title-text-color:white ;

  --tracegeneration-popup-textcolor:#1e2a3a;

  --bg-dark: #0a0e17;          
  --text-light: #FE5501CC;     
  --accent: #FE5501;           
  --accent-hover: #FE5501;;    
  --border-glass: #e2530042;
  --glass-bg: rgba(63, 64, 66, 0.45);

    --contact-border-color:#220c00;
  --contact-border-color-accent:#FE5501;
}

html, body {
  margin: 0;
  padding: 0;
  height:100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inter", system-ui, sans-serif;
}


.header-img {
    max-height: var(--header-img-height);
    margin-bottom: 0px;
    margin-top: 30px !important;
}

.confirmation-title {
  color: rgb(245, 245, 245) !important; 
}




.help-alert {
    background-color: var(--accent-color) !important;

}

#etatDeFormeSVG {
    background: transparent !important;

}

.activity-card {
  background: transparent;
  box-shadow: none;
}

.activity-card:hover {
  box-shadow: none;
}
.standard-container {
  max-width: 900px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100% !important;
  background: #0e1116;

  box-shadow: none;
  padding: 12px 12px 12px 12px;
  text-align: center;

}


/* Conteneur du message de confirmation */
.confirmation-box {
  border: none;
  background-color: transparent;
  padding: 20px;
  margin: 30px auto;
  text-align: center;
  border-radius: 10px;
  max-width: 500px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.contact-container {
  max-width: 500px;
  margin: 20px auto;
  background: whitesmoke;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 12px 12px 12px 12px;
  text-align: center;
}

  .standard-container h1 {
    font-family: "Inter", system-ui, sans-serif !important;
    text-align: center;
    margin: 0px;
    color:whitesmoke;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    font-weight: 1000;
  }

  
.standard-container a {
    color: white !important;        

}





/* FORCE FULL WIDTH */
.activities-style {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* BLOC */
.activity {
  position: relative;
  height: 40vh;
  overflow: hidden;
  text-decoration: none;
  color: white;
}

/* IMAGE PLEIN ÉCRAN */
.activity img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY TEXTE */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.35);
  text-align: center;
}

.overlay h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;

}

.overlay span {
  margin-top: 8px;
  font-size: 1rem;
  color: #e25300; 
  font-weight: 600;
}

/* HOVER SUBTIL */
.activity:hover img {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

/* MOBILE */
@media (max-width: 900px) {
  .activities-style {
    grid-template-columns: 1fr;
  }

  .activity {
    height: 50vh;
  }
}













.rmt-hero {
  display: flex;
  justify-content: center;
  padding: 40px 16px; /* espace autour */
  background: transparent
}

.rmt-container {
  width: 100%;
  max-width: 900px;
  background: black;;
  border-radius: 16px;
  padding: 32px 24px;

  border: 8px solid var(--accent-color);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #e6edf3;
}

/* TITRE */
.rmt-container h2 {
  font-size: 26px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* PARAGRAPHES */
.rmt-container p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #c9d1d9;
}

/* LISTE */
.rmt-container ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.rmt-container li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* TEXTE IMPORTANT */
.rmt-highlight {
  background: var(--shadow-over-color);
  border-left: 4px solid var(--shadow-over-color);
  padding: 16px;
  border-radius: 8px;
  margin: 24px 0;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .rmt-container {
    padding: 24px 16px;
  }

  .rmt-container h2 {
    font-size: 20px;
  }

  .rmt-container p {
    font-size: 14px;
  }
}


.footer-info {
  color: white!important;
}

.footer-legal {
 color: white!important;
  
}


/* Conteneur global */
.categories-wrapper {
  margin: 0.5rem auto 4rem;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 1200px;
}

.categories-hashtags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;           /* espacement agréable */
  font-family: system-ui, -apple-system, BlinkMacOS-system, sans-serif;
}

/* Chaque hashtag */
.hashtag {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;        /* ultra rond */
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hashtag:hover,
.hashtag:focus {
  transform: translateY(-3px);
  background: var(--primary-color);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 10px 30px #4fd1c442;
  outline: none;
}

/* Glow / accent sur les plus importants */
.hashtag.utmb,
.hashtag.ultratrail,
.hashtag.marathon,
.hashtag.trail,
.hashtag.ultra {
  background: linear-gradient(145deg,#4fd1c442, #4fd1c46e);
  border-color: #4fd1c442;
  font-weight: 600;
}

.hashtag.utmb:hover,
.hashtag.ultratrail:hover,
.hashtag.marathon:hover,
.hashtag.trail:hover,
.hashtag.ultra:hover {
  background: linear-gradient(145deg, #4fd1c442, #4fd1c42a);
  border-color: var(--accent-hover);
  box-shadow: 0 12px 35px #4fd1c442;
}

/* Responsive mobile */
@media (max-width: 640px) {
  .categories-hashtags {
    gap: 0.9rem 1rem;
  }
  
  .hashtag {
    padding: 0.55rem 1.1rem;
    font-size: 0.96rem;
  }
}




/* Responsive mobile */
@media (max-width: 640px) {
  .header-img {
    height: 60px!important;
  }
}



.actionButton {
    border: 3px solid black !important;
}

.pay-btn{
    border: 3px solid black !important; 
}

#resetMapButton{
    border: 3px solid black !important; 
}

.download-button{
   border: 3px solid black !important; 
}

  
.standard-container h3 {
    color: white !important;
  }

.standard-container p {
    color: white !important;
  }

.standard-container h4 {
    color: white !important;
  }


  .switch .label-text {
    color: black !important;
}