/* =============================================
   IKIBI - Design System
   ============================================= */

:root {
  --navy: #f6f8fc;
  --navy-mid: #eef2f8;
  --navy-light: #ffffff;
  --blue: #2f55ff;
  --blue-light: #6f86ff;
  --gold: #ff4f7d;
  --gold-light: #ff7b9d;
  --white: #FFFFFF;
  --grey-100: #f8fafc;
  --grey-200: #334155;
  --grey-400: #64748b;
  --grey-600: #94a3b8;
  --success: #22C55E;
  --error: #EF4444;

  --font: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(30, 41, 59, .08);
  --shadow-md: 0 10px 32px rgba(30, 41, 59, .12);
  --shadow-lg: 0 20px 50px rgba(30, 41, 59, .14);
  --shadow-glow: 0 0 36px rgba(53, 89, 224, .18);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --max-width: 1200px;

  /* Logo — taille unique sur tout le site */
  --logo-nav-h: 64px;
  --logo-nav-h-scrolled: 54px;
  --logo-footer-h: 72px;
  --logo-max-w: 280px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 86px;
}

[data-parallax] {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

[data-stack] {
  position: relative;
  isolation: isolate;
}

[data-stack] .container {
  position: relative;
  z-index: 2;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: #0f172a;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
}

/* ---- Typography ---- */
h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--grey-200);
  line-height: 1.75;
}

.hero h1 {
  color: #0f172a;
}

.text-blue {
  color: var(--blue);
}

.text-gold {
  color: var(--gold);
}

.text-grey {
  color: var(--grey-400);
}

