/* =========================
   SECTION VISITE
   ========================= */

.visite-section {
  position: relative;
  min-height: auto;
  display: block;
  padding: 100px 20px;
  overflow: hidden;
  background: url("../images/visites/visites-bg.jpg") center center / cover no-repeat;
}

.visite-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 241, 232, 0.92) 0%,
    rgba(245, 241, 232, 0.86) 100%
  );
  z-index: 0;
}

.visite-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* =========================
   HEADER
   ========================= */

.visite-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.visite-header .section-eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.visite-header .section-title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
}

.visite-intro {
  margin: 18px auto 0;
  max-width: 640px;
  color: var(--text-dark);
  font-size: clamp(1rem, 1.1vw, 0.95rem);
  line-height: 1.75;
  opacity: 0.92;
}

/* =========================
   BOUTON ITINERAIRE
   ========================= */

.visite-itineraire {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

/* =========================
   GRILLE DES PARCOURS
   ========================= */

.visite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 38px;
}

/* =========================
   CARTES
   ========================= */

.visite-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(194, 164, 109, 0.2);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 30px 30px;
  text-align: left;
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.visite-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(194, 164, 109, 0.38);
  background: rgba(255, 255, 255, 0.86);
}

.visite-card h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.visite-card p {
  margin: 0 0 24px;
  color: var(--text-dark);
  font-size: clamp(1rem, 1vw, 0.95rem);
  line-height: 1.75;
  opacity: 0.9;
  
}

.visite-info {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
    width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   INFOS PRATIQUES
   ========================= */

.visite-infos {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(194, 164, 109, 0.18);
  border-radius: 22px;
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.visite-infos p {
  margin: 8px 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================
   BOUTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Bouton principal : rendez-vous */
.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 33, 145, 0.18);
}

.btn-primary:hover {
  background: #00196f;
  color: #ffffff;
}

/* Bouton secondaire : commande */
.btn-secondary {
  background: var(--gold);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(194, 164, 109, 0.24);
}

.btn-secondary:hover {
  background: #aa8d58;
  color: #ffffff;
}

/* Bouton itinéraire */
.btn-outline {
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid var(--gold);
  color: var(--blue);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

/* =========================
   ETATS FOCUS ACCESSIBILITE
   ========================= */

.btn:focus-visible {
  outline: 3px solid rgba(194, 164, 109, 0.35);
  outline-offset: 3px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991px) {
  .visite-section {
    min-height: auto;
    padding: 88px 20px;
  }

  .visite-grid {
    gap: 22px;
  }

  .visite-card {
    padding: 30px 24px 26px;
  }
}

@media (max-width: 768px) {
  .visite-section {
    padding: 72px 16px;
    background-position: center center;
  }

  .visite-section::before {
    background: linear-gradient(
      180deg,
      rgba(245, 241, 232, 0.94) 0%,
      rgba(245, 241, 232, 0.9) 100%
    );
  }

  .visite-header {
    margin-bottom: 34px;
  }

  .visite-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .visite-itineraire {
    margin-bottom: 28px;
  }

  .visite-card {
    border-radius: 20px;
    padding: 26px 20px 22px;
  }

  .visite-card h3 {
    font-size: 1.28rem;
  }

  .visite-card p {
    font-size: 0.95rem;
  }

  .visite-infos {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .visite-section {
    padding: 64px 14px;
  }

  .visite-header .section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .visite-intro {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .visite-card h3 {
    font-size: 1.18rem;
  }

  .visite-info,
  .visite-infos p {
    font-size: 0.9rem;
  }
  
}

.btn-primary,
.btn-secondary {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}