/* ============================================================
   ABÉYA NOVA — Stylesheet v2.0
   Identité unique : editorial, premium, family-office
   Juin 2026
   ============================================================ */

/* ============================================================
   1. RESET & BASE
   ============================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Trebuchet MS",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--color-darkest);
  color: var(--color-text-light);
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */

:root {
  --color-darkest: #0d0f10;
  --color-dark: #141618;
  --color-light: #f5f2ed;
  --color-gold: #c9a84c;
  --color-gold-hover: #d4a96a;
  --color-gold-subtle: rgba(201, 168, 76, 0.1);
  --color-gold-border: rgba(201, 168, 76, 0.22);
  --color-card-dark: #1e2022;
  --color-card-border: rgba(201, 168, 76, 0.12);
  --color-text-dark: #191919;
  --color-text-light: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.45);
  --color-text-muted-dark: rgba(25, 25, 25, 0.5);
  --color-border-dark: rgba(255, 255, 255, 0.05);
  --color-border-light: rgba(0, 0, 0, 0.07);

  --font-serif: "EB Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Trebuchet MS", system-ui, -apple-system, sans-serif;

  --navbar-height: 80px;

  --container-max: 1280px;
  --section-pad-v: 8rem;
}

/* ============================================================
   3. UTILITAIRES
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 4rem;
}

.gold-accent {
  color: var(--color-gold);
  font-style: italic;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* Icônes SVG sprite */
.section-icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ============================================================
   4. TYPOGRAPHIE — editorial
   ============================================================ */

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.section-title.on-light {
  color: var(--color-text-dark);
}

.section-title.on-dark {
  color: var(--color-text-light);
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 640px;
  opacity: 0.72;
}

.section-subtitle.on-light {
  color: var(--color-text-dark);
}

.section-subtitle.on-dark {
  color: var(--color-text-light);
}

/* ============================================================
   5. ANIMATIONS — REVEAL ON SCROLL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}
.delay-500 {
  transition-delay: 0.5s;
}

/* ============================================================
   6. HEADER — nouveau design
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

.site-header.scrolled .header-inner {
  padding: 0.9rem 4rem;
  background: rgba(13, 15, 16, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(201, 168, 76, 0.12);
}

/* Logo zone */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-container {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  color: var(--color-gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header-nav a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: rgba(255, 255, 255, 0.95);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.78rem !important;
  color: var(--color-gold) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: rgba(201, 168, 76, 0.08) !important;
  border-color: rgba(201, 168, 76, 0.7) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Burger */
.header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.header-burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.header-burger.active span:nth-child(2) {
  opacity: 0;
}
.header-burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   7. BOUTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-gold {
  background: var(--color-gold);
  color: #0d0f10;
  border: 1px solid var(--color-gold);
}

.btn-gold::before {
  background: var(--color-gold-hover);
}

.btn-gold:hover::before {
  opacity: 1;
}

.btn-gold:hover {
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: #0d0f10;
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-dark);
  border: 1px solid rgba(25, 25, 25, 0.2);
}

.btn-outline-dark:hover {
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--color-text-dark);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.btn span {
  position: relative;
  z-index: 1;
}

/* ============================================================
   8. HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-darkest);
  background-image:
    radial-gradient(
      ellipse 80% 60% at 20% 50%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 70% at 80% 80%,
      rgba(201, 168, 76, 0.025) 0%,
      transparent 55%
    ),
    url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23ffffff' fill-opacity='0.015'/%3E%3C/svg%3E");
}

.hero-hexagons {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 48vw;
  max-width: 680px;
  opacity: 0.18;
  pointer-events: none;
}

.hero-hexagons svg {
  width: 100%;
  height: auto;
}

.hex-shape {
  fill: none;
  stroke: rgba(201, 168, 76, 0.6);
  stroke-width: 1;
}

.hex-shape.gold-stroke {
  stroke: var(--color-gold);
  stroke-width: 1.2;
}

.hex-1 {
  animation: float1 9s ease-in-out infinite;
}
.hex-2 {
  animation: float2 11s ease-in-out infinite;
}
.hex-3 {
  animation: float3 7s ease-in-out infinite;
}
.hex-4 {
  animation: float1 13s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}
@keyframes float3 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 2rem;
  padding-top: var(--navbar-height);
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.1;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.hero-title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

.word-abéya {
  animation: wordReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.word-space {
  opacity: 1;
  transform: none;
  animation: none;
}

.word-nova {
  animation: wordReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.85s forwards;
  color: var(--color-text-light);
}

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

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

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 1.1s forwards;
}

.separator {
  margin: 0 1rem;
  color: var(--color-gold);
  opacity: 0.5;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  opacity: 0;
  animation: fadeSlideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 1.35s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  opacity: 0;
  animation: fadeSlideUp 0.9s ease 2s forwards;
}

.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

/* Transition diagonale bas du hero */
.hero-band {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--color-light);
  clip-path: polygon(0 100%, 100% 20%, 100% 100%);
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   9. SECTION QUI SOMMES-NOUS — fond ivoire
   ============================================================ */

.section-about {
  background-color: var(--color-light);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.025'%3E%3Cpath d='M30 0 L60 17.3 L60 52 L30 69.3 L0 52 L0 17.3 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  padding: var(--section-pad-v) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: start;
}

.about-left .section-label {
  /* on light */
}

.about-left .section-label {
  color: var(--color-gold);
}

.about-body {
  margin-top: 2rem;
}

.about-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(25, 25, 25, 0.75);
  margin-bottom: 1.4rem;
}

