/* =========================
   CONTACT PAGE FOND GENERAL
   ========================= */
body {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%);
}

/* =========================
   CONTACT PAGE HERO
   ========================= */

.contact-hero {
  position: relative;
  padding: 120px 20px 95px;
  text-align: center;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: rgba(71, 118, 230, 0.08);
  border-radius: 50%;
  filter: blur(10px);
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  background: rgba(0, 198, 255, 0.08);
  border-radius: 50%;
  filter: blur(10px);
}

.contact-hero p:first-child {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(71, 118, 230, 0.08);
  color: #2f5bd1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-hero h1 {
  font-size: clamp(42px,5vw,64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.contact-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.85;
  color: #667085;
}

.contact-hero p:last-child {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

/* ================================
   CONTACT PAGE SECTION PRINCIPALE
   ================================ */

.contact-main {
  padding-top: 85px !important;
  padding-bottom: 85px !important;
}

.contact-main-grid {
  max-width: 1240px;
  margin: 0 auto;
  gap: 28px !important;
  align-items: flex-start !important;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  padding: 36px 32px !important;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 26px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07) !important;
  backdrop-filter: blur(8px);
  height: auto !important;
  align-self: flex-start !important;
}

.contact-form-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 72%);
  pointer-events: none;
}

.contact-form-card p:first-child {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form-card h2,
.contact-form-card h3 {
  font-size: 24px !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
  letter-spacing: -0.02em;
}

.contact-form-card > p {
  /*color: #64748b;*/
  color: #6b7a90 !important;
  font-size: 15px;
  line-height: 1.85;
}

/* =========================
   CONTACT PAGE FORM
   ========================= */

.contact-form-card .wpforms-field {
  margin-bottom: 18px !important;
}

.contact-form-card .wpforms-field-label {
  margin-bottom: 8px !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea {
  width: 100% !important;
  padding: 14px 0 !important;
  border: none !important;
  border-bottom: 1.8px solid #c9d7ea !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 15px !important;
  box-shadow: none !important;
  min-height: auto !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.contact-form-card textarea {
  min-height: 95px !important;
  padding-top: 18px !important;
  resize: vertical !important;
}

.contact-form-card .wpforms-field-textarea {
  margin-top: 4px !important;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #8ea0b8 !important;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  outline: none !important;
  border-bottom-color: #2563eb !important;
  box-shadow: 0 10px 18px -16px rgba(37, 99, 235, 0.55) !important;
}

.contact-form-card select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%) !important;
  background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px) !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  padding-right: 28px !important;
}


.contact-form-card .wpforms-submit {
  min-height: 50px !important;
  padding: 0 24px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 26px rgba(37, 99, 235, 0.22) !important;

}

.contact-form-card .wpforms-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px rgba(37, 99, 235, 0.28) !important;
}

.contact-form-card .wpforms-field-checkbox ul,
.contact-form-card .wpforms-field-checkbox li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.contact-form-card .wpforms-field-checkbox li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.contact-form-card .wpforms-field-checkbox input[type="checkbox"] {
  margin-top: 4px !important;
  transform: scale(1.05);
}

.contact-form-card .wpforms-field-checkbox label {
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: #64748b !important;
}

   /* =========================
   CONTACT PAGE INFOS
   ========================= */

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card {
  position: relative;
  padding: 32px 28px !important;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 24px !important;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.contact-info-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.10) 0%, rgba(6, 182, 212, 0) 70%);
  pointer-events: none;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.12);
}

.contact-form-card,
.contact-info-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.contact-form-card > *,
.contact-info-card > * {
  position: relative;
  z-index: 2;
}

.contact-info-card > p:not(:first-child) {
  color: #6b7a90 !important;
  line-height: 1.8 !important;
  font-size: 15px !important;
}

.contact-info-card p:first-child {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.07);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-info-card h3 {
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.02em;
color: #0f172a;
}

.contact-info-card p {
  color: #64748b;
  line-height: 1.85;
}

.contact-info-card a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}

.contact-info-card a:hover {
  color: #2563eb;
}

.contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #475569;
  line-height: 1.8;
  flex-wrap: wrap;
}

.contact-info-line strong {
  color: #0f172a;
  font-weight: 700;
}

.contact-info-line a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-info-line a:hover {
  color: #2563eb;
}

.contact-info-card strong {
  color: #111827;
}

