/* ========================================
   BEES - Refonte Design
   Palette Bleu Nuit + Miel
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

@font-face {
  font-family: 'Clash Display';
  src: url('https://cdn.fontshare.com/wf/HXYSSCM3FVXB6UE6C3RZBQ3M6KKDLWIQ/AMRXFMXCBYKPW3C6PX5ZPLBIVV5NVBTL/HLVFFP57RJR3CDRNRR5V5TWMK2DCGCXJ.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* ========================================
   VARIABLES CSS
   ======================================== */

:root {
  /* ===== PALETTE BLEU NUIT + MIEL ===== */

  /* Bleus - Du plus foncé au plus clair */
  --color-navy-deep: #0A1929;
  --color-navy: #0D2137;
  --color-navy-medium: #132F4C;
  --color-navy-light: #1E4976;
  --color-blue-accent: #2D6CB5;

  /* Jaune Miel */
  --color-honey: #F7B32B;
  --color-honey-light: #FFD166;
  --color-honey-dark: #D99A1D;
  --color-honey-glow: rgba(247, 179, 43, 0.4);

  /* Fonds clairs */
  --color-light-bg: #F8FAFC;
  --color-light-alt: #EEF2F6;
  --color-light-border: #E3E8EE;
  --color-white: #FFFFFF;

  /* Fonds de sections */
  --color-background: var(--color-light-bg);
  --color-background-alt: var(--color-white);
  --color-border: var(--color-light-border);

  /* Couleurs sémantiques */
  --color-accent: var(--color-honey);
  --color-secondary: var(--color-text-muted);
  --color-primary: var(--color-navy-deep);

  /* Textes */
  --color-text-dark: #0A1929;
  --color-text-medium: #3D5A80;
  --color-text-muted: #5C7493;
  --color-text-light: #F8FAFC;
  --color-text-light-muted: rgba(248, 250, 252, 0.7);

  /* Gradients */
  --gradient-honey: linear-gradient(135deg, #F7B32B 0%, #FFD166 50%, #F7B32B 100%);
  --gradient-navy: linear-gradient(180deg, #0A1929 0%, #0D2137 100%);
  --gradient-hero:
    radial-gradient(ellipse at 70% 20%, rgba(247, 179, 43, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(29, 73, 118, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 90%, rgba(247, 179, 43, 0.08) 0%, transparent 30%);

  /* Typographie */
  --font-heading: 'Clash Display', 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;

  /* Tailles de texte - Fluid Typography */
  --text-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  --text-xl: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-3xl: clamp(1.75rem, 1.5rem + 2vw, 3rem);
  --text-4xl: clamp(2rem, 1.5rem + 3vw, 4rem);
  --text-hero: clamp(2.5rem, 2rem + 4vw, 5.5rem);

  /* Espacements */
  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1400px;
  --nav-width: 180px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

/* ========================================
   NAVIGATION VERTICALE
   ======================================== */

.nav-vertical {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--nav-width);
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-navy-deep);
  border-right: 1px solid rgba(247, 179, 43, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.nav-logo {
  position: absolute;
  top: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  cursor: pointer;
  transition: transform var(--transition-bounce), filter var(--transition-base);
  filter: drop-shadow(0 0 0px var(--color-honey));
}

.nav-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-logo:hover {
  transform: translateX(-50%) scale(1.05);
  filter: drop-shadow(0 0 15px var(--color-honey-glow));
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vh, 1rem);
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 0 var(--space-sm);
}

.nav-item {
  width: 100%;
}

.nav-link {
  display: block;
  color: rgba(248, 250, 252, 0.6);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: var(--space-sm) var(--space-md);
  transition: all var(--transition-base);
  text-align: center;
  border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-honey);
  background: rgba(247, 179, 43, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--color-honey);
  transition: transform var(--transition-bounce);
}

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

/* ========================================
   LAYOUT PRINCIPAL
   ======================================== */

.main-container {
  margin-left: var(--nav-width);
  min-height: 100vh;
}

.section {
  min-height: 100vh;
  padding: var(--space-3xl) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

/* ========================================
   HERO SECTION - Bleu Nuit Impactant
   ======================================== */

.hero {
  position: relative;
  background: var(--color-navy-deep);
  overflow: hidden;
  min-height: 100vh;
}

/* Fond avec dégradés subtils */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Overlay pour profondeur */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(247, 179, 43, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(45, 108, 181, 0.1) 0%, transparent 40%);
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

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

/* Badge Hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(247, 179, 43, 0.1);
  border: 1px solid rgba(247, 179, 43, 0.3);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease both;
  backdrop-filter: blur(10px);
}

.hero-badge__icon {
  width: 20px;
  height: 20px;
  color: var(--color-honey);
}

.hero-badge__text {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-honey);
}

.hero-title {
  margin-bottom: var(--space-lg);
  line-height: 1.05;
  color: var(--color-text-light);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .text-accent {
  color: var(--color-honey);
  position: relative;
  display: inline-block;
}

.hero-title .text-accent::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: var(--gradient-honey);
  opacity: 0.4;
  transform: skewX(-5deg);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-light-muted);
  margin-bottom: var(--space-xl);
  max-width: 650px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Éléments décoratifs masqués */
.hero-curves,
.hero-hex-decoration {
  display: none;
}

/* Canvas pour animation honeycomb */
#honeycomb-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* === IMAGES HEXAGONALES === */
.hero-images {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 500px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container de l'image principale */
.hero-main-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image principale hexagonale */
.hero-main-image img {
  width: 360px;
  height: 400px;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  opacity: 0;
  animation: heroImageReveal 1s ease 0.4s forwards;
  position: relative;
  z-index: 2;
}

.hero-main-image:hover img {
  transform: scale(1.02);
}

/* Bordure dorée externe (halo) */
.hero-main-image::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 420px;
  background: linear-gradient(135deg,
      var(--color-honey) 0%,
      var(--color-honey-light) 30%,
      var(--color-honey) 60%,
      var(--color-honey-dark) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  opacity: 0;
  animation: borderReveal 1s ease 0.2s forwards;
}

/* Effet de lueur derrière */
.hero-main-image::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 460px;
  background: radial-gradient(ellipse, rgba(247, 179, 43, 0.25) 0%, transparent 70%);
  z-index: 0;
  opacity: 0;
  animation: glowReveal 1.2s ease 0.1s forwards;
}

/* Hex decorations removed */

/* Animations */
@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes borderReveal {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowReveal {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hexFloat {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(-5deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes hexPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Animation d'entrée */
@keyframes hexReveal {
  0% {
    opacity: 0;
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* === ANIMATIONS D'ENTRÉE === */

/* === ANIMATIONS FLOTTANTES === */
@keyframes hexFloat1 {

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

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

@keyframes hexFloat2 {

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

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

@keyframes hexFloat3 {

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

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

/* Éléments décoratifs du hero */
.hero-curves,
.hero-hex-decoration {
  display: none;
}

/* ========================================
   BOUTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

/* Bouton primaire - Hero */
.btn-primary {
  background: var(--color-honey);
  color: var(--color-navy-deep);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  padding-right: 2.5rem;
}

.btn-primary:hover {
  background: var(--color-honey-light);
  transform: translateX(4px);
  box-shadow: 0 10px 40px var(--color-honey-glow);
}

/* Bouton outline - Hero */
.btn-outline {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(248, 250, 252, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-honey);
  color: var(--color-honey);
  background: rgba(247, 179, 43, 0.1);
}

/* Bouton accent - Sections claires */
.btn-accent {
  background: var(--color-honey);
  color: var(--color-navy-deep);
  border: none;
}

.btn-accent:hover {
  background: var(--color-honey-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(247, 179, 43, 0.3);
}

/* ========================================
   SECTIONS COMMUNES
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-honey-dark);
  margin-bottom: var(--space-md);
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '⬡';
  font-size: 0.6em;
  opacity: 0.5;
  margin: 0 var(--space-sm);
  color: var(--color-navy-light);
}

.section-title {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-dark);
}

/* ========================================
   GRILLE SERVICES
   ======================================== */

.section-services {
  background-color: var(--color-background);
}

.service-number {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.1em;
}

.service-icon {
  color: var(--color-accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.service-card {
  padding: var(--space-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: 8px;
  transition: all var(--transition-base);
  position: relative;
  box-shadow: 0 2px 8px rgba(10, 25, 41, 0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
  width: 100%;
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-md);
}

.service-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.service-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ========================================
   SECTION APPROCHE
   ======================================== */

.approach-section {
  background-color: var(--color-background-alt);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
  align-items: center;
}

.approach-content h3 {
  margin-bottom: var(--space-md);
}

.approach-list {
  list-style: none;
  margin-top: var(--space-lg);
}

.approach-list li {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--color-secondary);
}

.approach-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.approach-visual {
  position: relative;
  height: 400px;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-list li strong {
  display: block;
  color: var(--color-primary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

/* Courbes décoratives approche */
.approach-curves {
  display: none;
}

/* Cluster hexagonal */
.honeycomb-cluster {
  position: relative;
  width: 300px;
  height: 300px;
}

.hex-connections {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hex-connection {
  stroke: var(--color-border);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: 0.5;
}

.hex-cell {
  position: absolute;
  width: 80px;
  height: 69px;
  background: var(--color-background);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition-base);
  z-index: 1;
}

.hex-cell:hover {
  background: var(--color-background-alt);
  transform: scale(1.05);
}

.hex-cell--center {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  border-color: var(--color-accent);
}

.hex-cell--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hex-cell--2 {
  top: 22%;
  left: 12%;
}

.hex-cell--3 {
  top: 22%;
  right: 12%;
}

.hex-cell--4 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hex-cell--5 {
  bottom: 22%;
  left: 12%;
}

.hex-cell--6 {
  bottom: 22%;
  right: 12%;
}

.hex-cell--7 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ========================================
   SECTION CULTURE - Design Premium
   ======================================== */

.section-culture {
  background: var(--color-light-bg);
  position: relative;
  overflow: hidden;
}

/* Sous-sections Culture */
.culture-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.culture-row:last-of-type {
  margin-bottom: 0;
}

.culture-row--reverse {
  direction: rtl;
}

.culture-row--reverse>* {
  direction: ltr;
}

/* Illustration Hive */
.culture-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

/* ========================================
   HIVE CLUSTER - Ruche Hexagonale
   ======================================== */

.hive-cluster {
  position: relative;
  width: 320px;
  height: 320px;
  --radius: 95px;
  /* Distance du centre aux satellites */
}

.hive-cell {
  position: absolute;
  width: 100px;
  height: 87px;
  background: var(--color-navy-medium);
  border: 1px solid rgba(247, 179, 43, 0.2);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  opacity: 0;
  animation: hiveReveal 0.6s ease forwards;
}

.hive-cell:hover {
  transform: scale(1.08);
  z-index: 10;
  box-shadow: 0 15px 40px rgba(247, 179, 43, 0.2);
  background: var(--color-navy-light);
  border-color: var(--color-honey);
}

.hive-cell__text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  line-height: 1.2;
}

.hive-cell__sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--color-honey-light);
  margin-top: 2px;
}

/* Cellule centrale */
.hive-cell--center {
  width: 120px;
  height: 104px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  opacity: 0;
  animation: hiveCenterReveal 0.8s ease 0.3s forwards;
}

.hive-cell--center:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.hive-cell--center .hive-cell__text {
  font-size: 0.85rem;
  color: white;
}

/* Satellites - positionnés au centre puis déplacés */
.hive-cell:not(.hive-cell--center) {
  top: 50%;
  left: 50%;
}

.hive-cell--accent-green {
  background: linear-gradient(135deg, var(--color-honey) 0%, var(--color-honey-dark) 100%);
  box-shadow: 0 8px 30px rgba(247, 179, 43, 0.4);
  border: none;
}

.hive-cell--accent-green:hover {
  background: linear-gradient(135deg, var(--color-honey-light) 0%, var(--color-honey) 100%);
}

.hive-cell--accent-green .hive-cell__text {
  color: var(--color-navy-deep);
}

.hive-cell--accent-blue {
  background: linear-gradient(135deg, var(--color-blue-accent) 0%, var(--color-navy-light) 100%);
  box-shadow: 0 8px 30px rgba(45, 108, 181, 0.4);
  border: none;
}

.hive-cell--accent-blue:hover {
  background: linear-gradient(135deg, var(--color-navy-light) 0%, var(--color-blue-accent) 100%);
}

/* Positionnement hexagonal - Approche trigonométrique */
/* 6 satellites à 60° d'intervalle autour du centre */
/* Formule: translate(radius * sin(angle), radius * -cos(angle)) */

.hive-cell--1 {
  /* 0° - Haut */
  --angle: 0deg;
  transform: translate(calc(-50% + var(--radius) * sin(var(--angle))),
      calc(-50% + var(--radius) * cos(var(--angle)) * -1));
  animation-delay: 0.1s;
}

.hive-cell--2 {
  /* 300° - Haut-gauche */
  --angle: 300deg;
  transform: translate(calc(-50% + var(--radius) * sin(var(--angle))),
      calc(-50% + var(--radius) * cos(var(--angle)) * -1));
  animation-delay: 0.15s;
}

.hive-cell--3 {
  /* 60° - Haut-droite */
  --angle: 60deg;
  transform: translate(calc(-50% + var(--radius) * sin(var(--angle))),
      calc(-50% + var(--radius) * cos(var(--angle)) * -1));
  animation-delay: 0.2s;
}

.hive-cell--4 {
  /* 240° - Bas-gauche */
  --angle: 240deg;
  transform: translate(calc(-50% + var(--radius) * sin(var(--angle))),
      calc(-50% + var(--radius) * cos(var(--angle)) * -1));
  animation-delay: 0.25s;
}

.hive-cell--5 {
  /* 120° - Bas-droite */
  --angle: 120deg;
  transform: translate(calc(-50% + var(--radius) * sin(var(--angle))),
      calc(-50% + var(--radius) * cos(var(--angle)) * -1));
  animation-delay: 0.3s;
}

.hive-cell--6 {
  /* 180° - Bas */
  --angle: 180deg;
  transform: translate(calc(-50% + var(--radius) * sin(var(--angle))),
      calc(-50% + var(--radius) * cos(var(--angle)) * -1));
  animation-delay: 0.35s;
}

/* Hover states */
.hive-cell:not(.hive-cell--center):hover {
  transform: translate(calc(-50% + var(--radius) * sin(var(--angle)) * 1.1),
      calc(-50% + var(--radius) * cos(var(--angle)) * -1.1)) scale(1.05);
}

@keyframes hiveReveal {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes hiveCenterReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(-10deg);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
}

.hive-cluster:hover .hive-cell:not(:hover) {
  opacity: 0.7;
}

/* Contenu texte */
.culture-content {
  padding: var(--space-lg);
}

.culture-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  margin-bottom: var(--space-md);
}

.culture-label--green {
  background: linear-gradient(135deg, rgba(247, 179, 43, 0.15) 0%, rgba(217, 154, 29, 0.15) 100%);
  color: var(--color-honey-dark);
}

.culture-label--blue {
  background: linear-gradient(135deg, rgba(45, 108, 181, 0.15) 0%, rgba(30, 73, 118, 0.15) 100%);
  color: var(--color-blue-accent);
}

.culture-subtitle {
  font-size: var(--text-2xl);
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

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

.culture-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
  color: var(--color-text-medium);
  line-height: 1.6;
}

.culture-list li::before {
  content: '⬡';
  position: absolute;
  left: 0;
  color: var(--color-honey);
  font-size: 0.8em;
}

.culture-list li strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.culture-description {
  font-size: var(--text-base);
  color: var(--color-text-medium);
  line-height: 1.8;
  margin: 0;
}


/* ========================================
   CITATION CEO - Style Premium
   ======================================== */

.ceo-quote {
  position: relative;
  max-width: 950px;
  margin: var(--space-3xl) auto 0;
  padding: var(--space-2xl) var(--space-3xl);
  background: var(--color-white);
  border-radius: 4px;
  box-shadow:
    0 20px 60px rgba(10, 25, 41, 0.08),
    0 1px 3px rgba(10, 25, 41, 0.05);
  overflow: hidden;
}

/* Barre latérale dorée */
.ceo-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gradient-honey);
}

/* Décoration hexagonale */
.ceo-quote__decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  color: var(--color-honey);
  opacity: 0.15;
  animation: floatHex 8s ease-in-out infinite;
}

@keyframes floatHex {

  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }

  50% {
    transform: rotate(5deg) translateY(-10px);
  }
}

.ceo-quote blockquote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-medium);
  margin: 0 0 var(--space-xl) 0;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.ceo-quote blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--color-honey);
  opacity: 0.3;
  line-height: 1;
}

/* Info CEO */
.ceo-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.ceo-avatar {
  width: 56px;
  height: 56px;
  background: var(--gradient-honey);
  color: var(--color-navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(247, 179, 43, 0.3);
}

.ceo-details {
  display: flex;
  flex-direction: column;
}

.ceo-details cite {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: 600;
  color: var(--color-navy-deep);
}

.ceo-details span {
  font-size: var(--text-sm);
  color: var(--color-honey-dark);
}

/* ========================================
   SECTION ENGAGEMENTS
   ======================================== */

.section-engagements {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light-bg) 100%);
  position: relative;
}

.engagements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.engagement-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border: 1px solid var(--color-light-border);
  text-align: center;
  transition: all var(--transition-base);
}

.engagement-card:hover {
  border-color: var(--color-honey);
  box-shadow: 0 20px 50px rgba(247, 179, 43, 0.1);
  transform: translateY(-5px);
}

.engagement-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  color: var(--color-honey);
}

.engagement-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-text-dark);
}

.engagement-card p {
  color: var(--color-text-medium);
  margin-bottom: var(--space-lg);
}

.engagement-card .btn {
  margin-top: var(--space-md);
}

/* Particules volantes */
.flying-bees {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bee-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-honey);
  border-radius: 50%;
  opacity: 0.3;
  animation: flyPath 20s linear infinite;
}

.bee-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.bee-particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.bee-particle:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 22s;
}

.bee-particle:nth-child(4) {
  top: 40%;
  left: 60%;
  animation-delay: -15s;
  animation-duration: 28s;
}

.bee-particle:nth-child(5) {
  top: 10%;
  left: 50%;
  animation-delay: -8s;
  animation-duration: 35s;
}

@keyframes flyPath {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  25% {
    transform: translate(100px, -50px) scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: translate(50px, 100px) scale(1.2);
    opacity: 0.2;
  }

  75% {
    transform: translate(-80px, 30px) scale(0.9);
    opacity: 0.4;
  }
}

/* ========================================
   SECTION CONTACT
   ======================================== */

.section-contact {
  background-color: var(--color-navy-deep);
  color: var(--color-text-light);
  position: relative;
}

.section-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-honey), transparent);
  opacity: 0.5;
}

