:root {
  --brand-cream: #F9F7F2;
  --brand-charcoal: #1A1A1A;
  --brand-white: #FFFFFF;
  --brand-muted: rgba(26, 26, 26, 0.6);
  /* Measured at runtime from the fixed navbar */
  --nav-offset: 0px;
}

/* Box sizing (needed so hero height includes padding) */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--brand-cream);
  color: var(--brand-charcoal);
}

/* Keep all main content below the fixed navbar */
main { padding-top: var(--nav-offset); }

/* Home hero: keep background behind navbar, but push text down */
.hero-viewport {
  min-height: 100vh;
  padding-top: calc(var(--nav-offset) + 28px);
  /* extra room so CTA buttons never get clipped by the bottom fade */
  padding-bottom: 180px;
  background: var(--brand-white);
}

@supports (height: 100svh) {
  .hero-viewport { min-height: 100svh; }
}

.font-serif { font-family: 'Playfair Display', serif; }

/* Page transition overlay */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--brand-cream);
  transform: scaleY(0);
  transform-origin: bottom;
  z-index: 1000;
  pointer-events: none;
}

/* Custom Cursor */
#cursor {
  width: 14px;
  height: 14px;
  background: var(--brand-charcoal);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.25s ease, background 0.25s ease;
}
#cursor.active { transform: scale(2.35); }

/* Typography effects */
.serif-outline {
  -webkit-text-stroke: 1px var(--brand-charcoal);
  color: transparent;
}


/* Hero typography: keep it HUGE but never collide with the navbar */
.hero-heading{
  font-size: clamp(2.7rem, 7.2vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-shadow: 0 16px 60px rgba(0,0,0,0.18);
}

/* Outline variant stays "normal" (no 3D), but more readable on photo backgrounds */
.serif-outline{
  -webkit-text-stroke: 1.1px rgba(26,26,26,0.85);
  color: transparent;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.15));
}

@media (max-width: 768px){
  .hero-heading{ font-size: clamp(2.2rem, 9.0vw, 3.8rem); line-height: 0.98; }
}

/* Optional: slightly brighter outline variant for dark sections */
.serif-outline-light {
  -webkit-text-stroke: 1px rgba(248, 247, 244, 0.9);
  color: transparent;
}

/* Hero emphasis: solid black + italic (requested) */
.hero-outline{
  color: var(--brand-charcoal);
  font-style: italic;
  letter-spacing: -0.01em;
  font-size: 0.95em;
  /* small shadow to keep legible on textured photo */
  text-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

/* Hero background fade overlay (HOME only): return to the earlier soft photographic fade */
.hero-bottom-fade{
  background: linear-gradient(
    to bottom,
    rgba(249, 247, 242, 0.00) 0%,
    rgba(249, 247, 242, 0.02) 48%,
    rgba(255, 255, 255, 0.18) 72%,
    rgba(255, 255, 255, 0.68) 88%,
    rgba(255, 255, 255, 1.00) 100%
  );
}

/* Hero overlay + full-width banner (like galan-avocats.be) */
.hero-image-overlay{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.06) 40%,
    rgba(0,0,0,0.03) 70%,
    rgba(255,255,255,0.00) 100%
  );
}

.hero-home{
  margin-bottom: -1px;
}

.home-intro-section{
  position:relative;
  z-index:4;
  margin-top:-112px;
  padding-top: calc(10rem + 112px);
}
.home-intro-section::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height: 180px;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.72) 48%, rgba(255,255,255,1) 100%);
}
.home-intro-section > *{
  position:relative;
  z-index:1;
}

.parallax-divider{
  background:#101010;
  margin-bottom:-1px;
}
.parallax-divider::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:118px;
  pointer-events:none;
  z-index:1;
  background: linear-gradient(to bottom, rgba(16,16,16,0.00) 0%, rgba(16,16,16,0.42) 52%, rgba(26,26,26,0.82) 82%, rgba(26,26,26,1) 100%);
}
.team-home-section{
  position:relative;
  z-index:2;
  margin-top:-1px;
}
.no-section-accent::before,
.no-section-accent::after{
  display:none !important;
}


.hero-banner{
  /* Full-width “bordereau” (transparent / glassy) — premium, no “paper card” */
  --hero-logo-w: clamp(210px, 15vw, 300px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.34) 50%,
    rgba(255,255,255,0.18) 100%
  );
  backdrop-filter: blur(8px) saturate(1.12);
  -webkit-backdrop-filter: blur(8px) saturate(1.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

/* Avoid the “white seam” artifact: use a soft radial veil instead of linear bands */
.hero-banner::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 140% at 50% 50%,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.10) 55%,
    rgba(255,255,255,0.00) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-banner-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 28px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--hero-logo-w) 1fr var(--hero-logo-w);
  align-items: center;
  column-gap: 20px;
}

.hero-banner-logo{
  width: var(--hero-logo-w);
  min-width: 0;
  justify-self: start;
  position: relative;
  z-index: 2;
}
.hero-banner-wordmark{
  display:flex;
  align-items:baseline;
  gap:.4rem;
  white-space:nowrap;
  color: rgba(20,20,20,0.98);
  text-shadow: 0 12px 32px rgba(255,255,255,0.18);
}
.hero-banner-wordmark-main{
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1;
}
.hero-banner-wordmark-sub{
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  opacity: .72;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1;
}

.hero-banner-text{
  text-align: center;
  justify-self: center;
  max-width: 920px;
  /* remove white highlight (creates ugly seams inside glyphs on some backgrounds) */
  text-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.hero-banner-spacer{
  width: var(--hero-logo-w);
  height: 1px;
  justify-self: end;
  opacity: 0;
}

.hero-banner-title{
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: clamp(2.05rem, 4.9vw, 3.95rem);
  line-height: 0.98;
  color: rgba(12,12,12,0.96);
}

.hero-banner-sub{
  margin-top: 10px;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  color: rgba(26,26,26,0.78);
}

@media (max-width: 640px){
  .hero-banner-inner{
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px;
    row-gap: 16px;
  }
  .hero-banner-logo{
    width: 100%;
    justify-self: center;
  }
  .hero-banner-wordmark{ justify-content:center; }
  .hero-banner-wordmark-main{ font-size: 1.65rem; }
  .hero-banner-wordmark-sub{ font-size: 1.4rem; }
  .hero-banner-spacer{ display:none; }
  .hero-banner-title{ letter-spacing: 0.05em; }
}

/* Navbar layout: truly square (no overlaps)
   Grid: [logo] [center nav] [actions] */
.nav-shell{
  display: grid;
  grid-template-columns: minmax(260px, max-content) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(26px, 2.4vw, 42px);
}

.nav-shell > a.group{
  display: block;
  min-width: 260px;
  padding-right: clamp(20px, 2vw, 34px);
}

.nav-center{
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  gap: clamp(10px, 1vw, 18px);
  min-width: 0;
  padding-left: 6px;
  white-space: nowrap;
}

/* Keep the actions pinned right and prevent shrinking into the center */
#nav-actions{
  justify-self: end;
  white-space: nowrap;
}

/* Desktop dropdown under “Plus”: keep the hover area continuous and support click-open */
.nav-more{
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.nav-more-toggle{
  cursor: pointer;
}
.nav-more-menu{
  z-index: 140;
}
.nav-more.open .nav-more-menu,
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu{
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Slightly tighter spacing on smaller desktops */
@media (max-width: 1280px){
  .nav-center{ gap: 12px; }
  #nav-actions{ gap: 10px; }
}

/* Navbar: always on a soft white glass background (requested) */
#navbar{
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

/* Dark pages (e.g. equipe.html) need a dark navbar to keep contrast */
.theme-dark #navbar{
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 50px rgba(0,0,0,0.35);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #navbar{ background: rgba(255,255,255,0.94); }
}



/* Navigation */
.nav-link {
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--brand-charcoal);
  transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.theme-dark .nav-link{ color: rgba(255,255,255,0.80); }
.theme-dark .nav-link:hover{ opacity: 1; color: rgba(255,255,255,0.98); }
.theme-dark .nav-link::after{ background: rgba(255,255,255,0.9); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  padding-top: 1.2rem !important;
  padding-bottom: 1.2rem !important;
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.theme-dark .nav-scrolled{
  background: rgba(26, 26, 26, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* Cards */
.expertise-card {
  transition: background-color 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.expertise-card:hover {
  background-color: var(--brand-charcoal) !important;
  color: var(--brand-white);
}
.expertise-card:hover h3,
.expertise-card:hover p,
.expertise-card:hover span,
.expertise-card:hover a { color: var(--brand-white); border-color: rgba(255,255,255,0.2); }

/* Glass */
.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.glass-form { box-shadow: 0 50px 100px -20px rgba(0,0,0,0.05); }

/* Floating label */
input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
  transform: translateY(-20px) scale(0.9);
  color: var(--brand-charcoal) !important;
}

/* Better focus */
:focus-visible {
  outline: 2px solid rgba(26,26,26,0.45);
  outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--brand-cream); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-charcoal); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #cursor { display: none !important; }
}

@media (max-width: 768px) {
  #cursor { display: none; }
  .hero-fade { opacity: 1 !important; transform: none !important; }
}

/* Dark theme helpers */
.theme-dark .nav-link::after { background: rgba(255,255,255,0.9); }
.theme-dark .nav-scrolled {
  background: rgba(26, 26, 26, 0.75);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* Testimonials carousel */
.testimonials-viewport{
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}
.testimonials-carousel{
  display: flex;
  gap: 22px;
  overflow: visible;
  padding: 4px 2px;
  width: max-content;
  will-change: transform;
  animation: testimonials-marquee 44s linear infinite;
}
.testimonials-viewport:hover .testimonials-carousel{
  animation-play-state: paused;
}
@keyframes testimonials-marquee{
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.testimonial-card{
  min-width: 380px;
  max-width: 460px;
  padding: 36px;
  background: #fff;
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.05);
}
.testimonial-card p{
  color: rgba(26,26,26,0.86);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}
.testimonial-card .meta{
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(26,26,26,0.52);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
}
@media (max-width: 768px){
  .testimonial-card{ min-width: 84vw; max-width: 84vw; padding: 28px; }
  .testimonial-card p{ font-size: 16px; }
  .testimonials-carousel{ animation-duration: 34s; gap: 16px; }
}


/* Team photo placeholders */
.member-photo{
  width: 108px;
  height: 138px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  display: block;
}
.member-photo-card{
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.member-photo-inner{
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.10), transparent 50%),
    radial-gradient(120% 120% at 70% 80%, rgba(255,255,255,0.06), transparent 55%),
    rgba(255,255,255,0.03);
}
.member-initial{
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(255,255,255,0.14);
  user-select: none;
}
.member-photo-label{
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.35);
}
@media (max-width: 768px){
  .member-photo{ width: 92px; height: 120px; border-radius: 16px; }
  .member-initial{ font-size: 60px; }
}



/* Force dark navbar on specific pages if needed (extra safety) */
.nav-force-dark{
  background: rgba(26, 26, 26, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 14px 50px rgba(0,0,0,0.35) !important;
}
.nav-force-dark .nav-link{ color: rgba(255,255,255,0.82) !important; }
.nav-force-dark .nav-link:hover{ color: rgba(255,255,255,0.98) !important; }
.nav-force-dark .nav-link::after{ background: rgba(255,255,255,0.9) !important; }

/* Make CTA buttons readable on dark pages */
.theme-dark #nav-actions a.magnetic{
  border-color: rgba(255,255,255,0.24) !important;
  color: rgba(255,255,255,0.92) !important;
}
.theme-dark #nav-actions a.magnetic:hover{
  background: rgba(255,255,255,0.95) !important;
  color: #1A1A1A !important;
}


.member-photo-card,
.member-photo{
  position: relative;
}

.member-photo-image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
  background: #e9e6df;
}

.group:hover .member-photo-image{
  transform: scale(1.035);
  filter: none;
}

.member-photo-card .member-photo-image{
  aspect-ratio: 4 / 5;
  min-height: 320px;
}

.member-photo .member-photo-image{
  width: 100%;
  height: 100%;
}

.member-photo-image--compact{
  min-height: 138px;
}

@media (max-width: 768px){
  .member-photo-card .member-photo-image{
    min-height: 280px;
  }
  .member-photo-image--compact{
    min-height: 120px;
  }
}

.profile-chip{
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(26,26,26,0.1);
  border-radius: 9999px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(26,26,26,0.72);
  background: rgba(255,255,255,0.8);
}

