/*********************************************
 * BANNIÈRE COMELIN — VERSION STABLE ET RESPONSIVE
 *********************************************/

.comelin-banner {
  display: flex;
  flex-wrap: nowrap;
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* 🏪 IMAGE GAUCHE (magasin) */
.banner-left {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  background-color: #2A1C1C;
}

.banner-left .left-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;   /* ✅ Zoom fluide */
}

.banner-left:hover .left-image {
  transform: scale(1.05);            /* ✅ Effet zoom */
}

/* 🗨️ BULLE DE TEXTE */
.text-bubble {
  position: absolute;
  top: 8%;
  left: 8%;
  background: rgba(246, 234, 224, 0.95);
  color: #2A1C1C;
  padding: 1.8rem 2.2rem;
  border-radius: 15px;
  width: 380px;
  line-height: 1.6;
  font-size: large;                  /* ✅ Bonne lisibilité desktop */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  animation: fadeInBubble 1s ease forwards 0.3s;
}

.text-bubble strong {
  display: block;
  margin-top: 1rem;
  font-weight: 700;
}

/* 🖼️ IMAGE DROITE (bannière texte fixe) */
.banner-right {
  flex: 0 0 auto;
  background-color: #2A1C1C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-right .right-image {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;               /* ✅ Garde ratio exact */
  object-position: center;
}

/* 🌐 Intermédiaire — 1200px */
@media (max-width: 1200px) {
  .text-bubble {
    width: 320px;
    font-size: medium;
    top: 6%;
    left: 5%;
  }
}

/* 📏 Zone critique — 990px */
/*@media (max-width: 990px) {
  .comelin-banner {
    min-height: 450px;
    align-items: stretch;
  }

  .banner-left,
  .banner-right {
    height: auto;
    flex: 1 1 50%;
  }

  .banner-right .right-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .text-bubble {
    width: 85%;
    top: auto;
    bottom: 8%;
    left: 5%;
    transform: translateX(-50%);
    text-align: center;
  }
}
*/

/* 📱 Mobile — sous 900px */
@media (max-width: 1050px) {
  .comelin-banner {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .banner-left,
  .banner-right {
    width: 100%;
    height: auto;
  }

  .right-image {
    width: 100%;
    height: auto;
  }

  .text-bubble {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 1.5rem auto;
    width: 90%;
    font-size: large;              /* ✅ Très lisible mobile */
    text-align: center;
    padding: 1.5rem;
  }
  .avantages-intro .intro{
  width:90%;
}

}

/* ✨ Animation apparition */
@keyframes fadeInBubble {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🚀 Bouton CTA — Comelin Orange */
.cta-button {
  display: inline-block;
  background-color: #f47423;         /* orange principal Comelin */
  color: #fff;                       /* texte blanc */
  font-weight: 600;
  font-size: large;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.cta-button:hover {
  background-color: #d85e12;         /* variation plus sombre */
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  color: #fff;
  text-decoration: none;
}

.cta-button:active {
  background-color: #bf4f0e;         /* encore un ton plus profond */
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Adaptation mobile : bouton centré et large */
@media (max-width: 900px) {
  .cta-button {
    width: 80%;
    font-size: 1.1rem;
    padding: 1rem;
  }
}

/*Section Intro*/
.avantages-intro .intro {
  margin: auto;
  color: #2A1C1C;
    font-weight: 600;
}
.intro{
  width:60%;
}

/*Section Texte*/

.comelin-section.intro {
  width: 90%;
  max-width: 1200px;
  margin: 4rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
}

/* Conteneur principal */
.comelin-section.intro .section-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3rem 2rem;
  position: relative;
}

/* Image à gauche */
.comelin-section.intro .section-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#vectorpic::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(244, 116, 35, 0.1); /* Cercle décoratif */
  border-radius: 50%;
  top: -40px;
  left: -40px;
  z-index: 0;
}

.comelin-section.intro .section-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Texte à droite */
.comelin-section.intro .section-text {
  flex: 1 1 45%;
  color: #2A1C1C;
  z-index: 2;
}

.comelin-section.intro .section-text h2 {
  color: #f47423;
  font-size: 2.1rem;
  margin-bottom: 1.2rem;
}

.comelin-section.intro .section-text p {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}


/* Responsive — Mobile */
@media (max-width: 1050px) {
  .comelin-section.intro {
    flex-direction: column;
    text-align: center;
    margin: 2rem auto;
  }

  .comelin-section.intro .section-content {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .comelin-section.intro .section-image {
    order: 1;
    margin-bottom: 2rem;
  }

  .comelin-section.intro .section-text {
    order: 2;
  }

  .comelin-section.intro .section-text h2 {
    font-size: 2.1rem;
  }

  .comelin-section.intro .section-text p {
    font-size: 1.2rem;
  }

}
/*DIVIDER et bouton*/
/* 3️⃣ Ligne dégradée */
.section-divider.line {
  height: 6px;
  width: 60%;
  margin: 4rem auto;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #f47423, transparent);
}

.cta-wrapper {
  text-align: center;
  margin: 5rem 0 0 0;
  position: relative;
  z-index: 2;
}

.cta-bothom {
  background-color: #f47423;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;         /* ✅ grosse écriture, proche du H2 */
  text-decoration: none;
  padding: 1.3rem 3rem;      /* ✅ bouton large et généreux */
  border-radius: 60px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: inline-block;
  letter-spacing: 0.5px;
}

.cta-bothom:hover {
  background-color: #ff812b; /* variation hover */
  transform: translateY(-4px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ✅ Version mobile équilibrée */
@media (max-width: 900px) {
  .cta-bothom {
    font-size: 1.3rem;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
  }
}



