/* =========================================================
   VARIABLES
========================================================= */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
}

/* =========================================================
   NAVBAR CLASSIQUE
========================================================= */
.custom-navbar {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  padding: 0.9rem 0;
}


.custom-navbar .nav-link {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.custom-navbar .nav-link.active {
    border-bottom: 2px solid var(--secondary-color);
}

.custom-navbar .navbar-brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand:hover {
  color: #ffffff;
}

.custom-navbar .nav-link {
  color: #ffffff;
  font-weight: 500;
  margin: 0 0.25rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}

.custom-navbar .nav-link.active {
  background-color: #ffffff;
  color: var(--primary-color) !important;
  font-weight: 700;
}

.custom-navbar .dropdown-menu {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 0.6rem;
}

.custom-navbar .dropdown-item {
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  transition: all 0.25s ease;
}

.custom-navbar .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.custom-navbar .dropdown-item.active {
  background-color: var(--primary-color);
  color: #ffffff;
}

.custom-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.custom-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* =========================================================
   NAVBAR DYNAMIQUE ZONHI
========================================================= */
.site-header {
  border-top: var(--navbar-top-border-height) solid var(--navbar-top-border-color);
}

.zonhi-navbar {
  background-color: var(--navbar-bg);
  min-height: var(--navbar-height);
}

.zonhi-navbar-container {
  max-width: var(--navbar-container-max-width);
}

.zonhi-navbar .navbar-brand {
  color: var(--navbar-text-color);
}

.zonhi-menu .nav-link {
  color: var(--navbar-text-color);
  border-radius: var(--navbar-link-radius);
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
}

.zonhi-menu .nav-link:hover {
  background: var(--navbar-hover-bg);
  color: var(--navbar-hover-text-color);
}

.zonhi-menu .nav-link.active {
  background: var(--navbar-active-bg);
  color: var(--navbar-active-text-color);
}

.btn-phone {
  background: var(--navbar-phone-bg);
  color: var(--navbar-phone-text-color);
  border-radius: 999px;
}

.btn-lang {
  background: var(--navbar-lang-bg);
  color: var(--navbar-lang-text-color);
}

.navbar-style-classic .nav-link {
  border-radius: 0;
}

.navbar-style-pill .nav-link {
  border-radius: 999px;
}

.navbar-style-minimal .nav-link {
  background: none !important;
}

/* =========================================================
   BOUTONS
========================================================= */
.btn-primary-dynamic {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary-dynamic:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #ffffff;
}

.btn-call {
  background-color: #ffffff;
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-call:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
}

/* =========================================================
   TEXTE & TITRES
========================================================= */
.text-primary-dynamic {
  color: var(--primary-color) !important;
}

.bloc-section-title {
  color: var(--primary-color);
  font-weight: 700;
}

/* =========================================================
   PAGE DYNAMIQUE
========================================================= */
.page-header-dynamique {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.page-header-dynamique h1 {
  font-weight: 700;
}

.page-header-dynamique p {
  opacity: 0.9;
  max-width: 700px;
  margin: auto;
}

/* =========================================================
   PAGE CONTACT
========================================================= */
.contact-page .card {
  border-radius: 1rem;
}

.contact-page .form-control,
.contact-page textarea.form-control {
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dee2e6;
  box-shadow: none;
}

.contact-page .form-control:focus,
.contact-page textarea.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.contact-page .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
}

.contact-page .btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.contact-page a {
  color: var(--primary-color);
  transition: 0.3s;
}

.contact-page a:hover {
  color: var(--secondary-color);
}

/* =========================================================
   UTILITAIRES
========================================================= */
.rounded-xl {
  border-radius: 1rem;
}

.shadow-soft {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.alert {
  transition: all 0.4s ease;
}

.alert.fade {
  opacity: 0;
  transform: translateY(-10px);
}

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* =========================================================
   HERO
========================================================= */
.hero-carousel {
  overflow: hidden;
}

.hero-slide {
  position: relative;
  width: 100%;
  min-height: 78vh;
  height: 78vh;
  overflow: hidden;
  background: #111;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  animation: heroKenBurns 12s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.45));
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 3rem 5%;
  display: flex;
}

.hero-content-inner {
  max-width: 760px;
  color: #fff;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-btn {
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(-1.5%, -1%);
  }
  100% {
    transform: scale(1.12) translate(1.5%, 1%);
  }
}

/* =========================================================
   CAROUSEL PERSONNALISÉ
========================================================= */
.custom-carousel {
  overflow: hidden;
  border-radius: 20px;
}

.custom-carousel-slide {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background: #111;
}

.custom-carousel-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.custom-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  animation: carouselKenBurns 12s ease-in-out infinite alternate;
}

