/**
 * Contact Page - Majestic Conciergerie
 * MJ Leads V6.5
 */

/* Reset propre - PAS de full-bleed */
.mj-contact {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.mj-contact *, .mj-contact *::before, .mj-contact *::after {
  box-sizing: border-box;
}

.mj-contact {
  --gold: #C9A84C;
  --gold-l: #E8C97A;
  --gold-d: rgba(201,168,76,.25);
  --bg: #0A131F;
  --bg2: #0D1825;
  --surface: rgba(255,255,255,.04);
  --surface2: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.08);
  --border-g: rgba(201,168,76,.25);
  --text: #F0EBE0;
  --muted: rgba(240,235,224,.55);
  --muted2: rgba(240,235,224,.35);
  --success: #34D399;
  --radius: 20px;
  --radius-sm: 14px;
  
  min-height: 100vh;
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mj-contact a { color: inherit; text-decoration: none; }

.mj-contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 80% at 0 0, rgba(201,168,76,.08) 0%, transparent 50%),
              radial-gradient(ellipse 80% 100% at 100% 100%, rgba(30,35,100,.15) 0%, transparent 50%);
}

.mj-contact-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px 100px;
}

.mj-contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}
.mj-contact-breadcrumb a:hover { color: var(--gold); }
.mj-contact-breadcrumb svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

.mj-contact-header { text-align: center; margin-bottom: 70px; }

.mj-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--gold-d);
  border: 1px solid var(--border-g);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.mj-contact-badge svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

.mj-contact-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(38px, 8vw, 64px);
  line-height: 1.1;
  margin: 0 0 20px 0;
  color: var(--text);
}
.mj-contact-title em { font-weight: 400; color: var(--gold-l); font-style: italic; }

.mj-contact-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.mj-contact-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.mj-contact-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.mj-contact-trust-item svg { width: 18px; height: 18px; stroke: var(--gold); stroke-width: 2; fill: none; }

.mj-contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  margin-bottom: 80px;
}
@media (max-width: 1024px) { .mj-contact-grid { grid-template-columns: 1fr; } }

.mj-contact-cards-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 26px;
  color: var(--gold-l);
  margin: 0 0 24px 0;
}

.mj-contact-cards { display: flex; flex-direction: column; gap: 16px; }

.mj-contact-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: all .3s ease;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
}
.mj-contact-card:hover {
  border-color: var(--border-g);
  transform: translateX(6px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.4);
}

.mj-contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--gold-d);
  border: 1px solid var(--border-g);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.mj-contact-card:hover .mj-contact-card-icon { background-color: var(--gold); }
.mj-contact-card-icon svg { width: 26px; height: 26px; stroke: var(--gold); stroke-width: 1.5; fill: none; transition: stroke .3s; }
.mj-contact-card:hover .mj-contact-card-icon svg { stroke: var(--bg); }

.mj-contact-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--gold-l);
  margin: 0 0 6px 0;
}
.mj-contact-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

.mj-contact-card-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.mj-contact-card:hover .mj-contact-card-arrow { background-color: var(--gold); border-color: var(--gold); }
.mj-contact-card-arrow svg { width: 18px; height: 18px; stroke: var(--muted); stroke-width: 2; fill: none; transition: stroke .3s; }
.mj-contact-card:hover .mj-contact-card-arrow svg { stroke: var(--bg); }

@media (max-width: 600px) {
  .mj-contact-card { grid-template-columns: 1fr; text-align: center; }
  .mj-contact-card-icon { margin: 0 auto; }
  .mj-contact-card-arrow { display: none; }
}

.mj-contact-sidebar { display: flex; flex-direction: column; gap: 24px; }

.mj-contact-box {
  background-color: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.mj-contact-box-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 20px 0;
}

.mj-contact-quick-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.mj-contact-quick-item:last-child { border-bottom: none; padding-bottom: 0; }
.mj-contact-quick-item:first-child { padding-top: 0; }
.mj-contact-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--gold-d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mj-contact-quick-icon svg { width: 22px; height: 22px; stroke: var(--gold); stroke-width: 1.5; fill: none; }
.mj-contact-quick-label { font-size: 12px; color: var(--muted2); text-transform: uppercase; margin: 0 0 2px 0; }
.mj-contact-quick-value { font-size: 16px; font-weight: 500; color: var(--text); margin: 0; }
.mj-contact-quick-value a { color: var(--text); }
.mj-contact-quick-value a:hover { color: var(--gold); }

.mj-contact-cta {
  background: linear-gradient(135deg, var(--gold-d) 0%, var(--surface) 100%);
  border: 1px solid var(--border-g);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.mj-contact-cta h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: 22px; margin: 0 0 12px 0; color: var(--text); }
.mj-contact-cta p { font-size: 14px; color: var(--muted); margin: 0 0 20px 0; }
.mj-contact-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background-color: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
}
.mj-contact-cta-btn:hover { background-color: var(--gold-l); transform: translateY(-2px); }
.mj-contact-cta-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

.mj-contact-hours-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mj-contact-hours-title svg { width: 16px; height: 16px; stroke: var(--gold); stroke-width: 2; fill: none; }
.mj-contact-hours-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.mj-contact-hours-row:last-child { margin-bottom: 0; }
.mj-contact-hours-day { color: var(--muted); }
.mj-contact-hours-time { font-weight: 500; color: var(--text); }
.mj-contact-hours-time.highlight { color: var(--gold); }

