/* ==========================================================================
   Hypp agency — Contact (.hypp-contact)
   Chargé par functions.php uniquement sur la page contact, après style.css
   (variables, base et composants partagés). Ne pas utiliser seul.
   ========================================================================== */

.site-content .ast-container{
	padding-left:0;
	padding-right:0;
}

/* ==========================================================================
   C01 — Contact : en-tête (maquette « Hypp Contact.html »)
   ========================================================================== */

.hypp-contact h1,
.hypp-contact h2 {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.hypp-contact .ct-hero {
  padding: 80px 0 50px;
  text-align: center;
}

.hypp-contact .ct-hero .kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 21px;
  font-weight: 600;
}

.hypp-contact .ct-hero h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(46px, 7.4vw, 88px);
}

.hypp-contact .ct-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -.02em;
}

/* ==========================================================================
   C02 — Contact : formulaire et coordonnées
   ========================================================================== */

.hypp-contact .ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding-bottom: 110px;
}

.hypp-contact .cfg {
  min-width: 0;
  padding: 44px;
  border-radius: 28px;
  background: var(--gray);
}

.hypp-contact .step-q {
  margin: 0 0 8px;
  font-size: clamp(26px, 2.8vw, 34px);
}

.hypp-contact .step-h {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 16px;
}

.hypp-contact .side {
  position: sticky;
  top: 72px;
}

.hypp-contact .alt {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.hypp-contact .alt a,
.hypp-contact .alt-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
}

.hypp-contact .alt a:hover {
  background: var(--gray);
}

.hypp-contact .alt .ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}

.hypp-contact .alt b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hypp-contact .alt span:not(.ico):not(.arr) {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}

.hypp-contact .alt .arr {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 20px;
}

/* ==========================================================================
   C03 — Contact : engagements et FAQ (base FAQ partagée en 01)
   ========================================================================== */

.hypp-contact .promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 110px;
  border-top: 1px solid var(--line);
}

.hypp-contact .promise div {
  padding: 30px 24px 0 0;
}

.hypp-contact .promise b {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.hypp-contact .promise span {
  color: var(--ink-soft);
  font-size: 15px;
}

.hypp-contact .hypp-faq {
  background: var(--gray);
}

.hypp-contact .sec-title h2 {
  margin: 0;
}

/* ==========================================================================
   C04 — Contact : WPForms (mise en page standard et colonnes WPForms)
   ========================================================================== */

.hypp-contact .contact-wpforms .wpforms-container {
  margin: 0;
}

.hypp-contact .contact-wpforms .wpforms-field {
  min-width: 0;
  padding: 0 0 14px;
}

.hypp-contact .contact-wpforms .wpforms-field-label {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.hypp-contact .contact-wpforms :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], select, textarea) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.hypp-contact .contact-wpforms textarea {
  min-height: 160px;
  resize: vertical;
}

.hypp-contact .contact-wpforms :is(input, select, textarea):focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(48% 0.11 160 / .12);
  outline: 0;
}

.hypp-contact .contact-wpforms .wpforms-submit-container {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}

.hypp-contact .contact-wpforms :is(button[type=submit], button.wpforms-submit) {
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background-color: var(--accent) !important;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hypp-contact .contact-wpforms :is(button[type=submit], button.wpforms-submit):hover {
  background: var(--accent-dark);
}

.hypp-contact .privacy-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.hypp-contact .privacy-note a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   C05 — Contact : responsive
   ========================================================================== */

@media (max-width: 900px) {

  .hypp-contact .ct-grid {
    grid-template-columns: 1fr;
    padding-bottom: 72px;
  }

  .hypp-contact .side {
    position: static;
  }

  .hypp-contact .cfg {
    padding: 28px 22px;
  }

  .hypp-contact .promise {
    grid-template-columns: 1fr;
    padding-bottom: 72px;
  }

  .hypp-contact .promise div {
    padding-top: 22px;
  }
}

@media (max-width: 560px) {

  .hypp-contact .wrap {
    padding-inline: 18px;
  }

  .hypp-contact .ct-hero {
    padding: 58px 0 38px;
  }

  .hypp-contact .ct-hero h1 {
    font-size: clamp(38px, 10vw, 56px);
  }

  .hypp-contact .cfg {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .hypp-contact .alt {
    border-radius: 20px;
  }

  .hypp-contact .alt a,
  .hypp-contact .alt-item {
    padding: 15px 10px;
  }

  .hypp-contact .hypp-faq {
    padding: 70px 0;
  }

  .hypp-contact .sec-title {
    margin-bottom: 28px;
  }

  .hypp-contact .contact-wpforms .wpforms-field-row,
  .hypp-contact .contact-wpforms .wpforms-field-layout-columns {
    display: block;
  }

  .hypp-contact .contact-wpforms .wpforms-one-half,
  .hypp-contact .contact-wpforms .wpforms-field-layout-column {
    width: 100% !important;
    margin: 0 0 12px !important;
  }
	
	.hypp-contact .contact-wpforms :is(button[type=submit], button.wpforms-submit) {
		width:100%;
	}
	
}

@media (min-width: 922px) {
	.site-content .ast-container{
		max-width:none !important;
	}

	.site-content .hypp-contact{
		margin-top: 0 !important;
	}
}