.custom-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.52));
  z-index: 1;
}

.custom-carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2.5rem 5%;
  display: flex;
}

.custom-carousel-caption-inner {
  max-width: 680px;
  color: #fff;
}

.custom-carousel-title {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

.custom-carousel-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.custom-carousel .carousel-control-prev,
.custom-carousel .carousel-control-next {
  width: 8%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon,
.custom-carousel .carousel-control-prev-icon,
.custom-carousel .carousel-control-next-icon {
  background-size: 70% 70%;
}

@keyframes carouselKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.06) translate(1%, -1%);
  }
  100% {
    transform: scale(1.1) translate(-1%, 1%);
  }
}

/* =========================================================
   POSITIONS DU CONTENU
========================================================= */
.position-top-left {
  justify-content: flex-start;
  align-items: flex-start;
}

.position-top-center {
  justify-content: center;
  align-items: flex-start;
}

.position-top-right {
  justify-content: flex-end;
  align-items: flex-start;
}

.position-center-left {
  justify-content: flex-start;
  align-items: center;
}

.position-center {
  justify-content: center;
  align-items: center;
}

.position-center-right {
  justify-content: flex-end;
  align-items: center;
}

.position-bottom-left {
  justify-content: flex-start;
  align-items: flex-end;
}

.position-bottom-center {
  justify-content: center;
  align-items: flex-end;
}

.position-bottom-right {
  justify-content: flex-end;
  align-items: flex-end;
}

/* =========================================================
   ACTUALITÉS
========================================================= */
.actualites-block {
  padding: 5rem 0;
}

.actualites-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
}

.actualites-subtitle {
  color: #6c757d;
  margin-top: 0.5rem;
}

.actualite-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.actualite-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.actualite-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.actualite-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actualite-content {
  padding: 1.5rem;
}

.actualite-date {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.actualite-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.actualite-text {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.6;
}

.actualite-btn {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.actualite-btn:hover {
  text-decoration: underline;
}

/* =========================================================
   CTA
========================================================= */
.cta-block {
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

.cta-inner {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.cta-button-wrapper {
  margin-top: 1.5rem;
}

.cta-button {
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.width-narrow {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.width-medium {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.width-wide {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.width-full {
  max-width: 100%;
}

.below-left {
  display: flex;
  justify-content: flex-start;
}

.below-center {
  display: flex;
  justify-content: center;
}

.below-right {
  display: flex;
  justify-content: flex-end;
}

.bg-light .cta-title {
  color: var(--primary-color);
}

.bg-light .cta-description {
  color: #495057;
}

.bg-dark .cta-title,
.bg-dark .cta-description,
.bg-primary .cta-title,
.bg-primary .cta-description {
  color: #fff;
}

/* =========================================================
   FOOTER
========================================================= */

/* =========================================================
   DRAG & DROP MENU
========================================================= */
#menu-items-list li {
  cursor: grab;
}

#menu-items-list li:active {
  cursor: grabbing;
  background-color: #f8f9fa;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991.98px) {
  .hero-slide {
    min-height: 62vh;
    height: 62vh;
  }

  .custom-carousel-slide {
    height: 420px;
  }

  .hero-content,
  .custom-carousel-caption {
    padding: 2rem 1.5rem;
  }

  .footer-description {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-slide {
    min-height: 55vh;
    height: 55vh;
  }

  .custom-carousel-slide {
    height: 320px;
  }

  .hero-content,
  .custom-carousel-caption {
    padding: 1.5rem 1rem;
  }

  .hero-content-inner,
  .custom-carousel-caption-inner {
    max-width: 100%;
  }

  .position-top-left,
  .position-top-center,
  .position-top-right,
  .position-center-left,
  .position-center,
  .position-center-right,
  .position-bottom-left,
  .position-bottom-center,
  .position-bottom-right {
    justify-content: center;
    align-items: center;
  }

  .hero-title,
  .hero-description,
  .custom-carousel-title,
  .custom-carousel-description {
    text-align: center;
  }

  .hero-button-wrapper,
  .below-left,
  .below-center,
  .below-right {
    justify-content: center;
  }

  .actualites-block {
    padding: 3rem 0;
  }

  .actualite-image-wrapper {
    height: 180px;
  }

  .cta-block {
    padding: 3rem 1rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-description {
    font-size: 0.95rem;
  }
}



.google-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}