/* ============================================================
   CONTACT PAGE
   ============================================================ */

.page-product:has(.contact-header) { padding-top: 88px; }

/* ============================================================
   GENERAL CONTACT STRIP — below hero
   ============================================================ */
.contact-general-strip {
  background: var(--paper);
  padding: clamp(48px, 6vw, 80px) 0;
}
.contact-general-strip .contact-general {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(20, 45, 86, 0.1);
  border-bottom: 1px solid rgba(20, 45, 86, 0.1);
}
.contact-general-strip .cg-block {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 28px 32px;
  border-bottom: 0;
  border-right: 1px solid rgba(20, 45, 86, 0.1);
  min-width: 0;
}
.contact-general-strip .cg-block:last-child { border-right: 0; }
.contact-general-strip .cg-value {
  font-size: 20px;
  word-break: break-word;
}
/* Adresse same size as phone/email for visual consistency */
.contact-general-strip .cg-value--small {
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

@media (max-width: 880px) {
  .contact-general-strip .contact-general { grid-template-columns: 1fr; }
  .contact-general-strip .cg-block {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 45, 86, 0.1);
  }
  .contact-general-strip .cg-block:last-child { border-bottom: 0; }
}

/* ============================================================
   HEADER — title + general contact column
   ============================================================ */
.contact-header {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 72px);
}
.contact-header-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: end;
}
.contact-header-text .eyebrow {
  margin-bottom: 28px;
}
.contact-header h1 {
  font-family: var(--font);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 24px;
  text-wrap: balance;
}
.contact-header h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}
.contact-header-sub {
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--ink-muted);
  font-weight: 300;
  margin: 0;
  max-width: 480px;
}

.contact-general {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(20, 45, 86, 0.1);
}
.cg-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(20, 45, 86, 0.1);
  color: var(--navy);
  transition: padding-left 0.3s ease;
}
.cg-block:not(.cg-block--static):hover {
  padding-left: 10px;
}
.cg-block:not(.cg-block--static):hover .cg-value {
  color: var(--gold-soft);
}
.cg-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.cg-value {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy);
  line-height: 1.4;
  transition: color 0.25s ease;
}
.cg-value--small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ============================================================
   CONTACTS — grouped people cards
   ============================================================ */
.contacts {
  background: var(--bg-soft);
  padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 12vw, 160px);
}
.contacts .section-head {
  margin-bottom: clamp(56px, 7vw, 88px);
}

.contact-group {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.contact-group:last-child { margin-bottom: 0; }

.cg-head {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 18px;
}
.cg-head h3 {
  font-family: var(--font);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.cg-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--gold);
}

/* Borderless tile grid — paper cards sit on bg-soft section, thin gap acts as divider */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.contact-card {
  position: relative;
  background: var(--paper);
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.4s ease;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  width: 32px;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s ease;
}
.contact-card:hover { background: var(--cream); }
.contact-card:hover::before { width: 56px; }

.cc-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.cc-name {
  font-family: var(--font);
  font-size: clamp(20px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}

/* Contact rows as arrow-link actions, inspired by .product-link */
.cc-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(20, 45, 86, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cc-list li { display: block; }
.cc-list a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: var(--navy);
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(20, 45, 86, 0.06);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.cc-list li:last-child a { border-bottom: 0; }
.cc-list a:hover {
  color: var(--gold-soft);
  padding-left: 6px;
}
.cc-list a:hover .cc-arrow { transform: translateX(4px); color: var(--gold); }
.cc-key {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cc-arrow {
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  color: var(--ink-faint);
  transition: transform 0.25s ease, color 0.25s ease;
  justify-self: end;
}
.cc-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Featured — same compact look as other cards (single card sits at left in its row) */
.contact-card--featured {
  /* inherits .contact-card styles */
}

@media (max-width: 980px) {
  .contact-header-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 24px 26px; gap: 14px; }
  .contact-card::before { left: 24px; }
  .cc-name { font-size: 18px; }
  /* Cards stack contents vertically — label above value, arrow on its own line */
  .cc-list a {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 4px;
    column-gap: 12px;
    padding: 12px 0;
  }
  .cc-key {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .cc-value {
    grid-column: 1;
    grid-row: 2;
    font-size: 15px;
    word-break: break-word;
  }
  .cc-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .cc-list a:hover { padding-left: 4px; }
}