.text-center {
  text-align: center;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(100px, 12vw, 128px) 0;
  border-top: 1px solid rgba(51, 65, 85, .06);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.gap-32 {
  gap: 32px;
}

/* ---- Section labels (éditorial, non cliquables) ---- */
.section-label {
  display: block;
  width: fit-content;
  max-width: 100%;
  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;
  border-radius: 0;
  pointer-events: none;
  cursor: default;
  user-select: none;
}

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

.text-center .section-label {
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-label::before {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .1);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(53, 89, 224, .28);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(53, 89, 224, .35);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 24px rgba(240, 138, 75, .28);
}

.btn-gold:hover {
  box-shadow: 0 12px 30px rgba(240, 138, 75, .36);
}

.btn-outline {
  background: transparent;
  color: #0f172a;
  border: 1.5px solid rgba(53, 89, 224, .32);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(53, 89, 224, .06);
}

.btn-sm {
  padding: 10px 20px;
  font-size: .875rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ---- Navigation (premium agency) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  --nav-h: 84px;
  --nav-ease: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1002;
  padding: 0 clamp(20px, 4vw, 40px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    height var(--nav-ease),
    background var(--nav-ease),
    border-color var(--nav-ease),
    box-shadow var(--nav-ease);
}

.navbar.scrolled {
  --nav-h: 76px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom-color: rgba(15, 23, 42, 0.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 40px -16px rgba(15, 23, 42, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.nav-logo img {
  display: block;
  height: var(--logo-nav-h);
  width: auto;
  max-width: var(--logo-max-w);
  object-fit: contain;
  object-position: left center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: height var(--nav-ease), opacity var(--nav-ease);
}

.navbar.scrolled .nav-logo img {
  height: var(--logo-nav-h-scrolled);
}

.nav-logo-text {
  display: none;
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
}

.nav-logo-text span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(30, 41, 59, 0.62);
  background: transparent;
  transition: color var(--nav-ease), opacity var(--nav-ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--nav-ease);
  opacity: 0.85;
}

.nav-link:hover {
  color: #0f172a;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #0f172a;
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta-btn {
  font-size: clamp(0.75rem, 1vw, 0.8125rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px;
  transition: border-color var(--nav-ease), background var(--nav-ease);
}

.hamburger:hover {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform var(--nav-ease), opacity var(--nav-ease), width var(--nav-ease);
  transform-origin: center;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 997;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
}

.mobile-menu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 998;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  position: absolute;
  top: var(--nav-h, 76px);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 36px clamp(24px, 6vw, 48px) 48px;
  background: rgba(252, 253, 255, 0.97);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  overflow-y: auto;
  transform: translateY(-16px);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-nav .nav-link {
  padding: 18px 4px;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(30, 41, 59, 0.75);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-menu-nav .nav-link::after {
  left: 4px;
  right: auto;
  width: 32px;
  bottom: 14px;
}

.mobile-menu-nav .nav-link:last-child {
  border-bottom: none;
}

.mobile-menu-cta {
  margin-top: 32px;
  width: 100%;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

body.nav-open {
  overflow: hidden;
}

.expertises-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.expertise-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 36px 32px;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -24px rgba(15, 23, 42, 0.18);
  border-color: rgba(15, 23, 42, 0.12);
}

.expertise-card-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(51, 65, 85, 0.45);
}

.expertise-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.expertise-card p {
  flex: 1;
  line-height: 1.65;
  color: var(--grey-200);
  font-size: 0.9375rem;
}

.expertise-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(30, 41, 59, 0.55);
  transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card:hover .expertise-card-link {
  color: #0f172a;
}

@media (max-width: 768px) {
  .expertises-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid rgba(51, 65, 85, .12);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47, 85, 255, .08), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(47, 85, 255, .35);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-glass {
  background: #fff;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(51, 65, 85, .14);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  text-align: center;
}

.card-glass:hover {
  background: #fff;
  border-color: rgba(53, 89, 224, .28);
}

/* ---- Service Icon ---- */
.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ff007f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.card:hover .service-icon {
  background: #d9006b;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 24px rgba(255, 0, 127, 0.4);
}

/* ---- Stats ---- */
.stat-block {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #ff007f;
  line-height: 1;
}

.stat-number span {
  color: #ff007f;
}

.stat-label {
  font-size: .875rem;
  color: var(--grey-400);
  margin-top: 4px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  background: #0b1220;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://ikibi.fr/wp-content/uploads/2026/04/pexels-photo-11167646-11167646-6-scaled.jpg');
  background-size: cover;
  background-position: center;
  display: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-banner-slideshow {
  position: relative;
  width: 100%;
  height: min(74vh, 760px);
  min-height: 420px;
  z-index: 0;
  will-change: transform;
}

.hero-banner-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, .45) 0%, rgba(2, 6, 23, .62) 100%);
}

.hero-overlay-content {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  padding: 0 16px;
  text-align: center;
  will-change: transform;
}

.hero-message-section {
  background: #f6f8fc;
  border-top: 1px solid rgba(51, 65, 85, .12);
  border-bottom: 1px solid rgba(51, 65, 85, .12);
}

.hero-message-section h1 {
  color: #0f172a;
  margin-bottom: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 900;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .5);
  position: relative;
}

.hero-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 85, 255, .95), rgba(255, 79, 125, .95));
}

.hero h1 {
  margin-bottom: 24px;
  color: #ffffff;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.05);
  opacity: 0;
  animation: heroSlideFade 18s infinite;
  transform: scale(1);
}

.hero-slide.slide-1 {
  animation-delay: 0s;
}

.hero-slide.slide-2 {
  animation-delay: 6s;
}

.hero-slide.slide-3 {
  animation-delay: 12s;
}

@keyframes heroSlideFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  6% {
    opacity: 1;
    transform: scale(1.02);
  }

  27% {
    opacity: 1;
    transform: scale(1.08);
  }

  33% {
    opacity: 0;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
  }
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .0);
  animation: heroDotCycle 18s infinite;
}

.hero-dot.dot-1 {
  animation-delay: 0s;
}

.hero-dot.dot-2 {
  animation-delay: 6s;
}

.hero-dot.dot-3 {
  animation-delay: 12s;
}

@keyframes heroDotCycle {
  0% {
    background: rgba(255, 255, 255, .55);
    transform: scale(1);
  }

  6% {
    background: #ffffff;
    transform: scale(1.22);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .25);
  }

  27% {
    background: #ffffff;
    transform: scale(1.22);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .10);
  }

  33% {
    background: rgba(255, 255, 255, .55);
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }

  100% {
    background: rgba(255, 255, 255, .55);
    transform: scale(1);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--grey-400), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---- Gradient Line ---- */
