/* ============================================================
   AtelierCox — Contact Page Styles
   ============================================================ */

.ac-contact-wrapper {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

/* --- Contact Info Block --- */
.ac-contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 32px;
}

.ac-contact-info-block h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px 0;
}

.ac-contact-info-block h3 svg {
  width: 20px;
  height: 20px;
  color: #6B9113;
}

.ac-contact-phones {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.8;
  margin-bottom: 10px;
}

.ac-contact-info-note {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

.ac-contact-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ac-contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ac-contact-social-btn:hover {
  opacity: 0.85;
  color: #fff;
}

.ac-contact-social-btn--whatsapp {
  background: #25D366;
}

.ac-contact-social-btn--messenger {
  background: #0084FF;
}

.ac-contact-social-btn svg {
  width: 18px;
  height: 18px;
}

/* --- Form Block --- */
.ac-contact-form-block {
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  padding: 28px 32px;
}

.ac-contact-form-block > h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
}

.ac-contact-form-block > h3 svg {
  width: 20px;
  height: 20px;
  color: #6B9113;
}

/* --- CF7 Form Styling --- */
.ac-contact-form-block .wpcf7-form {
  margin: 0;
}

.ac-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ac-contact-field {
  display: flex;
  flex-direction: column;
}

.ac-contact-field-full {
  grid-column: 1 / -1;
}

.ac-contact-row:has(.ac-contact-field-full) {
  grid-template-columns: 1fr;
}

.ac-contact-field label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 6px;
}

.ac-contact-form-block .wpcf7-form-control:not([type="submit"]):not(.wpcf7-acceptance) {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D4D4D4;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ac-contact-form-block .wpcf7-form-control:not([type="submit"]):not(.wpcf7-acceptance):focus {
  border-color: #6B9113;
  box-shadow: 0 0 0 3px rgba(107, 145, 19, 0.1);
}

.ac-contact-form-block textarea.wpcf7-form-control {
  min-height: 140px;
  resize: vertical;
}

/* --- Consent Checkbox --- */
.ac-contact-consent {
  margin: 20px 0;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.ac-contact-consent .wpcf7-list-item {
  margin: 0;
}

.ac-contact-consent a {
  color: #333;
  font-weight: 600;
  text-decoration: underline;
}

.ac-contact-consent a:hover {
  color: #6B9113;
}

/* --- Submit Button --- */
.ac-contact-form-block .wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: #6B9113;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 16px;
}

.ac-contact-form-block .wpcf7-form input[type="submit"]:hover {
  background: #517009;
}

/* --- Validation States --- */
.ac-contact-form-block .wpcf7-not-valid {
  border-color: #e74c3c !important;
}

.ac-contact-form-block .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}

.ac-contact-form-block .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .ac-contact-info {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .ac-contact-row {
    grid-template-columns: 1fr;
  }

  .ac-contact-form-block {
    padding: 20px;
  }

  .ac-contact-socials {
    flex-direction: column;
  }
}


/* ============================================================
   Recettage desktop 06.10.2026 — Contactez-nous
   ============================================================ */
body.page-id-2365 .elementor-element-86a25a3 {
  max-width: 972px !important;
}

body.page-id-2365 .ac-contact-wrapper {
  width: 100% !important;
  max-width: 912px !important;
  box-sizing: border-box;
  padding: 0 !important;
  font-family: "niveau-grotesk", Arial, sans-serif;
}

body.page-id-2365 .ac-contact-wrapper h1,
body.page-id-2365 .ac-contact-wrapper h2,
body.page-id-2365 .ac-contact-wrapper h3 {
  font-family: "Syne", Arial, sans-serif;
  color: #524235;
}

body.page-id-2365 .ac-contact-info,
body.page-id-2365 .ac-contact-form-block,
body.page-id-2365 .ac-contact-form-block .wpcf7-form-control:not([type="submit"]):not(.wpcf7-acceptance),
body.page-id-2365 .ac-contact-social-btn,
body.page-id-2365 .ac-contact-form-block .wpcf7-form input[type="submit"] {
  border-radius: 0 !important;
}

body.page-id-2365 .ac-contact-info-block h3 svg,
body.page-id-2365 .ac-contact-form-block > h3 svg,
body.page-id-2365 .ac-contact-form-block .wpcf7-form input[type="submit"],
body.page-id-2365 .ac-contact-form-block .wpcf7-form input[type="submit"]:hover {
  color: #8fbd46;
}

body.page-id-2365 .ac-contact-form-block .wpcf7-form input[type="submit"] {
  background: #8fbd46;
}

body.page-id-2365 .ac-contact-form-block .wpcf7-form input[type="submit"]:hover {
  background: #789f37;
}

/* ---- CF7 — masquer le spinner natif ---- */
span.wpcf7-spinner {
    display: none;
}

.ac-contact-form-block {
    padding: 28px 32px 9px 32px;
}
