/* =============================================
   IKIBI — Luxury layer (raffinement, rythme, DA)
   ============================================= */

:root {
  --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-drift: cubic-bezier(0.33, 0, 0.2, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-luxury: 1.15s;
  --duration-hero: 14s;
  --ikibi-line: rgba(15, 23, 42, 0.12);
  --ikibi-line-light: rgba(255, 255, 255, 0.14);
}

/* ---- Signature globale : grain + silence ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Overlines éditoriales (alignées sur .section-label) */
.home-perception-eyebrow {
  display: block;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.48);
  background: none;
  border: none;
  pointer-events: none;
}

.home-perception-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  margin: 0 0 0.75rem;
  background: rgba(15, 23, 42, 0.18);
}

/* ---- Hero cinématographique ---- */
.hero-banner-slideshow {
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.hero-banner-slideshow.is-controlled .hero-slide {
  animation: none !important;
  opacity: 0;
  z-index: 0;
  transition:
    opacity 1.35s var(--ease-luxury),
    transform 9s var(--ease-drift);
  transform: scale(1.02);
  pointer-events: none;
}

.hero-banner-slideshow.is-controlled .hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.09);
}

.hero-banner-slideshow.is-controlled .hero-dot {
  animation: none !important;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  z-index: 4;
  transition:
    background 0.55s var(--ease-luxury),
    transform 0.55s var(--ease-luxury);
}

.hero-banner-slideshow.is-controlled .hero-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.25);
}

.hero-banner-slideshow.is-controlled .hero-dots {
  pointer-events: auto;
  z-index: 4;
}

.hero-dot {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
}

.hero-banner-slideshow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(2, 6, 23, 0.65) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(47, 85, 255, 0.08) 0%, transparent 50%),
    linear-gradient(
      185deg,
      rgba(2, 6, 23, 0.25) 0%,
      rgba(2, 6, 23, 0.08) 35%,
      rgba(2, 6, 23, 0.55) 78%,
      rgba(2, 6, 23, 0.82) 100%
    );
}

.hero-banner-slideshow::after {
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.2) 0%,
    rgba(2, 6, 23, 0.05) 40%,
    rgba(2, 6, 23, 0.45) 85%,
    rgba(2, 6, 23, 0.75) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.2;
  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.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
}

.hero-slide {
  filter: saturate(0.92) contrast(1.08) brightness(0.94);
  animation: heroKenBurnsLuxury var(--duration-hero) var(--ease-drift) infinite;
  will-change: transform, opacity;
}

.hero-slide.slide-1 { animation-delay: 0s; }
.hero-slide.slide-2 { animation-delay: calc(var(--duration-hero) / 3); }
.hero-slide.slide-3 { animation-delay: calc(var(--duration-hero) * 2 / 3); }

@keyframes heroKenBurnsLuxury {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  5% {
    opacity: 1;
  }
  28% {
    opacity: 1;
    transform: scale(1.09);
  }
  33% {
    opacity: 0;
    transform: scale(1.11);
  }
  100% {
    opacity: 0;
    transform: scale(1.11);
  }
}

.hero-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  box-shadow: none;
  animation: heroDotLuxury var(--duration-hero) var(--ease-drift) infinite;
}

.hero-dot.dot-1 { animation-delay: 0s; }
.hero-dot.dot-2 { animation-delay: calc(var(--duration-hero) / 3); }
.hero-dot.dot-3 { animation-delay: calc(var(--duration-hero) * 2 / 3); }

@keyframes heroDotLuxury {
  0%, 28% {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
  }
  33%, 100% {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }
}

/* Message hero — apparition orchestrée */
.hero-message-section {
  position: relative;
  padding: clamp(64px, 11vw, 100px) 0 clamp(72px, 12vw, 108px);
  background: #fafbfc;
  border: none;
}

.hero-message-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 640px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ikibi-line), transparent);
}

.hero-message-section h1 {
  opacity: 0;
  animation: luxuryReveal 1.5s var(--ease-luxury) 0.35s forwards;
}