.gradient-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  margin: 0 auto;
}

/* ---- Tag Pills ---- */
.tag {
  display: inline-block;
  background: rgba(53, 89, 224, .10);
  border: 1px solid rgba(53, 89, 224, .22);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ---- Result badges ---- */
.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.28);
  color: #FF007F;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ---- Forms ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: #1e293b;
}

.form-label span {
  color: var(--blue);
}

.form-input,
.form-select,
.form-textarea {
  background: #fff;
  border: 1.5px solid rgba(51, 65, 85, .24);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #0f172a;
  font-family: var(--font);
  font-size: .95rem;
  transition: var(--transition);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(53, 89, 224, .16);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .14);
}

.form-input.is-invalid:focus,
.form-select.is-invalid:focus,
.form-textarea.is-invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .18);
}

.form-field-error {
  margin: 0;
  font-size: .8rem;
  color: #ef4444;
  line-height: 1.4;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: #fff;
  color: #2e1c26;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-check-label {
  font-size: .85rem;
  color: var(--grey-400);
}

.form-check-label a {
  color: var(--blue);
  text-decoration: underline;
}

.form-message {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, .15);
  border: 1px solid rgba(34, 197, 94, .3);
  color: #4ade80;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, .15);
  border: 1px solid rgba(239, 68, 68, .3);
  color: #f87171;
  display: block;
}

/* ---- Page Header ---- */
.page-header {
  padding: 140px 0 80px;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(51, 65, 85, .12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 89, 224, .12) 0%, transparent 70%);
}

/* ---- Accordion ---- */
.accordion-item {
  border-bottom: 1px solid rgba(51, 65, 85, .12);
}

.accordion-trigger {
  width: 100%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  gap: 16px;
  transition: var(--transition);
}

.accordion-trigger:hover {
  color: var(--blue);
}

.accordion-trigger .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 111, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: .8rem;
}

.accordion-trigger.open .icon {
  background: var(--blue);
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 0 20px;
  color: var(--grey-200);
  line-height: 1.75;
}

.accordion-body.open {
  display: block;
}

/* ---- Diagnostic interactif ---- */
.quiz-section {
  background: #fff;
  border: 1px solid rgba(51, 65, 85, .12);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}

.quiz-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.quiz-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(51, 65, 85, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-icon-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
  opacity: 0.9;
}

.quiz-item {
  margin-bottom: 20px;
}

.quiz-question {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: .95rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid rgba(51, 65, 85, .14);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: .9rem;
}

.quiz-option:hover {
  border-color: rgba(59, 111, 255, .4);
  background: rgba(59, 111, 255, .06);
}

.quiz-option.selected {
  border-color: var(--blue);
  background: rgba(59, 111, 255, .08);
  color: var(--ink, #0f172a);
  font-weight: 600;
}

.quiz-option input {
  display: none;
}

.quiz-option-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  flex-shrink: 0;
  transition: var(--transition);
}

.quiz-option.selected .quiz-option-dot {
  border-color: var(--blue);
  background: var(--blue);
}

.score-bar-wrap {
  margin-top: 8px;
}

.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--grey-400);
  margin-bottom: 6px;
}

.score-bar {
  height: 8px;
  background: rgba(51, 65, 85, .14);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width .6s cubic-bezier(.4, 0, .2, 1);
}

.diagnostic-hero-lead {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--grey-400);
}

.diagnostic-intro {
  text-align: center;
  font-size: .9rem;
  letter-spacing: 0.04em;
  color: var(--grey-400);
  margin-bottom: 36px;
}

.diagnostic-submit-wrap {
  margin-top: 40px;
}

.result-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .95));
  border: 1px solid rgba(51, 65, 85, .12);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  display: none;
  margin-top: 48px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .06);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}

.result-panel.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.result-tier-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.result-score {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--blue);
  margin: 8px 0;
}

