h2.section-title {
  /* met la meme taille que les h1 */
  font-size: clamp(50px, 2.5vw, 100px);
  color: #5043c9;
  text-align: center;
  margin: 20px;
  font-family:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

@media (min-width: 1200px) {
  h2.section-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  h2.section-title {
    font-size: 3rem;
  }
}

@media (min-width: 621px) and (max-width: 991px) {
  h2.section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 920px) {
  h2.section-title {
    font-size: 2rem;
    padding: 0 20px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  h2.section-title {
    font-size: 1.5rem;
  }
}
@import url("https://fonts.googleapis.com/css2?family=Chewy&family=Mukta:wght@200;300;400;500;600;700;800&family=Playwrite+GB+S:ital@0;1&display=swap");
/* Bouton scroll to top */
#scrollToTopBtn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  background: #5043c9;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 0.85;
}
#scrollToTopBtn:hover {
  opacity: 1;
  background: #7e73cc;
}

.header {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

header h1 {
  /*font-size: 3vw;*/
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
}

/*.path {*/
/*    */
/*    clip-path: path("M0,0 L70,40 A10,10 0 0 0 80,30 L80,10 A10,10 0 0 1 90,0 L140,0 A10,10 0 0 1 150,10 L150,190 A10,10 0 0 1 140,200 L10,200 L0,190 L0,50 L10,40 Z");*/
/*}*/
.path {
  clip-path: url(#myPath);
  /*background: url("https://picsum.photos/1200/800") center/cover no-repeat;*/
  transform: scale(0.5);
  /* 3x plus haut que l’original */
}

header p {
  font-size: 1rem;
  color: #ffffff;
  text-align: center;
  margin-top: 20px;
  font-family: "Playwrite GB S", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

header li {
  color: #ffffff;
  text-decoration: none;
  margin: 10px;
  font-size: clamp(20px, 1.2vw, 90px);
}

header img {
  width: clamp(30px, 20vw, 100px);
}

.wave1 {
  margin-bottom: -2px;
}

.wave2 {
  margin-top: -5px;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 95vw;
  border-radius: 25px;
  height: 95vh;
  min-height: 600px;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.scroll-down-indicator {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.scroll-text {
  color: #fff;
  opacity: 0.7;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #5043c9;
  margin-bottom: 8px;
  display: block;
}

.arrow {
  display: block;
  color: #c5b8ff;
  font-size: 2rem;
  opacity: 0.7;
  animation: arrowDown 1.2s infinite;
}
.arrow2 {
  animation-delay: 0.5s;
}

@keyframes arrowDown {
  0% {
    opacity: 0.2;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 95vw;
  height: 95vh;
  min-height: 600px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.title {
  position: relative;
  margin: auto;
  margin-top: 250px;
  font-family: Rockwell, serif;
  width: 90%;
  max-width: 800px;
  padding: 0 20px;
}

.area {
  margin: 10px auto;
  background: rgb(255, 255, 255);
  border-radius: 25px;
  position: relative;
  text-align: center;
  width: 90%;
  max-width: 1200px;
  padding: 15px;
  z-index: 1;
  margin-top: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bottom-m {
  position: absolute;
  bottom: -5px;
}

.widget {
  min-width: 200px;
  text-align: center;
  padding: 20px;
  margin: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: transparent;
  transition: all 0.3s;
}

.widget:hover {
  transform: scale(1.1);
}

.white-icon {
  filter: brightness(0) invert(1);
}

.tarifs {
  margin: auto;
  text-align: center;
}

a {
  text-decoration: none;
}

article a {
  color: #000000;
}

.w-50px {
  width: 50px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    height: auto;
  }

  .container .row {
    flex-direction: column;
    text-align: center;
  }

  .container .row .col img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .container .row .col h1 {
    font-size: 1.5rem;
  }

  .title {
    margin-top: 60px !important;
    padding: 10px 10px !important;
    max-width: 95vw;
  }
}

/* Responsive improvements for index page */

/* Mobile styles */
@media (max-width: 920px) {
  .header {
    height: 100vh;
    min-height: 600px;
  }

  .area .navbar-brand {
    font-size: 0.8rem;
  }

  header h1 {
    font-size: 2rem;
    padding: 0 20px;
    margin-top: 30px;
  }

  header p {
    font-size: 1.2rem;
    padding: 0 20px;
    margin-top: 15px;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .navbar-brand img {
    width: 30px;
    height: 30px;
  }

  .title {
    padding: 20px;
  }

  .title hr {
    width: 60%;
    margin: 20px auto;
  }

  /* Service widgets on mobile */
  .widget {
    margin-bottom: 15px;
    padding: 20px;
  }

  .widget h3 {
    font-size: 1.2rem;
  }

  .widget p {
    font-size: 0.9rem;
  }

  /* Video background adjustments */
  .background-video {
    object-position: center center;
  }

  /* Contact section */
  .w-50px {
    width: 40px !important;
  }

  /* Footer improvements */
  footer .row .col-md-4 {
    margin-bottom: 25px;
    text-align: center;
  }

  /* Amélioration menu mobile dans .area */
  .area .navbar-collapse {
    text-align: center;
  }
  .area .navbar-nav {
    flex-direction: column;
    justify-content: center !important;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }
  .area .navbar-nav .nav-item {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .area .navbar-nav .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-radius: 8px;
    transition: background 0.2s;
  }
  .area .navbar-nav .nav-link:hover,
  .area .navbar-nav .nav-link:focus {
    background: #5043c9;
    color: #fff;
  }
  .area .navbar-toggler {
    border: none;
    background: transparent;
    outline: none;
  }
  .area .navbar-toggler:focus {
    box-shadow: none;
  }
  .area .navbar-toggler-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 2.5rem 2.5rem;
    background-repeat: no-repeat;
    background-position: center;
  }
}

/* Tablet styles */
@media (min-width: 621px) and (max-width: 991px) {
  header h1 {
    font-size: 2.5rem;
  }

  header p {
    font-size: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .widget {
    padding: 25px;
  }
}

/* Desktop styles */
@media (min-width: 992px) {
  header h1 {
    font-size: 3rem;
  }

  header p {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  header h1 {
    font-size: 3.5rem;
  }

  header p {
    font-size: 2.2rem;
  }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .header {
    height: auto;
    min-height: 500px;
    .container .row .col h1 {
      font-size: 1.5rem;
    }

    .title {
      margin-top: 80px !important;
      padding: 10px 10px !important;
      max-width: 95vw;
    }

    header h1 {
      margin-top: 30px !important;
      font-size: 2rem !important;
      padding: 0 10px !important;
    }
    font-size: 1.8rem;
    margin-top: 15px;
  }

  header p {
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .title {
    padding: 15px;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .widget:hover {
    transform: none;
  }

  .widget:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  .nav-link:hover {
    color: inherit;
  }
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  body,
  .bg-primary-m,
  .area {
    background-color: #181828 !important;
    color: #f3f3f3 !important;
  }

  .header {
    background-color: #181828;
  }

  h2.section-title {
    color: #f3f3f3 !important;
  }

  .area {
    background-color: #232347 !important;
  }

  .navbar-brand,
  .nav-link,
  .title,
  .widget,
  .footer,
  footer {
    color: #f3f3f3 !important;
  }

  .widget {
    background-color: #232347 !important;
    color: #f3f3f3 !important;
  }

  .bg-primary-m {
    background-color: #232347 !important;
  }

  .c-primary,
  .c-w {
    color: #f3f3f3 !important;
  }

  /* Waves SVG dark mode */
  .wave1 svg rect,
  .wave2 svg rect {
    fill: #232347 !important;
  }

  .wave1 svg path,
  .wave2 svg path {
    fill: #181828 !important;
  }

  .themedark {
    filter: brightness(0) invert(1) !important;
  }

  /* Footer */
  footer.bg-dark {
    background-color: #161622 !important;
    color: #f3f3f3 !important;
  }

  footer a {
    color: #f3f3f3 !important;
  }

  footer hr.bg-white {
    background-color: #444 !important;
  }

  /* Hamburger icon blanc en dark mode */
  .area .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
}