.hero-message-section .home-hero-lead {
  opacity: 0;
  animation: luxuryReveal 1.5s var(--ease-luxury) 0.65s forwards;
}

.hero-message-section .hero-cta {
  opacity: 0;
  animation: luxuryReveal 1.4s var(--ease-luxury) 0.95s forwards;
}

@keyframes luxuryReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ---- Respiration & rythme vertical ---- */
.section {
  padding: clamp(110px, 14vw, 150px) 0;
}

.section-sm {
  padding: clamp(72px, 10vw, 100px) 0;
}

.home-perception {
  padding: clamp(110px, 15vw, 168px) 0;
}

.home-experiences {
  padding: clamp(110px, 14vw, 156px) 0;
}

.home-founder {
  padding: clamp(100px, 14vw, 148px) 0;
}

.projects-modern-section {
  padding: clamp(110px, 14vw, 150px) 0;
  background: #fafbfc;
}

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

.home-perception-body + .home-perception-body {
  margin-top: 1.5rem;
}

/* ---- Micro-animations premium ---- */
.fade-up {
  transform: translateY(20px);
  transition:
    opacity var(--duration-luxury) var(--ease-luxury),
    transform var(--duration-luxury) var(--ease-luxury),
    filter var(--duration-luxury) var(--ease-luxury);
}

.fade-up.visible {
  transform: translateY(0);
}

.fade-in {
  transition: opacity var(--duration-luxury) var(--ease-luxury);
}

.btn {
  transition:
    transform 0.65s var(--ease-luxury),
    box-shadow 0.65s var(--ease-luxury),
    background 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(47, 85, 255, 0.28);
}

.btn-outline:hover {
  transform: translateY(-2px);
}

.expertise-card {
  transition:
    transform 1s var(--ease-luxury),
    box-shadow 1s var(--ease-luxury);
}

/* ---- Projets éditoriaux ---- */
.projects-modern-header {
  margin-bottom: clamp(56px, 8vw, 88px);
}

.projects-modern-header p {
  line-height: 1.85;
  color: rgba(51, 65, 85, 0.82);
}

.projects-kpi {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(30, 41, 59, 0.72);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 2px;
}

.projects-editorial {
  gap: clamp(20px, 3vw, 36px);
}

.projects-modern-card {
  border-radius: 2px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 20px 48px -36px rgba(15, 23, 42, 0.12);
  transition:
    transform 1s var(--ease-luxury),
    box-shadow 1s var(--ease-luxury),
    border-color 0.8s ease;
}

.projects-modern-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 32px 64px -36px rgba(15, 23, 42, 0.16);
}

.projects-modern-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  margin: 0;
  background: var(--ikibi-line);
  position: absolute;
  top: 0;
  left: 24px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s var(--ease-luxury);
}

.projects-modern-card:hover::before {
  opacity: 1;
}

.projects-modern-card {
  position: relative;
}

.projects-media-wrap {
  aspect-ratio: 4 / 3;
  transition: transform 1.4s var(--ease-luxury);
}

.projects-modern-card:hover .projects-media-wrap img {
  transform: scale(1.03);
}

.projects-media-wrap img {
  transition: transform 1.6s var(--ease-luxury);
}

.projects-media-wrap--top img {
  object-position: top center;
}

.projects-modern-body {
  padding: clamp(24px, 3vw, 32px);
  gap: 12px;
}

.projects-modern-body h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.projects-modern-body p {
  line-height: 1.8;
  color: rgba(51, 65, 85, 0.78);
  font-size: 0.98rem;
}