.mj-contact-faq { padding-top: 60px; }
.mj-contact-faq-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 26px;
  text-align: center;
  margin: 0 0 36px 0;
  color: var(--gold-l);
}
.mj-contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) { .mj-contact-faq-grid { grid-template-columns: 1fr; } }

.mj-contact-faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}
.mj-contact-faq-item h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--gold-l);
  margin: 0 0 12px 0;
}
.mj-contact-faq-item p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

/* MODAL */
.mj-contact-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(10,19,31,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mj-contact-modal.active { display: flex; }

.mj-contact-modal-box {
  background-color: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
}
.mj-contact-modal-header {
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.mj-contact-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: var(--gold-d);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mj-contact-modal-badge svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; }
.mj-contact-modal-title { font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: 28px; margin: 0; color: var(--text); }
.mj-contact-modal-subtitle { font-size: 14px; color: var(--muted); margin: 8px 0 0 0; }
.mj-contact-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mj-contact-modal-close:hover { background-color: var(--surface2); }
.mj-contact-modal-close svg { width: 18px; height: 18px; stroke: var(--muted); stroke-width: 2; fill: none; }
.mj-contact-modal-body { padding: 28px; }

/* FORM */
.mj-contact-form-group { margin-bottom: 18px; }
.mj-contact-form-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; margin: 0 0 8px 0; }
.mj-contact-form-input,
.mj-contact-form-textarea,
.mj-contact-form-select {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background-color .2s;
}
.mj-contact-form-input::placeholder,
.mj-contact-form-textarea::placeholder { color: var(--muted2); }
.mj-contact-form-input:focus,
.mj-contact-form-textarea:focus,
.mj-contact-form-select:focus { border-color: var(--gold); background-color: var(--surface2); }
.mj-contact-form-textarea { min-height: 110px; resize: vertical; }
.mj-contact-form-select { appearance: none; cursor: pointer; }
.mj-contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .mj-contact-form-row { grid-template-columns: 1fr; } }

.mj-contact-form-submit {
  width: 100%;
  padding: 16px 24px;
  background-color: var(--gold);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  transition: all .3s;
}
.mj-contact-form-submit:hover { background-color: var(--gold-l); }
.mj-contact-form-submit:disabled { opacity: .6; cursor: not-allowed; }
.mj-contact-form-submit svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* SUCCESS */
.mj-contact-success { text-align: center; padding: 50px 20px; }
.mj-contact-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(52,211,153,.12);
  border: 2px solid rgba(52,211,153,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.mj-contact-success-icon svg { width: 40px; height: 40px; stroke: var(--success); stroke-width: 2; fill: none; }
.mj-contact-success h3 { font-family: 'Fraunces', Georgia, serif; font-size: 26px; font-weight: 300; margin: 0 0 12px 0; color: var(--text); }
.mj-contact-success p { font-size: 15px; color: var(--muted); margin: 0; }

/* ===== GRILLE ARRIÈRE-PLAN (carreaux) ===== */
.mj-contact-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(201,168,76,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

/* ===== SECTION SEO ===== */
.mj-contact-seo {
  margin-bottom: 80px;
}
.mj-contact-seo-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 28px;
  text-align: center;
  margin: 0 0 40px 0;
  color: var(--text);
}
.mj-contact-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .mj-contact-seo-grid { grid-template-columns: 1fr; } }

.mj-contact-seo-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s;
}
.mj-contact-seo-card:hover {
  border-color: rgba(255,255,255,.12);
  background-color: var(--surface2);
}
.mj-contact-seo-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 12px 0;
  color: var(--gold-l);
}
.mj-contact-seo-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px 0;
}
.mj-contact-seo-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  transition: gap .3s;
}
.mj-contact-seo-card a:hover { gap: 10px; }
.mj-contact-seo-card a svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ===== SECTION LIENS INTERNES (maillage) ===== */
.mj-contact-links {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.mj-contact-links-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 24px;
  text-align: center;
  margin: 0 0 32px 0;
  color: var(--text);
}
.mj-contact-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) { .mj-contact-links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mj-contact-links-grid { grid-template-columns: 1fr; } }

.mj-contact-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all .3s;
}
.mj-contact-link-item:hover {
  border-color: var(--gold-d);
  background-color: var(--surface2);
  transform: translateY(-2px);
}
.mj-contact-link-item svg { 
  width: 18px; 
  height: 18px; 
  stroke: var(--gold); 
  stroke-width: 1.5; 
  fill: none; 
  flex-shrink: 0; 
}

/* ===== ANIMATIONS CARDS ===== */
@keyframes mjFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.mj-contact-card { animation: mjFadeInUp .6s cubic-bezier(.4,0,.2,1) both; }
.mj-contact-card:nth-child(1) { animation-delay: .05s; }
.mj-contact-card:nth-child(2) { animation-delay: .1s; }
.mj-contact-card:nth-child(3) { animation-delay: .15s; }
.mj-contact-card:nth-child(4) { animation-delay: .2s; }
.mj-contact-card:nth-child(5) { animation-delay: .25s; }
.mj-contact-card:nth-child(6) { animation-delay: .3s; }

/* ===== SUCCESS ANIMATION ===== */
@keyframes mjSuccessPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.mj-contact-success-icon { animation: mjSuccessPop .5s cubic-bezier(.4,0,.2,1); }

/* ===== SELECT ARROW ===== */
.mj-contact-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