.profile-quote{
  border-left: 2px solid rgba(26,26,26,0.12);
  padding-left: 1rem;
  color: rgba(26,26,26,0.72);
  font-style: italic;
}

/* Language switcher */
.lang-switcher{
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(26,26,26,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-btn{
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(26,26,26,0.68);
  min-width: 40px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background-color .25s ease, color .25s ease, transform .25s ease, opacity .25s ease;
}
.lang-btn:hover{
  color: rgba(26,26,26,0.92);
}
.lang-btn.is-active{
  background: #1A1A1A;
  color: #fff;
}
.lang-btn-mobile{
  min-width: 56px;
  height: 42px;
  border: 1px solid rgba(26,26,26,0.12);
  background: rgba(255,255,255,0.76);
}
.theme-dark .lang-switcher{
  background: rgba(26,26,26,0.64);
  border-color: rgba(255,255,255,0.12);
}
.theme-dark .lang-btn{
  color: rgba(255,255,255,0.7);
}
.theme-dark .lang-btn:hover{
  color: rgba(255,255,255,0.92);
}
.theme-dark .lang-btn.is-active{
  background: #fff;
  color: #1A1A1A;
}

/* Slightly more obvious marquee */
.testimonials-carousel{
  animation-duration: 34s;
}
@media (max-width: 768px){
  .testimonials-carousel{
    animation-duration: 26s;
  }
}


/* Final polish pass */
.nav-more::after{content:"";position:absolute;left:-8px;right:-8px;bottom:-12px;height:20px;}
#contact-submit[disabled]{opacity:.82;cursor:progress;}


/* UX upgrade pass */
:focus-visible{
  outline: 2px solid rgba(26,26,26,0.45);
  outline-offset: 3px;
}
.skip-link{
  position: fixed;
  left: 18px;
  top: 16px;
  z-index: 9999;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateY(-150%);
  transition: transform .25s ease;
}
.skip-link:focus{ transform: translateY(0); }
.breadcrumbs-shell{ position: relative; z-index: 2; }
.breadcrumbs-nav{
  display:flex; align-items:center; flex-wrap:wrap; gap:10px;
  color: rgba(26,26,26,0.55); font-size:10px; letter-spacing:.28em; text-transform:uppercase; font-weight:700;
}
.breadcrumbs-link{ color: inherit; transition: color .2s ease, opacity .2s ease; }
.breadcrumbs-link:hover{ color: rgba(26,26,26,0.9); }
.breadcrumbs-current{ color: rgba(26,26,26,0.86); }
.breadcrumbs-sep{ opacity:.35; }
.back-to-top{
  position: fixed; right: 22px; bottom: 26px; z-index: 75; width: 52px; height: 52px;
  border-radius: 999px; border: 1px solid rgba(26,26,26,0.12); background: rgba(255,255,255,0.88);
  color: #1A1A1A; display:grid; place-items:center; box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  opacity: 0; transform: translateY(16px); pointer-events:none; transition: all .28s ease;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.back-to-top.is-visible{ opacity:1; transform: translateY(0); pointer-events:auto; }
.mobile-quick-actions{
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 85;
  display:none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  padding: 8px; border-radius: 24px; border:1px solid rgba(26,26,26,0.08);
  background: rgba(255,255,255,0.88); box-shadow: 0 22px 60px rgba(0,0,0,0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-quick-actions.is-hidden{ opacity:0; transform: translateY(18px); pointer-events:none; }
.mobile-quick-action{
  min-height: 54px; border-radius: 18px; display:flex; align-items:center; justify-content:center; gap:8px;
  font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#1A1A1A;
  background: rgba(26,26,26,0.04); border: 1px solid rgba(26,26,26,0.06); transition: background-color .2s ease, color .2s ease;
}
.mobile-quick-action--primary{ background:#1A1A1A; color:#fff; }
.mobile-quick-action:hover{ background: rgba(26,26,26,0.08); }
.mobile-quick-action--primary:hover{ background:#000; }
.directory-tools-shell{
  display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:20px; align-items:end;
  border:1px solid rgba(255,255,255,0.10); border-radius: 28px; padding: 18px 20px; background: rgba(255,255,255,0.04);
}
.directory-tools-shell--light{ background:#fff; border-color: rgba(26,26,26,0.08); }
.directory-label{ display:block; font-size:10px; letter-spacing:.28em; text-transform:uppercase; font-weight:700; margin-bottom:10px; color: rgba(255,255,255,0.55); }
.directory-tools-shell--light .directory-label{ color: rgba(26,26,26,0.45); }
.directory-input-wrap{ position:relative; }
.directory-input-icon{ position:absolute; left:16px; top:50%; transform:translateY(-50%); color: rgba(255,255,255,0.4); }
.directory-tools-shell--light .directory-input-icon{ color: rgba(26,26,26,0.35); }
.directory-input{
  width:100%; min-height:56px; border-radius:18px; border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03); color:#fff; padding:0 18px 0 48px; font-size:16px;
}
.directory-tools-shell--light .directory-input{ background:#fff; color:#1A1A1A; border-color: rgba(26,26,26,0.10); }
.directory-input::placeholder{ color: rgba(255,255,255,0.38); }
.directory-tools-shell--light .directory-input::placeholder{ color: rgba(26,26,26,0.35); }
.directory-meta{ display:flex; align-items:center; gap:12px; justify-content:flex-end; }
.directory-count{ font-size:10px; text-transform:uppercase; letter-spacing:.24em; font-weight:700; opacity:.7; }
.directory-reset{
  min-height:44px; padding:0 16px; border-radius:999px; border:1px solid rgba(255,255,255,0.12);
  font-size:10px; letter-spacing:.2em; text-transform:uppercase; font-weight:700; color:#fff;
}
.directory-tools-shell--light .directory-reset{ color:#1A1A1A; border-color: rgba(26,26,26,0.12); }
.copy-chip{
  display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:0 14px; border-radius:999px;
  border:1px solid rgba(26,26,26,0.10); font-size:10px; letter-spacing:.2em; text-transform:uppercase; font-weight:700;
  color: rgba(26,26,26,0.72); background: rgba(255,255,255,0.78); transition: all .2s ease;
}
.copy-chip:hover, .copy-chip.is-copied{ background:#1A1A1A; color:#fff; }
.mobile-menu-open{ overflow:hidden; }
@media (max-width: 768px){
  .mobile-quick-actions{ display:grid; }
  body.has-mobile-quick-actions{ padding-bottom: 104px; }
  .back-to-top{ bottom: 96px; right: 16px; }
  .directory-tools-shell{ grid-template-columns: 1fr; align-items: stretch; }
  .directory-meta{ justify-content: space-between; }
  .breadcrumbs-nav{ gap:8px; font-size:9px; letter-spacing:.22em; }
}
@media (prefers-reduced-motion: reduce){
  .back-to-top, .mobile-quick-actions, .skip-link{ transition:none; }
}

body[data-page="equipe"] .breadcrumbs-nav{
  color: rgba(255,255,255,0.55);
}
body[data-page="equipe"] .breadcrumbs-link:hover,
body[data-page="equipe"] .breadcrumbs-current{
  color: rgba(255,255,255,0.92);
}


/* Luxe motion / final polish */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:1;
  opacity:.075;
  background-image:
    radial-gradient(rgba(26,26,26,0.08) 0.6px, transparent 0.6px),
    radial-gradient(rgba(255,255,255,0.4) 0.6px, transparent 0.6px);
  background-size: 18px 18px, 24px 24px;
  background-position: 0 0, 10px 10px;
  mix-blend-mode:multiply;
}
#page-transition,
#cursor,
#navbar,
#mobile-menu,
.scroll-progress,
.back-to-top,
.mobile-quick-actions,
.skip-link{ z-index: 120; }

.scroll-progress{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(26,26,26,0.05);
  transform: translateZ(0);
  pointer-events: none;
}
.scroll-progress-bar{
  display:block;
  height:100%;
  width:100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(26,26,26,0.95), rgba(26,26,26,0.45));
  box-shadow: 0 0 18px rgba(26,26,26,0.2);
}

.hero-enhanced::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(70% 60% at 50% 18%, rgba(255,255,255,0.30), transparent 70%),
    radial-gradient(44% 34% at 82% 34%, rgba(255,255,255,0.16), transparent 75%);
  z-index: 0;
}
#hero-image-wrapper{
  will-change: transform;
}
#hero-img{
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}
@keyframes heroKenBurns{
  from { transform: scale(1.05) translate3d(0,0,0); }
  to { transform: scale(1.12) translate3d(0,-1.5%,0); }
}
.hero-facts{
  width:min(1100px, calc(100% - 32px));
  margin: 28px auto 0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  position:relative;
  z-index:10;
}
.fact-pill{
  --mx: 50%;
  --my: 50%;
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding: 0 18px;
  border-radius:999px;
  border:1px solid rgba(26,26,26,0.08);
  background: rgba(255,255,255,0.74);
  color:#1A1A1A;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-accent{
  position: relative;
}
.section-accent::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:min(180px, 30vw);
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(26,26,26,0.18), transparent);
}
.section-accent::after{
  content:"";
  position:absolute;
  top:-4px;
  left:50%;
  transform:translateX(-50%);
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(26,26,26,0.16);
  box-shadow: 0 0 0 6px rgba(26,26,26,0.03);
}

.lift-card,
.tilt-card,
.glass-card,
.team-card,
.team-row,
.testimonial-card,
.member-photo-card,
.copy-chip,
.mobile-quick-action,
.btn-sheen{
  position:relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.fact-pill,
.tilt-card,
.glass-card,
.team-row,
.team-card,
.testimonial-card,
.btn-sheen{
  overflow:hidden;
  isolation:isolate;
}

.fact-pill::before,
.tilt-card::before,
.glass-card::before,
.team-row::before,
.team-card::before,
.testimonial-card::before,
.btn-sheen::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    radial-gradient(170px 90px at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.18), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.00) 44%);
  mix-blend-mode: screen;
  opacity:0;
  transition: opacity .28s ease;
  z-index:0;
}

.fact-pill::after,
.tilt-card::after,
.glass-card::after,
.team-row::after,
.team-card::after,
.testimonial-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.00) 32%, rgba(255,255,255,0.16) 48%, rgba(255,255,255,0.00) 64%, transparent 100%);
  transform: translateX(-130%);
  opacity:0;
  transition: transform .8s cubic-bezier(.19,1,.22,1), opacity .28s ease;
  z-index:0;
}

.fact-pill:hover::before,
.tilt-card:hover::before,
.glass-card:hover::before,
.team-row:hover::before,
.team-card:hover::before,
.testimonial-card:hover::before,
.btn-sheen:hover::before,
.fact-pill.is-hovered::before,
.tilt-card.is-hovered::before,
.glass-card.is-hovered::before,
.team-row.is-hovered::before,
.team-card.is-hovered::before,
.testimonial-card.is-hovered::before{ opacity: .92; }

.fact-pill:hover::after,
.tilt-card:hover::after,
.glass-card:hover::after,
.team-row:hover::after,
.team-card:hover::after,
.testimonial-card:hover::after,
.fact-pill.is-hovered::after,
.tilt-card.is-hovered::after,
.glass-card.is-hovered::after,
.team-row.is-hovered::after,
.team-card.is-hovered::after,
.testimonial-card.is-hovered::after{
  opacity:.72;
  transform: translateX(130%);
}

.team-card,
.team-row,
.testimonial-card,
.glass-card{
  transition: box-shadow .34s ease, border-color .34s ease, background-color .34s ease, transform .34s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}
