/* ============================================
   IS COM — Contact CSS
   ============================================ */

.nav-menu a.active { color: var(--blue); }
.nav-menu a.active::after { width: 100%; }

.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); margin-bottom: 24px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray); }

/* --- HERO --- */
.contact-hero {
  padding: 160px 0 72px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(47,105,177,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(47,105,177,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.contact-hero .container { position: relative; z-index: 2; }
.contact-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 12px 0 20px;
}
.contact-hero-title span { color: var(--blue); }
.contact-hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}
.contact-hero-desc strong { color: var(--text); font-weight: 700; }

/* --- LAYOUT CONTACT --- */
.contact-section { padding: 72px 0 100px; background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

/* --- FORMULAIRE --- */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-form-subtitle {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Groupes */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.required { color: var(--blue); }

/* Inputs */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47,105,177,0.1);
}
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,0.1); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-error { font-size: 12px; color: #e74c3c; font-weight: 500; min-height: 16px; }

/* Budget radio */
.budget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.budget-option {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}
.budget-option input[type="radio"] { display: none; }
.budget-option span {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.budget-option input[type="radio"]:checked + span {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.budget-option:hover span { border-color: var(--blue); color: var(--blue); }

/* Submit */
.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(47,105,177,0.3); }
.form-submit:active { transform: translateY(0); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.submit-arrow { font-size: 18px; transition: transform 0.3s; }
.form-submit:hover .submit-arrow { transform: translateX(4px); }

/* Succès */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eafaf1;
  border: 2px solid #27ae60;
  color: #27ae60;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.success-text { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* --- INFOS CONTACT --- */
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 16px; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-mid);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s;
}
.contact-channel:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.contact-channel--whatsapp:hover { border-color: #25d366; }
.contact-channel--email:hover { border-color: var(--blue); }

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel--whatsapp .channel-icon { background: #eafaf1; color: #25d366; }
.contact-channel--email .channel-icon { background: var(--blue-bg); color: var(--blue); }

.channel-content { flex: 1; }
.channel-label { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.channel-value { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.channel-arrow { font-size: 18px; color: var(--gray); transition: transform 0.3s; }
.contact-channel:hover .channel-arrow { transform: translateX(4px); color: var(--blue); }

/* Réassurance */
.contact-reassurance {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.reassurance-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 18px; }
.reassurance-list { display: flex; flex-direction: column; gap: 14px; }
.reassurance-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.reassurance-list li strong { color: var(--text); }
.reassurance-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* FAQ rapide */
.contact-faq {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.faq-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 18px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-chevron {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(45deg); color: var(--blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open { max-height: 200px; }
.faq-answer p {
  padding-bottom: 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 32px; }
}
@media (max-width: 600px) {
  .contact-hero { padding: 130px 0 52px; }
  .form-row { grid-template-columns: 1fr; }
  .budget-options { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 24px; }
}
