/* ============================================================
   CLARA HABCHI — PERSONAL BRAND SITE
   Design System & Global Styles
   ============================================================ */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors — Dark Tech Palette */
  --color-black:       #0C0F14;   /* Background – Deep Graphite     */
  --color-off-white:   #EAECEF;   /* Primary Text – Soft White       */
  --color-sand:        #1A1F27;   /* Subtle Contrast – Dark Slate    */
  --color-warm-gray:   #8B95A3;   /* Muted text                      */
  --color-mid-gray:    #B0BAC6;   /* Secondary text                  */
  --color-border:      #2C3340;   /* Borders                         */
  --color-accent:      #4EA8DE;   /* Accent – Strategic Cyan         */
  --color-accent-2:    #2A6F97;   /* Secondary Accent – Muted Teal   */
  --color-white:       #FFFFFF;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --size-xs:   0.75rem;   /* 12px */
  --size-sm:   0.875rem;  /* 14px */
  --size-base: 1rem;      /* 16px */
  --size-md:   1.125rem;  /* 18px */
  --size-lg:   1.375rem;  /* 22px */
  --size-xl:   1.75rem;   /* 28px */
  --size-2xl:  2.25rem;   /* 36px */
  --size-3xl:  3rem;      /* 48px */
  --size-4xl:  4rem;      /* 64px */
  --size-5xl:  5rem;      /* 80px */

  /* Spacing */
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-40:  10rem;

  /* Layout */
  --max-width:       1200px;
  --max-width-text:  680px;
  --nav-height:      80px;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-black);
  color: var(--color-off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.container--narrow {
  max-width: var(--max-width-text);
}

.section {
  padding: var(--space-32) 0;
}

.section--lg {
  padding: var(--space-40) 0;
}

.section--sm {
  padding: var(--space-20) 0;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--size-5xl); }
h2 { font-size: var(--size-3xl); }
h3 { font-size: var(--size-xl); }
h4 { font-size: var(--size-lg); }

.eyebrow {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
}

.lead {
  font-size: var(--size-lg);
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-mid-gray);
}

.body-text {
  font-size: var(--size-base);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-mid-gray);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--size-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-black);
  border: 1px solid var(--color-accent);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-accent);
}

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

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--light {
  background-color: var(--color-off-white);
  color: var(--color-black);
  border: 1px solid var(--color-off-white);
}

.btn--light:hover {
  background-color: transparent;
  color: var(--color-off-white);
  border-color: var(--color-off-white);
}

/* ---- Divider ---- */
.divider {
  width: 40px;
  height: 1px;
  background-color: var(--color-accent);
  display: block;
  margin: var(--space-6) 0;
}

