/* PIXICORE_PROFILE_FERIO_MOBILE_PREMIUM_V1_START */

.pc-profile-ferio-page {
  --pc-ferio-ink: #102d4f;
  --pc-ferio-title: #092744;
  --pc-ferio-copy: #355574;
  --pc-ferio-muted: #607992;
  --pc-ferio-blue: #2778d5;
  --pc-ferio-cyan: #1b9fc4;
  --pc-ferio-teal: #169685;

  min-height: 100vh;
  overflow-x: clip;

  color: var(--pc-ferio-copy);

  background:
    radial-gradient(
      circle at 7% 26%,
      rgba(45, 134, 220, .07),
      transparent 27rem
    ),
    radial-gradient(
      circle at 93% 68%,
      rgba(25, 162, 187, .06),
      transparent 25rem
    ),
    #f5f8fc;
}

/*
 * Hero technique.
 */
.pc-profile-ferio-page :is(
  .profile-hero,
  .hero,
  .page-hero
) {
  position: relative;

  min-height: auto !important;

  padding:
    clamp(7.2rem, 10vw, 9rem)
    0
    clamp(4.5rem, 7vw, 6rem) !important;

  overflow: hidden;

  color: #f4f9ff;

  background:
    radial-gradient(
      circle at 16% 20%,
      rgba(42, 142, 255, .25),
      transparent 23rem
    ),
    radial-gradient(
      circle at 82% 74%,
      rgba(32, 198, 220, .18),
      transparent 25rem
    ),
    linear-gradient(
      145deg,
      #061529,
      #0a2948 54%,
      #071f32
    );
}

.pc-profile-ferio-page :is(
  .profile-hero,
  .hero,
  .page-hero
)::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      112deg,
      rgba(255, 255, 255, .038),
      transparent 36%,
      rgba(55, 207, 223, .035)
    );
}

.pc-profile-ferio-page :is(
  .profile-hero,
  .hero,
  .page-hero
)::after {
  content: "";

  position: absolute;
  inset:
    auto
    7%
    8%
    auto;

  width: clamp(180px, 24vw, 360px);
  aspect-ratio: 1;

  pointer-events: none;

  border: 1px solid rgba(103, 203, 236, .08);
  border-radius: 50%;

  box-shadow:
    0 0 0 38px rgba(88, 195, 225, .025),
    0 0 0 78px rgba(88, 195, 225, .018);
}

.pc-profile-ferio-page :is(
  .profile-hero,
  .hero,
  .page-hero
) > * {
  position: relative;
  z-index: 1;
}

.pc-profile-ferio-page :is(
  .profile-hero-grid,
  .profile-hero .row
) {
  align-items: center;
}

.pc-profile-ferio-page :is(
  .profile-hero-copy,
  .profile-hero .col-lg-7,
  .profile-hero .col-xl-7
) {
  min-width: 0;
}

.pc-profile-ferio-page :is(
  .profile-hero,
  .hero,
  .page-hero
) h1 {
  max-width: 13ch;

  color: #f7fbff;

  font-size: clamp(2.8rem, 6.8vw, 5rem) !important;
  font-weight: 870;
  line-height: .99;
  letter-spacing: -.05em;

  text-wrap: balance;

  text-shadow:
    0 3px 16px rgba(0, 8, 24, .38),
    0 22px 50px rgba(0, 6, 20, .22);
}

.pc-profile-ferio-page :is(
  .profile-role,
  .profile-subtitle,
  .profile-eyebrow,
  .page-eyebrow
) {
  color: #6fdce9;
  font-weight: 820;
  letter-spacing: .09em;
}

.pc-profile-ferio-page :is(
  .profile-hero,
  .hero,
  .page-hero
) p {
  max-width: 46rem;

  color: rgba(225, 239, 250, .87);

  font-size: clamp(1rem, 1.8vw, 1.14rem) !important;
  font-weight: 510;
  line-height: 1.62;

  text-wrap: pretty;
}

/*
 * Portrait.
 */
