 /*: ===================
   GLOBAL STYLES
=================== */
body {
/*     font-family: 'Poppins', sans-serif;
    font-weight: 200; */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
    margin: 0;
    padding: 0;

}

.main-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}
.page-container {
    max-width: 1140px;
    margin: 100px auto 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
  }


p {
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 300 !important;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
    text-indent: 0 !important;
}

.navbar .nav-link {
    font-size: 18x;
    font-weight: 100;
    letter-spacing: 0.2px;
    font-family: 'Outfit', sans-serif !important;

}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    transition: 0.5s;
}

.anchor-offset {
    scroll-margin-top: 100px;
}



 
.topbar .btn-square {
    background-color: transparent !important;
    border: none !important;
    color: #000000 !important;
    box-shadow: none;
    margin-right: 0.2rem;
    padding: 0.2rem 0.4rem;
    justify-content: flex-start
}



.topbar .text-muted {
    margin-right: 0.4rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}



.topbar .d-flex.align-items-center.justify-content-end {
    gap: 0.2rem;
    flex-wrap: nowrap;
    justify-content: flex-start
}



.btn,
.btn-primary,
.btn-secondary {
    font-weight: 600;
    transition: 0.5s;
    display: inline-block;
    padding: 0.4rem 1rem;
    text-align: center;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif !important;
}



.btn-primary {
    background-color:#dc3545;
    border: none;
    color: white;
    width: fit-content;
    padding: 0.4rem 1.2rem;
    margin: 0 auto;
    display: block;
    text-align: center;
    border-radius: 2rem;
    font-family: 'Outfit', sans-serif !important;
}




.btn-primary:hover,
.btn-primary:focus {
    background-color: darkred;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 94, 21, 0.25);
}



.btn-secondary {
    background-color: var(--bs-secondary);
    color: white;
    border: none;
}




.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--bs-primary);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 18, 72, 0.25);
}




.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-xl-square { width: 66px; height: 66px; }




.topbar {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    justify-content: center; 
}



.topbar a,
.topbar i {
    color: #ffffff !important;
    justify-content: center; 
}



/* ---------------------------------- */
/* Navbar Customisation Professionnelle Revue */
/* ---------------------------------- */

.navbar-custom {
    background-color: #ffffff !important;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-custom .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem;
}

.navbar-brand {
    margin-right: 1.5rem;
}


.navbar-nav .nav-link,
.navbar-custom .nav-item > .nav-link {
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 500;
    color: #003333 !important;
    box-shadow: none !important;
    text-align: center;
    white-space: nowrap;
    margin: 0 0.25rem !important;
    transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-custom .nav-item > .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #195ca7 !important;
    text-decoration: underline;
    font-family: 'Outfit', sans-serif !important;
}

/* Dropdown */
.navbar-custom .dropdown-toggle {
    color: #003333 !important;
}

.navbar-custom .dropdown-menu {
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.navbar-custom .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
    z-index: 10;
}