.result-score-max {
  font-size: 1rem;
  color: var(--grey-400);
  margin-bottom: 20px;
}

.result-summary {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink, #0f172a);
}

.diagnostic-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  margin: 32px 0 28px;
}

.diagnostic-result-block {
  background: #fff;
  border: 1px solid rgba(51, 65, 85, .1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.diagnostic-result-block h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 14px;
}

.diagnostic-result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diagnostic-result-list li {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink, #0f172a);
  padding: 10px 0;
  border-bottom: 1px solid rgba(51, 65, 85, .08);
}

.diagnostic-result-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-recommendation {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--grey-400);
  font-style: italic;
}

.diagnostic-result-cta {
  margin-top: 8px;
}

.diagnostic-result-note {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--grey-400);
}

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

/* ---- Calendar / Booking ---- */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.time-slot {
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--grey-200);
}

.time-slot:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.time-slot.selected {
  border-color: var(--blue);
  background: rgba(59, 111, 255, .15);
  color: var(--white);
  font-weight: 600;
}

.time-slot.disabled {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
  border-color: rgba(51, 65, 85, .2);
  color: var(--grey-400);
  pointer-events: none;
}

/* ---- Footer (signature premium · fond sombre) ---- */
.footer {
  --footer-ease: 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  --footer-ink: #0f172a;
  --footer-text: rgba(248, 250, 252, 0.88);
  --footer-muted: rgba(226, 232, 240, 0.65);
  --footer-faint: rgba(226, 232, 240, 0.4);
  --footer-accent: #bfa27a;
  position: relative;
  margin-top: clamp(48px, 8vw, 80px);
  padding: clamp(96px, 14vw, 160px) 0 clamp(40px, 6vw, 56px);
  background: var(--footer-ink);
  color: var(--footer-muted);
  border-top: none;
  overflow: hidden;
}

.footer--signature {
  isolation: isolate;
}

.footer-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  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.75' 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: soft-light;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(48px, 6vw, 72px);
}

.footer-brand {
  flex: 1 1 300px;
  max-width: 38rem;
  padding-right: clamp(8px, 2vw, 24px);
}

.footer-nav-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(56px, 10vw, 120px);
  margin-left: auto;
  padding-left: clamp(16px, 4vw, 72px);
  padding-top: 8px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  transition: opacity var(--footer-ease);
}

.footer-logo:hover {
  opacity: 0.82;
}

.footer-logo img {
  display: block;
  width: auto;
  height: var(--logo-footer-h);
  max-width: var(--logo-max-w);
  object-fit: contain;
  object-position: left center;
}

.footer-maison {
  margin: clamp(16px, 3vw, 20px) 0 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--footer-faint);
}

.footer-signature {
  margin: clamp(24px, 3vw, 36px) 0 0;
  max-width: 16rem;
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--footer-text);
}

.footer-tagline {
  margin: clamp(24px, 3vw, 36px) 0 0;
  max-width: 16rem;
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--footer-text);
}

.footer-region {
  margin: 14px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-faint);
}

.footer-brand-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: clamp(32px, 4vw, 44px);
}

.footer-email {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--footer-muted);
  transition: color var(--footer-ease), opacity var(--footer-ease);
}

.footer-email:hover {
  color: #fff;
  opacity: 1;
}

.footer-cta {
  letter-spacing: 0.04em;
}

.footer-cta.btn-primary {
  background: var(--footer-accent, #bfa27a);
  color: var(--footer-ink);
  border-color: var(--footer-accent, #bfa27a);
  box-shadow: 0 8px 28px rgba(191, 162, 122, 0.22);
}

.footer-cta.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--footer-ink);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(36px, 4vw, 48px);
  padding-top: 0;
  border-top: none;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.7);
  transition:
    color var(--footer-ease),
    border-color var(--footer-ease),
    background var(--footer-ease),
    transform var(--footer-ease);
}

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

.footer-col-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--footer-faint);
  margin: 0 0 24px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 16px;
}

.footer-col ul li:last-child {
  margin-bottom: 0;
}

