/* ============================================
   LEJAXHE — Style Principal
   Design inspiré de foundry.co
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Variables ─── */
:root {
  --bg:        #F6F4EF;
  --bg-alt:    #EDEBE5;
  --dark:      #0D0D0D;
  --dark2:     #1A1A1A;
  --mid:       #666666;
  --border:    #DEDAD2;
  --light:     #F6F4EF;
  --white:     #FFFFFF;

  /* Accent éditorial — terracotta / clay (chaleureux, sobre) */
  --accent:        #B85540;
  --accent-deep:   #9F4631;
  --accent-soft:   #F2E6E1;

  --font-d: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t: 0.35s;
  --shadow: 0 24px 64px rgba(0,0,0,0.07);
  --radius-pill: 100px;
  --radius-card: 16px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ─── Accessibilité (UI/UX Pro Max — règles a11y critiques) ─── */

/* Skip-link : navigation clavier rapide vers le contenu principal */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--dark);
  color: var(--light);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease-out;
}
.skip-link:focus { top: 16px; }

/* Focus visible — anneau cohérent pour la navigation au clavier */
:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--dark);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
}
.nav__logo:focus-visible,
.nav__links a:focus-visible {
  outline-offset: 6px;
}

/* Respect du prefers-reduced-motion (Apple HIG / Material Design) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none !important; }
  .scroll-line { animation: none !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ─── Grain de papier (foundry-style) ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px;
  mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* ─── Barre de progression au scroll ─── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--dark);
  width: 0;
  z-index: 1001;
  transform-origin: left;
  pointer-events: none;
}
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* (Curseur personnalisé retiré — curseur natif utilisé) */

/* ─── Icônes SVG inline (Lucide-style, no-emoji-icons) ─── */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon-mail {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m22 7-10 5L2 7'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m22 7-10 5L2 7'/></svg>");
}
.icon-phone {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
}
.icon-clock {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>");
}
.icon-sparkle {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1'/></svg>");
}
.icon-file {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='9' y1='13' x2='15' y2='13'/><line x1='9' y1='17' x2='13' y2='17'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='9' y1='13' x2='15' y2='13'/><line x1='9' y1='17' x2='13' y2='17'/></svg>");
}
.icon-globe {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>");
}
.icon-search {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>");
}
.icon-target {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/></svg>");
}

/* ─── Container ─── */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  border-radius: var(--radius-pill);
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-dark {
  background: var(--dark);
  color: var(--light);
  border: 2px solid var(--dark);
}
.btn-dark:hover {
  background: transparent;
  color: var(--dark);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--light);
}
.btn-light {
  background: var(--light);
  color: var(--dark);
  border: 2px solid var(--light);
}
.btn-light:hover {
  background: transparent;
  color: var(--light);
}
.btn-arrow::after {
  content: '';
  width: 1.05em;
  height: 1.05em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/><polyline points='12 5 19 12 12 19'/></svg>");
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-repeat: no-repeat;  mask-repeat: no-repeat;
  -webkit-mask-size: contain;  mask-size: contain;
  transition: transform var(--t) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(6px); }

/* ─── Tag / Label (accent terracotta) ─── */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.tag::before {
  content: '—';
  margin-right: 10px;
  opacity: 0.7;
}

/* ─── Section spacing ─── */
section { padding: 120px 0; }
section.slim { padding: 80px 0; }