.navbar-custom .dropdown-menu .row > div {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.navbar-custom .dropdown-menu .row > div:not(:last-child) {
    border-right: 1px solid #dcdcdc;
}

.navbar-custom .dropdown-item {
    background-color: transparent !important;
    color: #003865 !important;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
    max-width: 220px;
    white-space: normal;
    word-break: break-word;
}

.navbar-custom .dropdown-item:hover {
    background-color: #e6f0fa !important;
}

/* Override Bootstrap defaults */
.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navbar .nav-link.active {
    color: var(--bs-secondary);
}

/* Nouveau style pour titres dans le dropdown */
.navbar-custom .dropdown-menu h6.text-uppercase {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: none;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}


/* Dropdown menu styling */
.dropdown-menu {
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
}

.dropdown-item {
    padding: 0.4rem 1rem;
    border-radius: 0.4rem;
    color: #003333;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}




#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}

.main-content {

    margin: 0 auto;
    text-align: left;
    padding: 0 15px;
}

.logo-r2s {
    height: 80px;
    max-height: 100px;
    object-fit: contain;
}

.indented-text p,
.main-content p,
.hero-text p {
    text-indent: 0 !important;
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
}


.sommaire {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 1rem;
    border-radius: 5px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.footer {
    background-color: #195ca7;
    color: white;
    padding: 60px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../img/footer-img.jpg');
}

.footer .footer-item {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer .col-md-3,
.footer .col-md-6,
.footer .col-xl-3,
.footer .col-lg-6 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer p,
.footer a,
.footer h4,
.footer h5,
.footer h6,
.footer .btn,
.footer .btn:hover,
.footer .btn:focus,
.footer ul,
.footer ol,
.footer li {
    color: white !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
    text-indent: 0 !important;
    line-height: 30px;
}

.footer .footer-btn a {
    background: var(--bs-secondary);
    color: white;
    margin-right: 10px;
}

.footer .footer-btn a:hover {
    background: white;
    color: var(--bs-primary);
}

.footer img {
    display: block;
    margin-left: 0;
    margin-right: auto;
}



  /* == STICKY SIDEBAR MODERNE == */
.sidebar-sticky {
    position: sticky;
    top: 300px;
  }
  
  .reading-time {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    color: #0c3b2e;
    border-left: 4px solid #f94e0e;
  }
  
  .toc-box {
    background-color: #f4f6f8;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  }
  
  .toc-box h3 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: #0c3b2e;
    letter-spacing: 1px;
  }
  
  .toc-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .toc-box li {
    font-weight: 600;
    font-size: 0.95rem;
    color: #001f1f;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif !important;

  }
  
  .toc-box li:last-child {
    border-bottom: none;
  }
  
  .toc-box a {
    text-decoration: none;
    color: #0c3b2e;
    display: block;
    transition: color 0.3s ease;
  }
  
  .toc-box a:hover {
    color: #f94e0e;
  }
  

  
.copyright {
    background: #000814;
    color: white;
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


@media (max-width: 991px) {
    .navbar .dropdown-menu {
        position: relative;
    }

    .navbar .nav-item {
        margin: 0;
        
    }

    .navbar .nav-link {
        padding: 12px 0;
    }
}

.outfit {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
  }
  

/* Alignement du contenu avec la navbar */
.container.page-content {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 80px; 
}


/* === HERO SECTION COMPLÈTE RESPONSIVE === */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-bottom: 4rem;
  gap: 0.5rem;
  max-width: 1140px;
  margin: 80px auto 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  border-radius: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  width: 100%;
  padding: 0 1rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero-image {
  flex: 1;
  max-width: 800px;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.hero-image img {
  max-width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* === TITRES & TEXTES RESPONSIVES === */
.hero h1 {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* === TABLETTE === */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero h3 {
    font-size: 1.3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-text {
    padding-left: 3rem;
    padding-right: 2rem;
  }
}

/* === DESKTOP === */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero h3 {
    font-size: 1.4rem;
  }

  .hero-text {
    padding-left: 5rem;
    padding-right: 2rem;
  }
}

h1 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500;
    color: #003865;
    font-size: 3rem;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1.5rem;

  }

  h2 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 300;
    color: #003865;
    font-size: 2rem;
    line-height: 1.3;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: left;
  }

h3 {
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif !important;
}

h4 {
    font-size: 1.0rem;
    font-family: 'Outfit', sans-serif !important;
}

h5 {
    font-size: 1rem;
    font-family: 'Outfit', sans-serif !important;
}

h6 {
    font-size: 1,2rem;
    font-family: 'Outfit', sans-serif !important;
}

.image-center {
    text-align: center;
    margin: 2rem 0;
}

.image-center img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =============================================
   CONTRÔLES CAROUSEL POUR LA SECTION #avisCarousel
   Nettoyé, fusionné et optimisé
============================================= */

#avisCarousel {
    position: relative;
}

#avisCarousel .carousel-control-prev,
#avisCarousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 4rem;
    background-color: rgba(25, 92, 167, 0.8);
    border-radius: 50%;
    z-index: 2;
}

#avisCarousel .carousel-control-prev {
    left: -2rem;
}

#avisCarousel .carousel-control-next {
    right: -2rem;
}


.cta {
  background-color: #f1f1f1;
  border-left: 4px solid #2e86de;
  padding: 1rem;
  margin: 2rem 0;
  font-weight: bold;
}

header {
    background-color: #7f8c8d;
    color: white;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }


  .specialty-bubble {
    width: 180px;               /* ✅ agrandit la "bulle" */
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    transition: transform 0.3s ease;
    cursor: default;
  }

  .specialty-item {
    width: 200px; /* ou 180px selon taille de ta bulle */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  

  .specialty-bubble:hover {
    transform: scale(1.05);     /* ✅ petit effet au survol */
  }
  
  .specialty-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }


  .specialty-bubble img:hover {
    transform: scale(1.05);
  }
  
.bubble-label {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #003865;
  max-width: 100%;
  word-wrap: break-word;
  font-family: 'Outfit', sans-serif !important;
}
.disclaimer {
    font-size: 0.9em;
    color: #777;
    margin-top: 1rem;
  }

  .checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  .checkbox-group input {
    margin-right: 0.5rem;
  }
  button {
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

fieldset {
    margin-bottom: 2rem;
    border: none;
    border-top: 1px solid #ccc;
    padding-top: 1.5rem;
  }
  label {
    display: block;
    margin-bottom: 0.5rem;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
 
 /* === RESPONSIVE HEADER & NAVBAR === */
.navbar {
  padding: 0.5rem 1rem;
}

.navbar-brand img {
  max-height: 48px;
  width: auto;
}

.navbar-toggler {
  border: none;
  box-shadow: none;
}

@media screen and (max-width: 991px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
  }

  .navbar .btn {
    margin-top: 1rem;
  }

  /* Topbar amélioration mobile */
  .topbar .col-4 {
    display: none;
  }

  .topbar .col-4.text-center {
    display: block !important;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.4rem;
  }

  .navbar .d-none.d-lg-block,
  .d-none.d-xl-block {
    display: none !important;
  }
  .testimonial-carousel {
  margin-top: 40px;
  text-align: center;
  font-family: sans-serif;
}

.carousel-container {
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