/* ---- Tag / Badge ---- */
.tag {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--size-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  color: var(--color-warm-gray);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.nav__logo {
  font-size: var(--size-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-off-white);
}

.nav__logo span {
  font-weight: 300;
  color: var(--color-warm-gray);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.nav__link {
  font-size: var(--size-sm);
  font-weight: 400;
  color: var(--color-mid-gray);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-off-white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  font-size: var(--size-sm);
  font-weight: 500;
  padding: var(--space-3) var(--space-6);
  background-color: var(--color-accent);
  color: var(--color-black);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.nav__cta:hover {
  background-color: var(--color-accent-2);
  color: var(--color-off-white);
}

/* ---- Language Switcher ---- */
.nav__lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.nav__lang-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.nav__lang-btn:hover {
  color: var(--color-off-white);
}

.nav__lang-btn.active {
  background-color: var(--color-accent);
  color: var(--color-black);
}

/* Mobile Nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-off-white);
  transition: all var(--transition-base);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-black);
  padding: var(--space-12) var(--space-8);
  flex-direction: column;
  gap: var(--space-8);
  z-index: 99;
  border-top: 1px solid var(--color-border);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: var(--size-xl);
  font-weight: 300;
  color: var(--color-off-white);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background-color: #070A0F;
  color: var(--color-off-white);
  padding: var(--space-24) 0 var(--space-12);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.footer__brand .nav__logo {
  color: var(--color-off-white);
  font-size: var(--size-lg);
  margin-bottom: var(--space-4);
  display: block;
}

.footer__brand p {
  font-size: var(--size-sm);
  color: var(--color-warm-gray);
  line-height: 1.7;
  max-width: 260px;
}

.footer__heading {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin-bottom: var(--space-6);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--size-sm);
  color: rgba(245, 242, 238, 0.6);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-off-white);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(245, 242, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: var(--size-xs);
  color: var(--color-warm-gray);
}

.footer__linkedin {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--size-xs);
  color: var(--color-warm-gray);
  transition: color var(--transition-fast);
}

.footer__linkedin:hover {
  color: var(--color-off-white);
}

/* ================================================================
   PAGE HERO BASE (shared)
   ================================================================ */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-24);
}

.page-hero__eyebrow {
  margin-bottom: var(--space-6);
}

.page-hero__title {
  margin-bottom: var(--space-6);
}

.page-hero__subtitle {
  max-width: 600px;
}

/* ================================================================
   HOME — HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding-top: 0;
  background-color: var(--color-black);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--color-sand);
  background-image:
    radial-gradient(ellipse 90% 55% at 60% 48%, rgba(78, 168, 222, 0.09) 0%, transparent 65%),
    linear-gradient(180deg, rgba(12,15,20,0.45) 0%, transparent 25%, transparent 75%, rgba(12,15,20,0.45) 100%);
  border-left: 1px solid var(--color-border);
  z-index: 0;
}

/* Grille de points décorative dans le panel droit */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(78, 168, 222, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 55% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 50%, black 20%, transparent 75%);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* La grille occupe toute la largeur de l'écran — pas de max-width */
.hero__inner {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* Le texte est contraint par un max-width interne */
.hero__content {
  padding: calc(var(--nav-height) + var(--space-20)) var(--space-16) var(--space-20) max(var(--space-8), calc((100vw - var(--max-width)) / 2 + var(--space-8)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-off-white);
  margin-bottom: var(--space-6);
}

.hero__title strong {
  font-weight: 600;
}

.hero__subtitle {
  font-size: var(--size-md);
  font-weight: 300;
  color: var(--color-mid-gray);
  line-height: 1.75;
  margin-bottom: var(--space-10);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-10);
}

.hero__photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: grayscale(20%) brightness(0.9) contrast(1.05);
  transition: filter var(--transition-slow);
}

.hero__photo:hover {
  filter: grayscale(0%) brightness(1) contrast(1);
}

/* ---- Hero Video Player (vertical 9:16) ---- */
.hero__video-wrap {
  position: relative;
  width: 100%;
  max-width: 384px; /* 320px × 1.2 = 384px */
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(78, 168, 222, 0.2),
    0 0 60px rgba(78, 168, 222, 0.1);
}

/* Quand la vidéo locale est active, le wrap garde les dimensions du thumbnail */
.hero__video-wrap:has(.hero__video-player[style*="display: block"]) {
  aspect-ratio: 9 / 16;
}

/* Anneau décoratif derrière la vidéo */
.hero__video-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius-lg) + 12px);
  border: 1px solid rgba(78, 168, 222, 0.12);
  pointer-events: none;
  z-index: -1;
}

/* Second anneau plus grand */
.hero__video-wrap::after {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: calc(var(--radius-lg) + 28px);
  border: 1px solid rgba(78, 168, 222, 0.06);
  pointer-events: none;
  z-index: -1;
}

/* -- Thumbnail state -- */
.hero__video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  cursor: pointer;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero__video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  filter: brightness(0.85);
  transition: filter var(--transition-base);
}

.hero__video-thumbnail:hover .hero__video-poster {
  filter: brightness(0.75);
}

/* Sombre overlay */
.hero__video-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 15, 20, 0.65) 0%,
    rgba(12, 15, 20, 0.15) 50%,
    transparent 100%
  );
  border-radius: var(--radius-md);
  pointer-events: none;
}

/* Bouton play centré */
.hero__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero__play-btn svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.45));
}

.hero__video-thumbnail:hover .hero__play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