.team-card:hover,
.team-row:hover,
.testimonial-card:hover,
.glass-card:hover,
.team-card.is-hovered,
.team-row.is-hovered,
.testimonial-card.is-hovered,
.glass-card.is-hovered{
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 28px 68px rgba(0,0,0,0.14), 0 12px 26px rgba(0,0,0,0.08);
  border-color: rgba(26,26,26,0.16);
}
.theme-dark .team-row:hover,
.theme-dark .team-card:hover,
.theme-dark .team-row.is-hovered,
.theme-dark .team-card.is-hovered{
  background: rgba(255,255,255,0.025);
  box-shadow: 0 22px 56px rgba(0,0,0,0.24);
  border-color: rgba(255,255,255,0.10);
}
.team-row{
  border-radius: 28px;
  padding: 22px;
  margin-inline: -22px;
  transition: background-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.team-card{
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}
.expertise-card:hover{
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 74px rgba(0,0,0,0.14);
}
.testimonial-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(249,247,242,0.88));
}
.btn-sheen{
  overflow:hidden;
  isolation:isolate;
  box-shadow:
    0 14px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-sheen::after{
  content:"";
  position:absolute;
  top:-40%;
  bottom:-40%;
  left:-16%;
  width:20%;
  border-radius:999px;
  transform: translateX(-180%) skewX(-16deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), rgba(255,255,255,0.05), transparent);
  filter: blur(10px);
  opacity:0;
  transition: transform .82s cubic-bezier(.19,1,.22,1), opacity .22s ease;
  pointer-events:none;
  z-index:0;
}
.btn-sheen:hover::after{
  opacity:.85;
  transform: translateX(620%) skewX(-16deg);
}
.btn-sheen > span,
.btn-sheen > i,
.btn-sheen > svg,
.btn-sheen > strong,
.btn-sheen > em{
  position:relative;
  z-index:1;
}
.btn-refined{
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn-refined:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 48px rgba(0,0,0,0.14);
}
.profile-sidebar-sticky{
  position: sticky;
  top: calc(var(--nav-offset) + 32px);
}
.copy-chip,
.profile-chip{
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}
.copy-chip:hover,
.profile-chip:hover{
  transform: translateY(-1px);
}

@media (max-width: 1024px){
  .profile-sidebar-sticky{ position: static; }
  .team-row{ margin-inline: 0; padding: 0 0 40px; border-radius: 0; }
}
@media (max-width: 768px){
  body::before{ opacity:.05; }
  .hero-facts{ gap:10px; margin-top: 18px; }
  .fact-pill{ min-height:42px; padding:0 14px; font-size:9px; letter-spacing:.15em; }
  .section-accent::before{ width: 120px; }
}
@media (prefers-reduced-motion: reduce){
  #hero-img{ animation:none; }
  .btn-sheen::after,
  .fact-pill::before,
  .tilt-card::before,
  .glass-card::before,
  .team-row::before,
  .team-card::before,
  .testimonial-card::before{ display:none; }
}


/* Extra refinement pass */
.home-trust-shell{
  position: relative;
  z-index: 4;
  margin-top: -92px;
  padding-bottom: 42px;
}
.home-trust-wrap{
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: 32px;
  padding: 18px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 28px 80px rgba(0,0,0,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.home-trust-head{ padding: 6px 8px 16px; }
.home-trust-kicker{
  display:inline-flex; align-items:center; min-height: 28px;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; font-weight:700; color: rgba(26,26,26,0.46);
}
.home-trust-grid{
  display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px;
}
.home-trust-card{
  min-height: 72px; border-radius: 22px; padding: 16px 18px; display:flex; align-items:center; gap:12px;
  border:1px solid rgba(26,26,26,0.08); background: rgba(255,255,255,0.8); color:#1A1A1A;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight:700;
  box-shadow: 0 12px 28px rgba(0,0,0,0.04); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.home-trust-card:hover{ transform: translateY(-2px); border-color: rgba(26,26,26,0.14); box-shadow: 0 20px 36px rgba(0,0,0,0.08); }
.page-section-nav{ position: relative; z-index: 2; margin-top: -4px; padding-bottom: 24px; }
.page-section-nav-inner{
  display:flex; flex-wrap:wrap; gap:14px 18px; align-items:center;
  padding: 18px 20px; border:1px solid rgba(26,26,26,0.08); border-radius: 24px; background: rgba(255,255,255,0.74);
  box-shadow: 0 16px 40px rgba(0,0,0,0.05); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.page-section-nav-title{
  font-size:10px; letter-spacing:.28em; text-transform:uppercase; font-weight:700; color: rgba(26,26,26,0.42);
}
.page-chip-list{ display:flex; flex-wrap:wrap; gap:10px; }
.page-chip{
  display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding: 0 14px; border-radius:999px;
  border:1px solid rgba(26,26,26,0.08); background:#fff; color: rgba(26,26,26,0.78);
  font-size:10px; letter-spacing:.18em; text-transform:uppercase; font-weight:700; transition: all .22s ease;
}
.page-chip:hover, .page-chip.is-active{ background:#1A1A1A; color:#fff; border-color:#1A1A1A; }
.faq-shell{
  border:1px solid rgba(26,26,26,0.08); border-radius: 34px; padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.74));
  box-shadow: 0 28px 80px rgba(0,0,0,0.07);
}
.faq-head{ display:flex; flex-direction:column; gap:8px; margin-bottom: 22px; }
.faq-kicker{ font-size:10px; letter-spacing:.3em; text-transform:uppercase; font-weight:700; color: rgba(26,26,26,0.42); }
.faq-title{ font-family:'Playfair Display', serif; font-size: clamp(2rem, 3.8vw, 3.3rem); line-height:1.05; }
.faq-list{ display:grid; gap: 12px; }
.faq-item{
  border:1px solid rgba(26,26,26,0.08); border-radius: 24px; background: rgba(255,255,255,0.84); overflow:hidden;
}
.faq-item summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 22px 24px; font-size: 13px; line-height:1.5; font-weight:700; letter-spacing:.02em;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-answer{ padding: 0 24px 22px; }
.faq-answer p{ color: rgba(26,26,26,0.68); font-size: 16px; line-height:1.8; font-weight: 400; }
.faq-icon{ color: rgba(26,26,26,0.45); transition: transform .22s ease; flex: 0 0 auto; }
.faq-item[open] .faq-icon{ transform: rotate(45deg); }
.nav-link.active, .nav-more-toggle.active{ opacity:1; }
.nav-more-toggle.active::after{ width:100%; }
.image-reveal{ opacity: 0; transform: scale(1.01); transition: opacity .45s ease, transform .6s ease; }
.image-reveal.is-loaded{ opacity: 1; transform: none; }
@media (max-width: 1024px){
  .home-trust-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px){
  .home-trust-shell{ margin-top: -46px; padding-bottom: 28px; }
  .home-trust-wrap{ padding: 14px; border-radius: 26px; }
  .home-trust-grid{ grid-template-columns: 1fr; }
  .home-trust-card{ min-height: 64px; font-size: 10px; letter-spacing: .14em; }
  .page-section-nav{ padding-bottom: 18px; }
  .page-section-nav-inner{ padding: 14px; border-radius: 20px; }
  .page-chip{ min-height: 36px; padding: 0 12px; font-size: 9px; }
  .faq-shell{ padding: 18px; border-radius: 26px; }
  .faq-item summary{ padding: 18px 18px; font-size: 12px; }
  .faq-answer{ padding: 0 18px 18px; }
  .faq-answer p{ font-size: 15px; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce){
  .home-trust-card, .page-chip, .image-reveal{ transition: none; }
}


.footer-brand-logo{
  width:auto;
  max-width:190px;
}

.footer-wordmark{
  display:inline-flex;
  align-items:baseline;
  gap:.35rem;
  white-space:nowrap;
  color:rgba(18,18,18,.98);
  letter-spacing:-0.01em;
}
.footer-wordmark-main{
  font-family:'Playfair Display', serif;
  text-transform:uppercase;
  font-weight:700;
  font-size:clamp(1.35rem,2.2vw,1.9rem);
  line-height:1;
}
.footer-wordmark-sub{
  font-family:'Playfair Display', serif;
  font-style:italic;
  font-weight:400;
  opacity:.68;
  font-size:clamp(1.2rem,1.8vw,1.65rem);
  line-height:1;
}
.theme-dark .footer-wordmark,
body[data-page="home"] footer .footer-wordmark{ color:rgba(255,255,255,.96); }
body[data-page="home"] footer .footer-wordmark-sub{ opacity:.74; }

footer .max-w-7xl{
  row-gap: 20px;
}

.theme-dark .footer-brand-logo{
  filter:none;
}


/* Hover refinement pass */
.btn-sheen.bg-\[\#1A1A1A\],
.btn-sheen[class*="bg-[#1A1A1A]"]{
  box-shadow:
    0 16px 38px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.10);
}
.btn-sheen.bg-white\/70,
.btn-sheen[class*="bg-white/70"],
.btn-sheen[class*="bg-white/75"],
.btn-sheen[class*="bg-white/80"]{
  box-shadow:
    0 16px 34px rgba(0,0,0,0.09),
    inset 0 1px 0 rgba(255,255,255,0.35);
}
.testimonial-card::before,
.glass-card::before{
  background:
    radial-gradient(240px 120px at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.16), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 44%);
}
.team-row::after,
.team-card::after{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 0 0 1px rgba(255,255,255,0.025);
}
.theme-dark .team-row::after,
.theme-dark .team-card::after{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}


@media (max-width: 900px){
  .home-intro-section{
    margin-top:-74px;
    padding-top: calc(8rem + 74px);
  }
  .home-intro-section::before{ height: 132px; }
  .parallax-divider::after{ height: 88px; }
}

/* === v11 readability + brand icon fixes === */
.nav-brand-wordmark{
  color: rgba(26,26,26,0.96) !important;
  transition: color .28s ease, opacity .28s ease;
}
.nav-brand-sub{
  opacity: .62;
  transition: opacity .28s ease;
}
.group:hover .nav-brand-sub{ opacity: 1; }
.theme-dark .nav-brand-wordmark{
  color: rgba(255,255,255,0.96) !important;
  text-shadow: 0 10px 32px rgba(0,0,0,0.28);
}
.theme-dark .nav-brand-sub{
  opacity: .74;
}
.theme-dark #mobile-menu-toggle,
.theme-dark #mobile-menu-toggle i{
  color: rgba(255,255,255,0.94) !important;
}

.hero-banner-logo{
  display:flex;
  align-items:center;
}
.hero-banner-logo-img{
  display:block;
  width: clamp(118px, 11vw, 182px);
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,0.26));
}
@media (max-width: 640px){
  .hero-banner-logo-img{
    width: clamp(108px, 32vw, 152px);
    margin-inline: auto;
  }
}

.footer-brand{
  width: 100%;
  display:flex;
  justify-content:center;
}
.footer-brand-logo{
  display:block;
  width: auto;
  height: auto;
  max-width: 188px;
  filter: brightness(0) saturate(100%);
  opacity: .98;
}
.theme-dark .footer-brand-logo{ filter:none; }
body[data-page="home"] footer .footer-brand-logo{
  filter: none !important;
  opacity: .96;
}

.theme-dark .serif-outline{
  -webkit-text-stroke: 1.05px rgba(255,255,255,0.78);
  color: transparent;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.18));
}
.theme-dark .text-white\/40{ color: rgba(255,255,255,0.56) !important; }
.theme-dark .text-white\/50{ color: rgba(255,255,255,0.66) !important; }
.theme-dark .text-white\/60{ color: rgba(255,255,255,0.74) !important; }

.theme-dark #cursor{
  background: rgba(255,255,255,0.92);
  mix-blend-mode: normal;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 4px 18px rgba(0,0,0,0.20);
}

.fact-pill::before,
.tilt-card::before,
.glass-card::before,
.team-row::before,
.team-card::before,
.testimonial-card::before,
.btn-sheen::before{
  background:
    radial-gradient(210px 110px at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.24), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.00) 42%);
}
.fact-pill:hover::before,
.tilt-card:hover::before,
.glass-card:hover::before,
.team-row:hover::before,
.team-card:hover::before,
.testimonial-card:hover::before,
.btn-sheen:hover::before,
.fact-pill.is-hovered::before,
.tilt-card.is-hovered::before,
.glass-card.is-hovered::before,
.team-row.is-hovered::before,
.team-card.is-hovered::before,
.testimonial-card.is-hovered::before{
  opacity: 1;
}
.fact-pill:hover::after,
.tilt-card:hover::after,
.glass-card:hover::after,
.team-row:hover::after,
.team-card:hover::after,
.testimonial-card:hover::after,
.fact-pill.is-hovered::after,
.tilt-card.is-hovered::after,
.glass-card.is-hovered::after,
.team-row.is-hovered::after,
.team-card.is-hovered::after,
.testimonial-card.is-hovered::after{
  opacity: .90;
  transform: translateX(142%);
}
.team-card:hover,
.team-row:hover,
.testimonial-card:hover,
.glass-card:hover,
.team-card.is-hovered,
.team-row.is-hovered,
.testimonial-card.is-hovered,
.glass-card.is-hovered{
  transform: translateY(-10px) scale(1.016);
  box-shadow: 0 34px 82px rgba(0,0,0,0.18), 0 14px 32px rgba(0,0,0,0.10);
  border-color: rgba(26,26,26,0.20);
}
.theme-dark .team-row:hover,
.theme-dark .team-card:hover,
.theme-dark .team-row.is-hovered,
.theme-dark .team-card.is-hovered{
  background: rgba(255,255,255,0.035);
  box-shadow: 0 28px 72px rgba(0,0,0,0.30);
  border-color: rgba(255,255,255,0.14);
}
.btn-refined:hover{
  transform: translateY(-4px) scale(1.016);
  box-shadow: 0 28px 60px rgba(0,0,0,0.18);
}


