/* Mini-hub proprietaire pour le lien de profil Instagram. */
.rpc-instagram-page {
  min-width: 320px;
  color: var(--encre);
  background:
    linear-gradient(180deg, var(--nuit) 0 470px, var(--brume) 470px 100%);
}

.rpc-instagram-page .rpc-chat {
  display: none !important;
}

.rpc-ig-skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--nuit);
  background: var(--blanc);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.rpc-ig-skip:focus {
  transform: none;
}

.rpc-instagram-page header.rpc-ig-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--blanc);
  background: rgba(10, 22, 40, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.rpc-ig-bar {
  display: flex;
  min-height: 68px;
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rpc-ig-wordmark,
.rpc-ig-origin {
  display: inline-flex;
  align-items: center;
}

.rpc-ig-wordmark {
  gap: 9px;
  color: var(--blanc);
  font: 800 15px/1.15 'Libre Franklin', Arial, sans-serif;
  letter-spacing: -.02em;
  text-decoration: none;
}

.rpc-ig-wordmark img {
  width: 29px;
  height: 26px;
  flex: 0 0 auto;
}

.rpc-ig-origin {
  gap: 7px;
  padding: 7px 10px;
  color: #c6d4e4;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
}

.rpc-ig-origin svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.rpc-ig-main {
  overflow: hidden;
}

.rpc-ig-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 20px 84px;
  color: var(--blanc);
  background: var(--nuit);
}

.rpc-ig-hero::before {
  position: absolute;
  inset: -80px -220px auto 42%;
  width: 620px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 52, 84, .7), rgba(24, 52, 84, 0) 68%);
  content: '';
  pointer-events: none;
}

.rpc-ig-hero::after {
  position: absolute;
  right: -110px;
  bottom: -240px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(255, 255, 255, .025), 0 0 0 124px rgba(255, 255, 255, .018);
  content: '';
  pointer-events: none;
}

.rpc-ig-hero-inner,
.rpc-ig-section-inner,
.rpc-ig-stats,
.rpc-ig-closing-inner,
.rpc-ig-footer-inner {
  width: min(100%, 840px);
  margin-inline: auto;
}

.rpc-ig-hero-inner {
  position: relative;
  z-index: 1;
}

.rpc-ig-profile {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}

.rpc-ig-portrait-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: var(--marine);
}

.rpc-ig-portrait {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 17%;
  background: var(--marine-clair);
}

.rpc-ig-portrait-wrap::after {
  position: absolute;
  right: 1px;
  bottom: 6px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--nuit);
  border-radius: 50%;
  background: var(--vert);
  content: '';
}

.rpc-ig-profile-copy strong,
.rpc-ig-profile-copy span {
  display: block;
}

.rpc-ig-profile-copy strong {
  color: var(--blanc);
  font: 800 20px/1.15 'Libre Franklin', Arial, sans-serif;
}

.rpc-ig-profile-copy span {
  margin-top: 6px;
  color: #9fb4cc;
  font-size: 13px;
  line-height: 1.45;
}

.rpc-ig-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ff7b84;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rpc-ig-kicker::before {
  width: 22px;
  height: 2px;
  background: var(--piment);
  content: '';
}

.rpc-ig-hero h1 {
  max-width: 15ch;
  margin: 15px 0 18px;
  color: var(--blanc);
  font-size: clamp(36px, 10vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.rpc-ig-hero h1 em {
  color: #ff4d59;
  font-style: normal;
}

.rpc-ig-lead {
  max-width: 61ch;
  color: #b7c7da;
  font-size: clamp(16px, 4.5vw, 19px);
  line-height: 1.62;
}

.rpc-ig-primary {
  display: flex;
  min-height: 60px;
  width: min(100%, 520px);
  margin-top: 28px;
  padding: 15px 18px 15px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--blanc);
  background: var(--piment);
  border: 1px solid var(--piment);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(194, 27, 38, .27);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.rpc-ig-primary:hover {
  color: var(--blanc);
  background: var(--piment-fonce);
  border-color: var(--piment-fonce);
  box-shadow: 0 18px 42px rgba(194, 27, 38, .34);
  transform: translateY(-2px);
}

.rpc-ig-primary svg,
.rpc-ig-arrow svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.rpc-ig-cta-note {
  display: flex;
  max-width: 520px;
  margin-top: 12px;
  align-items: center;
  gap: 8px;
  color: #8fa5bf;
  font-size: 12px;
  line-height: 1.45;
}

.rpc-ig-cta-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--vert);
  stroke-width: 2;
}

.rpc-ig-proof {
  position: relative;
  z-index: 3;
  margin: -42px 20px 0;
}

.rpc-ig-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  box-shadow: var(--ombre);
}

.rpc-ig-stat {
  min-width: 0;
  padding: 20px 16px;
}

.rpc-ig-stat:nth-child(odd) {
  border-right: 1px solid var(--ligne);
}