.about-body strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

/* Stats cards */
.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 3rem;
}

.stat-card {
  background: #ffffff;
  border-left: 2px solid var(--color-gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding: 2rem 1.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.2rem;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Séparateur diagonal haut */
.section-about::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
}

/* ============================================================
   10. SECTION MISSION & VALEURS — fond sombre + texture
   ============================================================ */

.section-values {
  position: relative;
  background-color: var(--color-dark);
  background-image:
    radial-gradient(
      ellipse 70% 50% at 10% 60%,
      rgba(201, 168, 76, 0.035) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 60% at 90% 20%,
      rgba(201, 168, 76, 0.025) 0%,
      transparent 50%
    ),
    url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23ffffff' fill-opacity='0.018'/%3E%3C/svg%3E");
  padding: var(--section-pad-v) 0;
  overflow: hidden;
}

/* Diagonale d'entrée depuis l'ivoire */
.section-values::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--color-light);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  pointer-events: none;
}

/* Diagonale de sortie vers l'ivoire */
.section-values::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--color-light);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
}

.values-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.values-header .section-label {
  justify-content: center;
}

.values-mission-box {
  max-width: 780px;
  margin: 0 auto 5rem;
  padding: 2.5rem 3rem;
  border-left: 2px solid var(--color-gold);
  background: rgba(201, 168, 76, 0.04);
  position: relative;
}

.values-mission-box::before {
  content: "\201C";
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--color-gold);
  opacity: 0.25;
  line-height: 1;
}

.mission-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

.mission-text strong {
  color: var(--color-gold);
  font-style: normal;
}

/* 4 valeurs grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.value-card {
  background: var(--color-card-dark);
  border-left: 2px solid var(--color-gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  background: rgba(30, 32, 34, 0.95);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 168, 76, 0.15);
}

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

.value-icon-wrap {
  margin-bottom: 1.5rem;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.value-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   11. SECTION ÉCOSYSTÈME — fond ivoire
   ============================================================ */

.section-ecosystem {
  background-color: var(--color-light);
  padding: calc(var(--section-pad-v) + 4rem) 0 var(--section-pad-v);
  position: relative;
  z-index: 2;
}

