/* ============================================================
   CONTACT — styles spécifiques (préfixe ct-)
   Aucune classe en conflit avec components.css / main.css
   Variables locales préfixées --ct- pour éviter tout écrasement
   ============================================================ */

:root {
  --ct-night-2:    #162035;
  --ct-night-3:    #1E2D47;
  --ct-coral-lt:   #F07050;
  --ct-on-light:   #1A1F2E;
  --ct-muted-light:#6B7280;
  --ct-on-dark:    rgba(255,255,255,0.88);
  --ct-muted-dark: rgba(255,255,255,0.50);
  --ct-max:        1100px;
}

/* ── LAYOUT PRINCIPAL ─────────────────────────────── */
.page-wrap {
  max-width: var(--ct-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 480px; gap: 64px;
  padding: 128px 56px 96px;
  align-items: start;
  min-height: 100vh;
  background: var(--cream);
  position: relative; z-index: 1;
}
.page-wrap > * { min-width: 0; }

/* ── COLONNE GAUCHE ───────────────────────────────── */
.left-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,90,58,0.1); border: 0.5px solid rgba(224,90,58,0.25);
  color: var(--coral); border-radius: 40px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 24px;
  animation: ctFadeUp 0.5s 0.1s ease both;
}
.left-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

.left-title {
  font-family: var(--serif); font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 500; line-height: 1.1; color: var(--ct-on-light);
  letter-spacing: -0.01em; margin-bottom: 20px;
  animation: ctFadeUp 0.5s 0.2s ease both;
}
.left-title em { font-style: italic; color: var(--coral); }

.left-lead {
  font-size: 15px; font-weight: 300; color: var(--ct-muted-light);
  line-height: 1.75; margin-bottom: 44px;
  animation: ctFadeUp 0.5s 0.32s ease both;
}

/* Chemins alternatifs */
.left-alts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; animation: ctFadeUp 0.5s 0.44s ease both; }
.alt-label  { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ct-muted-light); margin-bottom: 6px; }

.alt-card {
  display: flex; align-items: center; gap: 14px;
  background: white; border: 0.5px solid rgba(26,31,46,0.08);
  border-radius: 12px; padding: 14px 18px;
  text-decoration: none; transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
}
.alt-card:hover { border-color: rgba(224,90,58,0.25); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.alt-card-icon {
  width: 36px; height: 36px; border-radius: 6px;
  background: rgba(224,90,58,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.alt-card-icon svg   { width: 16px; height: 16px; color: var(--coral); }
.alt-card-title      { font-size: 13.5px; font-weight: 500; color: var(--ct-on-light); }
.alt-card-desc       { font-size: 12px;   font-weight: 300; color: var(--ct-muted-light); }
.alt-card-arrow      { margin-left: auto; color: var(--coral); font-size: 16px; }

/* Coordonnées directes */
.left-coords  { animation: ctFadeUp 0.5s 0.56s ease both; }
.coords-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ct-muted-light); margin-bottom: 10px; }

.coord-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 0.5px solid rgba(26,31,46,0.07);
  text-decoration: none; transition: color 0.2s;
}
.coord-item:last-of-type { border-bottom: none; }
.coord-item:hover .coord-value { color: var(--coral); }
.coord-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(224,90,58,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.coord-icon svg  { width: 14px; height: 14px; color: var(--coral); }
.coord-label     { font-size: 11px; font-weight: 300; color: var(--ct-muted-light); }
.coord-value     { font-size: 14px; font-weight: 500; color: var(--ct-on-light); transition: color 0.2s; }

/* Badge délai réponse */
.response-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; font-size: 13px; font-weight: 300; color: var(--ct-muted-light);
}
.response-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
  animation: ctPulse 2.5s ease-in-out infinite; flex-shrink: 0;
}
@keyframes ctPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0.06); }
}

/* ── COLONNE DROITE — FORMULAIRE ──────────────────── */
.form-col {
  background: white; border-radius: 20px; padding: 40px;
  border: 0.5px solid rgba(26,31,46,0.09);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  position: sticky; top: 84px;
  animation: ctFadeUp 0.6s 0.2s ease both;
}
.form-header    { margin-bottom: 28px; }
.form-title     { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ct-on-light); margin-bottom: 6px; }
.form-subtitle  { font-size: 13px; font-weight: 300; color: var(--ct-muted-light); }