/* -- Badge sur la thumbnail -- */
.hero__video-wrap .hero__badge {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
}

/* -- Video element (visible après play) -- */
.hero__video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  background-color: var(--color-black);
}

.hero__photo-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  background-color: var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--color-warm-gray);
  font-size: var(--size-sm);
}

.hero__photo-placeholder svg {
  opacity: 0.4;
}

.hero__badge {
  position: absolute;
  bottom: var(--space-8);
  left: -var(--space-8);
  background-color: var(--color-accent);
  color: var(--color-black);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---- Scroll hint ---- */
.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-16);
}

.hero__scroll-line {
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  animation: scrollSlide 2.4s ease-in-out infinite;
}

@keyframes scrollSlide {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

.hero__scroll-label {
  font-size: var(--size-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
}

/* ---- Étiquettes verticales du panel vidéo ---- */
.hero__panel-label {
  position: absolute;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(176, 186, 198, 0.35);
  writing-mode: vertical-rl;
  pointer-events: none;
  user-select: none;
}

.hero__panel-label--left {
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}

.hero__panel-label--right {
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
}

/* ================================================================
   HOME — PAIN POINTS SECTION
   ================================================================ */
.pain-points {
  background-color: var(--color-black);
  color: var(--color-off-white);
  padding: var(--space-32) 0;
  position: relative;
}

/* Diagonal line pattern */
.pain-points::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(78, 168, 222, 0.035) 0px,
    rgba(78, 168, 222, 0.035) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
  z-index: 0;
}

.pain-points .container {
  position: relative;
  z-index: 1;
}

.pain-points__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.pain-points__header .eyebrow {
  color: var(--color-warm-gray);
  margin-bottom: var(--space-6);
}

.pain-points__header h2 {
  color: var(--color-off-white);
  font-weight: 300;
}

.pain-points__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-px);
  border: 1px solid rgba(245, 242, 238, 0.08);
}

.pain-point-card {
  padding: var(--space-12) var(--space-10);
  border: 1px solid rgba(245, 242, 238, 0.08);
  transition: background-color var(--transition-base);
  cursor: default;
}

.pain-point-card:hover {
  background-color: rgba(245, 242, 238, 0.04);
}

.pain-point-card__number {
  font-size: var(--size-xs);
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
  font-weight: 500;
}

.pain-point-card__question {
  font-size: var(--size-lg);
  font-weight: 300;
  color: var(--color-off-white);
  line-height: 1.4;
  margin-bottom: var(--space-4);
}

.pain-point-card__desc {
  font-size: var(--size-sm);
  color: var(--color-warm-gray);
  line-height: 1.7;
}

/* ================================================================
   HOME — CORE EXPERTISE SECTION
   ================================================================ */
.expertise {
  background-color: var(--color-black);
  padding: var(--space-32) 0;
  position: relative;
}

/* Dot grid pattern — centred fade */
.expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(78, 168, 222, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.expertise .container {
  position: relative;
  z-index: 1;
}

.expertise__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-16);
  gap: var(--space-8);
}

.expertise__header-left {}

.expertise__header-left .eyebrow {
  margin-bottom: var(--space-4);
}

.expertise__header-left h2 {
  font-weight: 300;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.expertise-card {
  background-color: var(--color-sand);
  border: 1px solid var(--color-border);
  padding: var(--space-12) var(--space-10);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.expertise-card:hover::before {
  height: 100%;
}

.expertise-card:hover {
  background-color: #1E2530;
  border-color: var(--color-accent-2);
  transform: translateY(-4px);
}

.expertise-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-8);
  color: var(--color-accent);
}

.expertise-card__title {
  font-size: var(--size-lg);
  font-weight: 500;
  margin-bottom: var(--space-4);
  color: var(--color-off-white);
}

.expertise-card__text {
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
  line-height: 1.7;
}

/* ================================================================
   HOME — AUTHORITY SECTION
   ================================================================ */
