/* =============================================
   CONTACT.CSS — Styles spécifiques à contact.html
   ============================================= */

/* ===== HERO CONTACT ===== */
.page-hero-contact {
  background: linear-gradient(135deg, #0A1F5E 0%, #1B3C8C 50%, #C9941A 100%);
  padding: 8rem 0 4rem;
}
.breadcrumb-light { display: flex; align-items: center; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.breadcrumb-light a { color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: color 0.2s; }
.breadcrumb-light a:hover { color: white; }
.breadcrumb-light .bc-sep  { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.breadcrumb-light .bc-active { color: rgba(255,255,255,0.85); font-size: 0.85rem; }

.contact-hero-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: white; margin: 0 auto 1.5rem;
  animation: float-icon 3s ease-in-out infinite alternate;
}
.contact-hero-icon svg.lucide { width: 36px; height: 36px; }
@keyframes float-icon {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
.contact-hero-title {
  font-family: 'Playfair Display', serif; color: white;
  font-size: clamp(2.5rem, 5vw, 4rem); margin: 1rem 0 1.5rem; line-height: 1.1;
}
.contact-hero-title em { color: #F2B93B; font-style: italic; }
.contact-hero-desc { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ===== QUICK CONTACT CARDS ===== */
.qc-card { padding: 2.5rem 2rem; text-align: center; }
.qc-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.qc-icon svg.lucide { width: 28px; height: 28px; }
.qc-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.qc-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1.5rem; }
.qc-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.qc-link {
  color: var(--primary); font-size: 0.88rem; font-weight: 600;
  padding: 0.5rem 0.75rem; border-radius: 8px; background: rgba(27,60,140,0.04); transition: all 0.2s;
  display: flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.qc-link:hover { background: rgba(27,60,140,0.1); }
.qc-link--gold { color: var(--gold); background: rgba(201,148,26,0.06); }
.qc-link--gold:hover { background: rgba(201,148,26,0.15); }
.qc-featured { border: 1.5px solid rgba(201,148,26,0.35) !important; }

/* ===== FORMULAIRE — SECTION ===== */
.section-form { background: var(--gradient-section); }

/* Infos coordonnées */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.cii-icon { flex-shrink: 0; margin-top: 0.1rem; color: var(--gold); display: flex; align-items: center; }
.cii-icon svg.lucide { width: 22px; height: 22px; }
.cii-label { display: block; font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.25rem; }
.cii-val { font-size: 0.92rem; color: var(--text-primary); line-height: 1.5; }

/* Réseaux sociaux */
.social-section-title { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.social-btns { display: flex; flex-direction: column; gap: 0.6rem; }
.social-btn {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem; border-radius: 12px; transition: all 0.25s; text-decoration: none;
}
.sb-facebook { background: rgba(59,89,152,0.06); border: 1px solid rgba(59,89,152,0.15); }
.sb-facebook:hover { background: rgba(59,89,152,0.12); }
.sb-linkedin { background: rgba(10,102,194,0.06); border: 1px solid rgba(10,102,194,0.15); }
.sb-linkedin:hover { background: rgba(10,102,194,0.12); }
.sb-senat { background: rgba(27,60,140,0.06); border: 1px solid rgba(27,60,140,0.15); }
.sb-senat:hover { background: rgba(27,60,140,0.12); }
.sb-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sb-icon svg.lucide { width: 18px; height: 18px; stroke: white; fill: none; }
.sb-name { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.sb-handle { display: block; font-size: 0.75rem; color: var(--text-muted); }

/* Citation */
.contact-quote { border-left: 3px solid var(--gold); }
.quote-small { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1rem; color: var(--primary); margin-bottom: 0.5rem; }
.quote-attr { font-size: 0.75rem; color: var(--gold); font-weight: 600; }

/* ===== FORMULAIRE ===== */
.form-card { }
.form-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.form-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  background: var(--offwhite); border: 1.5px solid var(--border);
  border-radius: 12px; font-size: 0.95rem; color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none; width: 100%; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px rgba(27,60,140,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { cursor: pointer; }

/* Checkbox */
.form-check { flex-direction: row !important; align-items: flex-start !important; gap: 0.75rem !important; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.15rem; accent-color: var(--primary); cursor: pointer; }
.form-check label { font-size: 0.8rem; color: var(--text-muted); font-weight: 400 !important; cursor: pointer; line-height: 1.5; text-transform: none !important; letter-spacing: 0 !important; }

/* Submit */
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--gradient-blue); color: white;
  padding: 1rem 2.5rem; border-radius: 50px; font-size: 1rem;
  font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif;
  border: none; cursor: pointer; width: 100%;
  box-shadow: 0 4px 20px rgba(27,60,140,0.3);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(27,60,140,0.4); }
.form-submit:active { transform: translateY(0); }
.form-submit.loading { opacity: 0.7; pointer-events: none; }
.btn-icon { font-size: 1.1rem; transition: transform 0.3s; }
.form-submit:hover .btn-icon { transform: translateX(4px); }

/* Feedback */
.form-success, .form-error { padding: 1rem 1.25rem; border-radius: 12px; font-size: 0.9rem; font-weight: 500; }
.form-success { background: rgba(16,185,129,0.08); color: #065f46; border: 1px solid rgba(16,185,129,0.25); }
.form-error   { background: rgba(239,68,68,0.08); color: #7f1d1d; border: 1px solid rgba(239,68,68,0.2); }
.form-hidden { display: none !important; }

/* Validation */
.field-error { border-color: #EF4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important; animation: shake 0.4s ease; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ===== QC ICON VARIANTS ===== */
.qc-icon--blue  { background: rgba(27,60,140,0.1);  color: var(--primary); }
.qc-icon--gold  { background: rgba(201,148,26,0.12); color: var(--gold); }
.qc-icon--green { background: rgba(16,185,129,0.1);  color: #10B981; }

/* ===== MAP ===== */
.map-container { border-radius: 20px; overflow: hidden; }
.map-container iframe { border: 0; display: block; }

/* ===== FAQ ===== */
.section-faq { background: var(--gradient-section); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { overflow: hidden; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer;
  text-align: left; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600; color: var(--primary);
}
.faq-chevron { font-size: 1.4rem; color: var(--gold); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 1.5rem; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.faq-answer a { color: var(--gold); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Hero */
  .page-hero-contact { padding: 6rem 0 3rem; }
  .contact-hero-title { font-size: clamp(2rem, 6vw, 3rem); }
  .contact-hero-desc { font-size: 0.95rem; }

  /* Quick contact cards */
  .qc-card { padding: 1.75rem 1.5rem; }
  .qc-icon { width: 52px; height: 52px; }

  /* Formulaire */
  .form-title { font-size: 1.4rem; }

  /* Map */
  .map-container iframe { height: 260px !important; }

  /* FAQ */
  .faq-question { font-size: 0.92rem; padding: 1rem 1.25rem; }
  .faq-item.open .faq-answer { padding: 0 1.25rem 1rem; }
}

@media (max-width: 480px) {
  /* Quick cards */
  .qc-card { padding: 1.5rem 1.25rem; }
  .qc-card h3 { font-size: 1.05rem; }
  .qc-card p { font-size: 0.82rem; }

  /* Infos contact */
  .cii-val { font-size: 0.85rem; }

  /* Social buttons */
  .social-btn { padding: 0.7rem 0.85rem; gap: 0.75rem; }
  .sb-name { font-size: 0.82rem; }

  /* FAQ */
  .faq-question { font-size: 0.85rem; }

  /* Map */
  .map-container iframe { height: 220px !important; }
}
