/* Variables pour les couleurs et espacements */
:root {
  --camper-primary: #48bcbf;
  --camper-primary-dark: #3da9ac;
  --camper-secondary: #ff7e5f;
  --camper-text: #333333;
  --camper-light: #ffffff;
  --camper-spacing: 2rem;
  --camper-radius: 8px;
  --camper-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --camper-transition: all 0.3s ease;
}

/* ===================================
   BLOC CAMPER - 2/3 colonnes
   =================================== */

.camper-section {
  max-width: 1550px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Titre principal (optionnel) */
.camper-main-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  padding-left: 15px;
  text-transform: uppercase;
  color: #000;
}

.camper-main-title::before {
  content: "";
  width: 5px;
  height: 85%;
  background-color: #e65f0d;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Grid: 2 colonnes par défaut, 3 colonnes en desktop */
.camper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Colonne */
.camper-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Image */
.camper-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.camper-image-link {
  display: block;
  text-decoration: none;
}

.camper-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.camper-image-wrapper:hover .camper-image {
  transform: scale(1.05);
}

/* Titre colonne */
.camper-column-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin: 0;
  text-transform: uppercase;
}

/* Texte */
.camper-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.camper-text p {
  margin-bottom: 10px;
}

/* CTA */
.camper-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  background-color: #e65f0d;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  align-self: center; /* Centrer le CTA */
}

.camper-cta:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(230, 95, 13, 0.3);
}

/* Retirer la flèche du CTA */
.camper-cta .camper-cta-icon {
  display: none !important;
}

/* RESPONSIVE */
@media screen and (min-width: 1024px) {
  /* 3 éléments du répéteur en desktop */
  .camper-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .camper-section {
    padding: 40px 15px;
  }

  .camper-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .camper-main-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .camper-column-title {
    font-size: 1.3rem;
  }

  .camper-text {
    font-size: 0.95rem;
  }

  .camper-cta {
    width: 45%;
    justify-content: center;
  }
}