.theme-dark .serif-outline-light{
  -webkit-text-stroke: 1px rgba(255,255,255,0.72);
  color: transparent;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.22));
}


/* v13 polish */
body[data-page="equipe"] #cursor{
  width: 10px;
  height: 10px;
  opacity: .92;
}
body[data-page="equipe"] #cursor.active{
  transform: scale(1.85);
}
body[data-page="equipe"] h1 .italic,
body[data-page="equipe"] h1 [style*="italic"]{
  color: rgba(255,255,255,.74) !important;
  opacity: 1 !important;
}
body[data-page="home"] .hero-banner-logo-img{
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.22));
}
body[data-page="home"] .home-intro-section{
  overflow: visible;
}


/* v14 fixes */
body[data-page="home"] #home-trust-bar{ display:none !important; }

@media (min-width: 901px){
  body[data-page="home"] .hero-viewport{
    height: 100vh !important;
    min-height: 100vh !important;
    padding-bottom: 0 !important;
  }
  @supports (height: 100svh){
    body[data-page="home"] .hero-viewport{
      height: 100svh !important;
      min-height: 100svh !important;
    }
  }
  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    min-height: 100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-top: clamp(72px, 7vh, 112px);
    padding-bottom: clamp(132px, 15vh, 190px);
  }
  body[data-page="home"] #hero-facts{
    position:absolute;
    left:50%;
    bottom: clamp(30px, 5vh, 58px);
    transform: translateX(-50%);
    margin:0;
  }
  body[data-page="home"] .home-intro-section{
    margin-top: -190px;
    padding-top: calc(12rem + 190px);
  }
}

body[data-page="home"] .hero-bottom-fade{
  background: linear-gradient(
    to bottom,
    rgba(249,247,242,0.00) 0%,
    rgba(249,247,242,0.00) 48%,
    rgba(255,255,255,0.10) 64%,
    rgba(255,255,255,0.42) 78%,
    rgba(255,255,255,0.86) 92%,
    rgba(255,255,255,1.00) 100%
  );
}
body[data-page="home"] .home-intro-section::before{
  height: 250px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.18) 22%,
    rgba(255,255,255,0.66) 50%,
    rgba(255,255,255,0.94) 78%,
    rgba(255,255,255,1.00) 100%
  );
}
body[data-page="home"] .hero-banner-logo-img{
  width: clamp(102px, 9vw, 150px);
}

@media (max-width: 900px){
  body[data-page="home"] .hero-viewport{
    min-height: 100svh;
    padding-bottom: 86px;
  }
  body[data-page="home"] #hero-facts{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    margin: 22px auto 0;
  }
  body[data-page="home"] .home-intro-section{
    margin-top: -96px;
    padding-top: calc(8rem + 96px);
  }
  body[data-page="home"] .home-intro-section::before{
    height: 150px;
  }
}

/* Prevent hover highlight from snapping back to the center on team cards and buttons */
.team-card::before, .team-row::before, .testimonial-card::before, .tilt-card::before, .glass-card::before, .fact-pill::before, .btn-sheen::before{
  will-change: opacity, transform;
}

/* Virginie Kita image should keep the same perceived opacity as the others */
a[href*="virginie-kita"] .member-photo-image,
a[href*="virginie-kita"] .image-reveal{
  opacity: 1 !important;
}


/* === v15 hero + hover refinement === */
body[data-page="home"] .hero-viewport{
  min-height: 108vh;
  min-height: 108svh;
  padding-top: calc(var(--nav-offset) + 36px);
  padding-bottom: 0;
  background: #fff;
}
body[data-page="home"] .hero-home > .relative.z-10.w-full{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(88px, 10vh, 136px);
  padding-bottom: clamp(180px, 18vh, 260px);
}
body[data-page="home"] .hero-banner{
  background: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.32) 50%, rgba(255,255,255,0.18) 100%);
  backdrop-filter: blur(7px) saturate(1.06);
  -webkit-backdrop-filter: blur(7px) saturate(1.06);
  border-top: 1px solid rgba(255,255,255,0.20);
  border-bottom: 1px solid rgba(20,20,20,0.10);
  box-shadow: 0 16px 38px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.18);
}
body[data-page="home"] .hero-banner::before{
  background: radial-gradient(120% 150% at 50% 50%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 52%, rgba(255,255,255,0.0) 100%);
}
body[data-page="home"] .hero-banner-inner{
  padding: 22px 34px;
  grid-template-columns: clamp(180px, 12vw, 250px) 1fr clamp(180px, 12vw, 250px);
  column-gap: clamp(18px, 3vw, 34px);
}
body[data-page="home"] .hero-banner-logo-img{
  width: clamp(120px, 9.8vw, 160px);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.16));
}
body[data-page="home"] .hero-banner-title{
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
}
body[data-page="home"] .hero-banner-sub{
  margin-top: 12px;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  color: rgba(26,26,26,0.74);
}
body[data-page="home"] .hero-bottom-fade{
  background: linear-gradient(
    to bottom,
    rgba(249,247,242,0.00) 0%,
    rgba(249,247,242,0.00) 56%,
    rgba(255,255,255,0.07) 72%,
    rgba(255,255,255,0.32) 84%,
    rgba(255,255,255,0.72) 94%,
    rgba(255,255,255,0.95) 100%
  );
}
body[data-page="home"] .home-intro-section{
  margin-top: -146px;
  padding-top: calc(10rem + 146px);
}
body[data-page="home"] .home-intro-section::before{
  height: 210px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.14) 24%,
    rgba(255,255,255,0.56) 54%,
    rgba(255,255,255,0.90) 82%,
    rgba(255,255,255,1.00) 100%
  );
}
@media (max-width: 900px){
  body[data-page="home"] .hero-viewport{
    min-height: 100svh;
    padding-top: calc(var(--nav-offset) + 20px);
  }
  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    justify-content: center;
    padding-top: 58px;
    padding-bottom: 110px;
  }
  body[data-page="home"] .hero-banner-inner{
    padding: 18px 16px;
  }
  body[data-page="home"] .hero-banner-title{
    font-size: clamp(2.05rem, 10vw, 3.15rem);
    letter-spacing: 0.02em;
  }
  body[data-page="home"] .hero-banner-sub{
    font-size: clamp(.98rem, 4vw, 1.18rem);
  }
  body[data-page="home"] .home-intro-section{
    margin-top: -104px;
    padding-top: calc(8rem + 104px);
  }
  body[data-page="home"] .home-intro-section::before{
    height: 150px;
  }
}

/* Subtle mouse-follow spotlight on cards: no harsh flash, no center snap */
.fact-pill::before,
.tilt-card::before,
.glass-card::before,
.team-row::before,
.team-card::before,
.testimonial-card::before,
.btn-sheen::before{
  background: radial-gradient(
    180px 120px at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.11) 18%,
    rgba(255,255,255,0.05) 34%,
    rgba(255,255,255,0.00) 70%
  );
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .18s ease;
}
.fact-pill::after,
.tilt-card::after,
.glass-card::after,
.team-row::after,
.team-card::after,
.testimonial-card::after{
  display: none !important;
}
.fact-pill:hover::before,
.tilt-card:hover::before,
.glass-card:hover::before,
.team-row:hover::before,
.team-card:hover::before,
.testimonial-card:hover::before,
.btn-sheen:hover::before,
.fact-pill.is-hovered::before,
.tilt-card.is-hovered::before,
.glass-card.is-hovered::before,
.team-row.is-hovered::before,
.team-card.is-hovered::before,
.testimonial-card.is-hovered::before{
  opacity: .72;
}
.team-card,
.team-row,
.testimonial-card,
.glass-card{
  transition: box-shadow .28s ease, border-color .28s ease, background-color .28s ease, transform .28s ease;
}
.team-card:hover,
.team-row:hover,
.testimonial-card:hover,
.glass-card:hover,
.team-card.is-hovered,
.team-row.is-hovered,
.testimonial-card.is-hovered,
.glass-card.is-hovered{
  transform: translateY(-9px) scale(1.014);
  box-shadow: 0 24px 60px rgba(0,0,0,0.14), 0 10px 24px rgba(0,0,0,0.08);
}
.theme-dark .team-row:hover,
.theme-dark .team-card:hover,
.theme-dark .team-row.is-hovered,
.theme-dark .team-card.is-hovered{
  background: rgba(255,255,255,0.032);
  box-shadow: 0 22px 56px rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.12);
}
body[data-page="equipe"] #cursor{
  width: 8px;
  height: 8px;
  opacity: .76;
}
body[data-page="equipe"] #cursor.active{
  transform: scale(1.45);
}
.member-photo-image{
  opacity: 1;
}
.member-photo-image--virginie{
  opacity: 1 !important;
  filter: none;
}
.group:hover .member-photo-image--virginie{
  filter: none;
}
body[data-page="home"] footer .footer-brand-logo{
  max-width: 188px;
  filter: none !important;
  opacity: .98;
}


/* === v16 final corrections: restore full-screen hero like v14, keep top-card highlight, soften only the mouse-follow circle === */
body[data-page="home"] .hero-viewport{
  height: 100vh !important;
  min-height: 100vh !important;
  background: #fff;
  padding-top: calc(var(--nav-offset) + 8px) !important;
  padding-bottom: 0 !important;
}
@supports (height: 100svh){
  body[data-page="home"] .hero-viewport{
    height: 100svh !important;
    min-height: 100svh !important;
  }
}
body[data-page="home"] .hero-home > .relative.z-10.w-full{
  min-height: 100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top: clamp(72px, 7vh, 112px) !important;
  padding-bottom: clamp(132px, 15vh, 190px) !important;
}
body[data-page="home"] .hero-banner{
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.20) 0%,
    rgba(255,255,255,0.34) 50%,
    rgba(255,255,255,0.20) 100%
  ) !important;
  backdrop-filter: blur(8px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.08) !important;
  border-top: 1px solid rgba(255,255,255,0.22) !important;
  border-bottom: 1px solid rgba(20,20,20,0.12) !important;
  box-shadow:
    0 18px 44px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.20) !important;
}
body[data-page="home"] .hero-banner::before{
  background: radial-gradient(
    120% 140% at 50% 50%,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.10) 55%,
    rgba(255,255,255,0.00) 100%
  ) !important;
}
body[data-page="home"] .hero-banner-inner{
  padding: 18px 28px !important;
  grid-template-columns: var(--hero-logo-w) 1fr var(--hero-logo-w) !important;
  column-gap: 28px !important;
}
body[data-page="home"] .hero-banner-logo-img{
  width: clamp(102px, 9vw, 150px) !important;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.14)) !important;
}
body[data-page="home"] .hero-banner-title{
  font-size: clamp(3.6rem, 5.8vw, 6.2rem) !important;
  line-height: .90 !important;
  letter-spacing: .01em !important;
}
body[data-page="home"] .hero-banner-sub{
  margin-top: 10px !important;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem) !important;
  color: rgba(26,26,26,0.78) !important;
}
body[data-page="home"] #hero-facts{
  position:absolute !important;
  left:50% !important;
  bottom: clamp(30px, 5vh, 58px) !important;
  transform: translateX(-50%) !important;
  margin:0 !important;
}
body[data-page="home"] .hero-bottom-fade{
  background: linear-gradient(
    to bottom,
    rgba(249,247,242,0.00) 0%,
    rgba(249,247,242,0.00) 48%,
    rgba(255,255,255,0.10) 64%,
    rgba(255,255,255,0.42) 78%,
    rgba(255,255,255,0.86) 92%,
    rgba(255,255,255,1.00) 100%
  ) !important;
}
body[data-page="home"] .home-intro-section{
  margin-top: -190px !important;
  padding-top: calc(12rem + 190px) !important;
}
body[data-page="home"] .home-intro-section::before{
  height: 250px !important;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.18) 22%,
    rgba(255,255,255,0.66) 50%,
    rgba(255,255,255,0.94) 78%,
    rgba(255,255,255,1.00) 100%
  ) !important;
}
@media (max-width: 900px){
  body[data-page="home"] .hero-viewport{
    min-height: 100svh !important;
    height: auto !important;
    padding-top: calc(var(--nav-offset) + 16px) !important;
    padding-bottom: 86px !important;
  }
  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    justify-content:center !important;
    padding-top: 58px !important;
    padding-bottom: 110px !important;
  }
  body[data-page="home"] .hero-banner-inner{
    padding: 18px 16px !important;
  }
  body[data-page="home"] .hero-banner-title{
    font-size: clamp(2.05rem, 10vw, 3.15rem) !important;
  }
  body[data-page="home"] .hero-banner-sub{
    font-size: clamp(.98rem, 4vw, 1.18rem) !important;
  }
  body[data-page="home"] #hero-facts{
    position:relative !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    margin: 22px auto 0 !important;
  }
  body[data-page="home"] .home-intro-section{
    margin-top: -96px !important;
    padding-top: calc(8rem + 96px) !important;
  }
  body[data-page="home"] .home-intro-section::before{
    height: 150px !important;
  }
}

