@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css");
body {
  font-family: "Roboto", sans-serif;
}

.hero-section {
  background: url("../img/web02.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-section h1,
.hero-section p,
.hero-section a {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0; /* au départ invisible */
}

.hero-section h1 {
  animation-delay: 0.2s;
}

.hero-section p {
  animation-delay: 0.5s;
}

.hero-section a {
  animation-delay: 0.8s;
}

.hero-section-petit {
  background: url("../img/web02.jpg") no-repeat center center;
  color: white;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  background-color: rgba(255, 255, 255, 0.6); /* blanc semi-transparent */
  padding: 2rem;
  border-radius: 12px;
  display: inline-block;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px); /* optionnel, pour un petit effet flouté sympa */
  color: #222;
}

.services-icon {
  font-size: 2.5rem;
  color: #007bff;
}

h1, h2, h3 {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-style: normal;
}

.navbar {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 500;
}

.navbar-light .navbar-brand {
  color: #6c757d;
}

.navbar-brand span {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.25em;
}

/* --- pied de page --- */
footer {
  color: #f8f9fa;
}

footer a {
  color: white;
}

footer a i {
  display: inline-block;
  color: white;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

footer a:hover {
  color: #4fc3f7;
}

footer a:hover i {
  transform: scale(1.2);
  color: #4fc3f7;
}

.card-img-top {
  width: 100%;
  height: auto;
}

h2 {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1s ease, transform 1s ease;
}

h2.visible {
  opacity: 1;
  transform: translateX(0);
}

.h3, h3 {
  font-size: 1.95rem;
}

section h2:first-letter {
  color: #2674b6;
}

section h3:first-letter {
  color: #2674b6;
}

.btn {
  background-color: #2674b6;
}

section a {
  color: #2674b6;
  text-decoration: none;
}

section a:hover {
  color: #2674b6;
  text-decoration: underline;
}

.navbar a:hover {
  text-decoration: none;
  color: #2674b6;
}

section {
  scroll-margin-top: 50px; /* ou la hauteur exacte de ta navbar */
}

header a:hover {
  text-decoration: none;
}

section a:hover {
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
  transition: transform 0.2s;
}

.card-body-faq {
  min-height: 180px;
}

.card-body-faq {
  background-color: #fff9b1; /* jaune pâle post-it */
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #f2e394;
  padding: 20px;
  transform: rotate(-2deg); /* légère rotation */
  position: relative;
  margin: 15px auto;
  max-width: 400px;
}

.card-body-faq::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 25px;
  height: 25px;
  background-size: contain;
}

.card-postit {
  background-color: transparent; /* pour enlever le fond blanc */
  box-shadow: none; /* enlever l’ombre par défaut, on la gère sur .card-body-faq */
  border: none; /* enlever la bordure Bootstrap */
}

.postit-yellow {
  background-color: #fff9b1;
}

.postit-pink {
  background-color: #ffc1c1;
}

.postit-green {
  background-color: #c1ffc1;
}

.postit-blue {
  background-color: #c1d9ff;
}

.card-body-faq {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body-faq:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

/* Style pour que les cartes aient une largeur fixe selon la taille d'écran */
.carousel-item > .row {
  display: flex;
}

.carousel-item .col {
  flex: 0 0 100%; /* Par défaut 1 carte */
  max-width: 100%;
}

@media (min-width: 768px) {
  .carousel-item .col {
    flex: 0 0 33.3333%; /* 3 cartes par slide sur tablette+ */
    max-width: 33.3333%;
  }
}
/* Pour les images dans les cartes */
.card-img-top {
  max-width: 100%;
  height: auto;
}

/* Positionnement flèches à l’extérieur */
.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.carousel-control-prev {
  left: -3.5rem; /* à gauche, hors du carrousel */
}

.carousel-control-next {
  right: -3.5rem; /* à droite, hors du carrousel */
}

/* Flèches blanches plus visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

#panda img {
  transition: transform 0.3s ease;
}

#panda img:hover {
  transform: scale(1.03) rotate(-1deg);
}/*# sourceMappingURL=style.css.map */