.pc-profile-ferio-page :is(
  .profile-portrait,
  .profile-portrait-card,
  .profile-visual,
  .profile-photo-wrap
) {
  position: relative;

  width: min(100%, 430px);

  margin-inline: auto;
  padding: clamp(.75rem, 2vw, 1rem);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .11),
      rgba(255, 255, 255, .045)
    );

  border: 1px solid rgba(137, 211, 242, .19);
  border-radius: 30px;

  box-shadow:
    0 30px 70px rgba(0, 8, 25, .34),
    inset 0 1px 0 rgba(255, 255, 255, .1);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pc-profile-ferio-page img[src*="ferio-profil"] {
  display: block;

  width: 100%;
  max-width: 390px;
  height: auto !important;
  aspect-ratio: 4 / 5;

  margin-inline: auto;

  object-fit: cover;
  object-position: center top;

  border: 1px solid rgba(191, 229, 248, .21);
  border-radius: 24px;

  box-shadow:
    0 24px 54px rgba(0, 7, 23, .28);
}

/*
 * Indicateurs du profil.
 */
.pc-profile-ferio-page :is(
  .profile-metric-grid,
  .profile-portrait-meta,
  .profile-stats,
  .profile-stat-grid
) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;

  width: 100%;
  margin-top: .9rem;
}

.pc-profile-ferio-page :is(
  .profile-metric-grid,
  .profile-portrait-meta,
  .profile-stats,
  .profile-stat-grid
) > * {
  min-width: 0;
  padding: .8rem;

  color: rgba(224, 239, 250, .82);

  background:
    linear-gradient(
      145deg,
      rgba(7, 28, 51, .7),
      rgba(8, 36, 56, .58)
    );

  border: 1px solid rgba(112, 202, 232, .15);
  border-radius: 16px;
}

.pc-profile-ferio-page :is(
  .profile-metric-grid,
  .profile-portrait-meta,
  .profile-stats,
  .profile-stat-grid
) strong {
  display: block;

  color: #f5fbff;

  font-size: 1rem;
  font-weight: 820;
}

.pc-profile-ferio-page :is(
  .profile-metric-grid,
  .profile-portrait-meta,
  .profile-stats,
  .profile-stat-grid
) :is(span, small) {
  color: rgba(205, 226, 240, .72);
}

/*
 * Actions.
 */
.pc-profile-ferio-page :is(
  .profile-action-row,
  .profile-actions
) {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;

  margin-top: 1.4rem;
}

.pc-profile-ferio-page :is(
  .profile-action-row,
  .profile-actions
) .btn {
  min-height: 50px;
  padding: .75rem 1.05rem;

  border-radius: 15px;

  font-weight: 760;
}

.pc-profile-ferio-page :is(
  .profile-action-row,
  .profile-actions
) .btn-primary {
  color: #fff;

  background:
    linear-gradient(
      135deg,
      #287ddd,
      #1768bd 56%,
      #158da1
    );

  border-color: rgba(34, 109, 197, .72);

  box-shadow:
    0 14px 30px rgba(17, 84, 164, .2),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}

/*
 * Sections.
 */
.pc-profile-ferio-page section:not(
  .profile-hero
):not(
  .hero
):not(
  .page-hero
) {
  position: relative;

  padding-block: clamp(3.7rem, 7vw, 5.8rem);
}

.pc-profile-ferio-page section:nth-of-type(even) {
  background:
    linear-gradient(
      180deg,
      rgba(235, 243, 251, .58),
      rgba(246, 249, 252, .42)
    );
}

.pc-profile-ferio-page section:not(
  .profile-hero
):not(
  .hero
):not(
  .page-hero
) h2 {
  color: var(--pc-ferio-title);

  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.04em;

  text-wrap: balance;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, .94),
    0 10px 24px rgba(28, 73, 117, .07);
}

.pc-profile-ferio-page section:not(
  .profile-hero
):not(
  .hero
):not(
  .page-hero
) h3 {
  color: #113858;

  font-weight: 810;
  line-height: 1.17;

  text-wrap: balance;
}

.pc-profile-ferio-page section:not(
  .profile-hero
):not(
  .hero
):not(
  .page-hero
) :is(p, li) {
  color: var(--pc-ferio-copy);

  font-weight: 505;
  line-height: 1.66;

  text-wrap: pretty;
}

.pc-profile-ferio-page section strong,
.pc-profile-ferio-page section b {
  color: #173e60;
  font-weight: 760;
}

/*
 * Cartes techniques.
 */