.authority {
  background-color: var(--color-sand);
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.authority__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.authority__text {
  flex: 0 0 auto;
  max-width: 500px;
}

.authority__text .eyebrow {
  margin-bottom: var(--space-4);
}

.authority__text h2 {
  font-size: var(--size-2xl);
  font-weight: 300;
  margin-bottom: var(--space-4);
}

.authority__text p {
  font-size: var(--size-base);
  color: var(--color-mid-gray);
  line-height: 1.75;
}

.authority__stats {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--size-4xl);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--size-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
}

/* ================================================================
   HOME — FINAL CTA SECTION
   ================================================================ */
.cta-banner {
  background-color: #101820;
  color: var(--color-off-white);
  padding: var(--space-32) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Mesh / aurora gradient — charte graphite · cyan · teal */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 15% 50%,  rgba(12, 15, 20, 0.85)   0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 85% 50%,  rgba(12, 15, 20, 0.80)   0%, transparent 60%),
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(12, 15, 20, 0.75)   0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 30% 20%,  rgba(78, 168, 222, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 80%,  rgba(78, 168, 222, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 60% 30%,  rgba(42, 111, 151, 0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 65% at 25% 75%,  rgba(42, 111, 151, 0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle noise texture overlay for depth */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(78, 168, 222, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: var(--size-3xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--size-md);
  color: rgba(234, 236, 239, 0.65);
  margin-bottom: var(--space-12);
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-intro {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-24);
  background-color: var(--color-black);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  align-items: center;
}

.about-intro__image-wrap {
  position: relative;
}

.about-intro__photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: grayscale(20%) brightness(0.88) contrast(1.05);
  transition: filter var(--transition-slow);
}

.about-intro__photo:hover {
  filter: grayscale(0%) brightness(1) contrast(1);
}

.about-intro__photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--color-sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-gray);
  font-size: var(--size-sm);
}

.about-intro__content .eyebrow {
  margin-bottom: var(--space-4);
}

.about-intro__content h1 {
  font-size: clamp(2.25rem, 4vw, var(--size-4xl));
  font-weight: 300;
  margin-bottom: var(--space-8);
}

.about-intro__content h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
}

.about-intro__content p {
  font-size: var(--size-md);
  color: var(--color-mid-gray);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.about-values {
  background-color: var(--color-sand);
  padding: var(--space-32) 0;
}

.about-values__header {
  margin-bottom: var(--space-16);
}

.about-values__header .eyebrow {
  margin-bottom: var(--space-4);
}

.about-values__header h2 {
  font-weight: 300;
}

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

.value-item {
  background-color: var(--color-black);
  border: 1px solid var(--color-border);
  padding: var(--space-10) var(--space-10);
  border-radius: var(--radius-sm);
}

.value-item__num {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.value-item h3 {
  font-size: var(--size-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.value-item p {
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
  line-height: 1.75;
}

.about-differentiators {
  background-color: var(--color-black);
  color: var(--color-off-white);
  padding: var(--space-32) 0;
}

.about-differentiators__header {
  margin-bottom: var(--space-16);
}

.about-differentiators__header .eyebrow {
  color: var(--color-warm-gray);
  margin-bottom: var(--space-4);
}

.about-differentiators__header h2 {
  font-weight: 300;
  color: var(--color-off-white);
}

.diff-list {
  display: flex;
  flex-direction: column;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-bottom: 1px solid rgba(245, 242, 238, 0.08);
}

.diff-item:first-child {
  border-top: 1px solid rgba(245, 242, 238, 0.08);
}

.diff-item__num {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  flex-shrink: 0;
  padding-top: 4px;
}

.diff-item__content h3 {
  font-size: var(--size-lg);
  font-weight: 500;
  color: var(--color-off-white);
  margin-bottom: var(--space-2);
}

.diff-item__content p {
  font-size: var(--size-sm);
  color: var(--color-warm-gray);
  line-height: 1.75;
}

/* ================================================================
   SERVICES PAGE
   ================================================================ */
.services-hero {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-16);
  background-color: var(--color-black);
}

.services-hero .eyebrow {
  margin-bottom: var(--space-6);
}

.services-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, var(--size-4xl));
  font-weight: 300;
  max-width: 700px;
  margin-bottom: var(--space-8);
}

.services-hero p {
  font-size: var(--size-md);
  color: var(--color-mid-gray);
  max-width: 560px;
  line-height: 1.75;
}

.service-block {
  padding: var(--space-24) 0;
  background-color: var(--color-black);
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block--dark {
  background-color: var(--color-black);
  color: var(--color-off-white);
  border-bottom: none;
  padding: var(--space-32) 0;
}

.service-block__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-20);
  align-items: start;
}

