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

/* --- HERO --- */
.contact-hero {
  background-color: var(--color-dark);
  background-image: radial-gradient(circle, rgba(56,182,255,0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56,182,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-blue); }
.breadcrumb-sep { opacity: 0.4; font-size: 0.7rem; }
.breadcrumb-current { color: rgba(255,255,255,0.7); }

/* Badge "Disponible" vert */
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.85); }
}

.badge-available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #22C55E;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  margin-bottom: 24px;
}

.badge-available .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-green 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.contact-hero-h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 16px;
}

.contact-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .contact-hero { padding: 100px 0 60px; }
  .contact-hero-h1 { font-size: 1.8rem; }
}

/* --- LAYOUT PRINCIPAL --- */
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .contact-layout { padding: 48px 20px 64px; gap: 40px; }
}

/* --- COLONNE GAUCHE --- */
.contact-col-left { min-width: 0; }

.contact-block-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
}

/* Carte formulaire */
.form-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  border: 1px solid #F3F4F6;
}

@media (max-width: 767px) {
  .form-card { padding: 28px 22px; }
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--color-dark);
  background: #FAFAFA;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--color-blue);
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(56,182,255,0.1);
}

.form-control::placeholder { color: #9CA3AF; }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5563' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea.form-control { resize: vertical; min-height: 120px; }

.form-honeypot { display: none; }

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 8px;
  background: var(--color-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}

.btn-submit:hover {
  box-shadow: 0 0 24px rgba(56,182,255,0.45);
  transform: translateY(-1px);
}

/* Message de succès */
#form-success {
  display: none;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
}

.success-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 16px 0 8px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Séparateur ou */
.or-separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0;
}

.or-separator::before,
.or-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

.or-separator span {
  font-size: 0.85rem;
  color: #9CA3AF;
  white-space: nowrap;
}

/* Placeholder Calendly */
.calendly-placeholder {
  display: block;
  text-decoration: none;
}

.calendly-placeholder:hover .calendly-placeholder-inner {
  border-color: rgba(56,182,255,0.6);
}

.calendly-placeholder-inner {
  background: var(--color-dark);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  border: 2px dashed rgba(56,182,255,0.3);
  transition: border-color 0.2s;
}

.calendly-placeholder-title {
  color: white;
  font-weight: 700;
  margin-top: 20px;
  font-size: 1.1rem;
}

.calendly-placeholder-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* --- COLONNE DROITE --- */
.contact-col-right {
  position: sticky;
  top: 96px;
}

@media (max-width: 1024px) {
  .contact-col-right { position: static; }
}

/* Cards réassurance */
.reassurance-card {
  background: white;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #F3F4F6;
  margin-bottom: 20px;
}

.reassurance-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.reassurance-card-header svg { flex-shrink: 0; }

.reassurance-divider {
  height: 1px;
  background: #F3F4F6;
  margin: 0 0 16px;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 10px;
}

.promise-item svg { flex-shrink: 0; }

/* Liens de contact direct */
.contact-link-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #FAFAFA;
  border: 1px solid #F3F4F6;
  margin-bottom: 10px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.contact-link-item:hover {
  background: var(--color-light);
  border-color: rgba(56,182,255,0.25);
}

.contact-link-item svg { flex-shrink: 0; margin-top: 2px; }

.contact-link-text-wrap { display: flex; flex-direction: column; gap: 2px; }

.contact-link-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

.contact-link-sub {
  font-size: 0.8rem;
  color: var(--color-text);
}

/* Card localisation (fond dark) */
.location-card {
  background: var(--color-dark);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 0;
}

.location-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin: 12px 0 10px;
}

.location-card-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

.location-badge {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}

/* --- FAQ --- */
.faq-contact-section {
  background: var(--color-gray-bg);
  padding: 80px 0;
}

.faq-contact-intro {
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: center;
  max-width: 560px;
  margin: 8px auto 48px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list details { border-bottom: 1px solid #E5E7EB; }
.faq-list details:first-child { border-top: 1px solid #E5E7EB; }

.faq-list summary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  padding: 20px 40px 20px 0;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { display: none; }

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-blue);
  line-height: 1;
}

.faq-list details[open] summary::after { content: '−'; }
.faq-list summary:hover { color: var(--color-blue); }

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  padding: 0 40px 24px 0;
}