@media (min-width: 901px) {
  .projects-editorial {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
  }

  .projects-modern-card--lead {
    grid-column: span 7;
  }

  .projects-modern-card--accent {
    grid-column: span 5;
  }

  .projects-modern-card--half {
    grid-column: span 6;
  }

  .projects-modern-card--cinema {
    grid-column: span 12;
  }

  .projects-modern-card--cinema .projects-media-wrap {
    aspect-ratio: 21 / 8;
  }

  .projects-modern-card--story {
    grid-column: span 12;
  }

  .projects-story-layout {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    align-items: center;
    min-height: 0;
  }

  .projects-modern-card--story .projects-media-wrap--social-video {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 9 / 16;
    max-height: min(520px, 58vh);
    width: min(100%, 300px);
    margin: clamp(20px, 3vw, 28px);
    margin-right: 0;
    align-self: center;
    justify-self: center;
    border-radius: 4px;
    background: #0f172a;
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.35);
    overflow: hidden;
  }

  .projects-modern-card--story .projects-media-wrap--social-video video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: scale(1.04);
  }

  .projects-modern-card--story .projects-modern-body--story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px);
    border-left: 1px solid rgba(15, 23, 42, 0.06);
  }

  .projects-story-lead {
    font-size: 1.05rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.5;
    margin: 0;
  }

  .projects-modern-card--story .projects-modern-body--story p:not(.projects-story-lead) {
    margin-top: 0.75rem;
  }

  .projects-modern-card--lead .projects-media-wrap {
    aspect-ratio: 5 / 4;
  }

  .projects-modern-card--accent .projects-media-wrap {
    aspect-ratio: 1 / 1;
  }
}

/* ---- Menu mobile luxe ---- */
@media (max-width: 768px) {
  .mobile-menu-backdrop {
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.9s var(--ease-luxury), visibility 0.9s;
  }

  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100dvh;
    padding: max(100px, calc(var(--nav-h, 68px) + 48px)) clamp(28px, 7vw, 40px) 48px;
    background: #0a0f1a;
    border: none;
    transform: translateY(12px);
    opacity: 0;
    transition:
      transform 1.1s var(--ease-luxury),
      opacity 0.85s var(--ease-luxury);
  }

  .mobile-menu-inner::before {
    content: '';
    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;
  }

  .mobile-menu.open .mobile-menu-inner {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu-eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.35);
  }

  .mobile-menu-line {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 1px;
    margin-bottom: clamp(40px, 10vw, 56px);
    background: linear-gradient(90deg, var(--ikibi-line-light), transparent);
  }

  .mobile-menu-nav {
    position: relative;
    z-index: 1;
    gap: 0;
  }

  .mobile-menu-nav .nav-link {
    padding: clamp(16px, 4vw, 22px) 0;
    font-size: clamp(1.65rem, 7.5vw, 2.25rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    color: rgba(248, 250, 252, 0.82);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(16px);
  }

  .mobile-menu.open .mobile-menu-nav .nav-link {
    animation: menuLinkReveal 1s var(--ease-luxury) forwards;
  }

  .mobile-menu.open .mobile-menu-nav .nav-link:nth-child(1) { animation-delay: 0.12s; }
  .mobile-menu.open .mobile-menu-nav .nav-link:nth-child(2) { animation-delay: 0.2s; }
  .mobile-menu.open .mobile-menu-nav .nav-link:nth-child(3) { animation-delay: 0.28s; }
  .mobile-menu.open .mobile-menu-nav .nav-link:nth-child(4) { animation-delay: 0.36s; }
  .mobile-menu.open .mobile-menu-nav .nav-link:nth-child(5) { animation-delay: 0.44s; }
  .mobile-menu.open .mobile-menu-nav .nav-link:nth-child(6) { animation-delay: 0.52s; }

  @keyframes menuLinkReveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-menu-nav .nav-link::after {
    display: none;
  }

  .mobile-menu-cta {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    opacity: 0;
    animation: menuLinkReveal 1s var(--ease-luxury) 0.6s forwards;
  }

  body.nav-open .hamburger-line {
    background: #f8fafc;
  }

  body.nav-open .nav-logo-text {
    color: #f8fafc;
  }

  body.nav-open .navbar {
    background: rgba(10, 15, 26, 0.92);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
}

/* ---- Mobile luxe complément ---- */
@media (max-width: 768px) {
  .hero-message-section h1,
  .hero-message-section .home-hero-lead,
  .hero-message-section .hero-cta {
    animation-duration: 1.25s;
  }

  .projects-editorial {
    gap: clamp(28px, 6vw, 40px);
  }

  .projects-story-layout {
    grid-template-columns: 1fr;
  }

  .projects-modern-card--story .projects-media-wrap--social-video {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: min(440px, 70vw);
    width: min(100%, 260px);
    margin: clamp(20px, 5vw, 28px) auto;
  }

  .projects-modern-card--story .projects-media-wrap--social-video video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: scale(1.04);
  }

  .projects-modern-card--story .projects-modern-body--story {
    border-left: none;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding: clamp(24px, 5vw, 32px) clamp(20px, 5vw, 28px);
    text-align: center;
    align-items: center;
  }

  .projects-modern-card--story .projects-modern-meta {
    justify-content: center;
  }
}