.pc-profile-ferio-page :is(
  .profile-card,
  .profile-content-card,
  .profile-proof-card,
  .profile-project-card,
  .profile-service-card,
  .profile-method-card,
  .profile-validation-card,
  .profile-expertise-card,
  .card
) {
  color: var(--pc-ferio-copy);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .99),
      rgba(242, 248, 254, .975)
    );

  border: 1px solid rgba(66, 129, 185, .16);
  border-radius: 23px;

  box-shadow:
    0 18px 44px rgba(27, 68, 110, .08),
    inset 0 1px 0 rgba(255, 255, 255, .98);
}

.pc-profile-ferio-page :is(
  .profile-card,
  .profile-content-card,
  .profile-proof-card,
  .profile-project-card,
  .profile-service-card,
  .profile-method-card,
  .profile-validation-card,
  .profile-expertise-card,
  .card
):hover {
  border-color: rgba(42, 135, 196, .28);

  box-shadow:
    0 24px 54px rgba(27, 70, 113, .12),
    inset 0 1px 0 rgba(255, 255, 255, .98);
}

.pc-profile-ferio-page :is(
  .profile-card-grid,
  .profile-project-grid,
  .profile-validation-grid,
  .profile-service-grid,
  .profile-method-grid,
  .profile-expertise-grid
) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/*
 * Étapes acquisition / décision / supervision.
 */
.pc-profile-ferio-page :is(
  .profile-method-card,
  .profile-service-card,
  .profile-expertise-card
) {
  position: relative;
  overflow: hidden;
}

.pc-profile-ferio-page :is(
  .profile-method-card,
  .profile-service-card,
  .profile-expertise-card
)::before {
  content: "";

  position: absolute;
  inset:
    0
    auto
    0
    0;

  width: 4px;

  background:
    linear-gradient(
      180deg,
      var(--pc-ferio-blue),
      var(--pc-ferio-cyan),
      var(--pc-ferio-teal)
    );
}

/*
 * Badges techniques.
 */
.pc-profile-ferio-page :is(
  .badge,
  .profile-tag,
  .profile-skill,
  .profile-chip
) {
  color: #145989;

  background:
    linear-gradient(
      145deg,
      rgba(230, 243, 255, .98),
      rgba(228, 248, 250, .96)
    );

  border: 1px solid rgba(60, 142, 194, .17);
  border-radius: 999px;

  font-weight: 730;
}

/*
 * Liens sociaux.
 */
.pc-profile-ferio-page :is(
  .profile-socials,
  .profile-social-links
) {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.pc-profile-ferio-page :is(
  .profile-socials,
  .profile-social-links
) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  min-height: 46px;

  color: #174f82;

  background: rgba(247, 251, 255, .96);

  border: 1px solid rgba(61, 128, 183, .18);
  border-radius: 14px;

  font-weight: 740;
}

/*
 * Tableaux et graphiques Chart.js.
 */
.pc-profile-ferio-page canvas {
  max-width: 100%;
}

.pc-profile-ferio-page :is(
  .chart-container,
  .profile-chart,
  .skills-chart
) {
  min-width: 0;
  overflow: hidden;

  padding: 1rem;

  background: rgba(255, 255, 255, .98);

  border: 1px solid rgba(63, 126, 181, .15);
  border-radius: 22px;

  box-shadow:
    0 18px 42px rgba(26, 69, 110, .075);
}

/*
 * Responsive.
 */
