/* ---------- Design tokens (charte graphique Dapfy : bordeaux + gris chauds + laiton) ---------- */
:root {
  /* Bordeaux — couleur signature du logo Dapfy */
  --brand-50:  #FBF3F2;
  --brand-100: #F5E5E3;
  --brand-200: #E8C4C1;
  --brand-500: #A83D34;
  --brand-600: #8B2318;
  --brand-700: #7A1F1B;
  --brand-800: #6A1A18;
  --brand-900: #5A1614;

  /* Laiton doré — accent chaleureux inspiré du reflet cosmique du logo */
  --accent:      #B8945A;
  --accent-2:    #C9A972;
  --accent-dark: #A07E44;

  /* Feedback */
  --success:   #4A7C59;
  --amber:     #C99B3D;
  --danger:    #A83D34;

  /* Gris chauds — écho de l'anneau anthracite et du demi-globe argenté */
  --ink-900: #1E1815;
  --ink-800: #332B24;
  --ink-700: #4A4038;
  --ink-500: #7E7365;
  --ink-400: #A69B8A;
  --ink-300: #C9C0B3;
  --ink-200: #E0D9CE;
  --ink-100: #F0EBE3;
  --ink-50:  #FAF7F2;

  --bg: #FFFFFF;
  --bg-soft: #FAF7F2;
  --bg-dark: #1E1815;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(30,24,21,.06), 0 1px 3px rgba(30,24,21,.04);
  --shadow-md: 0 8px 24px -8px rgba(30,24,21,.12), 0 4px 8px -4px rgba(30,24,21,.06);
  --shadow-lg: 0 24px 60px -20px rgba(122,31,27,.22), 0 12px 24px -12px rgba(30,24,21,.10);
  --shadow-brand: 0 20px 40px -12px rgba(122,31,27,.35);
  --shadow-accent: 0 20px 40px -12px rgba(184,148,90,.35);

  --gradient-brand: linear-gradient(135deg, #7A1F1B 0%, #A83D34 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(122,31,27,.06), rgba(168,61,52,.04));
  --gradient-accent: linear-gradient(135deg, #B8945A 0%, #C9A972 100%);
  --gradient-hero: radial-gradient(60% 80% at 20% 0%, rgba(122,31,27,.09) 0%, transparent 60%),
                   radial-gradient(50% 60% at 90% 20%, rgba(184,148,90,.07) 0%, transparent 60%);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 0.4em; color: var(--ink-900); line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-family: var(--font-display); letter-spacing: -0.02em; }
h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 0 0 12px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-600); color: white; padding: 12px 20px; border-radius: 0 0 var(--radius-md) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { color: #fff; box-shadow: 0 30px 70px -20px rgba(168,61,52,.55); }
.btn-secondary { background: rgba(168,61,52,.06); color: var(--brand-700); border-color: rgba(168,61,52,.18); }
.btn-secondary:hover { background: rgba(168,61,52,.10); color: var(--brand-800); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { color: var(--brand-600); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(30,24,21,.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); font-weight: 800; letter-spacing: -0.02em; }
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  color: transparent;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-size: 19px; font-family: var(--font-display); }

.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.site-nav a {
  color: var(--ink-700); font-weight: 500; font-size: 14.5px;
  transition: color .15s;
}
.site-nav a:hover { color: var(--brand-600); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink-800); margin: 5px 0;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed; inset: 72px 0 auto 0;
    background: #fff; border-bottom: 1px solid rgba(30,24,21,.06);
    flex-direction: column; padding: 20px 24px; gap: 16px;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; }
  .site-nav a { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(30,24,21,.05); }
  .header-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-orb-1 { width: 560px; height: 560px; background: var(--brand-500); top: -120px; left: -120px; opacity: .32; }
.hero-orb-2 { width: 460px; height: 460px; background: var(--accent);    top: -80px;  right: -80px; opacity: .28; }
.hero-orb-3 { width: 380px; height: 380px; background: #C57367;          bottom: -140px; left: 40%; opacity: .16; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,61,52,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,61,52,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 0%, black, transparent 80%);
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.04;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 { color: var(--ink-900); font-feature-settings: "ss01", "cv11"; }
.hero h1 .accent-gradient {
  background: linear-gradient(100deg, #A83D34 0%, #C57367 40%, #B8945A 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline;
}
.hero-subtitle {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--ink-500);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.65;
}
/* Espace supplementaire quand le titre est masque (evite qu'eyebrow colle au paragraphe) */
#hero-title[hidden] + .hero-subtitle { margin-top: 28px; }
.hero-cta {
  display: none; /* caché sur demande — remettre "flex" pour ré-afficher */
  gap: 14px; flex-wrap: wrap; margin-bottom: 32px;
}

.hero-chips {
  list-style: none; padding: 0; margin: 0;
  display: none; /* caché sur demande — remettre "flex" pour ré-afficher */
  flex-wrap: wrap; gap: 8px;
}
.hero-chips li {
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(168,61,52,.06);
  color: var(--brand-700);
  border: 1px solid rgba(168,61,52,.14);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .2s, background .2s;
}
.hero-chips li:hover { transform: translateY(-1px); background: rgba(168,61,52,.10); }

/* Stats (full width row below the split hero) */
.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 60px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168,61,52,.14);
  box-shadow: var(--shadow-md);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label { font-size: 13px; color: var(--ink-500); margin-top: 8px; font-weight: 500; }

/* ---------- Hero 3D scene ---------- */
.hero-scene {
  position: relative;
  height: 520px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.scene-stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-14deg);
  animation: sceneBreath 12s ease-in-out infinite alternate;
}
@keyframes sceneBreath {
  0%   { transform: rotateX(8deg)  rotateY(-14deg); }
  100% { transform: rotateX(11deg) rotateY(-8deg); }
}

