/* ---------- hero ---------- */
.contact-hero {
  position: relative;
  min-height: clamp(420px, 48vw, 560px);
  overflow: hidden;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero__content {
  position: relative; /* ⚠️ plus absolute */
  min-height: inherit;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 80px 20px;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.25) 0%,
      rgba(0,0,0,0.35) 40%,
      rgba(0,0,0,0.55) 100%
    );
}

/* Bloc texte */
.contact-hero__inner {
  text-align: center;
  max-width: 720px;
  padding: 0 20px;
}

/* Titre */
.contact-hero__inner h1 {
  color: white;
  font-size: var(--hero-title-size);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* Texte */
.contact-hero__inner p {
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  max-width: 46ch;
  margin: 0 auto;
}
/* ---------- wrapper ---------- */
.contact-wrapper {
     background-color: #f4f7fb;
    display: flex;
    justify-content: center;
    margin-top: clamp(-100px, -8vw, -40px);
    padding: 0 20px 100px;
  
}
.contact-intro {
     text-align: center;
}
/* CARD */
.contact-card {
    background: white;
    max-width: 750px;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    padding: 50px 20px 10px 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
      z-index: 10;
}
.contact-info-camping {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-items: center;
}
.contact-info-camping h3 {
    font-size: var(--titreSmall-size);
    text-align: center;
}
/* Infos */
.contact-info-camping p {
    margin-bottom: 6px;
    color: #555;
}

.text-danger .fa-question {
    color: darkred;      /* couleur rouge */
    font-size: 1.2em;    /* légèrement plus grande */
    cursor: help;        /* curseur en forme de point d’aide */
}
.email-link, .phone-link {
    text-decoration: none;
    color: var(--brown-color);
}

.col-md-7 form input.form-control,
.col-md-7 form textarea.form-control {
    background-color: var(--beige-color); /* gris très clair */
    color: #333;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 0.5rem;
}

.custom-checkbox {
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
}



.custom-checkbox span {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #333;
    border-radius: 4px;
    margin-right: 8px;
    background-color: rgba(248,246,244, 0.2);
    vertical-align: middle;
}


.custom-checkbox input:checked + span::after {
    content: '\f00c'; /* code Unicode de FA check */
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; /* nécessaire pour FA solid */
    color: var(--brown-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-form .form-check {
    padding-left: 0;
}
.politiqueLien {
    color: var(--brown-color);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-size: 0% 1px;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.politiqueLien:hover {
    background-size: 100% 1px;
}
.button-contact {
    margin-top: 50px;
    text-align: center;
}

.button-contact button {
    min-width: 260px;
}
#formMessageContact {
    font-size: 1.2rem;
    text-align: center;
}
@media (max-width: 768px) {
  .contact-wrapper {
    margin-top: -70px;
  }

  .contact-hero {
    min-height: 380px;
  }
}

@media (max-width: 480px) {
  .contact-wrapper {
    margin-top: -20px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-hero {
    min-height: 380px;
  }
}
@media (max-width: 480px) {
    .button-contact button {
    min-width: 160px;
}
.contact-wrapper {
    padding-left: 10px;
    padding-right: 10px;
      margin-top: -70px;
}
}