.service-block__label {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.service-block__label .eyebrow {
  margin-bottom: var(--space-4);
}

.service-block--dark .eyebrow {
  color: var(--color-warm-gray);
}

.service-block__label h2 {
  font-size: var(--size-2xl);
  font-weight: 300;
  margin-bottom: var(--space-6);
}

.service-block--dark .service-block__label h2 {
  color: var(--color-off-white);
}

.service-block__label p {
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
  line-height: 1.75;
}

.service-block--dark .service-block__label p {
  color: var(--color-warm-gray);
}

.service-block__content {}

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

.service-item {
  background-color: var(--color-sand);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base);
}

.service-item:hover {
  border-color: var(--color-accent-2);
}

.service-block--dark .service-item {
  background-color: rgba(78, 168, 222, 0.04);
  border-color: rgba(78, 168, 222, 0.12);
}

.service-item__title {
  font-size: var(--size-base);
  font-weight: 500;
  color: var(--color-off-white);
  margin-bottom: var(--space-2);
}

.service-block--dark .service-item__title {
  color: var(--color-off-white);
}

.service-item__desc {
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
  line-height: 1.65;
}

.service-block--dark .service-item__desc {
  color: var(--color-warm-gray);
}

.tools-section {
  margin-top: var(--space-10);
}

.tools-section__label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin-bottom: var(--space-4);
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tool-badge {
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(245, 242, 238, 0.15);
  border-radius: 2px;
  font-size: var(--size-xs);
  letter-spacing: 0.06em;
  color: rgba(245, 242, 238, 0.6);
}

/* ================================================================
   METHODOLOGY PAGE
   ================================================================ */
.methodology-hero {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-16);
  background-color: var(--color-black);
}

.methodology-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, var(--size-4xl));
  font-weight: 300;
  margin-bottom: var(--space-8);
  max-width: 660px;
}

.methodology-hero p {
  font-size: var(--size-md);
  color: var(--color-mid-gray);
  max-width: 560px;
  line-height: 1.75;
}

.methodology-pipeline {
  background-color: var(--color-sand);
  padding: var(--space-32) 0;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: var(--space-16);
}

.pipeline-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background-color: var(--color-accent);
  z-index: 0;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-4);
  position: relative;
  z-index: 1;
}

.pipeline-step__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-sand);
  border: 1.5px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  flex-shrink: 0;
}

.pipeline-step:hover .pipeline-step__dot {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-black);
  transition: all var(--transition-base);
}

.pipeline-step__title {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.pipeline-step__desc {
  font-size: var(--size-xs);
  color: var(--color-mid-gray);
  line-height: 1.6;
}

.methodology-detail {
  background-color: var(--color-black);
  padding: var(--space-32) 0;
  color: var(--color-off-white);
}

.methodology-detail h2 {
  color: var(--color-off-white);
}

.methodology-detail .eyebrow {
  color: var(--color-accent);
}

/* ================================================================
   METHODOLOGY — STEP DETAIL (version statique)
   ================================================================ */

.methodology-detail__header {
  margin-bottom: 4rem;
}

/* ---- Conteneur vertical des étapes ---- */
.step-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---- Chaque étape : numéro + contenu ---- */
.step-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-8);
  padding: var(--space-12) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}

.step-detail:last-child {
  border-bottom: none;
}

/* Numéro grand format */
.step-detail__num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 200;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  letter-spacing: -0.02em;
  padding-top: 4px;
}

/* Corps du texte */
.step-detail__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-detail__title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--color-off-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.step-detail__sub {
  font-size: var(--size-sm);
  font-weight: 300;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}

