* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.presentation {
  display: flex;
  height: 80vh;
  width: 100%;
  overflow: hidden;
}

/* Partie gauche qui occupe 60% de l'écran */
.left-section {
  width: 60%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Image en oblique gauche */
.image1, .image2 {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: brightness(0.92) contrast(1.05);
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.image1 {
  background-image: url('../assets/images/section-acceuille/1.jpg');
  clip-path: polygon(0 0, 97% 0, 90% 100%, 0% 100%);
}

.image2 {
  background-image: url('../assets/images/section-acceuille/2.jpg');
  clip-path: polygon(3% 0, 100% 0, 100% 100%, 10% 100%);
}

/* Hover style */
.image1:hover, .image2:hover {
  transform: scale(1.03);
  filter: brightness(1.1) contrast(1.2);
}

/* Dégradé stylé */
.image1::before,
.image2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top right, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
  z-index: 1;
  pointer-events: none;
}

/* Partie droite avec le texte */
.right-section {
  width: 40%;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.right-section h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.right-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.btn1 {
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, #28a745, #218838);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.btn1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

.btn1:hover::before {
  left: 125%;
}

.btn1.green {
  background: linear-gradient(135deg, #28a745, #1e7e34);
}

.btn1.green:hover {
  background: linear-gradient(135deg, #1e7e34, #155d27);
  transform: scale(1.07);
  box-shadow: 0 12px 24px rgba(30, 126, 52, 0.8);
}

.slogan-p {
  text-align: center;
  font-size: 1.5rem;
  font-style: italic;
  color: #fffcfc;
  opacity: 0;
  animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(10px); }
  10%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}
@media (max-width: 768px) {
  .presentation {
    flex-direction: column;
  }
  
  .left-section, .right-section {
    width: 100%;
  }
  
  .image1, .image2 {
    width: 100%;
    height: 50vh;
    clip-path: none;
    border-radius: 0;
  }
  
  .right-section {
    padding: 30px;
    text-align: center;
  }
  
  .buttons {
    flex-direction: column;
  }
}