/* Keep the elegant top highlight; only soften the mouse-follow circle */
.fact-pill::before,
.tilt-card::before,
.glass-card::before,
.team-row::before,
.team-card::before,
.testimonial-card::before,
.btn-sheen::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0.00) 42%),
    radial-gradient(
      150px 96px at var(--mx, 50%) var(--my, 50%),
      rgba(255,255,255,0.15) 0%,
      rgba(255,255,255,0.09) 20%,
      rgba(255,255,255,0.04) 38%,
      rgba(255,255,255,0.00) 74%
    ) !important;
  filter: blur(0.35px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .22s ease;
}
.fact-pill::after,
.tilt-card::after,
.glass-card::after,
.team-row::after,
.team-card::after,
.testimonial-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255,255,255,0.00) 34%,
    rgba(255,255,255,0.10) 47%,
    rgba(255,255,255,0.00) 60%,
    transparent 100%
  );
  transform: translateX(-132%);
  opacity:0;
  transition: transform .78s cubic-bezier(.19,1,.22,1), opacity .22s ease;
  z-index:0;
}
.fact-pill:hover::before,
.tilt-card:hover::before,
.glass-card:hover::before,
.team-row:hover::before,
.team-card:hover::before,
.testimonial-card:hover::before,
.btn-sheen:hover::before,
.fact-pill.is-hovered::before,
.tilt-card.is-hovered::before,
.glass-card.is-hovered::before,
.team-row.is-hovered::before,
.team-card.is-hovered::before,
.testimonial-card.is-hovered::before{
  opacity: .86 !important;
}
.fact-pill:hover::after,
.tilt-card:hover::after,
.glass-card:hover::after,
.team-row:hover::after,
.team-card:hover::after,
.testimonial-card:hover::after,
.fact-pill.is-hovered::after,
.tilt-card.is-hovered::after,
.glass-card.is-hovered::after,
.team-row.is-hovered::after,
.team-card.is-hovered::after,
.testimonial-card.is-hovered::after{
  opacity: .55 !important;
  transform: translateX(118%) !important;
}


/* === v17 corrections: full-screen home hero + refined mouse-follow spotlight while keeping top-edge highlight === */
body[data-page="home"] .hero-viewport{
  position: relative;
  height: 100vh !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #fff;
}
@supports (height: 100dvh){
  body[data-page="home"] .hero-viewport{
    height: 100dvh !important;
    min-height: 100dvh !important;
  }
}
body[data-page="home"] .hero-home{
  align-items: stretch !important;
}
body[data-page="home"] .hero-home > .relative.z-10.w-full{
  flex: 1 1 auto !important;
  min-height: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding-top: calc(var(--nav-offset) + clamp(26px, 4.5vh, 56px)) !important;
  padding-bottom: clamp(86px, 13vh, 144px) !important;
}
body[data-page="home"] #hero-image-wrapper{
  inset: 0 !important;
}
body[data-page="home"] #hero-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 24% 40% !important;
  transform: scale(1.0) !important;
}
body[data-page="home"] .hero-banner{
  margin-top: 0 !important;
}
body[data-page="home"] .hero-banner-inner{
  padding: 20px 30px !important;
  grid-template-columns: var(--hero-logo-w) 1fr var(--hero-logo-w) !important;
  align-items: center !important;
}
body[data-page="home"] .hero-banner-title{
  font-size: clamp(3.15rem, 5.45vw, 5.8rem) !important;
  line-height: 0.9 !important;
}
body[data-page="home"] .hero-banner-sub{
  font-size: clamp(1rem, 1.55vw, 1.35rem) !important;
  color: rgba(26,26,26,0.76) !important;
}
body[data-page="home"] .hero-bottom-fade{
  background: linear-gradient(
    to bottom,
    rgba(249,247,242,0.00) 0%,
    rgba(249,247,242,0.00) 50%,
    rgba(255,255,255,0.05) 66%,
    rgba(255,255,255,0.26) 79%,
    rgba(255,255,255,0.68) 91%,
    rgba(255,255,255,0.96) 100%
  ) !important;
}
body[data-page="home"] .home-intro-section{
  margin-top: -132px !important;
  padding-top: calc(9rem + 132px) !important;
}
body[data-page="home"] .home-intro-section::before{
  height: 180px !important;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.12) 28%,
    rgba(255,255,255,0.50) 58%,
    rgba(255,255,255,0.88) 84%,
    rgba(255,255,255,1) 100%
  ) !important;
}
@media (max-width: 900px){
  body[data-page="home"] .hero-viewport{
    height: auto !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }
  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    padding-top: calc(var(--nav-offset) + 24px) !important;
    padding-bottom: 112px !important;
  }
  body[data-page="home"] .hero-banner-inner{
    padding: 16px 14px !important;
  }
  body[data-page="home"] .hero-banner-title{
    font-size: clamp(2.1rem, 9.6vw, 3.2rem) !important;
  }
  body[data-page="home"] .hero-banner-sub{
    font-size: clamp(.95rem, 3.9vw, 1.12rem) !important;
  }
  body[data-page="home"] .home-intro-section{
    margin-top: -88px !important;
    padding-top: calc(7.25rem + 88px) !important;
  }
  body[data-page="home"] .home-intro-section::before{
    height: 136px !important;
  }
}

/* Keep the top highlight on hover cards, but make the mouse-follow circle subtler and more premium */
.fact-pill::before,
.tilt-card::before,
.glass-card::before,
.team-row::before,
.team-card::before,
.testimonial-card::before,
.btn-sheen::before{
  background:
    radial-gradient(
      150px 104px at var(--mx, 50%) var(--my, 50%),
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0.08) 24%,
      rgba(255,255,255,0.035) 46%,
      rgba(255,255,255,0.00) 74%
    ),
    radial-gradient(
      34px 20px at calc(var(--mx, 50%) - 3%) calc(var(--my, 50%) - 6%),
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.00) 78%
    ) !important;
  filter: blur(6px) saturate(1.02) !important;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .16s ease, filter .22s ease !important;
}
.fact-pill::after,
.tilt-card::after,
.glass-card::after,
.team-row::after,
.team-card::after,
.testimonial-card::after{
  display: block !important;
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.34), rgba(255,255,255,0));
  opacity: .72;
  transform: none !important;
  transition: opacity .22s ease, left .22s ease, right .22s ease !important;
  pointer-events: none;
  z-index: 1;
}
.fact-pill:hover::before,
.tilt-card:hover::before,
.glass-card:hover::before,
.team-row:hover::before,
.team-card:hover::before,
.testimonial-card:hover::before,
.btn-sheen:hover::before,
.fact-pill.is-hovered::before,
.tilt-card.is-hovered::before,
.glass-card.is-hovered::before,
.team-row.is-hovered::before,
.team-card.is-hovered::before,
.testimonial-card.is-hovered::before{
  opacity: .78 !important;
}
.fact-pill:hover::after,
.tilt-card:hover::after,
.glass-card:hover::after,
.team-row:hover::after,
.team-card:hover::after,
.testimonial-card:hover::after,
.fact-pill.is-hovered::after,
.tilt-card.is-hovered::after,
.glass-card.is-hovered::after,
.team-row.is-hovered::after,
.team-card.is-hovered::after,
.testimonial-card.is-hovered::after{
  opacity: .98 !important;
  left: 8px;
  right: 8px;
}
body[data-page="equipe"] #cursor{
  width: 9px !important;
  height: 9px !important;
}
body[data-page="equipe"] #cursor.active{
  transform: scale(1.42) !important;
}


/* === v18 focused fix: full-screen hero visible BELOW the fixed navbar, plus subtler mouse-follow glow === */
@media (min-width: 901px){
  body[data-page="home"] .hero-viewport{
    position: relative !important;
    height: calc(100svh + var(--nav-offset)) !important;
    min-height: calc(100svh + var(--nav-offset)) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }
  @supports (height: 100dvh){
    body[data-page="home"] .hero-viewport{
      height: calc(100dvh + var(--nav-offset)) !important;
      min-height: calc(100dvh + var(--nav-offset)) !important;
    }
  }
  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: calc(var(--nav-offset) + clamp(24px, 4vh, 52px)) !important;
    padding-bottom: clamp(118px, 15vh, 180px) !important;
  }
  body[data-page="home"] .hero-banner{
    margin-top: 0 !important;
  }
  body[data-page="home"] .home-intro-section{
    margin-top: -104px !important;
    padding-top: calc(10rem + 104px) !important;
  }
  body[data-page="home"] .home-intro-section::before{
    height: 168px !important;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.10) 24%,
      rgba(255,255,255,0.42) 54%,
      rgba(255,255,255,0.86) 82%,
      rgba(255,255,255,1) 100%
    ) !important;
  }
  body[data-page="home"] .hero-bottom-fade{
    background: linear-gradient(
      to bottom,
      rgba(249,247,242,0) 0%,
      rgba(249,247,242,0) 52%,
      rgba(255,255,255,0.04) 68%,
      rgba(255,255,255,0.18) 80%,
      rgba(255,255,255,0.56) 91%,
      rgba(255,255,255,0.94) 100%
    ) !important;
  }
}

/* Keep the top-edge highlight; only soften the cursor-follow circle */
.fact-pill::before,
.tilt-card::before,
.glass-card::before,
.team-row::before,
.team-card::before,
.testimonial-card::before,
.btn-sheen::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0.00) 44%),
    radial-gradient(
      190px 118px at var(--mx, 50%) var(--my, 50%),
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.06) 20%,
      rgba(255,255,255,0.028) 36%,
      rgba(255,255,255,0.00) 68%
    ) !important;
  filter: blur(3.5px) !important;
  mix-blend-mode: screen;
  transition: opacity .18s ease !important;
}
.fact-pill:hover::before,
.tilt-card:hover::before,
.glass-card:hover::before,
.team-row:hover::before,
.team-card:hover::before,
.testimonial-card:hover::before,
.btn-sheen:hover::before,
.fact-pill.is-hovered::before,
.tilt-card.is-hovered::before,
.glass-card.is-hovered::before,
.team-row.is-hovered::before,
.team-card.is-hovered::before,
.testimonial-card.is-hovered::before{
  opacity: .66 !important;
}
.fact-pill::after,
.tilt-card::after,
.glass-card::after,
.team-row::after,
.team-card::after,
.testimonial-card::after{
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255,255,255,0.00) 36%,
    rgba(255,255,255,0.08) 48%,
    rgba(255,255,255,0.00) 60%,
    transparent 100%
  ) !important;
}
.fact-pill:hover::after,
.tilt-card:hover::after,
.glass-card:hover::after,
.team-row:hover::after,
.team-card:hover::after,
.testimonial-card:hover::after,
.fact-pill.is-hovered::after,
.tilt-card.is-hovered::after,
.glass-card.is-hovered::after,
.team-row.is-hovered::after,
.team-card.is-hovered::after,
.testimonial-card.is-hovered::after{
  opacity: .42 !important;
}

body[data-page="equipe"] #cursor{
  width: 7px !important;
  height: 7px !important;
  opacity: .68 !important;
}
body[data-page="equipe"] #cursor.active{
  transform: scale(1.3) !important;
}