.section-header { margin-bottom: 80px; }
.section-header .tag { display: block; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 0;
  transition: background var(--t) var(--ease), padding var(--t) var(--ease), box-shadow var(--t);
}
.nav.scrolled {
  background: rgba(246, 244, 239, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dark);
  transition: opacity var(--t);
  display: flex;
  align-items: center;
}
.nav__logo:hover { opacity: 0.7; }
.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: height var(--t) var(--ease);
  /* Fait disparaître le fond blanc du logo sur le crème de la nav */
  mix-blend-mode: multiply;
}
.nav.scrolled .nav__logo img { height: 42px; }
@media (max-width: 640px) {
  .nav__logo img { height: 42px; }
  .nav.scrolled .nav__logo img { height: 38px; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--t);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--dark);
  transition: width var(--t) var(--ease);
}
.nav__links a:hover:not(.nav__cta),
.nav__links a.active:not(.nav__cta) { color: var(--dark); }
.nav__links a:hover:not(.nav__cta)::after,
.nav__links a.active:not(.nav__cta)::after { width: 100%; }
.nav__cta { margin-left: 12px; }
.nav__cta::after { display: none !important; }
.nav__cta.active { color: var(--light); }
.nav__cta.active:hover { color: var(--dark); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--dark);
  transition: all var(--t) var(--ease);
}

/* ─── Mobile Nav ─── */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--light);
  opacity: 0.4;
  transition: opacity var(--t);
}
.nav__mobile a:hover { opacity: 1; }
.nav__mobile-close {
  position: absolute;
  top: 28px; right: 48px;
  color: var(--light);
  font-size: 2rem;
  cursor: pointer;
  font-weight: 300;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  background: var(--bg);
}
.hero__top {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero__top .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero__tag-line {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.hero__tag-line::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--mid);
}
.hero__title {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 6.5vw, 7.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 36px;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);    /* "cœur battant" mis en valeur */
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual {
  position: relative;
  height: 520px;
}

/* ─── Grille Bento (hero) ─── */
.hero__bento {
  position: absolute;
  right: 0; top: 10px;
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 1;
}
.bento {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.bento:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.bento--wide { grid-column: span 2; }
.bento--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--light);
}

/* Tuile : disponibilité */
.bento--status {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bento__status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #3DBE6B;
  box-shadow: 0 0 0 4px rgba(61,190,107,0.18);
  flex-shrink: 0;
  animation: pulse-live 2.4s infinite;
}
.bento__status-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}
.bento__status-text span { font-size: 0.82rem; color: var(--mid); }

/* Tuile : expertises (dark) */
.bento--skills .bento__head {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.bento__skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bento__skill {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
}
.bento__skill .icon { font-size: 1rem; color: var(--accent); }

/* Tuile : localisation */
.bento--loc { display: flex; flex-direction: column; justify-content: space-between; }
.bento__loc-pin {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.bento__loc-pin .icon { font-size: 1.2rem; color: var(--accent); }
.bento--loc strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 4px;
}
.bento--loc span { font-size: 0.8rem; color: var(--mid); }

/* Tuile : signature typo */
.bento--type {
  display: flex;
  align-items: center;
  gap: 22px;
}
.bento__type-aa {
  font-family: var(--font-d);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
  flex-shrink: 0;
}
.bento__type-aa em { font-style: italic; color: var(--accent); }
.bento__type-text strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.bento__type-text span { font-size: 0.82rem; color: var(--mid); line-height: 1.5; }
.hero__badge {
  position: absolute;
  bottom: 175px; left: -28px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
  z-index: 2;
}
.hero__badge-icon {
  width: 44px; height: 44px;
  background: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--light);
}
.hero__badge-text { font-size: 0.8rem; color: var(--mid); line-height: 1.4; }
.hero__badge-text strong { display: block; color: var(--dark); font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.hero__badge2 {
  position: absolute;
  top: 30px; right: -10px;
  background: var(--dark);
  color: var(--light);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 240px;
}
.hero__badge2-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero__badge2-text { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.4; }
.hero__badge2-text strong { display: block; color: var(--light); font-size: 0.92rem; font-weight: 600; margin-bottom: 2px; font-family: var(--font-b); letter-spacing: 0; }
/* ─── Marquee bénéfices (hero bottom) ─── */
.hero__bottom {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.marquee__track {
  flex-shrink: 0;
  display: flex;
  gap: 56px;
  align-items: center;
  padding-right: 56px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.marquee__item::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.9rem;
  opacity: 0.7;
}
.marquee__item:first-child::before { display: none; }
.marquee__item em { font-style: italic; color: var(--accent); font-weight: 400; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── ABOUT HOME ─── */
.about-home { background: var(--bg); }
.about-home .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-home__visual {
  position: relative;
}
.about-home__photo {
  width: 100%;
  height: 580px;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #2a2a3e 0%, #16162a 100%);
}
.about-home__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(120, 100, 220, 0.25), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(0, 180, 160, 0.15), transparent 55%);
  z-index: 0;
}
.about-home__photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.about-home__photo.loaded img { opacity: 1; }
.about-home__photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.5);
}
.about-home__photo.loaded .about-home__photo-placeholder { display: none; }
.about-home__photo-icon {
  width: 64px; height: 64px;
  border: 1.5px dashed rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.about-home__photo-placeholder p {
  font-family: var(--font-d);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  font-weight: 500;
}
.about-home__photo-placeholder small {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-b);
}
.about-home__exp-badge {
  position: absolute;
  right: -24px; bottom: 48px;
  background: var(--bg);
  border-radius: 14px;
  padding: 22px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-home__exp-badge strong {
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
}
.about-home__exp-badge span {
  font-size: 0.78rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: left;
  line-height: 1.3;
  max-width: 110px;
}
.about-home__content h2 { margin-bottom: 28px; }
.about-home__content p { font-size: 1.05rem; color: var(--mid); line-height: 1.8; margin-bottom: 20px; }
.about-home__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0;
}
.skill-tag {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mid);
  background: var(--white);
  transition: all var(--t);
}
.skill-tag:hover {
  background: var(--dark);
  color: var(--light);
  border-color: var(--dark);
}