.step-detail__body p:not(.step-detail__sub):not(.step-deliverables__label) {
  font-size: var(--size-sm);
  font-weight: 300;
  color: rgba(200, 208, 220, 0.65);
  line-height: 1.85;
  margin-bottom: var(--space-4);
}

/* ---- DELIVERABLES ---- */
.step-deliverables {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.step-deliverables__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: var(--space-4);
}

.step-deliverables__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.deliverable {
  padding: 5px var(--space-4);
  border: 1px solid rgba(78,168,222,0.2);
  border-radius: 2px;
  font-size: 11px;
  color: rgba(78,168,222,0.65);
  letter-spacing: 0.04em;
  font-weight: 400;
  background: rgba(78,168,222,0.04);
  transition: border-color 0.2s, color 0.2s;
}

.deliverable:hover {
  border-color: rgba(78,168,222,0.5);
  color: var(--color-accent);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .step-detail {
    grid-template-columns: 52px 1fr;
    gap: var(--space-4);
    padding: var(--space-8) 0;
  }
  .step-detail__num {
    font-size: 1.5rem;
  }
}

/* ================================================================
   CASE STUDIES PAGE
   ================================================================ */
.case-studies-hero {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-16);
  background-color: var(--color-black);
}

.case-studies-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, var(--size-4xl));
  font-weight: 300;
  margin-bottom: var(--space-8);
  max-width: 660px;
}

.case-studies-hero p {
  font-size: var(--size-md);
  color: var(--color-mid-gray);
  max-width: 540px;
  line-height: 1.75;
}

.case-studies-grid {
  padding: var(--space-24) 0 var(--space-32);
  background-color: var(--color-black);
}

