.pt-2 {
  padding-top: 2em !important;
}

/* ========== RESET & GLOBAL ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Roboto', sans-serif;
  background: #000;
  color: #fff;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background-color: #000;
  z-index: 100;
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 20%;
}
.navbar-inner .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: #FFF;
}
.navbar-inner .nav-links {
  display: flex;
  align-items: center;
}
.navbar-inner .nav-links a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: #FFF;
  margin-left: 1rem;
  transition: color 0.3s;
}
.navbar-inner .nav-links a:hover {
  color: #00D4FF;
}
.navbar-inner .btn-login,
.navbar-inner .btn-register {
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #FFF;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.navbar-inner .btn-login {
  background: transparent;
  color: #FFF;
}
.navbar-inner .btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
}
.navbar-inner .btn-register {
  background: #00D4FF;
  color: #FFF;
  border-color: #00D4FF;
}
.navbar-inner .btn-register:hover {
  background: #33E0FF;
}

/* ========== HERO SLIDESHOW (6 IMAGES) ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5% 0;
}
.hero .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  /* 6 images × 3s = 18s total */
  animation: slideFade 18s ease-in-out infinite;
}
.hero .slide:nth-child(1) { animation-delay:  0s; }
.hero .slide:nth-child(2) { animation-delay:  3s; }
.hero .slide:nth-child(3) { animation-delay:  6s; }
.hero .slide:nth-child(4) { animation-delay:  9s; }
.hero .slide:nth-child(5) { animation-delay: 12s; }
.hero .slide:nth-child(6) { animation-delay: 15s; }
@keyframes slideFade {
  0%     { opacity: 0; }
  2.78%  { opacity: 1; }
  13.89% { opacity: 1; }
  16.67% { opacity: 0; }
  100%   { opacity: 0; }
}

/* ========== HERO CONTENT CONTAINER ========== */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 60%;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
/* Logo */
.hero-inner .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: #FFF;
  margin-bottom: 1rem;
}
/* Titre principal */
.hero-inner h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 70px;
  text-transform: uppercase;
  color: #00D4FF;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
  margin-bottom: 1rem;
}
.hero-inner h1 .period {
  color: #F235C0;
}
/* Sous-titre */
.hero-inner p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #FFF;
  line-height: 1.4;
  margin-bottom: 2rem;
}
/* Boutons primaire & secondaire */
.btn-primary,
.btn-secondary {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  margin-right: 1rem;
}
.btn-primary {
  background: #00D4FF;
  color: #FFF;
}
.btn-primary:hover {
  background: #F235C0;
}
.btn-secondary {
  background: transparent;
  border: 1px solid #00D4FF;
  color: #00D4FF;
}
.btn-secondary:hover {
  background: #F235C0;
  border: 1px solid #F235C0;
}
/* Statistiques */
.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
}
.stats .item {
  text-align: center;
}
.stats .item .number {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #00D4FF;
}
.stats .item .label {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #B0B0B0;
}

/* ========== FEATURES / WHY CHOOSE US SECTION ========== */
.why-choose {
  padding: 6rem 0;
  background: #000;
}

.gray {
  background: #272727;
}

.why-choose .section-inner {
  width: 60%;
  margin: 0 auto;
  padding: 0 5%;
}
.why-choose h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: #3B82F6;
  text-align: center;
  margin-bottom: 1rem;
}
.why-choose p.sub {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #B0B0B0;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.why-choose .cards {
  display: flex;
  gap: 2rem;
}
.why-choose .card {
  flex: 1;
  background: #1A1A1A;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s;
}
.why-choose .card:hover {
  transform: translateY(-5px);
}
.why-choose .card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  border-radius: 12px;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
}
.why-choose .card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin-bottom: 0.75rem;
}
.why-choose .card p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #B0B0B0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .why-choose .cards {
    flex-direction: column;
  }
}

/* ========== PRODUCT SECTION ========== */
.product {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  padding: 5% 0;
  color: #fff;
}
.product-rebelle {
  background: url('../images/gang.jpg') center/cover no-repeat;
}
.product-gendarme {
  background: url('../images/sherif.jpg') center/cover no-repeat;
}
.product-medic {
  background: url('../images/ems.jpg') center/cover no-repeat;
}
.product-depaneur {
  background: url('../images/dp.jpg') center/cover no-repeat;
}
.product-douane {
  background: url('../images/farm.jpg') center/cover no-repeat;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}