/* Badges & tags plus discrets */
.result-badge {
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: rgba(30, 41, 59, 0.65);
}

.home-editorial-moment {
  min-height: clamp(380px, 68vh, 640px);
}

.home-editorial-quote {
  font-weight: 300;
  letter-spacing: -0.045em;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
  }

  .hero-banner-slideshow.is-controlled .hero-slide {
    opacity: 0;
    transform: none;
    transition: opacity 0.4s ease;
  }

  .hero-banner-slideshow.is-controlled .hero-slide.is-active {
    opacity: 1;
  }

  .hero-message-section h1,
  .hero-message-section .home-hero-lead,
  .hero-message-section .hero-cta {
    animation: none;
    opacity: 1;
    filter: none;
  }

  .mobile-menu.open .mobile-menu-nav .nav-link,
  .mobile-menu.open .mobile-menu-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Hero immersif — bureau visible, pas de cinéma sombre */
/* Hero carrousel — bureau visible, pas de cinéma sombre */
.hero--carousel .hero-banner-slideshow::before {
  display: none !important;
}

.hero--carousel .hero-banner-slideshow::after {
  background: linear-gradient(
    105deg,
    rgba(12, 12, 13, 0.46) 0%,
    rgba(12, 12, 13, 0.12) 36%,
    rgba(232, 90, 122, 0.04) 52%,
    transparent 62%
  ) !important;
}

.hero--carousel .hero-grain,
.hero--carousel .hero-vignette {
  display: none !important;
}

.hero--immersive .hero-banner-slideshow::before {
  display: none !important;
}

.hero--immersive .hero-banner-slideshow::after {
  background: linear-gradient(
    118deg,
    rgba(12, 12, 13, 0.52) 0%,
    rgba(12, 12, 13, 0.18) 32%,
    rgba(12, 12, 13, 0.06) 48%,
    transparent 62%
  ) !important;
}

.hero--immersive .hero-grain,
.hero--immersive .hero-vignette {
  display: none !important;
}


/* --- da-luxe --- */
/* =============================================
   IKIBI — Direction artistique luxe
   ============================================= */

:root {
  --ease-maison: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-breathe: cubic-bezier(0.33, 0, 0.18, 1);
  --ikibi-ink: #0f172a;
  --ikibi-ink-soft: rgba(30, 41, 59, 0.72);
  --ikibi-line-fine: rgba(15, 23, 42, 0.1);
  --duration-hero-luxe: 14s;
  --tracking-display: -0.045em;
  --tracking-title: -0.035em;
  --tracking-heading: -0.025em;
  --tracking-body: -0.011em;
  --tracking-caps: 0.14em;
}

/* ---- Typographie Inter — premium contemporain ---- */
body {
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  letter-spacing: var(--tracking-body);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-style: normal;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: var(--tracking-display);
  color: var(--ikibi-ink);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: var(--tracking-title);
  color: var(--ikibi-ink);
}

h3 {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--tracking-heading);
}

p {
  line-height: 1.75;
  letter-spacing: var(--tracking-body);
}

