/* IKIBI — Homepage premium (éditorial, expériences, signature) */

/* ---- Moment éditorial fullscreen ---- */
.home-editorial-moment {
  position: relative;
  min-height: clamp(420px, 72vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vw, 160px) 24px;
  background: #0a0f1a;
  overflow: hidden;
}

.home-editorial-moment::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(53, 89, 224, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10, 15, 26, 0.2) 0%, rgba(10, 15, 26, 0.85) 100%);
  pointer-events: none;
}

.home-editorial-moment-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.home-editorial-moment-inner {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  text-align: center;
}

.home-editorial-quote {
  margin: 0;
  color: #f8fafc;
}

.home-editorial-quote em {
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

/* ---- Perception renforcée ---- */
.home-perception {
  padding: clamp(100px, 14vw, 160px) 0;
  background: #f8f9fc;
  border: none;
}

.home-perception-inner {
  max-width: 46rem;
}

.home-perception-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.5);
  margin: 0 0 1.5rem;
}

.home-perception-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-top: 0;
}

.home-perception-lead,
.home-perception-body {
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  line-height: 1.78;
  color: #334155;
  opacity: 1;
  margin-top: 0;
}

.home-perception-title + .home-perception-lead,
.home-perception-title + .home-perception-body {
  margin-top: 2rem;
}

.home-perception-lead + .home-perception-body,
.home-perception-body + .home-perception-body {
  margin-top: 1.25rem;
}

/* ---- Stats — vocabulaire premium ---- */
.home-stats .stat-label {
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---- Expertises (grille IKIBI) ---- */
.home-experiences {
  padding: clamp(100px, 12vw, 140px) 0;
  background: #f8f9fc;
  border-top: 1px solid rgba(51, 65, 85, 0.08);
  border-bottom: 1px solid rgba(51, 65, 85, 0.06);
}

.home-experiences-header {
  max-width: 46rem;
  margin: 0 0 clamp(56px, 8vw, 80px);
  text-align: left;
}

.home-experiences-header .section-label {
  margin-bottom: 1rem;
}

.home-experiences-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
  color: #0f172a;
  margin: 0;
  max-width: 18em;
}

.home-experiences-accent {
  display: inline;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.home-experiences-lead {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 1.5vw, 1.125rem);
  line-height: 1.78;
  color: var(--grey-200);
}

.home-experiences-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(48px, 7vw, 72px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.home-experiences-foot-note {
  font-size: 0.875rem;
  color: rgba(51, 65, 85, 0.55);
  letter-spacing: 0.01em;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0;
}

a.expertise-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.expertise-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.expertise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 20px 48px -28px rgba(15, 23, 42, 0.12);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 125, 0.22);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 32px 64px -24px rgba(15, 23, 42, 0.16);
}

.expertise-card--dark {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 56px -32px rgba(0, 0, 0, 0.45);
}

.expertise-card--dark:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 36px 72px -28px rgba(0, 0, 0, 0.5);
}

.expertise-card__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #e8ecf2;
}

.expertise-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 45%,
    rgba(15, 23, 42, 0.12) 100%
  );
  opacity: 0.85;
  transition: opacity 0.65s ease;
}

.expertise-card:hover .expertise-card__visual::after {
  opacity: 0.65;
}

.expertise-card--dark .expertise-card__visual::after {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 40%,
    rgba(15, 23, 42, 0.35) 100%
  );
}

.expertise-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card:hover .expertise-card__visual img {
  transform: scale(1.04);
}

.expertise-card__visual--right img {
  object-position: right center;
}

.expertise-card__visual--bottom img {
  object-position: center bottom;
}

.expertise-card__visual--top img {
  object-position: center top;
}

.expertise-card__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
  z-index: 1;
}

.expertise-card__index {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.4);
}

.expertise-card--dark .expertise-card__index {
  color: rgba(248, 250, 252, 0.35);
}

.expertise-card__body h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
}

.expertise-card--dark .expertise-card__body h3 {
  color: #f8fafc;
}