.rpc-ig-stat:nth-child(n + 3) {
  border-top: 1px solid var(--ligne);
}

.rpc-ig-stat strong,
.rpc-ig-stat span {
  display: block;
}

.rpc-ig-stat strong {
  color: var(--nuit);
  font: 800 clamp(21px, 6vw, 28px)/1.05 'Libre Franklin', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}

.rpc-ig-stat span {
  margin-top: 7px;
  color: var(--acier);
  font-size: 11px;
  line-height: 1.4;
}

.rpc-ig-section {
  padding: 56px 20px 4px;
}

.rpc-ig-section--resources {
  padding-top: 62px;
  padding-bottom: 64px;
}

.rpc-ig-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.rpc-ig-index {
  color: var(--piment);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rpc-ig-section h2 {
  max-width: 18ch;
  color: var(--nuit);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 800;
  line-height: 1.08;
}

.rpc-ig-section-head p {
  max-width: 60ch;
  color: var(--acier);
  font-size: 15px;
  line-height: 1.65;
}

.rpc-ig-links {
  display: grid;
  gap: 12px;
}

.rpc-ig-card {
  position: relative;
  display: grid;
  min-height: 104px;
  padding: 17px 16px;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  overflow: hidden;
  color: var(--encre);
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  box-shadow: 0 11px 28px rgba(10, 22, 40, .055);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rpc-ig-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--piment);
  content: '';
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .22s ease;
}

.rpc-ig-card:hover {
  color: var(--encre);
  border-color: rgba(194, 27, 38, .3);
  box-shadow: 0 18px 40px rgba(10, 22, 40, .1);
  transform: translateY(-2px);
}

.rpc-ig-card:hover::before {
  transform: scaleY(1);
}

.rpc-ig-card--urgent {
  color: var(--blanc);
  background: linear-gradient(135deg, var(--nuit), var(--marine));
  border-color: var(--ligne-nuit);
  box-shadow: var(--ombre-nuit);
}

.rpc-ig-card--urgent:hover {
  color: var(--blanc);
  border-color: rgba(255, 77, 89, .62);
  box-shadow: 0 21px 46px rgba(0, 0, 0, .3);
}

.rpc-ig-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--piment);
  background: var(--brume);
  border: 1px solid var(--ligne);
  border-radius: 12px;
}

.rpc-ig-card--urgent .rpc-ig-icon {
  color: #ff7b84;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

.rpc-ig-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.rpc-ig-card-copy {
  min-width: 0;
}

.rpc-ig-card-copy small,
.rpc-ig-card-copy strong,
.rpc-ig-card-copy span {
  display: block;
}

.rpc-ig-card-copy small {
  margin-bottom: 4px;
  color: var(--piment);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rpc-ig-card--urgent .rpc-ig-card-copy small {
  color: #ff7b84;
}

.rpc-ig-card-copy strong {
  color: var(--nuit);
  font: 800 17px/1.25 'Libre Franklin', Arial, sans-serif;
}

.rpc-ig-card--urgent .rpc-ig-card-copy strong {
  color: var(--blanc);
}

.rpc-ig-card-copy span {
  margin-top: 5px;
  color: var(--acier);
  font-size: 12px;
  line-height: 1.45;
}

.rpc-ig-card--urgent .rpc-ig-card-copy span {
  color: #9fb4cc;
}

.rpc-ig-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--piment);
  border-radius: 50%;
}

.rpc-ig-card--urgent .rpc-ig-arrow {
  color: #ff7b84;
}

.rpc-ig-resources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.rpc-ig-resource {
  display: flex;
  min-height: 164px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  color: var(--encre);
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  box-shadow: 0 11px 28px rgba(10, 22, 40, .045);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rpc-ig-resource:hover {
  color: var(--encre);
  border-color: rgba(194, 27, 38, .3);
  box-shadow: 0 18px 40px rgba(10, 22, 40, .1);
  transform: translateY(-2px);
}

.rpc-ig-resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rpc-ig-resource-number {
  color: var(--piment);
  font: 800 14px/1 'Libre Franklin', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.rpc-ig-resource-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--nuit);
  background: var(--brume);
  border-radius: 10px;
}

.rpc-ig-resource-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.rpc-ig-resource strong,
.rpc-ig-resource span {
  display: block;
}

.rpc-ig-resource strong {
  max-width: 18ch;
  color: var(--nuit);
  font: 800 18px/1.28 'Libre Franklin', Arial, sans-serif;
}

.rpc-ig-resource span {
  margin-top: 7px;
  color: var(--acier);
  font-size: 12px;
  line-height: 1.5;
}

.rpc-ig-closing {
  padding: 0 20px 70px;
}

.rpc-ig-closing-inner {
  position: relative;
  overflow: hidden;
  padding: 30px 24px;
  color: var(--blanc);
  background: linear-gradient(145deg, var(--nuit), var(--marine));
  border: 1px solid var(--ligne-nuit);
  border-radius: 18px;
  box-shadow: var(--ombre-nuit);
}