/* Champs */
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-field     { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.ct-field:last-child { margin-bottom: 0; }
.ct-field label { font-size: 12px; font-weight: 400; color: var(--ct-muted-light); letter-spacing: 0.03em; }
.ct-field label .req { color: var(--coral); margin-left: 2px; }

.ct-field input,
.ct-field select,
.ct-field textarea {
  background: var(--cream); border: 0.5px solid rgba(26,31,46,0.14);
  border-radius: 6px; padding: 11px 14px;
  font-size: 14px; font-family: var(--sans); color: var(--ct-on-light);
  outline: none; transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: rgba(26,31,46,0.3); }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus { border-color: var(--coral); background: white; }
.ct-field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%236B7280' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M3.5 5.5l3.5 3.5 3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}
.ct-field textarea { resize: vertical; min-height: 100px; }

/* Champ conditionnel */
.ct-field-cond         { display: none; }
.ct-field-cond.visible { display: flex; }

/* Pills sujet */
.sujet-pills    { display: flex; flex-wrap: wrap; gap: 8px; }
.sujet-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream); border: 0.5px solid rgba(26,31,46,0.12);
  border-radius: 40px; padding: 7px 14px;
  font-size: 13px; font-weight: 300; color: var(--ct-muted-light);
  cursor: pointer; transition: all 0.15s; user-select: none;
}
.sujet-pill:hover { border-color: rgba(224,90,58,0.3); color: var(--ct-on-light); }
.sujet-pill.active { background: rgba(224,90,58,0.1); border-color: rgba(224,90,58,0.4); color: var(--coral); font-weight: 400; }
.sujet-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity 0.15s; }
.sujet-pill.active .sujet-pill-dot { opacity: 1; }

/* RGPD */
.ct-form-rgpd {
  margin-top: 12px; font-size: 11.5px; font-weight: 300;
  color: var(--ct-muted-light); line-height: 1.5;
  display: flex; gap: 8px; align-items: flex-start;
}
.ct-rgpd-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ct-muted-light); flex-shrink: 0; margin-top: 7px; }

/* Bouton submit */
.ct-btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--coral); color: white;
  border: none; border-radius: 6px; padding: 14px;
  font-size: 14px; font-weight: 500; font-family: var(--sans);
  cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 20px;
}
.ct-btn-submit:hover    { background: var(--ct-coral-lt); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(224,90,58,0.28); }
.ct-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.ct-btn-submit svg { width: 15px; height: 15px; }

/* États formulaire */
.ct-form-success {
  display: none; text-align: center; padding: 32px 24px;
}
.ct-form-success-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(224,90,58,0.1); border: 1.5px solid rgba(224,90,58,0.3);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.ct-form-success-icon svg   { width: 22px; height: 22px; color: var(--coral); }
.ct-form-success-title      { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ct-on-light); margin-bottom: 8px; }
.ct-form-success-desc       { font-size: 14px; font-weight: 300; color: var(--ct-muted-light); line-height: 1.65; margin-bottom: 20px; }
.ct-form-success-link       { font-size: 13px; color: var(--coral); text-decoration: none; font-weight: 500; }
.ct-form-success-link:hover { text-decoration: underline; }

.ct-form-error-msg {
  display: none; background: #FEF2F2; color: #991B1B;
  border-radius: 6px; padding: 12px 14px;
  font-size: 13px; font-weight: 300; margin-top: 12px;
  border: 0.5px solid #FECACA;
}

/* Honeypot */
.ct-field-honey { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ── FAQ RAPIDE ───────────────────────────────────── */
.faq-band       { background: var(--ct-night-2); padding: 56px; }
.faq-band-inner {
  max-width: var(--ct-max); margin: 0 auto;
  display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start;
}
.faq-band-inner > * { min-width: 0; }
.faq-band-title { font-family: var(--serif); font-size: 26px; font-weight: 500; color: white; line-height: 1.2; }
.faq-band-sub   { font-size: 13px; font-weight: 300; color: var(--ct-muted-dark); margin-top: 8px; }

.faq-mini       { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-mini > *   { min-width: 0; }
.faq-mini-item  {
  background: var(--ct-night-3); border-radius: 12px;
  padding: 18px 20px; border: 0.5px solid rgba(255,255,255,0.07);
}
.faq-mini-q { font-size: 13.5px; font-weight: 500; color: var(--ct-on-dark); margin-bottom: 6px; }
.faq-mini-a { font-size: 13px;   font-weight: 300; color: var(--ct-muted-dark); line-height: 1.55; }

/* ── ANIMATIONS ───────────────────────────────────── */
@keyframes ctFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .page-wrap       { grid-template-columns: 1fr; gap: 48px; padding: 100px 32px 72px; }
  .form-col        { position: static; }
  .faq-band        { padding-left: 32px; padding-right: 32px; }
  .faq-band-inner  { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .ct-form-row     { grid-template-columns: 1fr; }
  .faq-mini        { grid-template-columns: 1fr; }
  .page-wrap       { padding-left: 24px; padding-right: 24px; }
  .faq-band        { padding-left: 24px; padding-right: 24px; }
}