/* === v19 micro-fix: smoother fade between home hero and next section === */
@media (min-width: 901px){
  body[data-page="home"] .hero-bottom-fade{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;
    height: clamp(190px, 24vh, 300px) !important;
    background: linear-gradient(
      to bottom,
      rgba(249,247,242,0.00) 0%,
      rgba(249,247,242,0.00) 40%,
      rgba(249,247,242,0.03) 56%,
      rgba(255,255,255,0.14) 72%,
      rgba(255,255,255,0.42) 86%,
      rgba(255,255,255,0.86) 96%,
      rgba(255,255,255,1.00) 100%
    ) !important;
  }

  body[data-page="home"] .home-intro-section{
    margin-top: -72px !important;
    padding-top: calc(10rem + 72px) !important;
  }

  body[data-page="home"] .home-intro-section::before{
    height: 148px !important;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.08) 28%,
      rgba(255,255,255,0.34) 58%,
      rgba(255,255,255,0.78) 86%,
      rgba(255,255,255,1.00) 100%
    ) !important;
  }
}

@media (max-width: 900px){
  body[data-page="home"] .hero-bottom-fade{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;
    height: clamp(130px, 22vh, 200px) !important;
    background: linear-gradient(
      to bottom,
      rgba(249,247,242,0.00) 0%,
      rgba(249,247,242,0.00) 38%,
      rgba(255,255,255,0.08) 66%,
      rgba(255,255,255,0.54) 88%,
      rgba(255,255,255,1.00) 100%
    ) !important;
  }

  body[data-page="home"] .home-intro-section{
    margin-top: -52px !important;
    padding-top: calc(8rem + 52px) !important;
  }

  body[data-page="home"] .home-intro-section::before{
    height: 110px !important;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.16) 42%,
      rgba(255,255,255,0.72) 82%,
      rgba(255,255,255,1.00) 100%
    ) !important;
  }
}


/* === v20: 3D testimonials carousel with arrows === */

#testimonials .testimonials-3d-shell{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
}
#testimonials .testimonials-nav{
  width:58px;
  height:58px;
  border-radius:999px;
  border:1px solid rgba(26,26,26,0.12);
  background:#fff;
  color:#1A1A1A;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 40px rgba(15,23,42,0.08);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
#testimonials .testimonials-nav:hover{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 24px 56px rgba(15,23,42,0.13);
  border-color:rgba(26,26,26,0.22);
}
#testimonials .testimonials-nav:focus-visible{
  outline:2px solid rgba(26,26,26,0.18);
  outline-offset:3px;
}
#testimonials .testimonials-stage{
  position:relative;
  overflow:hidden;
  padding:16px 0 28px;
  perspective:1800px;
}
#testimonials .testimonials-track-3d{
  display:flex;
  align-items:stretch;
  gap:28px;
  will-change:transform;
}
#testimonials .testimonial-card{
  flex:0 0 clamp(320px, 32vw, 430px);
  min-height:310px;
  padding:34px 34px 28px;
  border-radius:30px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,0.98) 0%, #ffffff 100%);
  border:1px solid rgba(26,26,26,0.08);
  box-shadow:0 26px 62px rgba(15,23,42,0.08);
  transform-style:preserve-3d;
  transition:transform .72s cubic-bezier(0.22, 1, 0.36, 1), opacity .48s ease, filter .48s ease, box-shadow .48s ease, border-color .48s ease;
  cursor:pointer;
  isolation:isolate;
}
#testimonials .testimonial-card::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:2px;
  background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 18%, rgba(255,255,255,0.18) 54%, rgba(255,255,255,0) 100%);
  opacity:.95;
  z-index:2;
}
#testimonials .testimonial-card::after{
  content:'';
  position:absolute;
  inset:-2px;
  background:radial-gradient(180px circle at var(--mx, 50%) var(--my, 10%), rgba(255,255,255,0.26), rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.0) 62%);
  opacity:0;
  transition:opacity .28s ease;
  pointer-events:none;
  z-index:1;
}
#testimonials .testimonial-card.is-active::after,
#testimonials .testimonial-card:hover::after{
  opacity:1;
}
#testimonials .testimonial-card > *{ position:relative; z-index:3; }
#testimonials .testimonial-card p{
  color:rgba(26,26,26,0.9);
  font-size:19px;
  line-height:1.78;
  font-weight:400;
  letter-spacing:-0.01em;
}
#testimonials .testimonial-card .meta{
  margin-top:26px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:rgba(26,26,26,0.52);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:0.24em;
  font-weight:700;
}
#testimonials .testimonial-card.is-active{
  opacity:1;
  filter:none;
  transform:translateY(0) rotateY(0deg) scale(1);
  box-shadow:0 34px 78px rgba(15,23,42,0.12);
  border-color:rgba(26,26,26,0.1);
  z-index:4;
}
#testimonials .testimonial-card.is-prev{
  opacity:.74;
  filter:saturate(.94);
  transform:translateY(18px) rotateY(16deg) scale(0.94);
  z-index:3;
}
#testimonials .testimonial-card.is-next{
  opacity:.74;
  filter:saturate(.94);
  transform:translateY(18px) rotateY(-16deg) scale(0.94);
  z-index:3;
}
#testimonials .testimonial-card.is-far{
  opacity:.28;
  filter:blur(.4px) saturate(.86);
  transform:translateY(26px) scale(0.88);
  z-index:1;
}
@media (max-width: 900px){
  #testimonials .testimonials-3d-shell{
    grid-template-columns:1fr auto auto;
    gap:12px;
    align-items:start;
  }
  #testimonials .testimonials-stage{
    grid-column:1 / -1;
    order:1;
    padding:10px 0 18px;
  }
  #testimonials .testimonials-nav{
    order:2;
    width:52px;
    height:52px;
    justify-self:end;
  }
  #testimonials .testimonial-card{
    flex-basis:calc(100vw - 72px);
    min-height:280px;
    padding:30px 26px 24px;
  }
  #testimonials .testimonial-card p{ font-size:17px; line-height:1.72; }
  #testimonials .testimonial-card.is-prev{ transform:translateY(12px) rotateY(9deg) scale(0.95); }
  #testimonials .testimonial-card.is-next{ transform:translateY(12px) rotateY(-9deg) scale(0.95); }
  #testimonials .testimonial-card.is-far{ opacity:.14; transform:translateY(18px) scale(0.9); }
}


/* === v21: testimonials redesign, closer to restrained reference layout === */
#testimonials{
  position:relative;
  background:linear-gradient(180deg, #fcfcfb 0%, #ffffff 100%);
}
#testimonials .testimonials-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px, 420px);
  align-items:end;
  gap:34px;
  margin-bottom:24px;
}
#testimonials .testimonials-kicker{
  display:block;
  margin-bottom:18px;
  font-size:10px;
  letter-spacing:.38em;
  text-transform:uppercase;
  color:rgba(26,26,26,.42);
}
#testimonials .testimonials-title{
  font-size:clamp(3rem, 6vw, 5.5rem);
  line-height:.98;
  letter-spacing:-.04em;
  color:#121212;
}
#testimonials .testimonials-title .italic{
  font-style:italic;
  color:rgba(26,26,26,.64);
}
#testimonials .testimonials-desc{
  color:rgba(26,26,26,.56);
  font-size:18px;
  line-height:1.72;
  font-weight:300;
  max-width:34rem;
  justify-self:end;
}
#testimonials .testimonials-3d-shell{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 64px;
  align-items:center;
  gap:18px;
}
#testimonials .testimonials-nav{
  width:56px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(26,26,26,.12);
  background:linear-gradient(180deg, #fff 0%, #f8f8f6 100%);
  color:#161616;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
#testimonials .testimonials-nav:hover{
  transform:translateY(-2px);
  border-color:rgba(26,26,26,.22);
  box-shadow:0 18px 36px rgba(15,23,42,.09);
}
#testimonials .testimonials-stage{
  position:relative;
  overflow:hidden;
  padding:18px 0 18px;
  perspective:1800px;
  min-height:330px;
}
#testimonials .testimonials-track-3d{
  display:flex;
  align-items:stretch;
  gap:22px;
  will-change:transform;
}
#testimonials .testimonial-card{
  flex:0 0 clamp(360px, 34vw, 470px);
  min-height:292px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:28px 30px 24px;
  border-radius:28px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:linear-gradient(180deg, rgba(255,255,255,.995) 0%, rgba(249,248,244,.98) 100%);
  border:1px solid rgba(16,24,40,.08);
  box-shadow:0 18px 42px rgba(15,23,42,.055);
  transform-style:preserve-3d;
  transition:transform .65s cubic-bezier(.22,1,.36,1), opacity .42s ease, filter .42s ease, box-shadow .42s ease, border-color .42s ease;
}
#testimonials .testimonial-card::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 18%, rgba(255,255,255,.15) 52%, rgba(255,255,255,0) 100%);
  opacity:.98;
  z-index:2;
}
#testimonials .testimonial-card::after{
  content:'';
  position:absolute;
  inset:-1px;
  background:radial-gradient(220px circle at var(--mx, 50%) var(--my, 24%), rgba(255,255,255,.22), rgba(255,255,255,.08) 22%, rgba(255,255,255,0) 62%);
  opacity:0;
  transition:opacity .22s ease;
  pointer-events:none;
  z-index:1;
}
#testimonials .testimonial-card:hover::after,
#testimonials .testimonial-card.is-active::after{ opacity:1; }
#testimonials .testimonial-card > *{ position:relative; z-index:3; }
#testimonials .testimonial-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.28em;
  color:rgba(26,26,26,.46);
  font-weight:700;
}
#testimonials .testimonial-eyebrow::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(26,26,26,.18);
  box-shadow:0 0 0 4px rgba(26,26,26,.05);
}
#testimonials .testimonial-card p{
  margin:0;
  color:rgba(16,16,16,.94);
  font-size:clamp(18px, 1.45vw, 22px);
  line-height:1.72;
  letter-spacing:-.017em;
  max-width:24ch;
}
#testimonials .testimonial-card .meta{
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(26,26,26,.07);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  color:rgba(26,26,26,.52);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.24em;
  font-weight:700;
}
#testimonials .testimonial-card .meta span:last-child{
  color:rgba(26,26,26,.78);
}
#testimonials .testimonial-card.is-active{
  opacity:1;
  filter:none;
  transform:translateY(0) rotateY(0deg) scale(1);
  border-color:rgba(26,26,26,.1);
  box-shadow:0 28px 56px rgba(15,23,42,.10);
  z-index:4;
}
#testimonials .testimonial-card.is-prev{
  opacity:.64;
  filter:saturate(.92);
  transform:translateY(14px) rotateY(12deg) scale(.955);
  z-index:3;
}
#testimonials .testimonial-card.is-next{
  opacity:.64;
  filter:saturate(.92);
  transform:translateY(14px) rotateY(-12deg) scale(.955);
  z-index:3;
}
#testimonials .testimonial-card.is-far{
  opacity:.14;
  filter:blur(.35px) saturate(.84);
  transform:translateY(20px) scale(.9);
  z-index:1;
}
@media (max-width: 900px){
  #testimonials .testimonials-head{
    grid-template-columns:1fr;
    gap:16px;
    margin-bottom:18px;
  }
  #testimonials .testimonials-desc{
    justify-self:start;
    max-width:unset;
    font-size:16px;
  }
  #testimonials .testimonials-3d-shell{
    grid-template-columns:1fr auto auto;
    gap:10px;
    align-items:start;
  }
  #testimonials .testimonials-stage{
    grid-column:1 / -1;
    order:1;
    min-height:280px;
    padding:12px 0 12px;
  }
  #testimonials .testimonials-nav{ order:2; width:50px; height:50px; justify-self:end; }
  #testimonials .testimonial-card{
    flex-basis:calc(100vw - 86px);
    min-height:255px;
    padding:24px 22px 20px;
  }
  #testimonials .testimonial-card p{ max-width:none; font-size:17px; line-height:1.65; }
  #testimonials .testimonial-card.is-prev{ transform:translateY(10px) rotateY(8deg) scale(.96); }
  #testimonials .testimonial-card.is-next{ transform:translateY(10px) rotateY(-8deg) scale(.96); }
  #testimonials .testimonial-card.is-far{ opacity:.10; transform:translateY(14px) scale(.92); }
}