.footer-col ul li a {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--footer-muted);
  transition: color var(--footer-ease), opacity var(--footer-ease), transform var(--footer-ease);
}

.footer-col ul li a:hover {
  color: var(--footer-accent);
  transform: translateX(3px);
}

.footer-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
  margin: clamp(64px, 8vw, 96px) 0 clamp(36px, 4vw, 48px);
}

.footer-separator-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.footer-separator-glyph {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.2em;
}

.footer-rule {
  display: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.38);
}

.footer-col h5 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--footer-faint);
  margin-bottom: 24px;
}

.footer-bottom-links {
  display: none;
}

/* ---- Media Blocks ---- */
.media-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, .14);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.media-card .media-card-body {
  padding: 16px 18px 20px;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, .14);
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Home Projects Modern ---- */
.projects-modern-section {
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
}

.projects-modern-header {
  margin-bottom: 56px;
}

.projects-modern-header p {
  max-width: 760px;
  margin: 16px auto 0;
}

.projects-kpi-strip {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.projects-kpi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.26);
  color: #d00068;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .02em;
}

.projects-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.projects-modern-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(51, 65, 85, .14);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.projects-modern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 0, 127, 0.32);
}

.projects-media-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f1f5f9;
}

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

.projects-media-wrap img,
.projects-video-cover iframe,
.projects-video-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

/* Vidéo social — format story (accueil), centrée sans recadrage */
.projects-media-wrap--social-video {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 9 / 16;
  background: #0f172a;
}

.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);
}

/* Accent de liste éditorial (remplace puces / symboles gadget) */
.list-accent {
  flex-shrink: 0;
  width: 3px;
  align-self: flex-start;
  margin-top: 0.42em;
  height: 1.05em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(47, 85, 255, 0.28));
}

/* Ligne d’ouverture de carte, style revue */
.card-editorial-rule {
  width: 36px;
  height: 2px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: rgba(47, 85, 255, 0.35);
}

.projects-modern-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.projects-modern-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.projects-modern-body h3 {
  margin: 0;
}

.projects-modern-body p {
  margin: 0;
}

/* ---- Projects Page Portfolio ---- */
.portfolio-section {
  background: #ffffff;
}

.portfolio-story {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}

.portfolio-story p {
  margin: 0;
  color: #475569;
  font-size: 1.02rem;
}

.portfolio-hero-card {
  background: #fff;
  border: 1px solid rgba(51, 65, 85, .14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.portfolio-hero-card img,
.portfolio-hero-card iframe,
.portfolio-hero-card video {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border: 0;
}

.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-card {
  background: #fff;
  border: 1px solid rgba(51, 65, 85, .14);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 0, 127, .32);
}

.portfolio-card img,
.portfolio-card iframe,
.portfolio-card video {
  width: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.portfolio-carousel {
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
}

.portfolio-carousel-track {
  display: flex;
  width: 100%;
}

.portfolio-carousel img {
  width: 100%;
  flex: 0 0 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  object-position: center;
}

.portfolio-carousel-art {
  background: #ffffff;
}

.portfolio-carousel-art img {
  object-fit: contain;
  padding: 14px;
}

.portfolio-carousel.is-3 .portfolio-carousel-track {
  width: 300%;
  animation: portfolioSlide3 12s ease-in-out infinite;
}

.portfolio-carousel.is-2 .portfolio-carousel-track {
  width: 200%;
  animation: portfolioSlide2 8s ease-in-out infinite;
}

@keyframes portfolioSlide3 {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-33.3333%); }
  66%, 94% { transform: translateX(-66.6666%); }
  100% { transform: translateX(0); }
}

@keyframes portfolioSlide2 {
  0%, 44% { transform: translateX(0); }
  50%, 94% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.portfolio-caption {
  padding: 14px 16px 16px;
}

.portfolio-caption h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.portfolio-caption p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
}