/* ─── SERVICES HOME (clair) ─── */
.services-home {
  background: var(--bg-alt);
  color: var(--dark);
  position: relative;
}
.services-home .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 44px 32px;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--dark);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__num {
  font-family: var(--font-d);
  font-size: 3rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 18px;
  transition: color var(--t);
}
.service-card:hover .service-card__num { color: var(--dark); }
.service-card__icon {
  font-size: 1.8rem;
  margin-bottom: 22px;
  display: block;
}
.service-card h3 {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.75; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--t);
}
.service-card__link:hover { color: var(--dark); }
.service-card__link::after { content: '→'; transition: transform var(--t) var(--ease); }
.service-card__link:hover::after { transform: translateX(5px); }

/* ─── PORTFOLIO HOME ─── */
.portfolio-home { background: var(--bg); }
.portfolio-home .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.portfolio-grid-home {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 60px;
}
.portfolio-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
}
.portfolio-card:first-child { grid-row: 1 / 3; }
.portfolio-card__bg {
  width: 100%;
  height: 100%;
  min-height: 320px;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:hover .portfolio-card__bg { transform: scale(1.04); }
.p-bg-1 { background: linear-gradient(145deg, #0F2027, #203A43, #2C5364); min-height: 640px; }
.p-bg-2 { background: linear-gradient(145deg, #1a1a2e, #3d1a78); }
.p-bg-3 { background: linear-gradient(145deg, #0d2137, #1a5276); }
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  transition: opacity var(--t);
}
.portfolio-card__cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.portfolio-card__title {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.portfolio-card:first-child .portfolio-card__title { font-size: 2.5rem; }
.portfolio-card__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t) var(--ease);
}
.portfolio-card:hover .portfolio-card__arrow { opacity: 1; transform: translateY(0); }

/* ─── TIMELINE / PROCESS (éditorial vertical) ─── */
.process { background: var(--bg); position: relative; }
.timeline {
  margin-top: 70px;
  border-top: 1px solid var(--border);
}
.timeline__rail { display: none; }
.timeline__steps {
  display: flex;
  flex-direction: column;
}
.timeline__step {
  display: grid;
  grid-template-columns: 180px 1fr 60px;
  grid-template-rows: auto auto auto;
  column-gap: 60px;
  row-gap: 8px;
  padding: 52px 24px 52px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
  text-align: left;
  transition: padding-left 0.4s var(--ease), background-color var(--t);
  cursor: default;
}
.timeline__step:hover {
  padding-left: 24px;
  background: rgba(0, 0, 0, 0.015);
}
.timeline__pin {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
  background: transparent;
  border: none;
  width: auto; height: auto;
  display: block;
  margin: 0;
  transition: color var(--t), opacity var(--t);
}
.timeline__step:hover .timeline__pin {
  opacity: 0.4;
}
.timeline__pin::before,
.timeline__pin::after { display: none; }

.timeline__label {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
  display: block;
}
.timeline__step h4 {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.timeline__step p {
  grid-column: 2;
  grid-row: 3;
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 600px;
  margin: 0;
}
.timeline__step::after {
  content: '↗';
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: end;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--mid);
  transition: all 0.5s var(--ease);
}
.timeline__step:hover::after {
  background: var(--dark);
  color: var(--light);
  border-color: var(--dark);
  transform: rotate(360deg) scale(1.05);
}

@media (max-width: 900px) {
  .timeline__step {
    grid-template-columns: 100px 1fr;
    column-gap: 32px;
    padding: 36px 0;
  }
  .timeline__pin { font-size: 3.6rem; }
  .timeline__step h4 { font-size: 1.4rem; }
  .timeline__step p { max-width: 100%; }
  .timeline__step::after { display: none; }
}
@media (max-width: 640px) {
  .timeline__step {
    grid-template-columns: 70px 1fr;
    column-gap: 20px;
    padding: 28px 0;
  }
  .timeline__pin { font-size: 2.8rem; }
  .timeline__step h4 { font-size: 1.2rem; }
  .timeline__step p { font-size: 0.9rem; }
}

/* ─── CTA BANNER (clair) ─── */
.cta-banner {
  background: var(--bg);
  color: var(--dark);
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.025), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.025), transparent 55%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  color: var(--dark);
  margin-bottom: 28px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}
.cta-banner p {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.75;
  position: relative;
  z-index: 2;
}
.cta-banner .cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-banner__deco {
  position: absolute;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 22vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
          text-stroke: 1px var(--border);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 1;
}
.cta-banner__sparkle {
  position: absolute;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--mid);
  z-index: 2;
  pointer-events: none;
}
.cta-banner__sparkle--1 { top: 25%; left: 12%; transform: rotate(-12deg); }
.cta-banner__sparkle--2 { bottom: 22%; right: 14%; transform: rotate(8deg); }

/* ─── FOOTER (clair) ─── */
footer {
  background: var(--bg-alt);
  color: var(--mid);
  padding: 80px 0 36px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer__brand h3 {
  font-family: var(--font-d);
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; color: var(--mid); }
.footer__zones {
  margin-top: 16px;
  font-size: 0.78rem !important;
  line-height: 1.7;
  color: var(--mid);
  max-width: 280px;
}
.footer__zones strong { color: var(--dark); font-weight: 600; }
.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul a {
  font-size: 0.88rem;
  color: var(--mid);
  transition: color var(--t);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__col ul a:hover { color: var(--dark); }
.footer__signature {
  text-align: center;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer__signature span {
  font-family: var(--font-d);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-block;
}
.footer__signature span em {
  color: var(--accent);    /* "en Belgique" en accent */
}
.footer__signature small {
  display: block;
  font-family: var(--font-b);
  font-size: 0.7rem;
  color: var(--mid);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 14px;
  font-style: normal;
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom p { font-size: 0.8rem; color: var(--mid); }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--mid);
  transition: all var(--t);
}
.footer__socials a:hover {
  background: var(--dark);
  color: var(--light);
  border-color: var(--dark);
}
.footer__socials .soon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--mid);
  cursor: help;
  font-style: italic;
  opacity: 0.5;
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 180px 0 100px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.page-header__inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  margin-bottom: 24px;
  line-height: 1.05;
}
.page-header p {
  font-size: 1.15rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 560px;
}

/* ─── Header de contact (refonte) ─── */
.contact-header__deco {
  position: absolute;
  bottom: -6vw;
  right: -2vw;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 22vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.06);
          text-stroke: 1px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
}
.page-header__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.header-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  transition: all var(--t) var(--ease);
}
.header-chip:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
}
.header-chip__dot {
  width: 6px;
  height: 6px;
  background: var(--dark);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .page-header__chips { gap: 8px; }
  .header-chip { font-size: 0.75rem; padding: 9px 16px; }
  .contact-header__deco { font-size: 36vw; }
}