.rpc-ig-closing-inner::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .025);
  content: '';
}

.rpc-ig-closing-copy,
.rpc-ig-closing .rpc-ig-primary {
  position: relative;
  z-index: 1;
}

.rpc-ig-closing h2 {
  max-width: 16ch;
  margin: 10px 0 12px;
  color: var(--blanc);
  font-size: clamp(27px, 8vw, 38px);
  font-weight: 800;
  line-height: 1.08;
}

.rpc-ig-closing p {
  max-width: 51ch;
  color: #aebfd2;
  font-size: 14px;
  line-height: 1.62;
}

.rpc-instagram-page footer.rpc-ig-footer {
  position: static;
  padding: 40px 20px 28px;
  color: #9fb4cc;
  background: var(--nuit);
  border-top: 1px solid var(--ligne-nuit);
}

.rpc-ig-footer-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.rpc-ig-full-logo {
  width: 156px;
  height: 156px;
  object-fit: contain;
}

.rpc-ig-footer p {
  max-width: 48ch;
  margin-top: 12px;
  color: #8fa5bf;
  font-size: 12px;
  line-height: 1.55;
}

.rpc-ig-footer-links {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.rpc-ig-footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--blanc);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.rpc-ig-footer-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #7188a2;
  font-size: 10px;
  line-height: 1.5;
}

.rpc-instagram-page a:focus-visible {
  outline: 3px solid #ff6570;
  outline-offset: 3px;
}

@media (min-width: 680px) {
  .rpc-ig-bar {
    min-height: 74px;
    padding-inline: 28px;
  }

  .rpc-ig-wordmark {
    font-size: 18px;
  }

  .rpc-ig-hero {
    padding: 60px 28px 104px;
  }

  .rpc-ig-profile {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .rpc-ig-portrait-wrap {
    width: 98px;
    height: 98px;
  }

  .rpc-ig-portrait {
    width: 90px;
    height: 90px;
  }

  .rpc-ig-proof {
    margin-inline: 28px;
  }

  .rpc-ig-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rpc-ig-stat {
    padding: 24px 20px;
  }

  .rpc-ig-stat:nth-child(n) {
    border-top: 0;
    border-right: 1px solid var(--ligne);
  }

  .rpc-ig-stat:last-child {
    border-right: 0;
  }

  .rpc-ig-section {
    padding-inline: 28px;
  }

  .rpc-ig-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rpc-ig-card {
    min-height: 218px;
    padding: 22px;
    grid-template-columns: 1fr 28px;
    grid-template-rows: 52px 1fr;
    align-items: start;
  }

  .rpc-ig-card .rpc-ig-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .rpc-ig-card .rpc-ig-card-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
  }

  .rpc-ig-card .rpc-ig-arrow {
    grid-column: 2;
    grid-row: 1;
  }

  .rpc-ig-card-copy strong {
    font-size: 19px;
  }

  .rpc-ig-resources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rpc-ig-resource {
    min-height: 212px;
  }

  .rpc-ig-closing {
    padding-inline: 28px;
  }

  .rpc-ig-closing-inner {
    display: grid;
    padding: 38px;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 380px);
    gap: 38px;
    align-items: center;
  }

  .rpc-ig-closing .rpc-ig-primary {
    margin-top: 0;
  }

  .rpc-ig-footer-inner {
    grid-template-columns: 180px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
  }

  .rpc-ig-full-logo {
    grid-row: 1 / span 3;
  }

  .rpc-ig-footer-copy,
  .rpc-ig-footer-links,
  .rpc-ig-footer-meta {
    grid-column: 2;
  }

  .rpc-ig-footer-links {
    justify-content: flex-start;
  }

  .rpc-ig-footer-meta {
    width: 100%;
  }
}

@media (max-width: 379px) {
  .rpc-ig-origin {
    padding-inline: 8px;
    font-size: 10px;
  }

  .rpc-ig-wordmark {
    font-size: 14px;
  }

  .rpc-ig-card {
    padding-inline: 13px;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    gap: 10px;
  }

  .rpc-ig-icon {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rpc-ig-primary,
  .rpc-ig-card,
  .rpc-ig-card::before,
  .rpc-ig-resource {
    transition: none;
  }
}

@media print {
  .rpc-instagram-page {
    color: #000;
    background: #fff;
  }

  .rpc-instagram-page header.rpc-ig-header {
    position: static;
  }

  .rpc-ig-hero,
  .rpc-ig-closing-inner,
  .rpc-instagram-page footer.rpc-ig-footer {
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .rpc-ig-proof {
    margin-top: 20px;
  }

  .rpc-ig-card,
  .rpc-ig-resource,
  .rpc-ig-stats {
    break-inside: avoid;
    box-shadow: none;
  }
}
