/* Reset rapide */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #9b1e1e;
}

.hero-fullscreen {
  position: relative;
  overflow: hidden;
}

.hero-fullscreen .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* noir semi-transparent */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* passe au-dessus de l’overlay */
}


.hero-fullscreen {
  height: 100vh;
  background-image: url('../img/bg1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #2c2a2a;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}


.hero-title {
  color: rgb(66, 66, 66);
  font-size: var(--font-size-title);
}


.hero-button {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  white-space: nowrap;
  margin-top: 20px;

  /* Animation d'apparition */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.3s; /* petit décalage */
}

/* Animation keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/*about*/
.about-section {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  height: 100%;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  padding: 2rem;
  color: #333;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color); /* #E91E63 */
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}

.about-list {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: #555;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.about-illustration {
  flex: 1;
  display: flex;
  align-items: center; /* centre verticalement */
  justify-content: center; /* centre horizontalement */
  height: 100%;
}

.slideshow {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 4;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: slideShowSequence 12s infinite;
  transition: opacity 1s ease-in-out;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 32s; }
.slide:nth-child(3) { animation-delay: 64s; }

@keyframes slideShowSequence {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

/* CTA */
.social-cta {
  background: white; /* #E91E63 */
  color: #E91E63;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.social-cta p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: brightness(100%);
}

.social-icons a:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}


/*FORM*/

.contact-section {
  background-color: #f9f9f9;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  max-width: 700px;
  width: 100%;
  background-color: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.contact-container h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-container p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #c2185b; /* une version un peu plus sombre de #E91E63 */
}



/* FOOTER */

.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  user-select: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.social-link img {
  width: 28px;
  height: 28px;
  
  transition: filter 0.3s ease;
}

.social-link:hover img {
  filter: brightness(70%) invert(100%);
}



/* MENU */

/* Fixer le menu en haut */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid #ddd;
  z-index: 9999;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  height: 60px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo a img {
  width: 40%;
  max-width: 100px;
}



/* Masquer la checkbox */
.nav-toggle {
  display: none;
}

/* Hamburger */
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  margin-bottom: 45px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background-color: var(--primary-color);
  height: 3px;
  border-radius: 3px;
  position: absolute;
  width: 100%;
  transition: all 0.3s ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: "";
  top: -10px;
}

.nav-toggle-label span::after {
  content: "";
  top: 10px;
}

/* Menu desktop */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  margin-bottom: 50px;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--primary-color);
}





/* Responsive */
@media (max-width: 768px) {
  .hero-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-button {
    width: 80%;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }
}

/* about */
@media (max-width: 768px) {
  .about-section {
    padding: 0;
    height: 100dvh; /* Utilise toute la hauteur de l'écran mobile */
  }

  .about-content {
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  .about-illustration {
    width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  }

  .about-text {
    display: block;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem 1.5rem 2rem;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    
  }

  /* Bonus : scrollbar stylée (facultatif) */
  .about-text::-webkit-scrollbar {
    width: 6px;
  }

  .about-text::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
  }

.slideshow {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f9f9f9; /* facultatif pour vérifier l'espace pris */
  min-height: 200px; /* garantie d’un espace visible même sans image */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: slideShowSequence 12s infinite;
  transition: opacity 1s ease-in-out;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }

@keyframes slideShowSequence {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}  
}


/* CTA */

@media (max-width: 768px) {
  .social-cta h2 {
    font-size: 1.5rem;
  }

  .social-cta p {
    font-size: 1rem;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icons a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: brightness(100%);
}

}

/*FORM*/

@media screen and (max-width: 768px) {
  .contact-container {
    padding: 2rem 1rem;
  }

  .contact-container h2 {
    font-size: 1.6rem;
  }

  .contact-container p {
    font-size: 1rem;
  }
}

/*FOOTER*/

@media screen and (max-width: 600px) {
  .site-footer {
    padding: 1.5rem 1rem;
  }

  .social-link img {
    width: 24px;
    height: 24px;
  }
}


/* MENU */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px; /* hauteur du menu */
    right: 0;
    background: white;
    width: 220px;
    height: calc(100vh - 60px);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: -3px 0 6px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  /* Quand la checkbox est cochée, afficher le menu */
  .nav-toggle:checked ~ .nav-menu {
    transform: translateX(0);
  }
}