/* ─── PORTFOLIO PAGE ─── */
.portfolio-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all var(--t);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--dark);
  color: var(--light);
  border-color: var(--dark);
}
.portfolio-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: opacity var(--t), transform var(--t) var(--ease);
}
.portfolio-item.hidden { opacity: 0; pointer-events: none; height: 0; margin: 0; padding: 0; overflow: hidden; }
.portfolio-item__img {
  height: 340px;
  transition: transform 0.6s var(--ease);
}
.portfolio-item:hover .portfolio-item__img { transform: scale(1.04); }
.portfolio-item__info {
  background: var(--white);
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-top: none;
}
.portfolio-item__cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}
.portfolio-item__name {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.portfolio-item__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t);
}
.portfolio-item:hover .portfolio-item__link { color: var(--dark); }

/* Backgrounds thématiques projets */
.bg-motorsport {
  background:
    radial-gradient(ellipse at 75% 30%, rgba(220, 40, 40, 0.22), transparent 45%),
    radial-gradient(ellipse at 25% 70%, rgba(200, 200, 200, 0.06), transparent 45%),
    linear-gradient(135deg, #050505 0%, #1a1a1a 50%, #0a0a0a 100%);
}
.bg-automobile {
  background:
    radial-gradient(ellipse at 30% 25%, rgba(90, 150, 220, 0.2), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(140, 160, 180, 0.08), transparent 50%),
    linear-gradient(135deg, #131e2c 0%, #2a3a52 60%, #0e1622 100%);
}
.bg-rsd {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(225, 50, 50, 0.22), transparent 45%),
    radial-gradient(ellipse at 22% 78%, rgba(60, 130, 60, 0.18), transparent 45%),
    linear-gradient(135deg, #0a140a 0%, #182f1a 50%, #0a140a 100%);
}

/* Badge "site en ligne" */
.portfolio-card__live,
.portfolio-item__live {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--dark);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.portfolio-card__live::before,
.portfolio-item__live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(184, 85, 64, 0.2);
  animation: pulse-live 2s infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Description dans portfolio-item */
.portfolio-item__desc {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
  margin-top: 6px;
  margin-bottom: 18px;
}
.portfolio-item__url {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mid);
  margin-bottom: 10px;
  text-transform: lowercase;
}

/* ─── SERVICES PAGE ─── */
.services-detailed { background: var(--bg); }
.services-list { display: flex; flex-direction: column; gap: 2px; }
.service-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 52px 60px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 48px;
  align-items: start;
  background: var(--white);
  transition: box-shadow var(--t), transform var(--t) var(--ease);
  margin-bottom: 16px;
  cursor: default;
}
.service-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-item__num {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--border);
  padding-top: 6px;
}
.service-item__body h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.service-item__body p { font-size: 0.95rem; color: var(--mid); line-height: 1.8; max-width: 600px; }
.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.service-item__tags span {
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--mid);
}
.service-item__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-top: 6px;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t) var(--ease);
}
.service-item__cta strong {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-style: italic;
}
.service-item__cta span {
  font-size: 0.72rem;
  color: var(--mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.service-item__cta-arrow {
  margin-top: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  transition: all 0.4s var(--ease);
}
.service-item:hover .service-item__cta-arrow {
  background: var(--dark);
  color: var(--light);
  border-color: var(--dark);
  transform: rotate(-45deg);
}

/* ─── CONTACT PAGE ─── */
.contact-page { background: var(--bg); }
.contact-page .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info > p { font-size: 1rem; color: var(--mid); line-height: 1.8; margin-bottom: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-detail__icon {
  width: 48px; height: 48px;
  background: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail__text { font-size: 0.85rem; color: var(--mid); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.contact-detail__val { font-size: 1rem; font-weight: 500; color: var(--dark); }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 52px 48px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.contact-form-wrap > p { font-size: 0.88rem; color: var(--mid); margin-bottom: 36px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;            /* règle touch-target-size : ≥44px */
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: 1rem;             /* règle readable-font-size : ≥16px sur mobile (anti-zoom iOS) */
  color: var(--dark);
  background: var(--bg);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
  resize: vertical;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--mid);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--dark);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 13, 13, 0.08);   /* règle focus-states : focus ring visible */
}
/* État erreur réservé pour plus tard (règle error-feedback) */
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #c2410c;
  background: #fef7f3;
}
.form-group textarea { min-height: 130px; }
.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
  padding-right: 48px;
}
.form-group select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.form-submit { width: 100%; padding: 18px; font-size: 0.9rem; margin-top: 8px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--dark);
}
.form-success h4 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--mid); }