@media (max-width: 991.98px) {
  .pc-profile-ferio-page :is(
    .profile-card-grid,
    .profile-project-grid,
    .profile-validation-grid,
    .profile-service-grid,
    .profile-method-grid,
    .profile-expertise-grid
  ) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .pc-profile-ferio-page :is(
    .profile-hero,
    .hero,
    .page-hero
  ) {
    min-height: 0 !important;

    padding:
      clamp(5.8rem, 16vw, 6.6rem)
      0
      clamp(3.3rem, 9vw, 4rem) !important;
  }

  .pc-profile-ferio-page :is(
    .profile-hero .container,
    .profile-hero .container-lg,
    .profile-hero .container-xl,
    .hero .container,
    .page-hero .container
  ) {
    width: min(calc(100% - 24px), 680px);
  }

  .pc-profile-ferio-page :is(
    .profile-hero-grid,
    .profile-hero .row
  ) {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
  }

  /*
   * Portrait en premier.
   */
  .pc-profile-ferio-page :is(
    .profile-portrait,
    .profile-portrait-card,
    .profile-visual,
    .profile-photo-wrap,
    .profile-hero .col-lg-5,
    .profile-hero .col-xl-5
  ) {
    order: 1;
  }

  .pc-profile-ferio-page :is(
    .profile-hero-copy,
    .profile-hero .col-lg-7,
    .profile-hero .col-xl-7
  ) {
    order: 2;
    text-align: center;
  }

  .pc-profile-ferio-page :is(
    .profile-portrait,
    .profile-portrait-card,
    .profile-visual,
    .profile-photo-wrap
  ) {
    width: min(100%, 335px);

    padding: .7rem;
    border-radius: 24px;
  }

  .pc-profile-ferio-page img[src*="ferio-profil"] {
    width: min(100%, 310px);
    max-width: 310px;

    aspect-ratio: 4 / 5;
    border-radius: 19px;
  }

  .pc-profile-ferio-page :is(
    .profile-hero,
    .hero,
    .page-hero
  ) h1 {
    width: min(100%, 12ch);
    max-width: 12ch;

    margin-inline: auto;

    font-size: clamp(2.15rem, 10vw, 3rem) !important;
    line-height: 1.01;
  }

  .pc-profile-ferio-page :is(
    .profile-hero,
    .hero,
    .page-hero
  ) p {
    width: min(100%, 38rem);

    margin-inline: auto;

    font-size: 1rem !important;
    line-height: 1.58;
  }

  .pc-profile-ferio-page :is(
    .profile-action-row,
    .profile-actions,
    .profile-socials,
    .profile-social-links
  ) {
    justify-content: center;
  }

  .pc-profile-ferio-page :is(
    .profile-action-row,
    .profile-actions
  ) .btn {
    width: min(100%, 320px);
  }

  .pc-profile-ferio-page :is(
    .profile-metric-grid,
    .profile-portrait-meta,
    .profile-stats,
    .profile-stat-grid
  ) {
    grid-template-columns: 1fr;
  }

  .pc-profile-ferio-page section:not(
    .profile-hero
  ):not(
    .hero
  ):not(
    .page-hero
  ) {
    padding-block: 3.6rem;
  }

  .pc-profile-ferio-page section:not(
    .profile-hero
  ):not(
    .hero
  ):not(
    .page-hero
  ) > :is(
    .container,
    .container-lg,
    .container-xl
  ) {
    width: min(calc(100% - 24px), 680px);
  }

  .pc-profile-ferio-page section:not(
    .profile-hero
  ):not(
    .hero
  ):not(
    .page-hero
  ) h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.55rem);
    line-height: 1.06;
  }

  .pc-profile-ferio-page :is(
    .profile-card-grid,
    .profile-project-grid,
    .profile-validation-grid,
    .profile-service-grid,
    .profile-method-grid,
    .profile-expertise-grid
  ) {
    grid-template-columns: 1fr;
  }

  .pc-profile-ferio-page :is(
    .profile-card,
    .profile-content-card,
    .profile-proof-card,
    .profile-project-card,
    .profile-service-card,
    .profile-method-card,
    .profile-validation-card,
    .profile-expertise-card,
    .card
  ) {
    min-height: 0 !important;
    padding: 1.1rem;
    border-radius: 20px;
  }

  .pc-profile-ferio-page :is(
    .chart-container,
    .profile-chart,
    .skills-chart
  ) {
    padding: .8rem;
    border-radius: 19px;
  }
}

@media (max-width: 390px) {
  .pc-profile-ferio-page :is(
    .profile-hero .container,
    .profile-hero .container-lg,
    .profile-hero .container-xl,
    .hero .container,
    .page-hero .container
  ),
  .pc-profile-ferio-page section:not(
    .profile-hero
  ):not(
    .hero
  ):not(
    .page-hero
  ) > :is(
    .container,
    .container-lg,
    .container-xl
  ) {
    width: min(calc(100% - 20px), 390px);
  }

  .pc-profile-ferio-page :is(
    .profile-hero,
    .hero,
    .page-hero
  ) h1 {
    font-size: 2rem !important;
  }

  .pc-profile-ferio-page img[src*="ferio-profil"] {
    max-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-profile-ferio-page *,
  .pc-profile-ferio-page *::before,
  .pc-profile-ferio-page *::after {
    scroll-behavior: auto !important;
  }

  .pc-profile-ferio-page :is(
    .profile-card,
    .profile-project-card,
    .profile-service-card
  ) {
    transition: none !important;
    transform: none !important;
  }
}

/* PIXICORE_PROFILE_FERIO_MOBILE_PREMIUM_V1_END */