.product-inner {
  position: relative;
  z-index: 1;
  width: 60%;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.product--right .product-inner {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}
.product-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 48px;
  margin-bottom: 1rem;
}
.product-inner .status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  margin-bottom: 1.5rem;
}
.product-inner .status .fa-circle {
  font-size: 0.75rem;
  color: #22c55e;
}
.product-inner p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 2rem;
}
.product-inner .buttons {
  display: inline-flex;
  gap: 1rem;
}
.product-inner .btn-primary,
.product-inner .btn-secondary {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.product-inner .btn-primary {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  color: #fff;
}
.product-inner .btn-primary:hover {
  background: linear-gradient(90deg, #5c9cff, #aa8aff);
}
.product-inner .btn-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.product-inner .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ========== IMAGE STYLÉE ========== */
.themed-image {
  display: block;
  max-width: 50%;      /* s’adapte à son conteneur */
  height: auto;         /* conserve les proportions */
  margin: 2rem auto;    /* espace autour et centré */
  
  /* bord arrondi et ombre subtile */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  
  /* fine bordure néon */
  border: 2px solid rgba(0, 212, 255, 0.5);
  
  /* légère transition au survol */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.themed-image:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 212, 255, 0.7);
}

/* ========== FOOTER ========== */
.footer {
  background: #111;             /* très sombre */
  color: #888;                  /* gris clair pour le texte */
  text-align: center;
  padding: 2rem 5%;             /* vertical + 5% horizontal centré */
  font-size: 0.9rem;
  border-top: 1px solid #222;   /* légère séparation */
}

.footer a {
  color: #00D4FF;               /* lien cyan */
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: #33E0FF;               /* survol plus clair */
}

.footer .links {
  margin-bottom: 1rem;
}
.footer .links a {
  margin: 0 0.5rem;
}

/* ========== RULES SECTION ========== */
.rules {
  background: #000;
  padding: 6rem 0;
}
.rules-inner {
  width: 60%;
  margin: 0 auto;
  padding: 0 5%;
}

/* Chaque section */
.rules-section {
  margin-bottom: 3rem;
}
.rules-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #00D4FF;
  margin-bottom: 0.5rem;
}

/* Texte d’intro facultatif */
.section-intro {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: #B0B0B0;
  margin-bottom: 1.5rem;
}

/* Chaque règle */
.rule-article {
  margin-bottom: 1rem;
}
.rule-article .rule-code {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #00D4FF;
  margin-right: 0.5rem;
}
.rule-article .rule-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #FFF;
  margin-right: 0.5rem;
}
.rule-article .rule-content {
  display: inline;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #FFF;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .rules-inner {
    width: 90%;
    padding: 0 5%;
  }
  .rules-section h2 {
    font-size: 28px;
  }
  .section-intro {
    font-size: 16px;
  }
  .rule-article .rule-content {
    font-size: 14px;
  }
}

/* ========== JOIN US / NOUS REJOINDRE SECTION ========== */
.join-us {
  background: #000;
  padding: 6rem 0;
}
.join-inner {
  width: 60%;
  margin: 0 auto;
  padding: 0 5%;
  color: #fff;
}

/* Liens spécifiques à la section join-us */
.join-us .join-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #00D4FF;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.join-us .join-link:hover {
  color: #33E0FF;
  border-color: #33E0FF;
}

.join-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #00D4FF;
  text-align: center;
  margin-bottom: 2rem;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.step-card {
  background: #1A1A1A;
  border-radius: 12px;
  padding: 2rem;
  box-sizing: border-box;
  flex: 0 0 calc((100% - 4rem) / 3); /* 3 cartes max par ligne, 2 gaps de 2rem */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}
.step-card .number {
  width: 48px;
  height: 48px;
  background: #00D4FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 0.5rem;
}
.step-card p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ccc;
  line-height: 1.5;
}

/* Responsive : 2 cartes par ligne sous 1024px */
@media (max-width: 1024px) {
  .step-card {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}
/* Responsive : 1 carte par ligne sous 600px */
@media (max-width: 600px) {
  .step-card {
    flex: 0 0 100%;
  }
}

/* ========== TEAM SECTION / NOTRE ÉQUIPE ========== */
.team {
  background: #000;
  padding: 6rem 0;
}
.team-inner {
  width: 60%;
  margin: 0 auto;
  padding: 0 5%;
  color: #fff;
}
.team-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #00D4FF;
  text-align: center;
  margin-bottom: 2rem;
}
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.team-card {
  background: #1A1A1A;
  border-radius: 12px;
  padding: 2rem 1rem;
  flex: 0 0 calc((100% - 4rem) / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,212,255,0.3);
}
/* avatar rond */
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00D4FF;
  margin-bottom: 1rem;
}
/* nom du membre */
.team-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 0.5rem;
}
/* fonction */
.team-card p.role {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #B0B0B0;
  margin-bottom: 1rem;
}
/* icônes réseaux */
.team-card .social-links {
  display: inline-flex;
  gap: 1rem;
}
.team-card .social-links a {
  font-size: 1.25rem;
  color: #00D4FF;
  transition: color 0.2s;
}
.team-card .social-links a:hover {
  color: #33E0FF;
}

/* Sous-rôle dans les cartes équipe */
.team-card .subrole {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #888;            /* gris un peu plus clair */
  font-style: italic;     /* pour différencier du rôle principal */
  margin-bottom: 1rem;
}

.team-inner p.sub {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #B0B0B0;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* responsive : 2 colonnes sous 1024px, 1 sous 600px */
@media (max-width: 1024px) {
  .team-card {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}
@media (max-width: 600px) {
  .team-card {
    flex: 0 0 100%;
  }
}