.expertise-card__feeling {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--gold);
}

.expertise-card--dark .expertise-card__feeling {
  color: var(--gold-light);
}

.expertise-card__body p:not(.expertise-card__feeling) {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--grey-200);
  flex: 1;
  padding-right: 2.25rem;
}

.expertise-card--dark .expertise-card__body p:not(.expertise-card__feeling) {
  color: rgba(226, 232, 240, 0.78);
}

.expertise-card__arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.125rem;
  text-decoration: none;
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card:hover .expertise-card__arrow {
  background: rgba(255, 79, 125, 0.12);
  transform: translateX(3px);
}

.expertise-card__arrow span {
  line-height: 1;
}

@media (min-width: 769px) {
  .home-experiences-accent {
    display: inline;
  }

  .footer-social-icon {
    transition:
      color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.55s ease,
      background 0.55s ease,
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .footer-social-icon:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    color: #fff;
  }

  .footer-cta {
    transition:
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: none;
  }
}

.footer-maison {
  display: none;
}

@media (max-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .home-experiences-header h2 {
    max-width: none;
  }
}

/* ---- Fondatrice éditoriale ---- */
.home-founder {
  padding: clamp(88px, 12vw, 128px) 0;
  background: #fafbfd;
  border: none;
}

.home-founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.home-founder-portrait-wrap {
  position: relative;
  width: clamp(140px, 18vw, 220px);
  height: clamp(140px, 18vw, 220px);
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  justify-self: end;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.home-founder-portrait-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  z-index: 2;
  pointer-events: none;
}

.home-founder-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.02);
  transition: filter 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-founder-portrait-wrap:hover .home-founder-portrait {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.04);
}

.home-founder-content .section-label {
  margin-bottom: 1rem;
}

.home-founder-name {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #0f172a;
  margin: 0;
  text-align: left;
}

.home-founder-manifesto {
  margin: 1.75rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--grey-200);
  max-width: 28rem;
}

.home-founder-manifesto strong {
  color: #0f172a;
  font-weight: 600;
}

.home-founder-credit {
  margin-top: 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.45);
  font-weight: 600;
}

.home-founder-inner {
  max-width: none;
  text-align: left;
  padding: 0;
}

/* ---- Projects strip vocab ---- */
.projects-kpi-strip .projects-kpi--subtle {
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- Confiance (témoignages) ---- */
.home-credibility {
  padding: clamp(88px, 12vw, 128px) 0;
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.home-credibility-header {
  max-width: 40rem;
  margin: 0 auto clamp(40px, 6vw, 56px);
  text-align: center;
}

.home-credibility-header .section-label {
  margin-bottom: 1rem;
}

.home-credibility-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
  color: #0f172a;
}

.home-credibility-lead {
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  line-height: 1.72;
  color: #334155;
  max-width: 34rem;
}

.credibility-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}

.credibility-quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(22px, 3vw, 28px);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.credibility-quote__stars {
  margin-bottom: 0.85rem;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #f5b301;
}

.credibility-quote blockquote {
  flex: 1;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: #334155;
}

.credibility-quote figcaption {
  margin-top: 1.15rem;
  padding-top: 0;
  border: none;
}

.credibility-quote cite {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.55);
}

.credibility-context {
  margin-top: clamp(40px, 6vw, 56px);
}

.credibility-context__inner {
  padding: clamp(24px, 4vw, 32px);
  background: #f8f9fc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  text-align: center;
}

.credibility-context-label {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.5);
}

.credibility-clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.credibility-clients span {
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.credibility-proof {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: #334155;
}

@media (max-width: 767px) {
  .credibility-quotes {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .home-founder-grid {
    grid-template-columns: 1fr;
  }

  .home-founder-portrait-wrap {
    justify-self: center;
    order: -1;
    width: clamp(128px, 36vw, 200px);
    height: clamp(128px, 36vw, 200px);
  }

  .home-founder-name,
  .home-founder-manifesto {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .home-editorial-moment {
    min-height: 70vh;
  }

  .home-editorial-quote {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
