:root {
  --line-color: #FE0024;
 }

@font-face {
  font-family: 'Gilroy';
  src: url('/shared/tr_207_3765/medias/Files/Fonts/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/shared/tr_207_3765/medias/Files/Fonts/Gilroy-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/shared/tr_207_3765/medias/Files/Fonts/Gilroy-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/shared/tr_207_3765/medias/Files/Fonts/Gilroy-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('/shared/tr_207_3765/medias/Files/Fonts/Gilroy-Heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

body {
  font-family: 'Gilroy', sans-serif;
}

.navigation {
  background: #ffffff;
}

.navigation .navbar-nav > li > a {
  color: #3d08a0;
  font-size: 15px;
  line-height: 26px;
  padding: 20px 15px !important;
  transition: 0.2s ease-in-out 0s;
  font-weight: bold;
}

.navigation .navbar-nav > li > a:hover, .navigation .navbar-nav > li > a:active, .navigation .navbar-nav > li > a:focus {
  color: #FE0024;
}

.navbar-toggler .tf-ion-android-menu {
  color: #3d08a0;
  transition: color 0.3s ease;
}

.hero-area {
  background: #3D08A0;
}

.hero-area .block p {
  color: #ffffff;
}

.services .service-block i {
color: #3D08A0;
}

.contact-form #contact-submit {
  background: #FE0024;
}

.social-icon li a {
  color: #3D08A0;
}

html {
  scroll-behavior: smooth;
}

.about-2 h2::before {
  display : none;
}

@media (max-width: 767.98px) {
  p, h1, h2, h3, h4, h5, h6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.top-footer {
  background-color: #FFF;
  color : #3d08a0;
  border-top : none;
}

.top-footer p, .top-footer h1, .top-footer h2, .top-footer h3, .top-footer h4 {
  color : inherit !important;
}

.btn-main {
  background: linear-gradient(135deg, #FE0024, #FF4B2B);
  color: #fff;
  text-transform : none;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(254, 0, 36, 0.3);
}

.btn-main:hover {
  background: linear-gradient(135deg, #FF4B2B, #FE0024);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(254, 0, 36, 0.4);
}

.title h2 {
  text-transform : none;
}

/* --- CONTAINER --- */
.schedule.two .schedule-tab {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 5px;
}

/* --- NAVIGATION (pills) --- */
.schedule.two .schedule-tab ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.schedule.two .schedule-tab ul li.nav-item {
  flex: 1 1 180px; /* largeur de base homogène */
  max-width: 220px; /* évite les blocs trop larges */
  transition: all 0.3s ease;
}

/* Lien par défaut */
.schedule.two .schedule-tab ul li.nav-item a {
  display: flex; /* centrage du texte */
  align-items: center;
  justify-content: center;
  height: 60px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #3d08a0;
  border: 1px solid #e5e5e5;
  padding: 5px 8px;
  border-radius: 6px;
  background-color: #fff;
  transform: scale(0.9);
  transition: all 0.3s ease;
  word-break: break-word;
  text-wrap: balance;
}

/* Hover */
.schedule.two .schedule-tab ul li.nav-item a:hover {
  transform: scale(0.97);
  color: #3d08a0;
  border-color: #3d08a0;
}

/* Actif */
.schedule.two .schedule-tab ul li.nav-item a.active {
  background-color: #3d08a0;
  color: #fff;
  border-color: #3d08a0;
  transform: scale(1);
}

/* --- HEADINGS --- */
.schedule.two .schedule-contents .schedule-item li.headings {
  background: #3d08a0;
  color: #fff;
  padding: 15px 20px;
  text-align: left;
  border-radius: 4px 4px 0 0;
}

/* --- DETAILS --- */
.schedule.two .schedule-contents .schedule-item li.schedule-details {
  border: 1px solid #e5e5e5;
  border-top: none;
  padding: 20px;
  background: #fff;
}

/* --- GRID DES DROITS --- */
.droits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 767px) {
  .droits-grid {
    grid-template-columns: 1fr;
  }
}

/* --- STYLE INDIVIDUEL DES DROITS --- */
.droits {
  font-size: 12px;
  padding: 10px;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.droits i {
  margin-right: 5px;
}

/* Bleu pour les droits validés */
.droits.text-primary {
  color: #3d08a0 !important;
  font-weight: 600;
}

/* Gris pour les autres */
.droits.text-muted {
  color: #888 !important;
}

.droits:hover {
  background-color: #f1f1f1;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  .schedule.two .schedule-tab ul li.nav-item {
    flex: 1 1 45%;
    max-width: none;
  }

  .schedule.two .schedule-tab ul li.nav-item a {
    height: 55px;
    font-size: 12px;
    padding: 5px;
  }

  .schedule-contents {
   padding-top : 1.5rem;
  }
}

@media (max-width: 575px) {
  .schedule.two .schedule-tab ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
        gap: 5px;
        padding: 0;
    }

    .schedule.two .schedule-tab ul li.nav-item a {
        font-size: 12px;
        text-align: center;
        padding: 8px 5px;
        height: 100%; /* pour que tous les liens remplissent leur cellule */
        display: flex;
        align-items: center;
        justify-content: center;
        text-wrap: balance; /* si supporté */
    }
}