.ecosystem-header {
  margin-bottom: 4rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.entity-card {
  background: #ffffff;
  border-left: 2px solid var(--color-gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 3rem 3rem 2.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.entity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.entity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.09);
}

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

/* Logo zone entité */
.eco-logo-zone {
  height: 110px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  padding: 1.2rem;
  background: rgba(201, 168, 76, 0.02);
}

.eco-logo-zone img {
  height: auto;
  width: auto;
  max-height: 80px;
  max-width: 240px;
  object-fit: contain;
}

.eco-logo-fallback {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.entity-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.entity-domain {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.entity-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(25, 25, 25, 0.65);
  margin-bottom: 2rem;
}

.entity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: rgba(25, 25, 25, 0.55);
  border-radius: 1px;
}

.entity-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  transition: gap 0.2s ease;
  text-decoration: none;
}

.entity-link:hover {
  gap: 0.8rem;
}

.entity-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================================
   12. SECTION SERVICES — fond sombre
   ============================================================ */

.section-services {
  position: relative;
  background-color: var(--color-darkest);
  background-image:
    radial-gradient(
      ellipse 60% 40% at 80% 30%,
      rgba(201, 168, 76, 0.03) 0%,
      transparent 55%
    ),
    url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23ffffff' fill-opacity='0.018'/%3E%3C/svg%3E");
  padding: calc(var(--section-pad-v) + 3rem) 0 var(--section-pad-v);
  overflow: hidden;
}

.section-services::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--color-light);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  pointer-events: none;
}

.services-header {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-card-dark);
  border-left: 2px solid rgba(201, 168, 76, 0.25);
  border-bottom: 1px solid rgba(201, 168, 76, 0.06);
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  border-left-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

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

.service-icon-wrap {
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   13. SECTION ÉQUIPE — fond ivoire
   ============================================================ */

.section-team {
  background-color: var(--color-light);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9a84c' fill-opacity='0.02'%3E%3Cpath d='M30 0 L60 17.3 L60 52 L30 69.3 L0 52 L0 17.3 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: var(--section-pad-v) 0;
  position: relative;
}

.team-header {
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: #ffffff;
  border-left: 2px solid var(--color-gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 3rem 2.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
}

.team-avatar-wrap {
  margin-bottom: 2rem;
}

.team-hex-avatar {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-hex-avatar svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.team-initials {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-text-dark);
  margin-bottom: 0.3rem;
}

.team-role {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.team-divider {
  width: 32px;
  height: 1.5px;
  background: var(--color-gold);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.team-expertise {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(25, 25, 25, 0.62);
  margin-bottom: 1.5rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: rgba(25, 25, 25, 0.5);
  border-radius: 1px;
}

/* ============================================================
   14. SECTION CONTACT — fond darkest
   ============================================================ */

.section-contact {
  position: relative;
  background-color: var(--color-darkest);
  background-image:
    radial-gradient(
      ellipse 80% 60% at 50% 50%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 65%
    ),
    url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%23ffffff' fill-opacity='0.018'/%3E%3C/svg%3E");
  padding: calc(var(--section-pad-v) + 4rem) 0 var(--section-pad-v);
  overflow: hidden;
}

.section-contact::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--color-light);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  pointer-events: none;
}

/* Hexagone de fond décoratif */
.hex-pattern {
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 600px;
  height: 600px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(201, 168, 76, 0.02) 60deg,
    transparent 120deg,
    rgba(201, 168, 76, 0.015) 180deg,
    transparent 240deg,
    rgba(201, 168, 76, 0.02) 300deg,
    transparent 360deg
  );
  border-radius: 50%;
  pointer-events: none;
}

.contact-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gold-word {
  color: var(--color-gold);
  font-style: italic;
}

.contact-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3rem;
}

.contact-cta-group {
  margin-bottom: 4rem;
}

.contact-divider {
  width: 60px;
  height: 1px;
  background: rgba(201, 168, 76, 0.3);
  margin: 3.5rem auto;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 3.5rem;
}