.portfolio-video-card iframe,
.portfolio-video-card video {
  aspect-ratio: 16 / 9;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

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

.fade-in {
  opacity: 0;
  transition: opacity .6s ease;
}

.fade-in.visible {
  opacity: 1;
}

[data-delay="1"] {
  transition-delay: .1s;
}

[data-delay="2"] {
  transition-delay: .2s;
}

[data-delay="3"] {
  transition-delay: .3s;
}

[data-delay="4"] {
  transition-delay: .4s;
}

[data-delay="5"] {
  transition-delay: .5s;
}

[data-delay="6"] {
  transition-delay: .6s;
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51, 65, 85, .24), transparent);
  margin: 0;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--grey-400);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--grey-400);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  color: var(--grey-600);
}

/* ---- Notification Bar ---- */
.notice-bar {
  background: linear-gradient(90deg, #2f55ff, #ff4f7d);
  padding: 10px 24px;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  position: static;
  z-index: auto;
}

.notice-bar a {
  text-decoration: underline;
  color: var(--gold);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-nav-group {
    gap: 40px 56px;
    padding-left: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .portfolio-masonry {
    grid-template-columns: 1fr;
  }

  .portfolio-hero-card img {
    aspect-ratio: 16 / 9;
  }

  .portfolio-caption {
    text-align: center;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    --nav-h: 76px;
  }

  .navbar.scrolled {
    --nav-h: 72px;
  }

  .nav-logo img {
    height: var(--logo-nav-h-scrolled);
    max-width: min(var(--logo-max-w), 52vw);
  }

  .navbar.scrolled .nav-logo img {
    height: var(--logo-nav-h-scrolled);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer mobile : voir css/mobile-premium.css */

  /* Centrage et agrandissement mobile */
  .stat-number { font-size: 3.2rem; }
  .result-badge { font-size: 1rem; padding: 6px 14px; }
  .notice-bar { font-size: 1rem; padding: 12px 24px; }
  .hero-badge { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .card, .card-glass { text-align: center; }
  .card h3, .card-glass h3, .card p, .card-glass p { text-align: center; }
  .section-label {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .section > .container > .grid-2 > div { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .section > .container > .grid-2 > div ul { align-items: center; width: 100%; }
  .section > .container > .grid-2 > div ul li { justify-content: center; text-align: center; }
  .btn { display: inline-flex; justify-content: center; margin-left: auto; margin-right: auto; }

  .hero-cta { flex-direction: column; align-items: center; gap: 16px; width: 100%; }

  [data-stack] {
    margin-top: 0;
    border-radius: 0;
  }

  /* Hauteur hero : mobile-premium.css */

  .hero-overlay-content:not(.hero-carousel__content) {
    width: calc(100% - 28px);
    bottom: 16px;
  }

  .hero-overlay-content:not(.hero-carousel__content) {
    width: 100%;
    bottom: 44px;
    padding: 0 12px;
  }

  .hero-badge {
    font-size: clamp(1rem, 5vw, 1.45rem);
    padding: 0;
  }

  .hero-message-section .hero-cta {
    justify-content: center;
  }

  .result-score {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .card {
    padding: 24px;
  }

  .quiz-section {
    padding: 24px;
  }

  .result-panel {
    padding: 32px 20px;
  }

  .time-slots {
    grid-template-columns: 1fr;
  }
}

/* ---- Homepage premium bridge & hero lead ---- */
.hero-message-section .home-hero-lead {
  max-width: 38rem;
  margin: 1.35rem auto 0;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.75;
  color: var(--grey-200);
}

.home-bridge {
  text-align: center;
  border-top: 1px solid rgba(51, 65, 85, .08);
  border-bottom: 1px solid rgba(51, 65, 85, .08);
  background: var(--navy-light);
}

.home-bridge-title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
  max-width: 34rem;
  margin: 0 auto;
}

.home-bridge-lead {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--grey-200);
}

.home-bridge-kws {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  font-weight: 600;
}

.home-stats-foot {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--grey-400);
  text-align: center;
  line-height: 1.5;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Homepage perception & founder : voir css/home-premium.css */

/* ---- Projects KPI subtle variant ---- */
.projects-kpi--subtle {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(51, 65, 85, 0.14);
  color: var(--grey-200);
  font-weight: 700;
}