.section-contact .section-label {
  color: var(--color-honey);
}

.section-contact .section-label::before,
.section-contact .section-label::after {
  color: var(--color-honey);
}

.section-contact h2 {
  color: var(--color-text-light);
}

.section-contact p {
  color: var(--color-text-light-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  padding-right: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info>p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-item__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.contact-item__value {
  font-size: var(--text-sm);
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.contact-item__value:hover {
  color: var(--color-accent-hover);
}

/* Formulaire de contact */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -1px;
  left: var(--space-xl);
  right: var(--space-xl);
  height: 3px;
  background: var(--color-accent);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(212, 165, 116, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

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

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

/* ========================================
   FOOTER
   ======================================== */

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--color-navy-deep);
  padding: var(--space-3xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(247, 179, 43, 0.15);
}

/* Brand */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: var(--space-md);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-light-muted);
  line-height: 1.7;
  margin: 0;
}

/* Titles */
.footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-honey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links a,
.footer-links span {
  font-size: var(--text-sm);
  color: var(--color-text-light-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-honey);
}

.footer-icon {
  font-size: 0.9em;
  opacity: 0.7;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-honey);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.2);
}

.footer-signature {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-hex {
  color: var(--color-honey);
  animation: hexPulse 3s ease-in-out infinite;
}

/* Decoration */
.footer-decoration {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 230px;
  background: rgba(247, 179, 43, 0.03);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links li {
    justify-content: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .footer-separator {
    display: none;
  }
}

/* ========================================
   HEXAGONE DÉCORATIF
   ======================================== */

.hexagon-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 35px, var(--color-accent) 35px, var(--color-accent) 36px),
    repeating-linear-gradient(60deg, transparent, transparent 35px, var(--color-accent) 35px, var(--color-accent) 36px),
    repeating-linear-gradient(120deg, transparent, transparent 35px, var(--color-accent) 35px, var(--color-accent) 36px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  :root {
    --text-4xl: 3.5rem;
    --text-3xl: 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-images {
    max-width: 380px;
    height: 400px;
    order: -1;
    margin: 0 auto;
  }

  .hero-main-image img {
    width: 280px;
    height: 310px;
  }

  .hero-main-image::before {
    width: 295px;
    height: 325px;
  }

  .hero-main-image::after {
    width: 340px;
    height: 380px;
  }

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

  .culture-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .culture-row {
    gap: var(--space-2xl);
  }

  .hive-cluster {
    transform: scale(0.85);
  }

  .culture-subtitle {
    font-size: var(--text-xl);
  }

  .ceo-quote {
    padding: var(--space-xl);
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-width: 140px;
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.75rem;
  }

  .nav-logo {
    width: 120px;
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

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

  .hero-description {
    font-size: var(--text-md);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .culture-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }

  .culture-row--reverse {
    direction: ltr;
  }

  .culture-illustration {
    min-height: 320px;
  }

  .hive-cluster {
    transform: scale(0.75);
  }

  .culture-content {
    padding: 0;
  }

  .ceo-quote {
    padding: var(--space-lg);
    margin-top: var(--space-xl);
  }

  .ceo-quote blockquote {
    font-size: var(--text-base);
  }

  .ceo-quote__decoration {
    display: none;
    justify-content: center;
  }

  .hero-images {
    max-width: 300px;
    height: 340px;
  }

  .hero-main-image img {
    width: 220px;
    height: 245px;
  }

  .hero-main-image::before {
    width: 235px;
    height: 260px;
  }

  .hero-main-image::after {
    width: 280px;
    height: 310px;
  }

  .honeycomb-cluster {
    transform: scale(0.8);
  }

}

@media (max-width: 480px) {
  :root {
    --nav-width: 100px;
    --text-4xl: 2rem;
  }

  .nav-logo {
    width: 85px;
  }

  .nav-menu {
    gap: var(--space-lg);
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-xs);
  }

  .honeycomb-cluster {
    transform: scale(0.6);
  }
}

/* ========================================
   UTILITAIRES
   ======================================== */

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

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

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}