/* === v22: testimonials rebuilt from Fabrice reference + stronger 3D team hover === */
#testimonials.testimonial-fabrice-ref{
  position: relative;
  background: linear-gradient(180deg, #fcfcfb 0%, #ffffff 100%);
}
#testimonials .testimonials-ref-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  align-items:end;
  gap:34px;
  margin-bottom:54px;
}
#testimonials .testimonials-ref-kicker{
  display:block;
  margin-bottom:16px;
  font-size:10px;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:rgba(26,26,26,.46);
}
#testimonials .testimonials-ref-title{
  font-size:clamp(3.3rem, 6vw, 5.8rem);
  line-height:.98;
  letter-spacing:-.05em;
  color:#141414;
}
#testimonials .testimonials-ref-title .italic{
  color:rgba(26,26,26,.52);
}
#testimonials .testimonials-ref-desc{
  margin:0;
  color:rgba(26,26,26,.58);
  font-size:18px;
  line-height:1.72;
  font-weight:300;
  max-width:34rem;
  justify-self:end;
}
#testimonials .testimonial-ref-carousel{
  position:relative;
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 64px;
  align-items:center;
  gap:18px;
  min-height:520px;
}
#testimonials .testimonial-nav-ref{
  width:56px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(16,19,22,.10);
  background:linear-gradient(180deg, #fff 0%, #f7f5f1 100%);
  color:#171717;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 16px 34px rgba(15,23,42,.07);
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
#testimonials .testimonial-nav-ref:hover{
  transform:translateY(-2px) scale(1.02);
  border-color:rgba(16,19,22,.18);
  box-shadow:0 22px 44px rgba(15,23,42,.11);
}
#testimonials .testimonial-nav-ref:focus-visible{
  outline:2px solid rgba(16,19,22,.12);
  outline-offset:3px;
}
#testimonials .testimonial-stage-ref{
  position:relative;
  min-height:480px;
  perspective:1800px;
}
#testimonials .testimonial-stage-stack{
  position:relative;
  width:min(100%, 840px);
  height:480px;
  margin:0 auto;
}
#testimonials .testimonial-card-ref{
  position:absolute;
  top:50%;
  left:50%;
  width:min(100%, 720px);
  opacity:0;
  filter:blur(1px);
  transform-style:preserve-3d;
  transition:transform .9s cubic-bezier(.16,1,.3,1), opacity .5s ease, filter .5s ease;
  cursor:pointer;
}
#testimonials .testimonial-card-inner{
  position:relative;
  min-height:360px;
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:42px 40px 34px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.995) 0%, rgba(249,248,244,.985) 100%);
  border:1px solid rgba(16,19,22,.08);
  box-shadow:0 24px 60px rgba(15,23,42,.09);
  overflow:hidden;
  transform-style:preserve-3d;
  transition:transform .28s ease, box-shadow .42s ease, border-color .42s ease;
}
#testimonials .testimonial-card-inner::before{
  content:'';
  position:absolute;
  inset:0 0 auto 0;
  height:2px;
  background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 18%, rgba(255,255,255,.18) 52%, rgba(255,255,255,0) 100%);
  opacity:.95;
}
#testimonials .testimonial-card-inner::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(210px 120px at var(--mx, 50%) var(--my, 18%), rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 22%, rgba(255,255,255,0) 64%);
  opacity:0;
  transition:opacity .22s ease;
  pointer-events:none;
}
#testimonials .testimonial-card-ref.is-active .testimonial-card-inner::after,
#testimonials .testimonial-card-ref:hover .testimonial-card-inner::after{ opacity:1; }
#testimonials .testimonial-card-ref.is-active .testimonial-card-inner{
  box-shadow:0 34px 78px rgba(15,23,42,.12);
  border-color:rgba(16,19,22,.10);
}
#testimonials .testimonial-card-ref > *{ position:relative; z-index:2; }
#testimonials .testimonial-mark{
  position:absolute;
  top:28px;
  right:34px;
  font-family:'Playfair Display', serif;
  font-size:70px;
  line-height:1;
  color:rgba(16,19,22,.10);
  z-index:1;
}
#testimonials .testimonial-kicker-ref{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(16,19,22,.52);
}
#testimonials .testimonial-kicker-ref::before{
  content:'';
  width:26px;
  height:1px;
  background:currentColor;
  opacity:.55;
}
#testimonials .testimonial-card-ref p{
  margin:12px 0 0;
  max-width:30ch;
  color:rgba(16,19,22,.94);
  font-size:clamp(1.72rem, 3vw, 2.5rem);
  line-height:1.08;
  letter-spacing:-.04em;
  font-family:'Playfair Display', serif;
}
#testimonials .testimonial-meta{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding-top:22px;
  border-top:1px solid rgba(16,19,22,.08);
}
#testimonials .testimonial-meta strong,
#testimonials .testimonial-meta span{
  display:block;
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
}
#testimonials .testimonial-meta strong{ color:#161616; }
#testimonials .testimonial-meta span{ color:rgba(16,19,22,.52); margin-top:6px; }
#testimonials .testimonial-dots-ref{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}
#testimonials .testimonial-dot{
  width:10px;
  height:10px;
  border:none;
  border-radius:999px;
  background:rgba(16,19,22,.14);
  transition:transform .24s ease, background .24s ease;
}
#testimonials .testimonial-dot.is-active{
  background:#1A1A1A;
  transform:scale(1.18);
}
@media (max-width: 980px){
  #testimonials .testimonials-ref-head{ grid-template-columns:1fr; gap:16px; margin-bottom:32px; }
  #testimonials .testimonials-ref-desc{ justify-self:start; font-size:16px; max-width:none; }
  #testimonials .testimonial-ref-carousel{ grid-template-columns:1fr auto auto; gap:10px; min-height:auto; }
  #testimonials .testimonial-stage-ref{ grid-column:1 / -1; order:1; min-height:360px; }
  #testimonials .testimonial-stage-stack{ width:100%; height:360px; }
  #testimonials .testimonial-nav-ref{ order:2; justify-self:end; width:48px; height:48px; }
  #testimonials .testimonial-card-ref{ width:calc(100% - 34px); }
  #testimonials .testimonial-card-inner{ min-height:292px; padding:30px 24px 24px; border-radius:28px; }
  #testimonials .testimonial-card-ref p{ max-width:none; font-size:clamp(1.5rem, 6vw, 2rem); line-height:1.12; }
  #testimonials .testimonial-mark{ top:20px; right:20px; font-size:52px; }
}

/* Team cards: stronger 3D hover on équipe */
body[data-page="equipe"] .team-row{
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:30px;
  padding:30px 32px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.022) 100%);
  box-shadow:0 18px 38px rgba(0,0,0,.16);
  transform-style:preserve-3d;
  transition:box-shadow .34s ease, border-color .34s ease, background .34s ease;
}
body[data-page="equipe"] .team-row + .team-row{ margin-top:16px; }
body[data-page="equipe"] .team-row:hover,
body[data-page="equipe"] .team-row.is-hovered{
  box-shadow:0 30px 68px rgba(0,0,0,.24);
  border-color:rgba(255,255,255,.14) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
}
body[data-page="equipe"] .team-row-shell,
body[data-page="equipe"] .team-row-main,
body[data-page="equipe"] .team-row-identity,
body[data-page="equipe"] .team-row-copy,
body[data-page="equipe"] .team-row-side,
body[data-page="equipe"] .team-photo-3d{
  transform-style:preserve-3d;
}
body[data-page="equipe"] .team-row-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
}
body[data-page="equipe"] .team-row-identity{
  display:flex;
  align-items:flex-start;
  gap:26px;
}
body[data-page="equipe"] .team-row-copy,
body[data-page="equipe"] .team-row-side{
  transition:transform .34s ease;
}
body[data-page="equipe"] .team-row:hover .team-row-copy,
body[data-page="equipe"] .team-row.is-hovered .team-row-copy{
  transform:translateZ(28px);
}
body[data-page="equipe"] .team-row:hover .team-row-side,
body[data-page="equipe"] .team-row.is-hovered .team-row-side{
  transform:translateZ(18px);
}
body[data-page="equipe"] .member-photo-link{
  width:auto;
  height:auto;
  overflow:visible;
  border:none;
  background:transparent;
}
body[data-page="equipe"] .member-photo-card--compact{
  width:108px;
  height:138px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 18px 34px rgba(0,0,0,.22);
  transition:transform .34s ease, box-shadow .34s ease, border-color .34s ease;
}
body[data-page="equipe"] .team-row:hover .member-photo-card--compact,
body[data-page="equipe"] .team-row.is-hovered .member-photo-card--compact{
  transform:translateZ(40px) scale(1.025);
  box-shadow:0 28px 48px rgba(0,0,0,.28);
  border-color:rgba(255,255,255,.18);
}
body[data-page="equipe"] .team-row:hover .member-photo-image,
body[data-page="equipe"] .team-row.is-hovered .member-photo-image{
  transform:scale(1.055);
}
@media (max-width: 860px){
  body[data-page="equipe"] .team-row{ padding:24px 22px !important; border-radius:24px; }
  body[data-page="equipe"] .team-row-main,
  body[data-page="equipe"] .team-row-identity{ flex-direction:column; gap:18px; }
  body[data-page="equipe"] .member-photo-card--compact{ width:92px; height:120px; }
}


/* === v23 team hover refinement === */
body[data-page="home"] .team-card,
body[data-page="equipe"] .team-row{
  transform-style: preserve-3d;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, box-shadow;
}

body[data-page="home"] .team-card::before,
body[data-page="equipe"] .team-row::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.07) 16%, rgba(255,255,255,0.00) 40%),
    radial-gradient(128px 82px at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.07) 22%, rgba(255,255,255,0.03) 40%, rgba(255,255,255,0.00) 74%) !important;
  filter: blur(.2px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .18s ease;
}

body[data-page="home"] .team-card::after,
body[data-page="equipe"] .team-row::after{
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.08) 14%, rgba(255,255,255,0.00) 38%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 0 1px rgba(255,255,255,0.04) !important;
}

body[data-page="home"] .team-card:hover::before,
body[data-page="home"] .team-card.is-hovered::before,
body[data-page="equipe"] .team-row:hover::before,
body[data-page="equipe"] .team-row.is-hovered::before{
  opacity: .92;
}

body[data-page="home"] .team-card .member-photo-card,
body[data-page="equipe"] .team-row .member-photo-card{
  transform-style: preserve-3d;
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

body[data-page="home"] .team-card .member-photo-image,
body[data-page="equipe"] .team-row .member-photo-image{
  transition: transform .42s cubic-bezier(.19,1,.22,1), filter .30s ease;
  will-change: transform;
}

body[data-page="home"] .team-card:hover .member-photo-card,
body[data-page="home"] .team-card.is-hovered .member-photo-card,
body[data-page="equipe"] .team-row:hover .member-photo-card,
body[data-page="equipe"] .team-row.is-hovered .member-photo-card{
  box-shadow: 0 28px 54px rgba(0,0,0,.24);
  border-color: rgba(255,255,255,.16);
}

body[data-page="home"] .team-card:hover .member-photo-image,
body[data-page="home"] .team-card.is-hovered .member-photo-image,
body[data-page="equipe"] .team-row:hover .member-photo-image,
body[data-page="equipe"] .team-row.is-hovered .member-photo-image{
  transform: scale(1.045);
}

body[data-page="home"] .team-card h3,
body[data-page="home"] .team-card p,
body[data-page="home"] .team-card .mt-2,
body[data-page="home"] .team-card .mt-6,
body[data-page="equipe"] .team-row h3,
body[data-page="equipe"] .team-row p,
body[data-page="equipe"] .team-row .team-row-copy,
body[data-page="equipe"] .team-row .team-row-side,
body[data-page="equipe"] .team-row .mt-6{
  will-change: transform;
}

/* === v24 team page portrait normalization === */
body[data-page="equipe"] .member-photo-card--compact{
  width: 92px;
  height: 120px;
}
body[data-page="equipe"] .member-photo-card--compact,
body[data-page="equipe"] .member-photo-card--compact .member-photo-image{
  transform: none !important;
}
body[data-page="equipe"] .team-row:hover .member-photo-card--compact,
body[data-page="equipe"] .team-row.is-hovered .member-photo-card--compact{
  transform: translateZ(18px) !important;
}
body[data-page="equipe"] .team-row:hover .member-photo-image,
body[data-page="equipe"] .team-row.is-hovered .member-photo-image,
body[data-page="equipe"] .member-photo-image--compact,
body[data-page="equipe"] .member-photo-card--compact .member-photo-image{
  transform: none !important;
  min-height: 100% !important;
  object-position: center top;
}


/* --- v27 responsive nav hardening + intake fields --- */
@media (max-width: 980px){
  .nav-shell{ grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
  .nav-center{ display: none !important; }
  #nav-actions{ gap: 10px; }
  #nav-actions .magnetic,
  #nav-actions .lang-switcher{ display: none !important; }
  #mobile-menu-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(26,26,26,0.12);
    background: rgba(255,255,255,0.72);
  }
  .theme-dark #mobile-menu-toggle{
    color: #fff;
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
  }
}