.type-display,
.hero-message-section h1,
.home-perception-title,
.home-bridge-title,
.home-experiences-header h2,
#projects-title,
#about-title,
#perception-title,
#founder-title,
.home-founder-name,
#credibility-title,
#google-reviews-title,
#contact h2,
.page-header h1,
.schedule-title {
  font-family: var(--font);
  font-weight: 600;
  font-style: normal;
}

.hero-message-section h1 {
  font-size: clamp(2rem, 5.5vw, 3.125rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: var(--tracking-display);
}

.home-hero-lead,
.schedule-lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: var(--tracking-body);
  color: var(--ikibi-ink-soft);
}

.home-editorial-quote {
  font-family: var(--font);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.18;
  letter-spacing: var(--tracking-title);
}

.home-editorial-quote em {
  font-family: var(--font);
  font-style: normal;
  font-weight: 600;
  letter-spacing: var(--tracking-title);
}

.section-label,
.home-perception-eyebrow {
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.home-founder-name {
  font-weight: 600;
  letter-spacing: var(--tracking-title);
}

.home-founder-manifesto {
  font-weight: 400;
  line-height: 1.8;
}

.home-founder-manifesto strong {
  font-weight: 600;
}

/* ---- Hero signature (plus lent, plus cinéma) ---- */
.hero-banner-slideshow.is-controlled .hero-slide {
  transition:
    opacity 2s var(--ease-maison),
    transform var(--duration-hero-luxe) var(--ease-breathe);
}

.hero-banner-slideshow.is-controlled .hero-slide.is-active {
  transform: scale(1.07);
}

.hero-banner-slideshow::before {
  background:
    radial-gradient(ellipse 100% 75% at 50% 100%, rgba(2, 6, 23, 0.72) 0%, transparent 58%),
    radial-gradient(ellipse 45% 35% at 12% 18%, rgba(47, 85, 255, 0.06) 0%, transparent 55%),
    linear-gradient(
      188deg,
      rgba(2, 6, 23, 0.32) 0%,
      rgba(2, 6, 23, 0.06) 42%,
      rgba(2, 6, 23, 0.58) 82%,
      rgba(2, 6, 23, 0.88) 100%
    );
}

.hero-message-section {
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
}

.hero-message-section h1,
.hero-message-section .home-hero-lead,
.hero-message-section .hero-cta {
  animation-duration: 1.85s;
  animation-timing-function: var(--ease-maison);
}

/* ---- CTA premium (consulting, pas marketing) ---- */
.btn {
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  transition:
    transform 0.75s var(--ease-maison),
    box-shadow 0.75s var(--ease-maison),
    background 0.55s ease,
    border-color 0.55s ease,
    color 0.55s ease;
}

.btn::after {
  display: none;
}

.btn-primary {
  background: var(--ikibi-ink);
  color: #f8fafc;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.22);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--ikibi-line-fine);
  color: var(--ikibi-ink);
  background: transparent;
  letter-spacing: 0.08em;
}

.btn-outline:hover {
  border-color: rgba(15, 23, 42, 0.28);
  color: var(--ikibi-ink);
  background: rgba(15, 23, 42, 0.03);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 0.8125rem;
}

.nav-cta-btn,
.footer-cta,
.mobile-menu-cta {
  letter-spacing: 0.1em;
}

/* ---- Signature visuelle ---- */
.ikibi-rule {
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(90deg, transparent, var(--ikibi-line-fine), transparent);
}

.ikibi-rule--left {
  margin: 0 0 1.25rem;
  background: var(--ikibi-line-fine);
}

.section::before,
.home-perception::after {
  content: none;
}

/* Séparateur éditorial entre sections clés */
.home-google-reviews::before {
  content: '';
  display: block;
  width: min(90%, 720px);
  height: 1px;
  margin: 0 auto clamp(80px, 12vw, 120px);
  background: linear-gradient(90deg, transparent, var(--ikibi-line-fine), transparent);
}

/* ---- Avis Google (éditorial) ---- */
.home-google-reviews {
  padding: clamp(100px, 14vw, 140px) 0;
  background: #fff;
}

.home-google-reviews-header {
  max-width: 36rem;
  margin: 0 auto clamp(56px, 8vw, 72px);
  text-align: center;
}

.home-google-reviews-subtitle {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ikibi-ink-soft, rgba(51, 65, 85, 0.72));
}

