:root {
  --navy: #002855;
  --orange: #FF6600;
  --white: #FFFFFF;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:Arial,sans-serif; color:var(--navy); background:var(--white); }
.container { width:90%; max-width:1000px; margin:0 auto; }

/* Header & Navigation */
.site-header { background:var(--white); border-bottom:1px solid #eee; }
.nav-container { display:flex; align-items:center; justify-content:space-between; padding:1rem; }

#nav-toggle { display:none; font-size:1.5rem; background:none; border:none; cursor:pointer; color:var(--navy); }
#nav-menu ul { list-style:none; display:flex; gap:0.5rem; }
#nav-menu a { padding:0.5rem 1rem; border:2px solid var(--navy); border-radius:4px; text-decoration:none; color:var(--navy); background:var(--white); transition:background .3s; }
#nav-menu a:hover { background:var(--orange); color:#fff; }

/* Hero */
.hero { text-align:center; padding:2rem 0; }
.hero h2 { font-size:2rem; margin-bottom:0.5rem; }
.hero p { margin-bottom:1rem; }
.btn { background:var(--orange); color:#fff; padding:0.75rem 1.5rem; border:none; border-radius:4px; text-decoration:none; }

/* Slider */
.slider-container { position:relative; margin:2rem 0; }
.slides-wrapper { overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.slides-wrapper::-webkit-scrollbar { display:none; }
.slides { display:flex; }
.slide { flex:0 0 100%; scroll-snap-align:start; padding:1rem; }
.slide h3 { text-align:center; color:var(--orange); margin-bottom:0.5rem; }
.slide img { width:100%; height:auto; border-radius:4px; }
.service-text ul { list-style:disc inside; }

.arrow { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,40,85,0.6); color:#fff; border:none; font-size:2rem; padding:0.5rem; border-radius:50%; cursor:pointer; z-index:10; }
.arrow.left { left:0.5rem; }
.arrow.right { right:0.5rem; }

/* Section Titles */
.sections h2 { text-align:center; margin-bottom:1rem; }

/* Tarifs */
#tarifs { padding:2rem 0; }
#tarifs table { width:100%; border-collapse:collapse; }
#tarifs th, #tarifs td { border:1px solid #ddd; padding:0.75rem; text-align:center; }
#tarifs th { background:var(--navy); color:var(--white); }

/* CGV & Footer */
.cgv, .site-footer { padding:2rem 0; font-size:0.9rem; }
.site-footer { text-align:center; border-top:1px solid #eee; }

/* taille du logo partout */
.logo img {
  height: 10rem;
  width: auto;
}



/* --- Social icons styles --- */
.social-icons {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon-large {
  height: 50px;
  transition: transform 0.2s ease;
}

.social-icon-large:hover {
  transform: scale(1.1);
}


@media (max-width: 600px) {
  .logo img {
    height: 5rem;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #nav-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    color: var(--navy);
  }

  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 2rem 1.5rem;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
  }

  #nav-menu.open {
    right: 0;
  }

  #nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  #nav-menu li {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
  }

  #nav-menu a {
    text-decoration: none;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: bold;
  }

  @keyframes slideFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


.hero-section {
  background-color: #fff5ec;
  padding: 2rem 1rem;
  text-align: center;
}

.animated-title {
  color: #003049;
  font-size: 2rem;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.info-image {
  flex: 1 1 300px;
  text-align: center;
}

.info-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.info-text {
  flex: 2 1 400px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.info-text ul {
  padding-left: 1.2rem;
  margin: 1rem 0;
  list-style: none;
}

.info-text ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
}

.info-text ul li i {
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: #003049;
}
/* Animation des titres */
.animate-title {
  opacity: 0;
  animation: slideDownTitle 1.8s ease-out forwards;
}

/* Animation des icônes */
.animate-icon {
  opacity: 0;
  animation: slideInLeft 1.5s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-200vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation en cascade pour les icônes animées */
.animate-icon:nth-child(1) { animation-delay: 0.2s; }
.animate-icon:nth-child(2) { animation-delay: 0.4s; }
.animate-icon:nth-child(3) { animation-delay: 0.6s; }
.animate-icon:nth-child(4) { animation-delay: 0.8s; }
.animate-icon:nth-child(5) { animation-delay: 1s; }
.animate-icon:nth-child(6) { animation-delay: 1.2s; }
@keyframes slideDownTitle {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Animation du bloc complet (icône + texte) */
.animate-bloc {
  opacity: 0;
  animation: slideInLeftBloc 1.5s ease-out forwards;
}

@keyframes slideInLeftBloc {
  from {
    opacity: 0;
    transform: translateX(-200vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation en cascade pour les blocs animés */
.animate-bloc:nth-child(1) { animation-delay: 0.3s; }
.animate-bloc:nth-child(2) { animation-delay: 1s; }
.animate-bloc:nth-child(3) { animation-delay: 1.7s; }
.animate-bloc:nth-child(4) { animation-delay: 2.4s; }
.animate-bloc:nth-child(5) { animation-delay: 3.1s; }
.animate-bloc:nth-child(6) { animation-delay: 3.8s; }


/* Parent section background for carousel */
.carousel-section {
  background-color: var(--white);
}

/* === Splide.js Carousel Custom Styling === */
#slider {
  max-width: 960px;
  margin: 3rem auto;
  border-radius: 16px;
  box-shadow: none;
  border: none;
  overflow: visible;
  background-color: var(--white);
  padding: 0;
  position: relative;
}

.splide__slide {
  position: relative;
  text-align: center;
  padding: 0;
}

.splide__slide img {
  width: calc(100% - 10%);
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  transition: transform 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.splide__slide img:hover {
  transform: scale(1.03);
}

.slide-title {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(0, 40, 85, 0.75);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0.75rem;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  backdrop-filter: blur(2px);
}

.splide__arrow {
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  z-index: 20;
}

.splide__arrow:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--orange);
  transform: translateY(-50%) scale(1.1);
}

.splide__arrow--prev {
  left: 1rem;
}

.splide__arrow--next {
  right: 1rem;
}

.splide__arrow--prev::before,
.splide__arrow--next::before {
  font-size: 2.4rem;
  color: inherit;
}

.splide__pagination {
  position: absolute;
  bottom: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 15;
}

.splide__pagination__page {
  background: #ccc;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  margin: 0 5px;
  opacity: 0.8;
  transition: background 0.3s ease;
}

.splide__pagination__page.is-active {
  background: var(--orange);
  transform: scale(1.2);
  box-shadow: 0 0 5px var(--orange);
}


@media (max-width: 768px) {
  #slider {
    max-width: 95%;
    padding: 0.5rem 0;
  }

  .slide-title {
    font-size: 0.9rem;
    padding: 0.4rem;
  }
  /* Garde le style mobile inchangé pour les images du carrousel */
  .splide__slide img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .splide__pagination {
    bottom: 0.5rem;
  }
}

.site-footer {
  position: relative;
}

/* Logo SAP aligné inline dans le footer */
.footer-logo-inline {
  display: inline;
  vertical-align: middle;
  margin-left: 0.5rem;
  margin-right: auto;
  height: 3.6rem;
}