/* ============================================================
   CONTACT (Fashion) — écran partagé : photos en fondu à gauche, formulaire à droite
   Chargé après fashion/css/style.css (barre de navigation, écran de chargement).
   ============================================================ */

.page-contact {
  --black: #0a0a0a;
  --ivory: #e8e6e1;
  --grey: #9a968f;
  --line: #3a3833;
  --orange: #F5A623;
  --error: #ff9b8a;
  --logo: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.page-contact *, .page-contact *::before, .page-contact *::after { box-sizing: border-box; }

/* pas de curseur personnalisé sur cette page */
.page-contact .cursor-dot, .page-contact .cursor-ring { display: none !important; }
.page-contact, .page-contact * { cursor: auto; }
.page-contact a, .page-contact button, .page-contact .ct-chip { cursor: pointer; }

.ct { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }

/* ── Moitié gauche : 4 photos qui se relaient en fondu lent (5 s chacune) ── */
.ct-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #111;
}
.ct-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: ct-fade 20s linear infinite;
}
.ct-slides img:nth-child(1) { animation-delay: -1.6s; }
.ct-slides img:nth-child(2) { animation-delay: 3.4s; }
.ct-slides img:nth-child(3) { animation-delay: 8.4s; }
.ct-slides img:nth-child(4) { animation-delay: 13.4s; }
@keyframes ct-fade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}
.ct-mobile-img { display: none; }
/* léger dégradé sombre en bas, pour lire le titre */
.ct-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, 0.7) 100%);
  pointer-events: none;
}
.ct-title {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(28px, 6vh, 64px);
  z-index: 1;
  margin: 0;
  font: 400 clamp(64px, 8vw, 140px)/0.9 var(--logo);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.ct-title__accent { color: var(--orange); }

/* ── Moitié droite : le formulaire, aéré ── */
.ct-panel {
  padding: calc(var(--nav-height, 72px) + 10vh) clamp(24px, 6vw, 96px) 12vh;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.ct-form { display: flex; flex-direction: column; gap: 36px; max-width: 560px; }
.ct-field { display: flex; flex-direction: column; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-field label, .ct-field legend, .ct-info p {
  font: 500 12px/1.6 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0;
}
.ct-optional { letter-spacing: 0.1em; text-transform: none; }
.ct-field input[type="text"], .ct-field input[type="email"], .ct-field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font: 400 16px/1.5 var(--sans);
  transition: border-color 0.25s ease;
}
.ct-field textarea { resize: vertical; min-height: 120px; }
.ct-field input::placeholder { color: #6f6b65; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-bottom-color: var(--orange); }

/* Projet : des boutons à choisir */
.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-chip span {
  display: inline-block;
  padding: 11px 16px;
  border: 1px solid var(--line);
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.ct-chip:hover span { border-color: var(--grey); }
.ct-chip input:checked + span { border-color: var(--orange); color: var(--orange); }
.ct-chip input:focus-visible + span { outline: 1px solid var(--orange); outline-offset: 3px; }

/* Bouton d'envoi : contour orange, rempli au survol */
.ct-submit {
  align-self: flex-start;
  padding: 16px 40px;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ct-submit:hover, .ct-submit:focus-visible { background: var(--orange); color: var(--black); outline: none; }
.ct-submit[disabled] { opacity: 0.6; cursor: wait; }

.ct-error { font: 400 13px/1.4 var(--sans); color: var(--error); }
.ct-field.has-error input, .ct-field.has-error textarea { border-bottom-color: var(--error); }
.ct-field.has-error .ct-chip span { border-color: rgba(255, 155, 138, 0.6); }
.ct-status { margin: 0; font: 400 15px/1.6 var(--sans); }
.ct-status.is-ok { color: var(--ivory); }
.ct-status.is-error { color: var(--error); }
.ct-status a { color: inherit; }

/* Champ piège : hors de l'écran */
.ct-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sous le formulaire */
.ct-info { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.ct-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 10px; }
.ct-links a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.25s ease, border-color 0.25s ease; }
.ct-links a:hover { color: var(--orange); border-color: var(--orange); }

.ct-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid #262420;
  font: 500 12px/1.7 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.ct-footer a { color: var(--ivory); text-decoration: none; }
.ct-footer a:hover { color: var(--orange); }

/* ── Mobile : la photo en haut (horizontale, sans fondu), le formulaire dessous ── */
@media (max-width: 900px) {
  .ct { grid-template-columns: 1fr; }
  .ct-visual { position: relative; height: min(45svh, 75vw); margin-top: var(--nav-height, 60px); }
  .ct-slides { display: none; }
  .ct-mobile-img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .ct-title { font-size: min(16vw, 72px); }
  .ct-panel { padding: 48px 16px 72px; gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-slides img { animation: none; }
  .ct-slides img:first-child { opacity: 1; }
}
