/* ══════════════════════════════════════════════════
   CONTACT PAGE — Design System MyWebo v6
══════════════════════════════════════════════════ */
:root {
  --dp:      #181818;
  --dp2:     #2D2D2D;
  --purple:  #E0734B;
  --accent:  #E0734B;
  --cream:   #FAF8F5;
  --ink:     #181818;
  --muted:   #6b7280;
  --border:  rgba(18, 18, 18, 0.1);
  --white:   #ffffff;
  --glass:   rgba(24, 24, 24, 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; background: var(--cream); color: var(--ink); }

/* ── Helpers */
.section-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ══ HERO ═══════════════════════════════════════ */
.contact-hero {
  background: linear-gradient(135deg, var(--dp) 0%, var(--dp2) 55%, #181818 100%);
  padding: 110px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(224,115,75,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(196,181,253,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero-inner {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,181,253,0.12);
  border: 1px solid rgba(196,181,253,0.28);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}
.contact-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900; color: #fff; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.contact-hero h1 span { color: var(--accent); }
.contact-hero p {
  font-size: 18px; color: rgba(255,255,255,0.65);
  line-height: 1.65; max-width: 520px; margin: 0 auto;
}

/* ══ MAIN GRID ═══════════════════════════════════ */
.contact-body {
  padding: 80px 24px 100px;
}
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

/* ══ LEFT PANEL — Infos ══════════════════════════ */
.contact-info {
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 120px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(45,16,96,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.info-card:hover {
  box-shadow: 0 8px 40px rgba(45,16,96,0.12);
  transform: translateY(-2px);
}
.info-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.info-card-icon.purple { background: rgba(224,115,75,0.10); }
.info-card-icon.green  { background: rgba(16,185,129,0.10); }
.info-card-icon.blue   { background: rgba(59,130,246,0.10); }
.info-card-icon.orange { background: rgba(251,146,60,0.10); }

.info-card-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.info-card-value {
  font-size: 17px; font-weight: 700; color: var(--ink);
  text-decoration: none; line-height: 1.3;
  display: block;
  transition: color 0.2s;
}
a.info-card-value:hover { color: var(--purple); }
.info-card-sub {
  font-size: 13px; color: var(--muted);
  margin-top: 4px; line-height: 1.4;
}

/* RDV card — spécial */
.rdv-card {
  background: linear-gradient(135deg, var(--dp) 0%, var(--dp2) 100%);
  border-color: rgba(224,115,75,0.3);
  position: relative; overflow: hidden;
}
.rdv-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(196,181,253,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.rdv-card .info-card-label { color: rgba(196,181,253,0.6); }
.rdv-card .info-card-value { color: #fff; }
.rdv-card .info-card-sub   { color: rgba(255,255,255,0.5); }
.rdv-card:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(45,16,96,0.3); }

.btn-rdv {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  background: linear-gradient(135deg, #E0734B, #D97757);
  color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(224,115,75,0.35);
}
.btn-rdv:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(224,115,75,0.5); }

/* Horaires */
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--muted); font-weight: 500; }
.hours-time { color: var(--ink); font-weight: 700; }
.hours-closed { color: #ef4444; font-weight: 600; }

/* ══ RIGHT PANEL — Formulaire ════════════════════ */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 32px rgba(45,16,96,0.07);
}
.form-title {
  font-size: 24px; font-weight: 900;
  color: var(--ink); margin-bottom: 6px;
}
.form-subtitle {
  font-size: 15px; color: var(--muted);
  margin-bottom: 36px; line-height: 1.5;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px; font-weight: 700;
  color: var(--ink); letter-spacing: 0.01em;
}
.form-group label span { color: #ef4444; margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(45,16,96,0.12);
  border-radius: 12px;
  font-size: 15px; font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: #faf9ff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0a8c8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(224,115,75,0.10);
  background: #fff;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group textarea {
  resize: vertical; min-height: 130px; line-height: 1.6;
}

/* Budget pills */
.budget-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.budget-pill {
  padding: 7px 16px;
  border: 1.5px solid rgba(45,16,96,0.12);
  border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--muted); background: #faf9ff;
  cursor: pointer; transition: all 0.18s;
  user-select: none;
}
.budget-pill:hover,
.budget-pill.selected {
  border-color: var(--purple);
  background: rgba(224,115,75,0.08);
  color: var(--dp);
}

/* RGPD */
.form-rgpd {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 20px 0 28px;
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
}
.form-rgpd input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--purple);
  cursor: pointer;
}

/* Submit */
.btn-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, #E0734B, #D97757);
  color: #fff; border: none; border-radius: 14px;
  font-size: 16px; font-weight: 800;
  font-family: 'Outfit', sans-serif;
  cursor: pointer; letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(224,115,75,0.35);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(224,115,75,0.45); }
.btn-submit:active { transform: translateY(0); }

/* Succès */
.form-success {
  display: none;
  flex-direction: column; align-items: center;
  text-align: center; padding: 48px 24px;
  gap: 16px;
}
.form-success.visible { display: flex; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 32px rgba(224, 115, 75, 0.3);
}
.form-success h3 { font-size: 22px; font-weight: 900; color: var(--ink); }
.form-success p  { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 360px; }

/* ══ SECTION CARTE ══════════════════════════════ */
.contact-map {
  padding: 0 24px 80px;
}
.map-wrap {
  max-width: 1100px; margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 48px rgba(45,16,96,0.12);
  border: 1px solid var(--border);
  height: 360px;
}
.map-wrap iframe {
  width: 100%; height: 100%; border: none; display: block;
}

/* ══ RESPONSIVE ════════════════════════════════ */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info { position: static; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-hero { padding: 90px 20px 60px; }
}
@media (max-width: 540px) {
  .info-card { padding: 20px; }
  .contact-form-wrap { border-radius: 16px; }
}