.scene-rings {
  position: absolute;
  width: 100%; height: 100%;
  color: rgba(168,61,52,.35);
  filter: drop-shadow(0 8px 24px rgba(168,61,52,.15));
  animation: ringSpin 40s linear infinite;
  transform-style: preserve-3d;
}
@keyframes ringSpin {
  from { transform: rotateZ(0deg); }
  to   { transform: rotateZ(360deg); }
}

/* ── Central 3D cube ── */
.cube-wrap {
  position: absolute;
  top: 50%; left: 50%;
  width: 140px; height: 140px;
  margin: -70px 0 0 -70px;
  perspective: 1000px;
  transform-style: preserve-3d;
  z-index: 3;
}
.cube {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: cubeSpin 18s linear infinite;
}
@keyframes cubeSpin {
  0%   { transform: rotateX(-20deg) rotateY(0deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}
.cube-face {
  position: absolute;
  width: 140px; height: 140px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 62px;
  color: #fff;
  background: linear-gradient(135deg, #A83D34 0%, #C57367 55%, #B8945A 100%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 40px rgba(255,255,255,.15), 0 20px 60px -10px rgba(168,61,52,.4);
  backface-visibility: visible;
}
.cube-front  { transform: translateZ(70px); }
.cube-back   { transform: rotateY(180deg) translateZ(70px); background: linear-gradient(135deg, #7A1F1B, #A83D34); }
.cube-right  { transform: rotateY(90deg)  translateZ(70px); background: linear-gradient(135deg, #8B2318, #C57367); opacity: 0.9; }
.cube-left   { transform: rotateY(-90deg) translateZ(70px); background: linear-gradient(135deg, #B8945A, #C9A972); opacity: 0.85; }
.cube-top    { transform: rotateX(90deg)  translateZ(70px); background: linear-gradient(135deg, #C57367, #B8945A); }
.cube-bottom { transform: rotateX(-90deg) translateZ(70px); background: linear-gradient(135deg, #6A1A18, #7A1F1B); }
.cube-glow {
  position: absolute; inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(168,61,52,.4) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: 0.5; transform: scale(0.9); }
  to   { opacity: 0.9; transform: scale(1.15); }
}

/* ── Floating frosted cards ── */
.float-card {
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.6));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    0 20px 50px -12px rgba(122,31,27,.28),
    0 8px 16px -6px rgba(30,24,21,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  padding: 16px;
  transform-style: preserve-3d;
}
.float-card-1 {
  width: 180px; height: 90px;
  top: 8%; left: -6%;
  transform: translateZ(60px) rotateY(18deg) rotateX(-6deg);
  animation: floatA 7s ease-in-out infinite alternate;
}
.float-card-2 {
  width: 150px; height: 100px;
  bottom: 12%; left: 4%;
  transform: translateZ(30px) rotateY(20deg) rotateX(4deg);
  animation: floatB 8s ease-in-out infinite alternate;
}
.float-card-3 {
  width: 170px; height: 110px;
  top: 18%; right: -8%;
  transform: translateZ(80px) rotateY(-22deg) rotateX(-4deg);
  animation: floatC 9s ease-in-out infinite alternate;
}
@keyframes floatA {
  from { transform: translate3d(0, 0, 60px) rotateY(18deg) rotateX(-6deg); }
  to   { transform: translate3d(4px, -10px, 70px) rotateY(22deg) rotateX(-2deg); }
}
@keyframes floatB {
  from { transform: translate3d(0, 0, 30px) rotateY(20deg) rotateX(4deg); }
  to   { transform: translate3d(-6px, -8px, 45px) rotateY(16deg) rotateX(8deg); }
}
@keyframes floatC {
  from { transform: translate3d(0, 0, 80px)  rotateY(-22deg) rotateX(-4deg); }
  to   { transform: translate3d(-4px, 8px, 92px) rotateY(-18deg) rotateX(-8deg); }
}

.card-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #34D399);
  box-shadow: 0 0 12px rgba(16,185,129,.6);
  margin-bottom: 10px;
}
.card-glyph {
  font-family: var(--font-display);
  font-weight: 700; font-size: 30px;
  background: linear-gradient(135deg, #A83D34, #B8945A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.card-lines { display: flex; flex-direction: column; gap: 6px; }
.card-lines span {
  display: block; height: 6px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(168,61,52,.25), rgba(184,148,90,.15));
}
.card-lines span:nth-child(1) { width: 90%; }
.card-lines span:nth-child(2) { width: 65%; }
.card-lines span:nth-child(3) { width: 78%; }
.card-chart {
  display: flex; align-items: flex-end; gap: 6px;
  height: 100%;
}
.card-chart span {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #A83D34, #B8945A);
  min-height: 20%;
}

/* ── Floating tech badges ── */
.badge {
  position: absolute;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(30,24,21,.92);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.2px;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 8px 24px -8px rgba(30,24,21,.4);
  border: 1px solid rgba(255,255,255,.1);
}
.badge span {
  background: linear-gradient(135deg, #C57367, #C9A972);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 14px;
}
.badge-1 { top: 4%; right: 20%; transform: translateZ(120px); animation: floatBadge1 5s ease-in-out infinite alternate; }
.badge-2 { bottom: 22%; right: 10%; transform: translateZ(140px); animation: floatBadge2 6s ease-in-out infinite alternate; }
.badge-3 { bottom: 6%; left: 30%; transform: translateZ(100px); animation: floatBadge3 7s ease-in-out infinite alternate; }
@keyframes floatBadge1 { from { transform: translate3d(0,0,120px);} to {transform: translate3d(4px,-8px,130px);} }
@keyframes floatBadge2 { from { transform: translate3d(0,0,140px);} to {transform: translate3d(-6px,-6px,150px);} }
@keyframes floatBadge3 { from { transform: translate3d(0,0,100px);} to {transform: translate3d(6px,-10px,115px);} }

/* ── Sparks ── */
.spark {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 2px rgba(255,255,255,.8), 0 0 24px 4px rgba(168,85,247,.6);
}
.spark-1 { top: 24%; left: 22%; animation: twinkle 3s infinite; }
.spark-2 { top: 68%; left: 40%; animation: twinkle 2.4s infinite .5s; }
.spark-3 { top: 30%; right: 30%; animation: twinkle 2.8s infinite 1s; }
.spark-4 { top: 82%; right: 22%; animation: twinkle 3.2s infinite 1.5s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* Mobile / tablet : stack hero and shrink 3D scene */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-scene { height: 380px; margin-top: 32px; }
  .cube-wrap { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
  .cube-face { width: 110px; height: 110px; font-size: 48px; }
  .cube-front  { transform: translateZ(55px); }
  .cube-back   { transform: rotateY(180deg) translateZ(55px); }
  .cube-right  { transform: rotateY(90deg)  translateZ(55px); }
  .cube-left   { transform: rotateY(-90deg) translateZ(55px); }
  .cube-top    { transform: rotateX(90deg)  translateZ(55px); }
  .cube-bottom { transform: rotateX(-90deg) translateZ(55px); }
}
@media (max-width: 560px) {
  .hero-scene { height: 320px; }
  .float-card-1 { width: 140px; height: 70px; left: 2%; }
  .float-card-2 { width: 120px; height: 80px; left: 8%; }
  .float-card-3 { width: 130px; height: 84px; right: 2%; }
  .badge { font-size: 11px; padding: 6px 12px; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-solutions { background: var(--bg-soft); }
.section-approach { background: linear-gradient(180deg, var(--bg) 0%, var(--brand-50) 100%); }
.section-insights { background: var(--bg); }
.section-about { background: var(--bg-soft); }

.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-lead { color: var(--ink-500); font-size: 1.1rem; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(168,61,52,.10);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-brand-soft);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(168,61,52,.28); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card.featured {
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 60%, var(--accent) 130%);
  color: #fff;
  border-color: transparent;
  grid-column: span 2;
  box-shadow: var(--shadow-brand);
}
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,.86); }
.service-card.featured .service-icon { background: rgba(255,255,255,.14); color: #fff; }
.service-card.featured .featured-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: rgba(255,255,255,.18); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--gradient-brand-soft);
  color: var(--brand-600);
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-500); margin: 0; font-size: 0.96rem; }

@media (max-width: 720px) {
  .service-card.featured { grid-column: span 1; }
}

/* ---------- Products grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(30,24,21,.06);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-emoji {
  font-size: 34px;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--gradient-brand-soft);
  margin-bottom: 20px;
}
.product-card h3 { margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.product-tagline { color: var(--brand-600); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.product-desc { color: var(--ink-500); font-size: 0.95rem; margin: 0 0 20px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(30,24,21,.05); }
.product-sector { font-size: 12px; color: var(--ink-400); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.product-link { font-size: 14px; font-weight: 600; color: var(--brand-600); }
.product-link:hover { color: var(--brand-800); }
.product-link::after { content: ' →'; transition: transform .2s; display: inline-block; }
.product-link:hover::after { transform: translateX(3px); }

/* ---------- Approach list ---------- */
.approach-list { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.approach-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(168,61,52,.10);
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.approach-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.approach-step {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.approach-item h3 { margin-bottom: 8px; }
.approach-item p { color: var(--ink-500); margin: 0; }

@media (max-width: 600px) {
  .approach-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Testimonials ---------- */
.section-testimonials {
  background:
    radial-gradient(55% 60% at 15% 10%, rgba(168,61,52,.10) 0%, transparent 55%),
    radial-gradient(45% 55% at 85% 90%, rgba(184,148,90,.08) 0%, transparent 55%),
    var(--bg);
  position: relative;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(168,61,52,.10);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,61,52,.28);
}
.testimonial-card:hover::before { transform: scaleX(1); }
.testimonial-quote-mark {
  position: absolute;
  top: 12px; right: 24px;
  font-family: 'Georgia', serif;
  font-size: 100px;
  line-height: 1;
  color: rgba(168,61,52,.12);
  pointer-events: none;
  user-select: none;
}
.testimonial-rating {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  color: var(--ink-800);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 24px;
  flex: 1;
  font-weight: 500;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(30,24,21,.06);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px -4px rgba(168,61,52,.5);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 14.5px;
}
.testimonial-role {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* ---------- Insights ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.insight-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%);
  border: 1px solid rgba(168,61,52,.10);
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.insight-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: rgba(168,61,52,.10); color: var(--brand-700);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.insight-card h3 { margin-bottom: 10px; line-height: 1.3; }
.insight-card p { color: var(--ink-500); margin: 0; font-size: 0.95rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.about-copy p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 1.2em; }
.about-values { display: grid; gap: 16px; }
.value-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(168,61,52,.10);
  box-shadow: var(--shadow-sm);
}
.value-item h4 {
  font-size: 1.05rem; margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.value-item h4::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient-brand);
}
.value-item p { color: var(--ink-500); margin: 0; font-size: 0.95rem; }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- CTA ---------- */
.section-cta {
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(168,61,52,.14) 0%, transparent 60%),
    radial-gradient(50% 60% at 80% 100%, rgba(184,148,90,.14) 0%, transparent 60%),
    var(--ink-900);
  color: #fff;
  padding: 120px 0;
}
.cta-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-inner p { color: rgba(255,255,255,.78); font-size: 1.15rem; margin-bottom: 40px; }
.contact-info {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.10);
}
.contact-info div { text-align: left; }
.contact-info strong { color: rgba(255,255,255,.55); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 6px; }
.contact-info a, .contact-info span { color: #fff; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.62);
  padding: 60px 0 30px;
}
.footer-inner { display: grid; gap: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 0.95rem; margin: 0; }
.footer-links {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,.62); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,.45); }

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .footer-bottom { grid-column: 1 / -1; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Refonte visuelle — Section Solutions avec captures d'écran
   ═══════════════════════════════════════════════════════════════════════════ */

/* Grille produits avec preview screenshots */
.showcase {
  padding: 80px 0;
  background: var(--bg-soft);
  position: relative;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.showcase-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-500);
}
.showcase-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--ink-100), var(--ink-200));
  overflow: hidden;
  border-bottom: 1px solid var(--ink-200);
}
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform .4s ease;
}
.showcase-card:hover .showcase-media img { transform: scale(1.03); }
.showcase-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.showcase-body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.showcase-body h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.showcase-body p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.showcase-features li {
  font-size: 12.5px;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--ink-100);
}
.showcase-link {
  color: var(--brand-700);
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s, color .2s;
}
.showcase-link:hover {
  gap: 10px;
  color: var(--brand-800);
}
.showcase-url {
  font-size: 11px;
  color: var(--ink-400);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Section démo avec screenshot mockup */
.demo-section {
  padding: 100px 0;
  background: #fff;
}
.demo-mockup {
  margin-top: 50px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-200);
  background: var(--ink-50);
}
.demo-mockup-toolbar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--ink-100);
  border-bottom: 1px solid var(--ink-200);
  align-items: center;
}
.demo-mockup-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink-300);
}
.demo-mockup-dot:nth-child(1) { background: #ff5f57; }
.demo-mockup-dot:nth-child(2) { background: #febc2e; }
.demo-mockup-dot:nth-child(3) { background: #28c840; }
.demo-mockup-url {
  margin-left: 20px;
  padding: 4px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--ink-200);
  font-size: 12px;
  color: var(--ink-500);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  flex: 1;
}
.demo-mockup img {
  width: 100%;
  display: block;
}

/* Section KPI horizontale (proof) */
.kpi-strip {
  padding: 60px 0;
  background: var(--gradient-brand);
  color: #fff;
}
.kpi-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.kpi-strip-item .value {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.kpi-strip-item .label {
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  margin-top: 8px;
  font-weight: 500;
}

/* Boutons accent (orange) — usage rare, pour CTA principal */
.btn-accent {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  color: #fff;
  box-shadow: 0 26px 60px -18px rgba(184,148,90,.55);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Pages détaillées par solution (/produits/xxx)
   ═══════════════════════════════════════════════════════════════════════════ */

.solution-hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.solution-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(122,31,27,.08) 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 30%, rgba(184,148,90,.05) 0%, transparent 60%);
  z-index: 0;
}
.solution-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .solution-hero-inner { grid-template-columns: 1fr; }
}
.solution-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(122,31,27,.08);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.solution-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.solution-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.solution-hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-200);
}
.solution-hero-visual img {
  width: 100%;
  display: block;
}