.home-google-reviews-header p:not(.section-label):not(.home-google-reviews-subtitle) {
  margin-top: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ikibi-ink-soft);
}

#google-reviews-title {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: var(--tracking-title);
}

.google-reviews-grid {
  display: grid;
  gap: clamp(24px, 4vw, 32px);
}

@media (min-width: 900px) {
  .google-reviews-grid:not(.google-reviews-grid--empty) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3.5vw, 36px);
  }
}

/* Mobile slider */
.google-reviews-slider {
  position: relative;
}

@media (max-width: 899px) {
  .google-reviews-slider .google-reviews-grid:not(.google-reviews-grid--empty) {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0 0.5rem;
    margin: 0 -0.25rem;
    scrollbar-width: none;
  }

  .google-reviews-slider .google-reviews-grid:not(.google-reviews-grid--empty)::-webkit-scrollbar {
    display: none;
  }

  .google-reviews-slider .google-review-card {
    flex: 0 0 min(88vw, 340px);
    scroll-snap-align: start;
  }
}

.google-reviews-slider__dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

@media (max-width: 899px) {
  .google-reviews-slider__dots:not(:empty) {
    display: flex;
  }
}

.google-reviews-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.google-reviews-dot.is-active {
  background: #f4b400;
  transform: scale(1.15);
}

.google-reviews-grid--empty {
  max-width: 36rem;
  margin: 0 auto;
}

.google-review-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 0;
  padding: clamp(24px, 3.5vw, 32px);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 14px 44px -28px rgba(15, 23, 42, 0.2);
  min-height: 100%;
}

.google-review-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.google-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.google-review-card__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.google-review-card__identity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.google-review-card__name {
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink, #0f172a);
}

.google-review-card__date {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(51, 65, 85, 0.55);
}

.google-review-card__g {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Product Sans', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #4285f4;
}

.google-review-card__rating {
  line-height: 1;
}

.google-review-card__quote {
  margin: 0;
  padding: 0;
  border: none;
  flex: 1;
}

.google-review-card__quote p {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.98rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: var(--tracking-body);
  color: var(--ikibi-ink-soft, rgba(51, 65, 85, 0.88));
  white-space: pre-wrap;
}

.google-review-stars--gold {
  color: #f4b400;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.google-reviews-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem 0.875rem;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--ikibi-ink-soft, rgba(51, 65, 85, 0.78));
}

.google-reviews-score strong {
  color: var(--ink, #0f172a);
  font-weight: 600;
}

.google-reviews-score__suffix {
  font-weight: 500;
}

.google-reviews-empty {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ikibi-ink-soft);
  letter-spacing: var(--tracking-body);
}

.google-review {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.google-review-stars {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(15, 23, 42, 0.28);
  line-height: 1;
}

.google-review blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.google-review blockquote p {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: var(--tracking-body);
  color: var(--ikibi-ink-soft);
}

.google-review blockquote p::before {
  content: '« ';
}

.google-review blockquote p::after {
  content: ' »';
}

.google-review figcaption {
  margin-top: auto;
  padding-top: 0.25rem;
}

.google-review cite {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.42);
}

.google-reviews-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: clamp(48px, 7vw, 64px);
  padding-top: 0;
  border-top: none;
}

.google-reviews-foot.text-center {
  text-align: center;
}

.google-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.45);
}

.google-reviews-g {
  flex-shrink: 0;
  opacity: 0.85;
}

