.contact-page {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* =========================
   HERO
========================= */

.contact-hero {
  padding: 3.2rem 0 2.8rem;
  background:
    linear-gradient(
      90deg,
      rgba(10,22,40,0.65) 0%,
      rgba(10,22,40,0.45) 35%,
      rgba(10,22,40,0.15) 70%,
      rgba(10,22,40,0.05) 100%
    ),
    url("/static/img/photo-accueil.png") center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 32, .30), rgba(6, 18, 32, .08));
  pointer-events: none;
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 2rem;
  align-items: center;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.contact-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 760px;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.contact-subtitle {
  max-width: 720px;
  font-size: 1.04rem;
  line-height: 1.9;
  color: rgba(255,255,255,.93);
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.contact-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.contact-hero-actions .btn {
  border-radius: 999px;
  padding: .9rem 1.45rem;
  font-weight: 700;
}

.contact-hero-panel {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 1.45rem;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 46px rgba(0,0,0,.18);
}

.contact-hero-panel h3 {
  margin: 0 0 .9rem 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
}

.contact-hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .9rem;
  color: rgba(255,255,255,.96);
  line-height: 1.65;
  font-size: .96rem;
}

.contact-hero-points i {
  color: #d1fae5;
  margin-top: .18rem;
  font-size: 1rem;
}

/* =========================
   COMMON
========================= */

.section-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: #edf8f1;
  color: #198754;
  font-weight: 700;
  font-size: .9rem;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: .8rem;
  color: #1f2937;
  letter-spacing: -.02em;
}

.section-heading p {
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* =========================
   CONTACT MAIN
========================= */

.contact-main {
  padding: 4rem 0 5rem;
}

.contact-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.6rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.contact-left {
  background: linear-gradient(135deg, #198754, #146c43);
  color: #fff;
  padding: 2.1rem;
  height: 100%;
}

.contact-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-left h3 {
  font-size: 1.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-left p {
  color: rgba(255,255,255,.94);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0 0;
}

.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  color: rgba(255,255,255,.96);
  line-height: 1.7;
}

.contact-points i {
  color: #d1fae5;
  margin-top: .2rem;
}

.contact-right {
  padding: 2rem;
}

.contact-right .form-label {
  color: #1f2937;
}

.contact-right .form-control,
.contact-right .form-select {
  border-radius: .9rem;
  padding: .88rem 1rem;
  border: 1px solid #d1d5db;
}

.contact-right .form-control:focus,
.contact-right .form-select:focus {
  border-color: #198754;
  box-shadow: 0 0 0 .2rem rgba(25,135,84,.15);
}

.contact-right textarea.form-control {
  min-height: 150px;
}

.contact-right .form-check-input {
  margin-top: .25rem;
}

.contact-right .btn-success {
  border-radius: 999px;
  padding: .95rem 1.4rem;
  font-weight: 700;
}

.sending-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: 1rem;
  color: #6b7280;
}

/* =========================
   CTA
========================= */

.contact-cta {
  padding: 0 0 5rem;
}

.contact-cta-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2.3rem 2rem;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.05);
}

.contact-cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: .75rem;
}

.contact-cta-box p {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  color: #4b5563;
  line-height: 1.8;
}

.contact-cta-box .btn {
  border-radius: 999px;
  padding: .88rem 1.45rem;
  font-weight: 700;
}

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

@media (max-width: 991.98px) {
  .contact-hero {
    padding: 2.4rem 0 2.2rem;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-left,
  .contact-right {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-left h3 {
    font-size: 1.7rem;
  }

  .contact-cta-box {
    padding: 2rem 1.2rem;
  }
}
