/* Section « Parlons de votre mariage » des pages mariage : accès rapides à gauche,
   mini formulaire partagé à droite (/1assets/mini-contact.js, rendu dans .qmc). */
.wedding-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 34px;
  width: min(1040px, calc(100% - 32px));
  box-sizing: border-box;
  margin: 40px auto 30px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(111, 76, 255, 0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 186, 223, 0.45), transparent 42%),
    radial-gradient(circle at 92% 88%, rgba(165, 167, 255, 0.4), transparent 45%),
    #fbf9ff;
  box-shadow: 0 16px 38px rgba(91, 61, 185, 0.1);
  text-align: left;
  scroll-margin-top: 100px;
}

.wedding-contact *,
.wedding-contact *::before,
.wedding-contact *::after {
  box-sizing: border-box;
}

.wedding-contact__eyebrow {
  margin: 0;
  color: #5b4ae8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Signature de la page devant le surtitre : voyant d'enregistrement côté
   film, déclencheur d'appareil côté photo. */
.wedding-contact--film .wedding-contact__eyebrow,
.wedding-contact--photo .wedding-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wedding-contact--film .wedding-contact__eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4b5f;
  box-shadow: 0 0 0 4px rgba(239, 75, 95, 0.16);
  content: "";
  animation: wedding-contact-rec 1.6s ease-in-out infinite;
}

.wedding-contact--photo .wedding-contact__eyebrow::before {
  width: 12px;
  height: 12px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fbf9ff, inset 0 0 0 6px currentColor;
  content: "";
}

@keyframes wedding-contact-rec {
  50% { opacity: 0.35; }
}

.wedding-contact h2 {
  margin: 8px 0 10px;
  color: #17131f;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.08;
}

.wedding-contact__lead {
  margin: 0 0 20px;
  color: #5f566f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* Trois accès directs, du plus rapide au plus complet. */
.wedding-contact__quick {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.wedding-contact__quick:last-child {
  margin-bottom: 0;
}

.wedding-contact__quick a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(111, 76, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #231a38;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wedding-contact__quick a:hover,
.wedding-contact__quick a:focus-visible {
  border-color: rgba(104, 71, 239, 0.5);
  box-shadow: 0 10px 22px rgba(88, 58, 184, 0.14);
  transform: translateY(-2px);
}

.wedding-contact__quick a:focus-visible {
  outline: 3px solid rgba(139, 92, 246, 0.35);
  outline-offset: 2px;
}

.wedding-contact__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #6847ef, #9b53d8);
  color: #fff;
}

.wedding-contact__icon--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.wedding-contact__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.wedding-contact__quick strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.wedding-contact__quick small {
  display: block;
  margin-top: 2px;
  color: #72698a;
  font-size: 12.5px;
  font-weight: 600;
}

.wedding-contact__arrow {
  color: #6847ef;
  font-size: 18px;
  font-weight: 800;
}

.wedding-contact__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wedding-contact__proofs li {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(104, 71, 239, 0.1);
  color: #4e367e;
  font-size: 12px;
  font-weight: 750;
}

.wedding-contact__proofs li::before {
  margin-right: 5px;
  color: #6847ef;
  content: "✓";
  font-weight: 900;
}

/* Le mini formulaire garde son propre style ; on l'ajuste seulement à la colonne. */
.wedding-contact .qmc {
  width: 100%;
  margin: 0;
  box-shadow: 0 14px 32px rgba(67, 56, 202, 0.16);
}

[data-theme="dark"] .wedding-contact {
  border-color: rgba(196, 181, 253, 0.22);
  background:
    radial-gradient(circle at 8% 12%, rgba(231, 127, 188, 0.18), transparent 42%),
    radial-gradient(circle at 92% 88%, rgba(143, 145, 255, 0.18), transparent 45%),
    rgba(31, 23, 45, 0.98);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .wedding-contact h2,
[data-theme="dark"] .wedding-contact__quick strong {
  color: #fff;
}

[data-theme="dark"] .wedding-contact__eyebrow {
  color: #c4b5fd;
}

[data-theme="dark"] .wedding-contact--photo .wedding-contact__eyebrow::before {
  box-shadow: inset 0 0 0 2px #1f172d, inset 0 0 0 6px currentColor;
}

[data-theme="dark"] .wedding-contact__lead,
[data-theme="dark"] .wedding-contact__quick small {
  color: rgba(249, 243, 255, 0.72);
}

[data-theme="dark"] .wedding-contact__quick a {
  border-color: rgba(196, 181, 253, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .wedding-contact__arrow {
  color: #c4b5fd;
}

[data-theme="dark"] .wedding-contact__proofs li {
  background: rgba(167, 139, 250, 0.16);
  color: #f3eaff;
}

@media (max-width: 860px) {
  .wedding-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .wedding-contact {
    width: calc(100% - 24px);
    padding: 22px 16px;
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wedding-contact__quick a {
    transition: none;
  }

  .wedding-contact--film .wedding-contact__eyebrow::before {
    animation: none;
  }
}