@media (max-width: 480px){
  .nav-brand-wordmark{ font-size: 1.25rem; }
  nav#navbar{ padding-left: 1rem; padding-right: 1rem; }
}

.glass-form select,
.glass-form input[type="date"],
.glass-form textarea,
.glass-form input[type="text"],
.glass-form input[type="email"],
.glass-form input[type="tel"]{
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.glass-form select{
  background-image: linear-gradient(45deg, transparent 50%, rgba(26,26,26,0.65) 50%), linear-gradient(135deg, rgba(26,26,26,0.65) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.glass-form option{ color: #1A1A1A; }


/* --- v30 adaptive nav anti-overlap --- */
body.nav-collapsed .nav-shell{
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
}
body.nav-collapsed .nav-center{
  display: none !important;
}
body.nav-collapsed #nav-actions{
  gap: 10px;
}
body.nav-collapsed #nav-actions .magnetic,
body.nav-collapsed #nav-actions .lang-switcher{
  display: none !important;
}
body.nav-collapsed #mobile-menu-toggle{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(26,26,26,0.12);
  background: rgba(255,255,255,0.72);
}
body.nav-collapsed.theme-dark #mobile-menu-toggle{
  color: #fff;
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}
body.nav-collapsed .nav-brand-wordmark{
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
}
@media (max-width: 1360px){
  #navbar{ padding-left: 1.1rem; padding-right: 1.1rem; }
  .nav-center{ gap: clamp(14px, 1.8vw, 26px); }
  #nav-actions{ gap: 12px; }
  .lang-btn{ min-width: 36px; padding: 0 10px; letter-spacing: 0.18em; }
  #nav-actions a.magnetic{ padding-left: 1.15rem; padding-right: 1.15rem; }
}


/* --- v30.1 desktop logo/nav separation fix --- */
@media (min-width: 1101px){
  .nav-brand-wordmark{ font-size: clamp(2rem, 1.55vw, 2.35rem); }
  .nav-center .nav-link{ font-size: 0.60rem; letter-spacing: 0.22em; }
}

@media (max-width: 1360px){
  .nav-shell{ grid-template-columns: minmax(240px, max-content) minmax(0, 1fr) auto; }
  .nav-shell > a.group{ min-width: 240px; }
  .nav-center .nav-link{ font-size: 0.58rem; letter-spacing: 0.20em; }
}


/* --- v30.2 bulletproof desktop nav --- */
.nav-center{
  overflow: visible;
}
body.nav-hide-ctas #nav-actions .magnetic{
  display: none !important;
}
body.nav-hide-lang #nav-actions .lang-switcher{
  display: none !important;
}
body.nav-hide-ctas #nav-actions,
body.nav-hide-lang #nav-actions{
  gap: 10px;
}
body.nav-condense-links .nav-shell{
  column-gap: clamp(18px, 1.6vw, 28px);
}
body.nav-condense-links .nav-brand-wordmark{
  font-size: clamp(1.75rem, 1.45vw, 2.05rem);
}
body.nav-condense-links .nav-center{
  gap: clamp(8px, 0.8vw, 12px);
}
body.nav-condense-links .nav-center .nav-link{
  font-size: 0.56rem;
  letter-spacing: 0.16em;
}
body.nav-condense-links .lang-btn{
  min-width: 34px;
  padding: 0 8px;
  letter-spacing: 0.12em;
}
body.nav-condense-links #nav-actions{
  gap: 8px;
}
body.nav-condense-links #nav-actions a.magnetic{
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}
@media (min-width: 981px){
  #mobile-menu-toggle{
    display: none !important;
  }
}


/* FINAL MOBILE HERO SAFETY PATCH */
@media (max-width: 640px){
  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    padding-top: calc(var(--nav-offset) + 18px) !important;
    padding-bottom: 96px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body[data-page="home"] .hero-banner{
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="home"] .hero-banner-inner{
    display: grid !important;
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 12px !important;
    text-align: center !important;
    justify-items: center !important;
    align-items: center !important;
    padding: 18px 16px !important;
  }

  body[data-page="home"] .hero-banner-logo,
  body[data-page="home"] .hero-banner-text{
    width: 100% !important;
    max-width: 100% !important;
    justify-self: center !important;
  }

  body[data-page="home"] .hero-banner-logo-img{
    display: block !important;
    width: min(220px, 62vw) !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  body[data-page="home"] .hero-banner-spacer{
    display: none !important;
  }

  body[data-page="home"] .hero-banner-text{
    text-align: center !important;
  }

  body[data-page="home"] .hero-banner-title{
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(1.95rem, 10vw, 2.75rem) !important;
    line-height: 0.94 !important;
    letter-spacing: 0.035em !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    margin: 0 !important;
  }

  body[data-page="home"] .hero-banner-sub{
    width: 100% !important;
    max-width: 26ch !important;
    margin: 10px auto 0 !important;
    font-size: clamp(0.95rem, 4vw, 1.06rem) !important;
    line-height: 1.4 !important;
  }

  body[data-page="home"] .hero-bottom-fade{
    background: linear-gradient(
      to bottom,
      rgba(249,247,242,0) 0%,
      rgba(249,247,242,0.02) 54%,
      rgba(255,255,255,0.18) 72%,
      rgba(255,255,255,0.62) 88%,
      rgba(255,255,255,0.96) 100%
    ) !important;
  }

  body[data-page="home"] .home-intro-section{
    margin-top: -74px !important;
    padding-top: calc(6.5rem + 74px) !important;
  }

  body[data-page="home"] .home-intro-section::before{
    height: 118px !important;
  }
}

/* v41: aggressive hero dezoom + much lower banner so the horse head is clearly visible */
body[data-page="home"] .hero-banner{
  margin-top: clamp(150px, 18vh, 260px) !important;
}

@media (max-width: 900px){
  body[data-page="home"] .hero-banner{
    margin-top: clamp(70px, 10vh, 120px) !important;
  }
}


/* v42: desktop force-fix so the horse head is actually visible */
@media (min-width: 901px){
  body[data-page="home"] .hero-viewport{
    min-height: max(760px, 100svh) !important;
  }

  body[data-page="home"] .hero-overlay-content{
    position: relative !important;
    height: 100% !important;
    min-height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body[data-page="home"] #hero-img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 22% 46% !important;
    transform: scale(1) !important;
  }

  body[data-page="home"] .hero-banner{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(var(--nav-offset) + 32px) !important;
    margin-top: 0 !important;
    z-index: 20 !important;
  }

  body[data-page="home"] .hero-cta-row{
    position: absolute !important;
    left: 50% !important;
    bottom: 128px !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 48px) !important;
    margin-top: 0 !important;
    z-index: 20 !important;
  }
}

@media (max-width: 900px){
  body[data-page="home"] #hero-img{
    object-position: 26% 44% !important;
    transform: scale(1) !important;
  }
}


/* v44: mobile home hero tightened so the horse head remains visible and the banner feels lighter */
@media (max-width: 900px){
  body[data-page="home"] .hero-viewport{
    min-height: 92svh !important;
  }

  body[data-page="home"] .hero-overlay-content{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body[data-page="home"] .hero-banner{
    margin-top: clamp(26px, 4vh, 44px) !important;
  }

  body[data-page="home"] .hero-banner-inner{
    padding: 14px 14px 16px !important;
    row-gap: 10px !important;
  }

  body[data-page="home"] .hero-banner-wordmark-main{
    font-size: 1.45rem !important;
  }

  body[data-page="home"] .hero-banner-wordmark-sub{
    font-size: 1.2rem !important;
  }

  body[data-page="home"] .hero-banner-title{
    font-size: clamp(1.72rem, 7.6vw, 2.45rem) !important;
  }

  body[data-page="home"] .hero-banner-sub{
    margin-top: 6px !important;
    font-size: clamp(0.95rem, 4.1vw, 1.08rem) !important;
  }

  body[data-page="home"] #hero-img{
    object-position: 54% 30% !important;
    transform: scale(0.84) !important;
  }

  body[data-page="home"] .hero-cta-row{
    width: calc(100% - 20px) !important;
    bottom: 102px !important;
  }
}

@media (max-width: 640px){
  body[data-page="home"] .hero-banner{
    width: calc(100vw - 2px) !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
  }

  body[data-page="home"] .hero-banner-inner{
    padding: 12px 12px 14px !important;
  }

  body[data-page="home"] #hero-img{
    object-position: 56% 28% !important;
    transform: scale(0.81) !important;
  }
}


/* v47.1 mobile hero real fix: remove side white bands, stop over-cropping, keep desktop untouched */
@media (max-width: 900px){
  body[data-page="home"] #hero-image-wrapper{
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  body[data-page="home"] #hero-img{
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 18% 32% !important;
    transform: scale(1.02) !important;
  }

  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    padding-top: calc(var(--nav-offset) + 16px) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body[data-page="home"] .hero-banner{
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin: 18px auto 0 !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.42) !important;
    -webkit-backdrop-filter: blur(10px) saturate(1.05) !important;
    backdrop-filter: blur(10px) saturate(1.05) !important;
  }

  body[data-page="home"] .hero-banner::before{
    opacity: 0.68 !important;
  }

  body[data-page="home"] .hero-banner-inner{
    padding: 14px 14px 16px !important;
  }

  body[data-page="home"] .hero-cta-row{
    width: calc(100% - 24px) !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 16px !important;
  }
}

@media (max-width: 640px){
  body[data-page="home"] #hero-img{
    object-position: 17% 30% !important;
    transform: scale(1.03) !important;
  }

  body[data-page="home"] .hero-banner{
    width: calc(100% - 16px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body[data-page="home"] .hero-banner-inner{
    padding: 10px 12px 12px !important;
    row-gap: 8px !important;
  }

  body[data-page="home"] .hero-banner-logo-img{
    width: min(190px, 54vw) !important;
  }

  body[data-page="home"] .hero-banner-title{
    font-size: clamp(1.52rem, 7.1vw, 2.05rem) !important;
    line-height: 0.95 !important;
  }

  body[data-page="home"] .hero-banner-sub{
    max-width: 22ch !important;
    margin-top: 6px !important;
    font-size: clamp(0.9rem, 3.8vw, 1rem) !important;
  }

  body[data-page="home"] .hero-cta-row{
    width: calc(100% - 16px) !important;
  }
}


/* v49 mobile hero refinement: full-bleed banner, slightly dezoomed background, better horse visibility under banner */
@media (max-width: 900px){
  body[data-page="home"] .hero-viewport{
    min-height: 84svh !important;
  }

  body[data-page="home"] .hero-home > .relative.z-10.w-full{
    width: 100% !important;
    padding-top: calc(var(--nav-offset) + 12px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body[data-page="home"] #hero-image-wrapper{
    inset: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  body[data-page="home"] #hero-img{
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 20% 40% !important;
    transform: scale(1.0) !important;
  }

  body[data-page="home"] .hero-banner{
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-top: 18px !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.40) !important;
    -webkit-backdrop-filter: blur(10px) saturate(1.04) !important;
    backdrop-filter: blur(10px) saturate(1.04) !important;
  }

  body[data-page="home"] .hero-banner::before{
    opacity: 0.62 !important;
  }

  body[data-page="home"] .hero-banner-inner{
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px 14px !important;
    row-gap: 8px !important;
  }

  body[data-page="home"] .hero-banner-title{
    font-size: clamp(1.48rem, 7vw, 2rem) !important;
    line-height: 0.95 !important;
  }

  body[data-page="home"] .hero-banner-sub{
    max-width: 24ch !important;
    font-size: clamp(0.9rem, 3.7vw, 1rem) !important;
  }

  body[data-page="home"] .hero-cta-row{
    width: calc(100% - 16px) !important;
    max-width: none !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-top: 16px !important;
  }
}

@media (max-width: 640px){
  body[data-page="home"] .hero-viewport{
    min-height: 82svh !important;
  }

  body[data-page="home"] #hero-img{
    object-position: 18% 42% !important;
    transform: scale(1) !important;
  }

  body[data-page="home"] .hero-banner{
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }

  body[data-page="home"] .hero-banner-logo-img{
    width: min(186px, 53vw) !important;
  }

  body[data-page="home"] .hero-banner-inner{
    padding: 10px 12px 12px !important;
  }
}