/* ─── AUDIT GRATUIT (lead magnet services) ─── */
.audit-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.audit-section::before {
  content: 'Audit';
  position: absolute;
  top: 50%;
  right: -3vw;
  transform: translateY(-50%);
  font-family: var(--font-d);
  font-style: italic;
  font-size: 22vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.04);
          text-stroke: 1px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
}
.audit-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.audit-section__intro .tag { color: var(--mid); }
.audit-section__intro h2 {
  margin-bottom: 28px;
}
.audit-section__intro > p {
  font-size: 1.02rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 18px;
  max-width: 480px;
}
.audit-meta {
  display: flex;
  gap: 28px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.audit-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--mid);
  font-family: var(--font-b);
}
.audit-meta-item__icon {
  width: 36px; height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.audit-meta-item strong {
  display: block;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.92rem;
}
.audit-meta-item span.muted {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
}

.audit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: var(--shadow);
  position: relative;
}
.audit-card__head {
  font-family: var(--font-b);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.audit-card__head::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--border);
}
.audit-card h3 {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.audit-checklist {
  display: flex;
  flex-direction: column;
}
.audit-check {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: padding-left var(--t) var(--ease);
}
.audit-check:hover { padding-left: 8px; }
.audit-check:last-child { border-bottom: none; padding-bottom: 0; }
.audit-check:first-child { padding-top: 0; }
.audit-check__num {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  padding-top: 4px;
}
.audit-check__title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.audit-check p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1100px) {
  .audit-section .container { grid-template-columns: 1fr; gap: 60px; }
  .audit-section::before { font-size: 32vw; }
}
@media (max-width: 640px) {
  .audit-card { padding: 32px 24px; }
  .audit-meta { gap: 18px; }
}

