/* =============================================================================
   PAGE « CONTACT » — Bandeau image complet + titre en dessous
   Harmonisé avec travel-hero / realestate-guide
   ============================================================================= */

.contact-page .contact-hero .travel-hero-inner {
  display: flex;
  flex-direction: column;
}

/* Bandeau : image entière visible (non rognée) */
.contact-page .contact-hero-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  background: linear-gradient(160deg, #0a2463 0%, #1a3a6e 45%, #2d1b3d 100%);
  border-bottom: none;
  overflow: hidden;
}

.contact-page .contact-hero-banner img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
  animation: contactHeroImgIn 0.9s ease-out both;
}

@keyframes contactHeroImgIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Séparateur tricolore entre image et zone titre */
.contact-page .contact-hero-banner::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #002395 0%, #ffffff 50%, #ed2939 100%);
}

/* Zone titre — sous le bandeau */
.contact-page .contact-hero .travel-hero-text {
  padding: 2rem 2.5rem 2.25rem;
  text-align: center;
  animation: contactHeroTextIn 0.85s ease-out 0.15s both;
}

@keyframes contactHeroTextIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-page .contact-hero .travel-hero-text .eyebrow {
  letter-spacing: 0.14em;
}

.contact-page .contact-hero .travel-hero-text h1 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-page .contact-hero .travel-hero-text .lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.contact-page .contact-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.contact-page .contact-hero-badges .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

/* Héro — fond sombre → texte clair */
.contact-page .contact-hero .travel-hero-text .eyebrow {
  color: #f4d58a;
}

.contact-page .contact-hero .travel-hero-text h1 {
  color: #f1f5f9;
}

.contact-page .contact-hero .travel-hero-text .lead {
  color: #e2e8f0;
}

/* Aside + formulaire — fond clair → texte sombre */
.contact-page .contact-aside,
.contact-page .contact-card {
  background: linear-gradient(145deg, #fdfbf8 0%, #ffffff 100%);
  border: 1px solid rgba(44, 95, 78, 0.2);
  color: #3d3834;
}

.contact-page .contact-aside h2 {
  color: #2c5f4e;
}

.contact-page .contact-aside p {
  color: #3d3834;
}

.contact-page .contact-info-item {
  border-top-color: rgba(44, 95, 78, 0.15);
}

.contact-page .contact-info-item .ci-text {
  color: #3d3834;
}

.contact-page .contact-info-item .ci-text strong {
  color: #14110e;
}

.contact-page .contact-info-item a {
  color: #1d4ed8;
}

.contact-page .contact-info-item a:hover,
.contact-page .contact-info-item a:focus-visible {
  color: #b8703a;
}

.contact-page .field label {
  color: #14110e;
}

.contact-page .field input,
.contact-page .field select,
.contact-page .field textarea {
  background: #ffffff;
  border-color: rgba(44, 95, 78, 0.22);
  color: #14110e;
}

.contact-page .field input::placeholder,
.contact-page .field textarea::placeholder {
  color: #6b6560;
}

.contact-page .field select {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233d3834' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
}

.contact-page .field select option {
  background: #ffffff;
  color: #14110e;
}

.contact-page .field input:focus,
.contact-page .field select:focus,
.contact-page .field textarea:focus {
  border-color: #2c5f4e;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(44, 95, 78, 0.15);
}

.contact-page .form-feedback {
  color: #3d3834;
}

@media (max-width: 768px) {
  .contact-page .contact-hero .travel-hero-text {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .contact-page .contact-hero-banner img {
    max-height: min(55vh, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-hero-banner img,
  .contact-page .contact-hero .travel-hero-text {
    animation: none;
  }
}
