/* ── HERO CONTACT ── */
.contact-hero {
  padding: 140px 20px 80px;
  text-align: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 180, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease forwards;
}

.contact-inner h1 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-inner p {
  font-size: 17px;
  color: #D9D9D9;
  line-height: 1.7;
}

/* ── LAYOUT CONTACT ── */
.contact-section {
  padding: 60px 20px 100px;
  background: #0f0f0f;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: flex-start;
  padding: 0 20px;
}

/* ── INFOS GAUCHE ── */
.contact-info {
  position: sticky;
  top: 100px;
  /* ← colle au header en scrollant */
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-info>p {
  font-size: 15px;
  color: #D9D9D9;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #131313;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color 0.3s;
}

.contact-info-item:hover {
  border-color: rgba(245, 180, 0, 0.3);
}

.contact-info-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.8;
}

.contact-info-item span {
  font-size: 14px;
  color: #D9D9D9;
}

/* Séparateur */
.contact-info-divider {
  height: 1px;
  background: #1e1e1e;
  margin: 28px 0;
}

/* Horaires */
.contact-hours h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.hours-item .day {
  color: #888;
  min-width: 90px;
}

.hours-item .dots {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #2a2a2a 0%, transparent 100%);
}

.hours-item .time {
  color: #f5b400;
  font-weight: 600;
}

/* Réseaux sociaux */
.contact-social h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #131313;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
}

.social-link:hover {
  border-color: rgba(245, 180, 0, 0.3);
  transform: translateX(4px);
}

.social-link img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.social-link:hover img {
  opacity: 1;
}

.social-link span {
  font-size: 14px;
  color: #D9D9D9;
  font-weight: 500;
  transition: color 0.3s;
}

.social-link:hover span {
  color: #f5b400;
}

/* ── FORMULAIRE ── */
.contact-form-wrap {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 20px;
  padding: 32px 36px;
}

.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.contact-form-wrap>p {
  font-size: 14px;
  color: #D9D9D9;
  margin-bottom: 32px;
}

/* Reset des <p> générés par CF7 */
.wpcf7-form p {
  margin-bottom: 0;
}

/* Labels */
.wpcf7-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #D9D9D9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Inputs & Textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  background: #161616;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 12px 16px;
  color: #eee;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  margin-top: 8px;
  display: block;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  border-color: #f5b400;
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.07);
}

.wpcf7-form textarea {
  min-height: 110px;
  resize: vertical;
}

/* Bouton submit */
.wpcf7-form input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5b400;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
  border: none;
  border-radius: 40px;
  padding: 15px 40px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  margin-top: 8px;
  width: auto;
}

.wpcf7-form input[type="submit"]:hover {
  background: #ffd54f;
  transform: translateY(-2px);
}

.wpcf7-spinner {
  margin-left: 10px;
}

/* Erreurs */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #e74c3c !important;
}

/* Réponse */
.wpcf7-response-output {
  border-radius: 10px;
  padding: 12px 18px;
  align-items: center;
  font-size: 14px;
  margin-top: 20px;
  border: none !important;
  animation: fadeUp 0.4s ease;
}

/* ───── SUCCES ───── */
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(39, 174, 96, 0.12);
  color: #2ecc71;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  position: relative;
}

.wpcf7 form.sent .wpcf7-response-output::before {
  content: '';
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13' fill='%232ecc71'/%3E%3Cpath d='M8 13l3 3 7-7' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ───── ERREUR ───── */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 16px 20px;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.12);
  border-radius: 10px;
  position: relative;
}

/* Icône croix rouge */
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.failed .wpcf7-response-output::before,
.wpcf7 form.spam .wpcf7-response-output::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13' fill='%23e74c3c'/%3E%3Cpath d='M9 9l8 8M17 9l-8 8' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}

.form-submit-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Badge Turnstile */
.cf-turnstile {
  display: flex;
  align-items: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .contact-inner h1 {
    font-size: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0;
  }

  .contact-info {
    position: static;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .wpcf7-form input[type="submit"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .wpcf7-spinner {
    display: none;
  }

  .form-submit-row {
    margin-top: 28px;
    flex-direction: column;
    align-items: center;
  }
}