.contact-meta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  /*padding: 12px 0;*/
  padding: 10px 0 !important;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-width: 40px !important;
  border-radius: 50%;
  font-size: 16px !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.10)) !important;
  border: 1px solid rgba(37, 99, 235, 0.10) !important;
  color: #2563eb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.contact-meta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-meta-text span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.contact-meta-text a,
.contact-meta-text div {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  word-break: break-word;
}

.contact-meta-text a {
  font-weight: 600;
  transition: color 0.25s ease;
}

.contact-meta-text a:hover {
  color: #2563eb;
}

/* =========================
  CONTACT PAGE CARTE MAPS
========================= */

.contact-map-section {
  padding: 90px 20px;
  text-align: center;
}

.contact-map-section h2 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #111827;
}

.contact-map-intro {
  max-width: 700px;
  margin: auto;
  margin-bottom: 40px;
  color: #667085;
  line-height: 1.7;
}

.contact-map-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.contact-map-card {
  position: relative;
  max-width: 450px;
  margin: -120px auto 0;
  padding: 28px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  text-align: left;
}

.contact-map-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
  text-align: center;
}

.contact-map-card p {
  margin-bottom: 8px;
  color: #5f6b7a;
  line-height: 1.6;
}

.contact-local-seo{
  font-size:12px;
  color:#9aa6b2;
  text-align:center;
  margin-top:10px;
  opacity:0.6;
}

/* =========================
  CONTACT PAGE RESPONSIVE
========================= */

@media (max-width: 768px) {
  .contact-hero {
    padding: 90px 16px 70px;
    border-radius: 0 0 24px 24px;
  }

  .contact-main {
    padding: 65px 16px;
  }

  .contact-main-grid{
    gap:30px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 26px;
    border-radius: 20px;
  }

  .contact-form-card h2,
  .contact-form-card h3,
  .contact-info-card h3 {
    font-size: 28px;
  }
}

/* =========================
   CARTE HORAIRES - VERSION BANDEAU LARGE
   ========================= */
.contact-hours-card {
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 36px !important;
}

.contact-hours-card::before {
  background: linear-gradient(90deg, #10b981, #06b6d4) !important;
}

/* Bloc gauche : badge + titre */
.contact-hours-card-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.contact-hours-card > p:first-child {
  margin: 0 !important;
}

.contact-hours-card > h3 {
  margin: 0 !important;
  font-size: 20px !important;
  white-space: nowrap;
}

/* Bloc droit : les horaires en ligne */
.contact-hours-card .contact-meta {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 10px !important;
  margin-top: 0 !important;
  flex: 1;
  justify-content: flex-end;
}

.contact-hours-card .contact-meta-item {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  background: rgba(15, 23, 42, 0.025);
  min-width: 150px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-hours-card .contact-meta-item:hover {
  background: rgba(16, 185, 129, 0.06);
  transform: translateY(-2px);
}

.contact-hours-card .contact-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  font-size: 13px !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(6, 182, 212, 0.12)) !important;
  border: 1px solid rgba(16, 185, 129, 0.12) !important;
  color: #10b981 !important;
}

.contact-hours-card .contact-meta-text {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  width: 100%;
}

.contact-hours-card .contact-meta-text span {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #94a3b8 !important;
}

.contact-hours-card .contact-meta-text span::after {
  content: none !important;
}

.contact-hours-card .contact-meta-text div {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

/* Carte "Réponse" mise en avant */
.contact-hours-card .contact-meta-item:last-child {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(6, 182, 212, 0.10)) !important;
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.contact-hours-card .contact-meta-item:last-child .contact-meta-text div {
  color: #059669 !important;
}

/* Séparateurs verticaux discrets entre les blocs */
.contact-hours-card .contact-meta-item + .contact-meta-item {
  border-left: 1px solid rgba(15, 23, 42, 0.06);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .contact-hours-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .contact-hours-card .contact-meta {
    justify-content: flex-start;
    width: 100%;
  }

  .contact-hours-card .contact-meta-item {
    flex: 1;
    min-width: 130px;
  }
}

@media (max-width: 600px) {
  .contact-hours-card {
    padding: 22px 20px !important;
  }

  .contact-hours-card .contact-meta {
    flex-direction: column !important;
  }

  .contact-hours-card .contact-meta-item + .contact-meta-item {
    border-left: none;
  }
}