/*
 * Page Contact — styles compatibles Gutenberg/FSE
 * Structure simple, éditable, mobile-first.
 */

.sc-contact-page {
  padding-inline: 18px;
  padding-bottom: clamp(48px, 8vw, 96px);
  background: #f7f3ec;
}

.sc-contact-hero {
  padding-block: clamp(42px, 7vw, 88px) clamp(24px, 4vw, 44px);
}

.sc-contact-page .sc-eyebrow {
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9b5f2f;
}

.sc-contact-page h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.sc-contact-intro {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.sc-contact-page .sc-card {
  margin-bottom: 24px;
  padding: clamp(22px, 4vw, 36px);
  background: #fffaf2;
  border: 1px solid rgba(25, 25, 25, 0.08);
}

.sc-contact-page .sc-card h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.sc-contact-page .sc-card p {
  margin-top: 0;
  line-height: 1.6;
}

.sc-contact-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.sc-contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  background: #f7f3ec;
  border: 1px solid rgba(25, 25, 25, 0.1);
}

.sc-contact-link:hover,
.sc-contact-link:focus-visible {
  opacity: 0.78;
}

.sc-contact-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.05rem;
}

.sc-contact-link strong {
  display: block;
  font-size: 1rem;
}

.sc-contact-link em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  opacity: 0.72;
  word-break: break-word;
}

.sc-info-card ul {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.sc-info-card li {
  margin-bottom: 8px;
}

.sc-contact-final-visual {
  margin-top: clamp(34px, 6vw, 72px);
  text-align: center;
}

.sc-contact-image {
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 0;
}

.sc-contact-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 900px) {
  .sc-contact-links {
    grid-template-columns: 1fr;
  }

  .sc-contact-image {
    max-width: 360px;
  }
}