/* ─── PACK BANNER (services) ─── */
.pack-banner {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 90px 60px 80px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.pack-banner__deco {
  position: absolute;
  bottom: -8vw;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-d);
  font-style: italic;
  font-size: 22vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.08);
          text-stroke: 1px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
}
.pack-banner__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.pack-banner__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 32px;
}
.pack-banner h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 24px;
  line-height: 1.12;
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pack-banner h3 em {
  font-style: italic;
  font-weight: 400;
}
.pack-banner__intro {
  font-size: 1.02rem;
  color: var(--mid);
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto 56px;
}
.pack-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  text-align: left;
}
.pack-benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.pack-benefit::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.pack-benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--dark);
}
.pack-benefit:hover::before { transform: scaleX(1); }
.pack-benefit__num {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  display: block;
}
.pack-benefit__icon {
  font-size: 1.6rem;
  margin-bottom: 18px;
  display: block;
}
.pack-benefit__title {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pack-benefit p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .pack-benefits { grid-template-columns: 1fr; }
  .pack-banner { padding: 64px 28px 56px; }
  .pack-banner__deco { font-size: 32vw; }
}

/* ─── ENGAGEMENTS / Manifeste ─── */
.commitments {
  background: var(--bg-alt);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}
.commitments::before {
  content: 'Manifeste';
  position: absolute;
  top: 70px;
  right: -3vw;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 14vw;
  font-weight: 700;
  color: rgba(0,0,0,0.04);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
}
.commitments .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.commitments__intro {
  position: sticky;
  top: 120px;
}
.commitments__intro h2 {
  margin-bottom: 28px;
}
.commitments__intro p {
  color: var(--mid);
  max-width: 380px;
  line-height: 1.85;
  font-size: 1rem;
}
.commitments__intro .signature {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
}
.commitments__intro .signature small {
  display: block;
  font-family: var(--font-b);
  font-style: normal;
  font-size: 0.75rem;
  color: var(--mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}
.commitments__grid {
  display: grid;
  gap: 16px;
}
.commit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 44px 48px 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--t) var(--ease);
}
.commit::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--dark);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.commit:hover {
  border-color: var(--dark);
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.commit:hover::after { transform: scaleY(1); }
.commit__num {
  position: absolute;
  top: 38px; right: 44px;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  transition: color var(--t), opacity var(--t);
}
.commit:hover .commit__num { color: var(--dark); opacity: 0.1; }
.commit__title {
  font-family: var(--font-d);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 80%;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.commit__title em {
  font-style: italic;
  font-weight: 400;
}
.commit p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 26px;
  max-width: 92%;
}
.commit__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.commit__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--t);
}
.commit:hover .commit__tag {
  border-color: var(--dark);
  color: var(--dark);
}