.solution-features {
  padding: 80px 0;
  background: #fff;
}
.solution-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.solution-feature {
  padding: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.solution-feature:hover {
  transform: translateY(-2px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.solution-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
}
.solution-feature h3 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--ink-900);
}
.solution-feature p {
  color: var(--ink-500);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.solution-modules {
  padding: 80px 0;
  background: var(--bg-soft);
}
.solution-modules-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.solution-module-chip {
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-200);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-800);
  font-weight: 500;
}
.solution-module-chip::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.solution-cta {
  padding: 80px 0;
  background: var(--ink-900);
  color: #fff;
  text-align: center;
}
.solution-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 16px;
}
.solution-cta p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.solution-back {
  padding: 20px 0;
  border-bottom: 1px solid var(--ink-100);
  background: #fff;
}
.solution-back a {
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.solution-back a:hover { color: var(--brand-700); }

/* ============================================================
   Formulaire de contact / réservation démo (#contact)
   ============================================================ */
.contact-form {
  max-width: 720px;
  margin: 32px auto 24px;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}
.cf-row { display: grid; gap: 16px; margin-bottom: 16px; }
.cf-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .cf-row.two { grid-template-columns: 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cf-field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-800, #1f2937);
  letter-spacing: -0.01em;
}
.cf-field > span em {
  color: #b91c1c;
  font-style: normal;
  font-weight: 700;
  margin-left: 2px;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: var(--ink-900, #0f172a);
  transition: border-color 120ms ease, box-shadow 120ms ease;
  width: 100%;
  box-sizing: border-box;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--brand-700, #7A1F1B);
  box-shadow: 0 0 0 3px rgba(122, 31, 27, 0.15);
}
.cf-field textarea { resize: vertical; min-height: 96px; }
.cf-honey {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.cf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cf-actions .btn { min-width: 220px; }
.cf-consent {
  font-size: 12px;
  color: var(--ink-500, #64748b);
  line-height: 1.5;
  max-width: 340px;
}
.cf-result {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.cf-result.ok    { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cf-result.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.contact-form + .contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}
.contact-form + .contact-info div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.contact-form + .contact-info strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}
