/* Section 07 your link everywhere (#partage), owner S3 — design v5 sections/07-share.html. The panel, eyebrow, title
   and intro are the shared .mc-… classes of site.css; this file sets the three cards and their mock-ups. */

.share { padding-bottom: var(--mc-band-gutter); }
.share-intro { max-width: 600px; }

.share-grid {
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.share-card {
  min-width: 0;
  background: var(--mc-paper);
  border-radius: 32px;
  padding: 14px 14px 28px;
}
.share-card__visual {
  height: 170px;
  border-radius: 24px;
  background: var(--mc-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.share-card__visual--dark { background: var(--mc-ink); gap: 16px; }
.share-card__title {
  margin: 22px 12px 0;
  font-family: var(--mc-serif);
  font-weight: 400;
  font-size: 24px;
}
.share-card__text { margin: 8px 12px 0; font-size: 16px; line-height: 1.5; color: var(--mc-text); }

/* The white mock-up card (Instagram profile, Google profile). */
.share-mock {
  width: 100%;
  max-width: 250px;
  border-radius: 22px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 14px 24px -18px rgba(46, 20, 8, .5);
}
.share-mock__sub { display: block; font-size: 13px; color: var(--mc-brown); }

.share-insta { display: flex; align-items: center; gap: 12px; }
.share-insta__avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #C8322A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mc-serif);
  font-size: 22px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mc-caramel);
}
.share-insta__who { min-width: 0; }
.share-insta__handle { display: block; font-size: 15px; }
.share-insta__link { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--mc-eyebrow); }

.share-google__name { display: block; font-size: 16px; }
.share-google__info { margin-top: 4px; }
.share-google__actions { margin-top: 12px; display: flex; gap: 8px; }
.share-google__btn {
  flex: 1;
  min-width: 0;
  height: 36px;
  border-radius: 999px;
  background: var(--mc-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.share-google__btn--dark { background: var(--mc-ink); color: var(--mc-on-dark); font-weight: 800; }

/* QR code drawing (7 × 7 cells, as the design). */
.share-qr {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 18px;
  background: var(--mc-paper);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 2px;
}
.share-qr > span { border-radius: 2px; }
.share-qr > .is-on { background: var(--mc-ink); }
.share-qr__text {
  max-width: 110px;
  font-family: var(--mc-serif);
  font-size: 20px;
  line-height: 1.15;
  color: var(--mc-on-dark);
}
