/*
 * pages/contact.css — Plan 119-Y-F-3.
 *
 * Page /contact migrée vers le thème v119 sanctuaire/Fibonacci.
 * Charge en COMPLÉMENT de vitrine/index.css (tokens + components/*).
 *
 * Structure :
 *   .v119-contact-hero   — section d'intro éditoriale
 *   .v119-intent-grid    — 4 cards intent (scale/reclaim/presence/new-site/explore)
 *   .v119-contact-form   — form ivoire/or/aurora
 *   .v119-contact-alt    — fallback "ou par mail directement"
 */

.v119-page-contact {
  background: var(--v119-bg-primary, #0a1428);
  color: var(--v119-ink, #f5e9d4);
  font-family: var(--v119-font-body);
  min-height: 100vh;
}

.v119-main {
  display: block;
  padding: 0;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.v119-contact-hero {
  position: relative;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 40px) clamp(32px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
}
.v119-contact-hero__aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(58,142,170,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(184,122,195,0.08) 0%, transparent 55%);
  opacity: 0.7;
}
.v119-contact-hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.v119-contact-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--v119-gold-thread, #c8a868);
  margin: 0 0 16px;
}
.v119-contact-hero h1 {
  font-family: var(--v119-font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 18px;
  letter-spacing: 0.005em;
  color: var(--v119-ink, #f5e9d4);
}
.v119-contact-hero__sub {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.65;
  color: var(--v119-ink-muted, #c8b89a);
  margin: 0 auto;
  max-width: 580px;
  font-style: italic;
}

/* ── Or-thread divider ────────────────────────────────────────────── */
.v119-thread-divider {
  width: clamp(80px, 12vw, 140px);
  height: 1px;
  margin: clamp(28px, 4vw, 48px) auto;
  background: linear-gradient(90deg,
    transparent,
    var(--v119-gold-thread, #c8a868) 30%,
    var(--v119-gold-thread, #c8a868) 70%,
    transparent);
  opacity: 0.7;
}

/* ── Intent grid ──────────────────────────────────────────────────── */
.v119-intent-section {
  padding: clamp(20px, 3vw, 40px) clamp(20px, 5vw, 40px) clamp(40px, 6vw, 80px);
}
.v119-intent-section__inner {
  max-width: 920px;
  margin: 0 auto;
}
.v119-intent-section__title {
  font-family: var(--v119-font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 24px);
  text-align: center;
  margin: 0 0 28px;
  color: var(--v119-ink, #f5e9d4);
}
.v119-intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.v119-intent-card {
  display: block;
  padding: 22px 20px;
  background: rgba(19, 30, 58, 0.60);
  border: 1px solid rgba(200, 168, 104, 0.16);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all var(--v119-phi-2, 0.618s) var(--v119-ease-out);
  cursor: pointer;
}
.v119-intent-card:hover,
.v119-intent-card[aria-pressed="true"] {
  background: rgba(19, 30, 58, 0.85);
  border-color: var(--v119-gold-thread, #c8a868);
  transform: translateY(-2px);
}
.v119-intent-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--v119-gold-thread, #c8a868) 30%, var(--v119-gold-thread, #c8a868) 70%, transparent);
  opacity: 0;
  transition: opacity var(--v119-phi-1, 0.382s) var(--v119-ease-out);
}
.v119-intent-card:hover::before,
.v119-intent-card[aria-pressed="true"]::before {
  opacity: 0.5;
}
.v119-intent-card__emoji {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}
.v119-intent-card__title {
  font-family: var(--v119-font-display);
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--v119-ink, #f5e9d4);
  letter-spacing: 0.005em;
}
.v119-intent-card__desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--v119-ink-muted, #c8b89a);
  margin: 0;
}

/* ── Form section ─────────────────────────────────────────────────── */
.v119-contact-form-section {
  padding: 0 clamp(20px, 5vw, 40px) clamp(48px, 8vw, 96px);
}
.v119-contact-form-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(19, 30, 58, 0.72), rgba(26, 22, 18, 0.92));
  border: 1px solid rgba(200, 168, 104, 0.18);
  border-radius: 4px;
  position: relative;
}
.v119-contact-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--v119-gold-thread, #c8a868) 30%, var(--v119-gold-thread, #c8a868) 70%, transparent);
}
.v119-contact-form__field {
  display: block;
  margin-bottom: 18px;
}
.v119-contact-form__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--v119-ink-muted, #c8b89a);
  margin-bottom: 6px;
}
.v119-contact-form__input,
.v119-contact-form__textarea {
  width: 100%;
  background: rgba(10, 20, 40, 0.40);
  border: 1px solid rgba(200, 168, 104, 0.20);
  border-radius: 2px;
  padding: 11px 14px;
  color: var(--v119-ink, #f5e9d4);
  font-family: var(--v119-font-body);
  font-size: 14px;
  letter-spacing: 0.005em;
  box-sizing: border-box;
  transition: border-color var(--v119-phi-1, 0.382s) var(--v119-ease-out);
}
.v119-contact-form__input::placeholder,
.v119-contact-form__textarea::placeholder {
  color: rgba(200, 184, 154, 0.40);
}
.v119-contact-form__input:focus,
.v119-contact-form__textarea:focus {
  outline: none;
  border-color: var(--v119-gold-thread, #c8a868);
  background: rgba(10, 20, 40, 0.55);
  box-shadow: 0 0 0 2px rgba(200, 168, 104, 0.10);
}
.v119-contact-form__textarea {
  min-height: 110px;
  resize: vertical;
  font-family: var(--v119-font-body);
}
.v119-contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.v119-contact-form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  background: var(--v119-cta, #8b3a2e);
  border: 1px solid var(--v119-cta, #8b3a2e);
  border-radius: 2px;
  color: var(--v119-ink, #f5e9d4);
  font-family: var(--v119-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--v119-phi-1, 0.382s) var(--v119-ease-out),
    transform var(--v119-phi-1, 0.382s) var(--v119-ease-out);
}
.v119-contact-form__submit:hover:not([disabled]) {
  background: #a04736;
  transform: translateY(-1px);
}
.v119-contact-form__submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.v119-contact-form__feedback {
  min-height: 18px;
  margin-top: 12px;
  font-size: 12.5px;
  text-align: center;
}
.v119-contact-form__feedback[data-state="success"] { color: var(--v119-aurora-cyan, #3a8eaa); }
.v119-contact-form__feedback[data-state="error"]   { color: var(--v119-cta, #8b3a2e); }
.v119-contact-form__feedback[data-state="pending"] { color: var(--v119-ink-muted, #c8b89a); }

/* ── Alternative ──────────────────────────────────────────────────── */
.v119-contact-alt {
  text-align: center;
  margin-top: 32px;
  padding: 24px 20px;
  border-top: 1px dashed rgba(200, 168, 104, 0.18);
  font-size: 13px;
  color: var(--v119-ink-muted, #c8b89a);
}
.v119-contact-alt a {
  color: var(--v119-gold-thread, #c8a868);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 168, 104, 0.30);
  transition: border-color var(--v119-phi-1, 0.382s) var(--v119-ease-out);
}
.v119-contact-alt a:hover {
  border-bottom-color: var(--v119-gold-thread, #c8a868);
}

/* ── Sent state ───────────────────────────────────────────────────── */
.v119-contact-sent {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 40px);
  max-width: 580px;
  margin: 0 auto;
}
.v119-contact-sent h2 {
  font-family: var(--v119-font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--v119-ink, #f5e9d4);
  margin: 0 0 18px;
}
.v119-contact-sent p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--v119-ink-muted, #c8b89a);
  margin: 0 0 12px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .v119-intent-card,
  .v119-contact-form__input,
  .v119-contact-form__submit { transition: none !important; }
}
