/* ==========================================================================
   CESURNES — Contact (template-contact.php)
   The page came as a static export styled entirely inline; every declaration
   below is one of those inline styles moved onto a class, so the rendering is
   unchanged. Loaded only on this page, after page-hero.css, closing-band.css
   and forms.css (the hero uses its photo defaults; the closing band takes
   this page's proportions at the end).
   ========================================================================== */

/* The export gives every link on this page a terracotta hover. :where() keeps
   it at the export's a:hover weight, so the .btn hover colours still win. */
:where(.page-contact) a:hover { color: var(--c-terracota); }

/* ============================================================== section */
.contact {
  padding: clamp(56px, 8vw, 120px) 0 clamp(72px, 10vw, 160px);
  background: var(--c-white);
  color: var(--c-black);
}

.contact__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px clamp(48px, 8vw, 160px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ================================================================= form */
/* The switch, the Contact Form 7 form and the send button form one column;
   the form's own rows continue it with the same gap. */
.contact-form,
.contact-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 40px);
}

.contact-form {
  flex: 2 1 520px;
  min-width: 0;
}

.contact-form__who {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form__who-btn { min-width: 220px; }

.contact-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 32px;
}

/* The professional fields, hidden for a private customer (contact.js). */
.contact-form__row[hidden] { display: none; }

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__row .contact-field {
  flex: 1 1 260px;
  min-width: 0;
}

.contact-field__label {
  font-size: 13px;
  line-height: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted);
}

/* Underlined fields, no box. Block, as the export's were flex items of their
   label (Contact Form 7 wraps them in a span). */
.contact-field__control {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-black);
  border-radius: 0;
  color: var(--c-black);
  font: inherit;
  font-size: 16px;
  font-weight: 300;
  outline: none;
}

select.contact-field__control {
  appearance: none;
  cursor: pointer;
}

textarea.contact-field__control {
  height: auto;
  padding: 12px 0;
  resize: vertical;
}

.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.contact-form__submit { min-width: 240px; }

.contact-form__sent {
  font-size: 15px;
  font-weight: 300;
  color: var(--c-terracota);
}

.contact-form__sent[hidden] { display: none; }

/* Sent: the thanks line above says so; Contact Form 7's own answer would
   repeat it (its answers to invalid fields still show, forms.css). */
.contact-form .wpcf7-form.sent .wpcf7-response-output { display: none; }

/* ============================================================== details */
.contact-info {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.contact-info__list { border-bottom: 1px solid rgba(9, 8, 7, .16); }

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(9, 8, 7, .16);
}

.contact-info__label {
  font-size: 13px;
  line-height: 16px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-terracota);
}

.contact-info__value {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 300;
}

.contact-info__value--address {
  font-size: 16px;
  line-height: 1.55;
}

.contact-info__value--social {
  display: flex;
  gap: 24px;
  font-size: 16px;
}

.contact-info__note {
  padding: 24px;
  background: var(--c-cream);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--c-maroon);
  text-wrap: pretty;
}

/* ========================================================= closing band */
/* Taller than the FAQ's, with the copy on the full content column (as on
   À propos and Sur mesure). */
.page-contact .closing-band {
  min-height: 80svh;
  padding: clamp(96px, 12vw, 180px) 0;
}

.page-contact .closing-band__inner {
  width: 100%;
  max-width: 1440px;
  padding: 0 var(--gutter);
}

.page-contact .closing-band__title {
  max-width: 24ch;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1;
}

.page-contact .closing-band__text { font-size: clamp(16px, 1.15vw, 18px); }
