/* =============================================================================
   Contact — 2 colonnes (info gauche / formulaire droite)
             champs style screenshot : fond sombre, bordure 4 côtés, spacieux
   ============================================================================= */

.php-c-section {
  background-color: #000000;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.php-c-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

/* ── Colonne gauche ─────────────────────────────────────────────────────────── */

.php-c-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.php-c-label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.php-c-accentLine {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 28px;
  opacity: 0.6;
}

.php-c-title {
  font-family: var(--font-condensed);
  font-size: var(--fs-h2-section);
  font-weight: var(--fw-h2-section);
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
}

.php-c-desc {
  font-family: var(--font-founder);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.75;
  color: #ffffff;
  margin: 0 0 48px;
}

.php-c-infoList {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.php-c-infoItem {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.php-c-infoKey {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.php-c-infoVal {
  font-family: var(--font-founder);
  font-size: var(--fs-body-small);
  font-weight: 300;
  color: #ffffff;
}

a.php-c-infoVal {
  text-decoration: none;
  cursor: pointer;
}

a.php-c-infoVal:hover,
a.php-c-infoVal:focus-visible {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Colonne droite ─────────────────────────────────────────────────────────── */

.php-c-formWrap {
  padding-top: 4px;
}

/* Honeypot anti-bot : masqué aux humains, ne pas retirer */
.php-c-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.php-c-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.php-c-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Inputs ──────────────────────────────────────────────────────────────────── */

.php-c-input {
  width: 100%;
  box-sizing: border-box;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 18px;
  color: var(--color-text);
  font-family: var(--font-founder);
  font-size: var(--fs-body-small);
  font-weight: 300;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-bottom-color 0.25s, background 0.2s;
}

.php-c-input::placeholder {
  color: rgba(232, 232, 232, 0.5);
}

.php-c-input:focus {
  background: #181818;
  border-bottom-color: rgba(232, 232, 232, 0.45);
}

.php-c-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
  padding-top: 14px;
}

/* ── Consent ─────────────────────────────────────────────────────────────────── */

.php-c-consent {
  margin-top: 8px;
}

.php-c-consentLabel {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 14px;
}

.php-c-consentRow {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

.php-c-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  min-width: 17px;
  border: 1px solid rgba(232, 232, 232, 0.35);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.php-c-checkbox:checked {
  background: #ffffff;
  border-color: #ffffff;
}

.php-c-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: 1.5px solid #000000;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.php-c-checkbox:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.php-c-consentText {
  font-family: var(--font-founder);
  font-size: var(--fs-body-small);
  font-weight: 300;
  line-height: 1.7;
  color: #ffffff;
}

.php-c-consentLink {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.php-c-consentLink:hover { color: #ffffff; }

/* ── Submit ──────────────────────────────────────────────────────────────────── */

.php-c-submitBtn {
  align-self: flex-start;
  margin-top: 8px;
  font-family: var(--font-condensed);
  font-size: var(--fs-body-small);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 28px;
  cursor: pointer;
  transition: border-color 0.25s;
}

.php-c-submitBtn:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.7); }
.php-c-submitBtn:disabled { opacity: 0.45; cursor: not-allowed; }
.php-c-submitBtn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* ── États ───────────────────────────────────────────────────────────────────── */

.php-c-errorMsg {
  font-family: var(--font-founder);
  font-size: var(--fs-body-small);
  font-weight: 300;
  color: var(--color-accent);
  margin: 0;
}

.php-c-formHint {
  font-family: var(--font-founder);
  font-size: var(--fs-body-small);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  margin: -6px 0 0;
}

.php-c-successMsg { padding: 48px 0; }
.php-c-successLine { width: 40px; height: 1px; background: var(--color-accent); margin-bottom: 28px; }
.php-c-successMsg p {
  font-family: var(--font-founder);
  font-size: var(--fs-body-large);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.75;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .php-c-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .php-c-aside { position: static; }
  .php-c-desc  { margin-bottom: 24px; }
  .php-c-infoList { flex-direction: row; flex-wrap: wrap; gap: 32px; padding-top: 24px; }
}

@media (max-width: 560px) {
  .php-c-row { grid-template-columns: 1fr; }
  .php-c-infoList { flex-direction: column; gap: 20px; }
}