@media (max-width: 1100px) {
  .commitments .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .commitments__intro { position: static; }
}
@media (max-width: 640px) {
  .commit { padding: 32px 28px 28px; }
  .commit__num { font-size: 3.2rem; top: 28px; right: 28px; }
  .commit__title { font-size: 1.35rem; max-width: 70%; }
  .commitments::before { font-size: 30vw; top: 30px; }
}

/* ─── Animations ─── */
[data-anim] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-anim="left"] { transform: translateX(-40px); }
[data-anim="left"].visible { transform: translateX(0); }
[data-anim="right"] { transform: translateX(40px); }
[data-anim="right"].visible { transform: translateX(0); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .portfolio-main-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .hero__top .container { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { height: 360px; max-width: 100%; }
  .hero__badge { left: 0; bottom: 20px; }
  .hero__badge2 { right: 0; top: 0; }
  .marquee__item { font-size: 1.05rem; }
  .marquee__track { gap: 36px; padding-right: 36px; }
  .about-home .container { grid-template-columns: 1fr; gap: 60px; }
  .about-home__exp-badge { right: 16px; }
  .portfolio-grid-home { grid-template-columns: 1fr; }
  .portfolio-card:first-child { grid-row: auto; }
  .contact-page .container { grid-template-columns: 1fr; gap: 60px; }
  .service-item { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .service-item__cta { align-items: flex-start; text-align: left; flex-direction: row; gap: 14px; align-items: center; }
  .service-item__cta-arrow { margin-top: 0; }
  .services-home .section-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-home .section-header { flex-direction: column; align-items: flex-start; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .portfolio-main-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .contact-form-wrap { padding: 32px 24px; }
  .hero__badge { display: none; }
  .hero__badge2 { display: none; }
  .hero__visual { height: 300px; }
  .nav { padding: 18px 0; }
  .nav.scrolled { padding: 14px 0; }
  .nav__cta { display: none; }
  .btn { padding: 14px 28px; font-size: 0.78rem; }
  .hero__top { padding-top: 100px; padding-bottom: 40px; }
  .page-header { padding: 130px 0 70px; }
  .marquee__item { font-size: 0.95rem; }
  .service-item { padding: 28px 24px; }
  .cta-banner { padding: 80px 0; }
  .cta-banner__deco { font-size: 28vw; }
}