.google-reviews-maps-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.google-reviews-maps-link.btn-outline {
  border-color: rgba(15, 23, 42, 0.14);
  color: var(--ink, #0f172a);
}

.google-reviews-maps-link.btn-outline:hover {
  border-color: rgba(15, 23, 42, 0.28);
  background: rgba(15, 23, 42, 0.03);
}

@media (max-width: 640px) {
  .google-reviews-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- Micro-raffinements globaux ---- */
.card,
.expertise-card,
.projects-modern-card {
  box-shadow: 0 16px 48px -36px rgba(15, 23, 42, 0.1);
}

.expertise-card:hover,
.projects-modern-card:hover {
  box-shadow: 0 24px 56px -32px rgba(15, 23, 42, 0.14);
}

.tag,
.result-badge {
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.fade-up {
  transition-duration: 1.25s;
  transition-timing-function: var(--ease-maison);
}

.notice-bar {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  background: var(--ikibi-ink);
  color: rgba(248, 250, 252, 0.88);
}

.notice-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-stats-foot,
.projects-modern-header p,
.home-perception-lead,
.home-perception-body {
  color: var(--ikibi-ink-soft);
  line-height: 1.78;
}

/* Stats moins “KPI startup” */
.stat-number {
  font-family: var(--font);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-title);
}

.stat-label {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(51, 65, 85, 0.65);
}

/* Affiner les éléments encore trop “bold startup” */
.nav-logo-text,
.nav-logo-text span {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.experience-content h3,
.expertise-card__body h3,
.projects-modern-body h3 {
  font-weight: 600;
  letter-spacing: var(--tracking-heading);
}

.experience-content p,
.expertise-card__body p:not(.expertise-card__feeling),
.expertise-card__feeling,
.home-perception-lead,
.home-bridge-lead {
  font-weight: 400;
  line-height: 1.78;
}

.home-bridge-title {
  font-weight: 600;
  letter-spacing: var(--tracking-title);
}

.page-header h1,
.schedule-title {
  font-weight: 600;
  letter-spacing: var(--tracking-display);
}

/* ---- En-têtes de section : hiérarchie éditoriale ---- */
.section-label:hover,
.section-label:focus,
.section-label:active,
.home-perception-eyebrow:hover,
.home-perception-eyebrow:focus {
  transform: none;
  background: none;
  box-shadow: none;
  color: rgba(51, 65, 85, 0.48);
}

.section-label + h2,
.section-label + .home-bridge-title,
.home-experiences-header h2,
.home-experiences-header .section-label + h2,
.home-google-reviews-header .section-label + h2,
.projects-modern-header .section-label + h2,
.text-center > .section-label + h2,
.home-bridge .section-label + .home-bridge-title {
  margin-top: 0;
}

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

.home-bridge-lead {
  margin-top: 1.35rem;
}

.home-perception-title,
#google-reviews-title,
#projects-title,
#about-title,
#contact h2,
.home-experiences-header h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.home-experiences-header {
  margin-bottom: clamp(56px, 9vw, 88px);
}

.home-experiences-header h2 {
  font-weight: 600;
}

.home-experiences-lead,
.home-experiences-header p {
  margin-top: 1.35rem;
  max-width: 36rem;
}

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

#google-reviews-title {
  margin-top: 0;
}

.projects-modern-header {
  margin-bottom: clamp(48px, 8vw, 72px);
}

.projects-modern-header .section-label {
  margin-bottom: 1rem;
}

.projects-modern-header h2 {
  margin-top: 0;
}

.projects-modern-header > p {
  margin-top: 1.35rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-label + h2,
.text-center > .section-label + h2 {
  margin-top: 0;
}

#contact .section-label {
  margin-bottom: 1rem;
}

#contact h2 {
  margin-top: 0;
}

#contact p:not(.section-label) {
  margin-top: 1.25rem;
}

.pf-hero .section-label,
.pf-close-inner .section-label {
  color: rgba(51, 65, 85, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-slideshow.is-controlled .hero-slide {
    transition: opacity 0.5s ease;
  }
}

.hero--carousel .hero-banner-slideshow::before {
  display: none !important;
}