.contact-email svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-email:hover {
  color: rgba(255, 255, 255, 0.95);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.contact-info-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.contact-info-value {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ============================================================
   15. FOOTER — refonte originale
   ============================================================ */

.site-footer {
  background: #0d0f10;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}

.footer-hex-bg {
  position: absolute;
  right: -80px;
  top: -40px;
  width: 500px;
  height: 500px;
  opacity: 0.045;
  pointer-events: none;
}

.footer-hex-bg svg {
  width: 100%;
  height: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding: 5rem 4rem;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.35);
}

.footer-gold-line {
  width: 36px;
  height: 1.5px;
  background: var(--color-gold);
  margin-top: 2rem;
  opacity: 0.5;
}

.footer-nav h4,
.footer-entities h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.footer-nav a,
.footer-entities a {
  display: block;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  transition: color 0.22s ease;
  line-height: 1.4;
}

.footer-nav a:hover,
.footer-entities a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  :root {
    --container-max: 100%;
  }
  .container {
    padding: 0 2.5rem;
  }
  .header-inner {
    padding: 1.2rem 2.5rem;
  }
  .site-header.scrolled .header-inner {
    padding: 0.9rem 2.5rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 4rem 2.5rem;
  }
  .footer-bottom {
    padding: 1.2rem 2.5rem;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad-v: 5rem;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(13, 15, 16, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  }
  .header-nav.open {
    display: flex;
  }
  .header-nav a {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  .header-burger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(3.5rem, 14vw, 6rem);
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad-v: 4rem;
  }
  .container {
    padding: 0 1.5rem;
  }
  .header-inner {
    padding: 1rem 1.5rem;
  }
  .site-header.scrolled .header-inner {
    padding: 0.8rem 1.5rem;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 5rem);
  }
  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .about-right {
    grid-template-columns: 1fr 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-align: center;
  }
  .footer-legal {
    gap: 1rem;
  }
}

/* ============================================================
   17. CURSOR GLOW (desktop)
   ============================================================ */

.cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* ============================================================
   18. READING PROGRESS BAR
   ============================================================ */

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-gold),
    var(--color-gold-hover)
  );
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   19. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   20. GLOW EFFECTS — aurora subtile sur sections clés
   ============================================================ */

.hero,
.section-values,
#contact {
  position: relative;
}

.hero::before,
.section-valeurs::before,
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(201, 168, 76, 0.055) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

#contact::before {
  background: radial-gradient(
    ellipse 60% 80% at 50% 100%,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
}

/* Lenis — désactiver scroll-behavior natif sur les ancres */
html {
  scroll-behavior: auto;
}

/* ============================================================
   21. GRADIENT DORÉ — titres sections sombres uniquement
   ============================================================ */

.section-title.on-dark {
  background: linear-gradient(135deg, #ffffff 55%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Le contact-title est sur fond darkest — même traitement */
.contact-title {
  background: linear-gradient(135deg, #ffffff 55%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* gold-word dans contact-title : rétablir la couleur or explicite */
.contact-title .gold-word {
  background: linear-gradient(135deg, var(--color-gold) 0%, #e8c96a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* ============================================================
   22. HOVER REVEAL — service cards (ligne gold bas → haut)
   ============================================================ */

.service-card {
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-gold),
    var(--color-gold-hover)
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  border-left-color: var(--color-gold);
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 168, 76, 0.12);
}

/* ============================================================
   23. CUSTOM CURSOR — cercle gold minimal (desktop uniquement)
   ============================================================ */

@media (pointer: fine) {
  * {
    cursor: none;
  }

  .custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: left, top;
  }

  .custom-cursor svg {
    display: block;
    transition: transform 0.2s ease;
  }

  .custom-cursor.hover svg {
    transform: scale(1.4) rotate(30deg);
  }
}

/* ============================================================
   24. SPLIT TEXT — titres de section animés lettre par lettre
   ============================================================ */

.split-word {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.split-char {
  display: inline-block;
  will-change: transform, opacity;
}