.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.case-study-card {
  background-color: var(--color-sand);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.case-study-card:hover {
  border-color: var(--color-accent-2);
}

.case-study-card:hover {
  transform: translateY(-3px);
}

.case-study-card__header {
  padding: var(--space-10) var(--space-12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.case-study-card__meta {
  flex: 1;
}

.case-study-card__tags {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.case-study-card__title {
  font-size: var(--size-xl);
  font-weight: 400;
  color: var(--color-off-white);
  margin-bottom: var(--space-2);
}

.case-study-card__context {
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
}

.case-study-card__arrow {
  font-size: var(--size-xl);
  color: var(--color-warm-gray);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.case-study-card.open .case-study-card__arrow {
  transform: rotate(45deg);
}

.case-study-card__body {
  display: none;
  padding: 0 var(--space-12) var(--space-12);
}

.case-study-card.open .case-study-card__body {
  display: block;
}

.case-study-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.cs-section h4 {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin-bottom: var(--space-3);
}

.cs-section p {
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
  line-height: 1.75;
}

.cs-results {
  grid-column: 1 / -1;
  background-color: var(--color-black);
  color: var(--color-off-white);
  padding: var(--space-8) var(--space-10);
  border-radius: var(--radius-sm);
  margin-top: var(--space-4);
}

.cs-results h4 {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.cs-metrics {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

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

.cs-metric__value {
  font-size: var(--size-2xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--color-off-white);
  margin-bottom: var(--space-1);
}

.cs-metric__label {
  font-size: var(--size-xs);
  color: var(--color-warm-gray);
  letter-spacing: 0.08em;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-hero {
  padding-top: calc(var(--nav-height) + var(--space-24));
  padding-bottom: var(--space-16);
  background-color: var(--color-black);
}

.contact-hero h1 {
  font-size: clamp(2.25rem, 4vw, var(--size-4xl));
  font-weight: 300;
  margin-bottom: var(--space-6);
  max-width: 580px;
}

.contact-hero p {
  font-size: var(--size-md);
  color: var(--color-mid-gray);
  max-width: 500px;
  line-height: 1.75;
}

.contact-main {
  background-color: var(--color-black);
  padding: var(--space-16) 0 var(--space-32);
}

.contact-main__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-24);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.contact-info__heading {
  font-size: var(--size-lg);
  font-weight: 500;
  margin-bottom: var(--space-8);
}

.contact-info__note {
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
  line-height: 1.75;
  margin-bottom: var(--space-12);
  padding: var(--space-6);
  border-left: 2px solid var(--color-accent);
  background-color: var(--color-sand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.contact-info__calendly {
  margin-bottom: var(--space-12);
}

.contact-info__calendly-title {
  font-size: var(--size-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-off-white);
}

.btn-calendly {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background-color: var(--color-accent);
  color: var(--color-black);
  border-radius: var(--radius-sm);
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
}

.btn-calendly:hover {
  background-color: var(--color-accent-2);
  color: var(--color-off-white);
}

.contact-info__linkedin {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--size-sm);
  color: var(--color-mid-gray);
  transition: color var(--transition-fast);
  font-weight: 500;
}

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

/* Contact Form */
.contact-form {
  background-color: var(--color-sand);
  border: 1px solid var(--color-border);
  padding: var(--space-12);
  border-radius: var(--radius-md);
}

.contact-form__title {
  font-size: var(--size-xl);
  font-weight: 400;
  margin-bottom: var(--space-2);
}

.contact-form__note {
  font-size: var(--size-sm);
  color: var(--color-warm-gray);
  margin-bottom: var(--space-10);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-4);
  background-color: var(--color-black);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--size-sm);
  color: var(--color-off-white);
  transition: border-color var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-warm-gray);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(78, 168, 222, 0.12);
}

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

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%234EA8DE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: var(--space-10);
}

.form-submit {
  margin-top: var(--space-6);
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: var(--space-4) var(--space-8);
  font-size: var(--size-base);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  :root {
    --size-5xl: 4rem;
    --size-4xl: 3.25rem;
  }

  .hero__inner {
    grid-template-columns: 50% 50%;
    gap: 0;
  }

  .hero__content {
    padding: calc(var(--nav-height) + var(--space-16)) var(--space-8) var(--space-16) var(--space-8);
  }

  .hero__image-wrap {
    padding: var(--space-10) var(--space-6);
  }

  .hero__panel-label {
    display: none;
  }

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

  .pipeline-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .pipeline-steps::before {
    display: none;
  }

  .service-block__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .service-block__label {
    position: static;
  }

  .step-detail {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --size-5xl: 2.75rem;
    --size-4xl: 2.5rem;
    --size-3xl: 2.25rem;
    --size-2xl: 1.875rem;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: calc(var(--nav-height) + var(--space-12)) var(--space-6) var(--space-8);
  }

  .hero__image-wrap {
    order: -1;
    padding: var(--space-4) var(--space-6);
    background-color: var(--color-sand);
    padding-top: calc(var(--nav-height) + var(--space-8));
    padding-bottom: var(--space-8);
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__panel-label {
    display: none;
  }

  .hero__photo-placeholder {
    max-width: 100%;
    aspect-ratio: 4/3;
  }

  .hero__badge {
    left: var(--space-4);
  }

  .pain-points__grid {
    grid-template-columns: 1fr;
  }

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

  .expertise__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .authority__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-intro__inner {
    grid-template-columns: 1fr;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .service-items {
    grid-template-columns: 1fr;
  }

  .contact-main__inner {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .pipeline-steps {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .case-study-sections {
    grid-template-columns: 1fr;
  }

  .cs-metrics {
    gap: var(--space-8);
  }

  .container {
    padding: 0 var(--space-6);
  }

  .section {
    padding: var(--space-20) 0;
  }

  .section--lg {
    padding: var(--space-24) 0;
  }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease both;
}

.animate-fade-up--delay-1 { animation-delay: 0.1s; }
.animate-fade-up--delay-2 { animation-delay: 0.2s; }
.animate-fade-up--delay-3 { animation-delay: 0.35s; }
.animate-fade-up--delay-4 { animation-delay: 0.5s; }

/* Intersection observer-based animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================================================================
   PAGE INDICATOR / ACTIVE NAV
   Covers both EN (href="page.html") and FR (href="page-fr.html")
   Fix: added missing space before .nav__link on methodology
   ================================================================ */

/* — EN pages — */
body[data-page="home"]        .nav__link[href="index.html"]           { color: var(--color-off-white); }
body[data-page="home"]        .nav__link[href="index.html"]::after    { width: 100%; }
body[data-page="about"]       .nav__link[href="about.html"]           { color: var(--color-off-white); }
body[data-page="about"]       .nav__link[href="about.html"]::after    { width: 100%; }
body[data-page="services"]    .nav__link[href="services.html"]        { color: var(--color-off-white); }
body[data-page="services"]    .nav__link[href="services.html"]::after { width: 100%; }
body[data-page="methodology"] .nav__link[href="methodology.html"]     { color: var(--color-off-white); }
body[data-page="methodology"] .nav__link[href="methodology.html"]::after { width: 100%; }
body[data-page="cases"]       .nav__link[href="case-studies.html"]    { color: var(--color-off-white); }
body[data-page="cases"]       .nav__link[href="case-studies.html"]::after { width: 100%; }
body[data-page="contact"]     .nav__link[href="contact.html"]         { color: var(--color-off-white); }
body[data-page="contact"]     .nav__link[href="contact.html"]::after  { width: 100%; }

/* — FR pages — */
body[data-page="home"]        .nav__link[href="index-fr.html"]           { color: var(--color-off-white); }
body[data-page="home"]        .nav__link[href="index-fr.html"]::after    { width: 100%; }
body[data-page="about"]       .nav__link[href="about-fr.html"]           { color: var(--color-off-white); }
body[data-page="about"]       .nav__link[href="about-fr.html"]::after    { width: 100%; }
body[data-page="services"]    .nav__link[href="services-fr.html"]        { color: var(--color-off-white); }
body[data-page="services"]    .nav__link[href="services-fr.html"]::after { width: 100%; }
body[data-page="methodology"] .nav__link[href="methodology-fr.html"]     { color: var(--color-off-white); }
body[data-page="methodology"] .nav__link[href="methodology-fr.html"]::after { width: 100%; }
body[data-page="cases"]       .nav__link[href="case-studies-fr.html"]    { color: var(--color-off-white); }
body[data-page="cases"]       .nav__link[href="case-studies-fr.html"]::after { width: 100%; }
body[data-page="contact"]     .nav__link[href="contact-fr.html"]         { color: var(--color-off-white); }
body[data-page="contact"]     .nav__link[href="contact-fr.html"]::after  { width: 100%; }

/* ================================================================
   SERVICE ITEM ICON
   ================================================================ */
.service-item__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-6);
  flex-shrink: 0;
  background: rgba(78, 168, 222, 0.08);
  border: 1px solid rgba(78, 168, 222, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.service-item:hover .service-item__icon {
  background: rgba(78, 168, 222, 0.14);
  border-color: rgba(78, 168, 222, 0.3);
}

.service-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-block--dark .service-item__icon {
  background: rgba(78, 168, 222, 0.06);
  border-color: rgba(78, 168, 222, 0.12);
}

/* ================================================================
   CASE STUDY IMAGE ZONE
   ================================================================ */
.cs-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  background-color: var(--color-black);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cs-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(12, 15, 20, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.cs-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

.case-study-card:hover .cs-image {
  transform: scale(1.03);
}

/* Placeholder — motif de points discret quand pas d'image */
.cs-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-sand);
  background-image:
    radial-gradient(circle, rgba(78,168,222,0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-image-placeholder__label {
  font-size: var(--size-xs);
  color: var(--color-warm-gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
}

@media (max-width: 768px) {
  .cs-image-wrap {
    height: 150px;
  }
}


/* ---- Custom video player (local, no native controls) ---- */
.hero__video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

/* Overlay transparent — visible seulement au survol avec l'icône */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* L'icône pause/play est cachée par défaut, apparaît au survol */
.hero__video-overlay__icon {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.hero__video-overlay__icon svg {
  width: 56px;
  height: 56px;
}

/* Afficher l'icône au survol du player */
.hero__video-player:hover .hero__video-overlay__icon {
  opacity: 1;
}

/* Quand la vidéo est en pause, l'icône reste visible */
.hero__video-player.paused .hero__video-overlay__icon {
  opacity: 1;
}

/* Placeholder inutilisé désormais */
.hero__youtube-wrap {
  display: none;
}
