/* ============================================================
   PIELABS – CSS v2
   Palette : bleu marine #0D3349 + rose lavande #F0D6F5
   Dark / Light theme toggle
   Typo corrigée : line-height généreux, titres lisibles
   ============================================================ */

/* ── THÈME LIGHT (défaut) ─────────────────────────────── */
:root {
  --bg:           #FAF5FB;
  --bg2:          #F3EBF7;
  --bg3:          #EDE0F3;
  --surface:      #FFFFFF;
  --surface2:     #F8F2FC;
  --border:       rgba(13, 51, 73, 0.10);
  --border-light: rgba(13, 51, 73, 0.18);

  --accent:       #0D3349;
  --accent-light: #1A5276;
  --accent2:      #C084D8;
  --accent3:      #8B5CF6;
  --accent-glow:  rgba(13, 51, 73, 0.12);

  --text:         #0D1B2A;
  --text-muted:   #4A6278;
  --text-dim:     #8FA4B4;

  --radius:       18px;
  --radius-sm:    10px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:       0 8px 32px rgba(13, 51, 73, 0.10);
  --shadow-lg:    0 20px 60px rgba(13, 51, 73, 0.14);
  --nav-bg:       rgba(250, 245, 251, 0.88);
}

/* ── THÈME DARK ───────────────────────────────────────── */
[data-theme="dark"] {
  --bg:           #080D12;
  --bg2:          #0C1318;
  --bg3:          #111A22;
  --surface:      #141E28;
  --surface2:     #1A2736;
  --border:       rgba(240, 214, 245, 0.08);
  --border-light: rgba(240, 214, 245, 0.14);

  --accent:       #C084D8;
  --accent-light: #D4A0E8;
  --accent2:      #5BAFD6;
  --accent3:      #8B5CF6;
  --accent-glow:  rgba(192, 132, 216, 0.12);

  --text:         #EDF2F7;
  --text-muted:   #7A98AE;
  --text-dim:     #3D5468;
  --nav-bg:       rgba(8, 13, 18, 0.88);
  --shadow:       0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── CURSOR (desktop uniquement) ── */
.cursor, .cursor-follower { display: none; }

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  .cursor {
    display: block;
    width: 10px; height: 10px; background: var(--accent);
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
  }
  .cursor-follower {
    display: block;
    width: 36px; height: 36px; border: 1.5px solid var(--accent);
    border-radius: 50%; position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.4s;
    opacity: 0.45;
  }
  .cursor.hover { width: 18px; height: 18px; }
  .cursor-follower.hover { width: 52px; height: 52px; opacity: 0.8; }
}

/* ── LOADER ── */
.loader {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease;
}
.loader.done { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loader-logo-img { width: 160px; height: auto; border-radius: 12px; animation: loaderFadeIn 0.6s ease forwards; opacity: 0; }
[data-theme="dark"] .loader-logo-img { filter: brightness(0) invert(1); }
@keyframes loaderFadeIn { to { opacity: 1; } }
.loader-bar { width: 160px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0; background: var(--accent); border-radius: 2px; animation: loaderBar 1.2s ease forwards 0.3s; }
@keyframes loaderBar { to { width: 100%; } }
.loader-text { font-size: 13px; color: var(--text-muted); letter-spacing: 0.08em; }
.dots { animation: dotsBlink 1s infinite; }
@keyframes dotsBlink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 44px; height: 24px; background: var(--bg3);
  border-radius: 12px; border: 1px solid var(--border-light);
  position: relative; cursor: pointer; transition: background var(--transition); flex-shrink: 0;
}
.theme-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); transition: transform var(--transition);
}
[data-theme="dark"] .theme-toggle::after { transform: translateX(20px); }
.theme-toggle-wrap { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: var(--nav-bg); backdrop-filter: blur(20px);
  padding: 14px 48px; box-shadow: 0 1px 0 var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 30px; width: auto; object-fit: contain; transition: filter 0.4s; }
[data-theme="dark"] .nav-logo-img { filter: brightness(0) invert(1); }
.nav-badge {
  background: var(--surface); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 100px;
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg3); }
.nav-link.active { color: var(--accent) !important; }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important; font-weight: 600; padding: 9px 22px;
}
[data-theme="dark"] .nav-cta { color: var(--bg) !important; }
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 290px;
  background: var(--surface); z-index: 999;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  padding: 100px 40px 40px; border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; }
.mobile-link {
  display: block; padding: 16px 0; color: var(--text); text-decoration: none;
  font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700;
  border-bottom: 1px solid var(--border); transition: color var(--transition);
}
.mobile-link:hover { color: var(--accent); }
.mobile-theme { margin-top: 32px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 48px 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(120px); }
.glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(192,132,216,0.18) 0%, transparent 70%);
  top: -150px; right: -150px; animation: glowPulse 6s ease-in-out infinite alternate;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,51,73,0.10) 0%, transparent 70%);
  bottom: 0; left: 0; animation: glowPulse 8s ease-in-out infinite alternate-reverse;
}
[data-theme="dark"] .glow-1 { background: radial-gradient(circle, rgba(192,132,216,0.10) 0%, transparent 70%); }
[data-theme="dark"] .glow-2 { background: radial-gradient(circle, rgba(91,175,214,0.08) 0%, transparent 70%); }
@keyframes glowPulse { from{transform:scale(1);opacity:.5} to{transform:scale(1.2);opacity:1} }

.hero-content {
  position: relative; z-index: 1; max-width: 880px;
  width: 100%;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-light);
  padding: 10px 22px; border-radius: 100px;
  font-size: 13px; color: var(--text-muted); font-weight: 500;
  margin-bottom: 40px; box-shadow: var(--shadow);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.4); animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,0.4)}
  50%{box-shadow:0 0 0 6px rgba(34,197,94,0)}
}

/* TITRES – taille fluide, "Développement" tient toujours sur une ligne */
.hero-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(28px, 5.2vw, 72px);
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin-bottom: 30px; color: var(--text);
}
.title-line { display: block; }
.title-line.accent { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px); color: var(--text-muted);
  line-height: 1.78; max-width: 580px; margin: 0 auto 52px;
}
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 52px; box-shadow: var(--shadow); gap: 0;
}
.stat { text-align: center; padding: 0 36px; }
.stat-num { display: block; font-family: 'Syne', sans-serif; font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat-suffix { font-family: 'Syne', sans-serif; font-size: 42px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }
.stat-divider { width: 1px; height: 44px; background: var(--border); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top}
  51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom}
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  text-decoration: none; cursor: pointer; border: none;
  transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: #fff; }
[data-theme="dark"] .btn-primary { color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--accent-glow); opacity: 0.9; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-light); box-shadow: var(--shadow); }
.btn-ghost:hover { background: var(--bg3); border-color: var(--accent); color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-light); width: 100%; justify-content: center; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--bg3); }
.btn-full { width: 100%; justify-content: center; }

/* ── MARQUEE ── */
.marquee-bar { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; gap: 0; }
.marquee-track span { padding: 0 20px; font-size: 13px; color: var(--text-muted); font-weight: 500; white-space: nowrap; letter-spacing: 0.04em; }
.marquee-track .dot { color: var(--accent2); padding: 0 4px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ── */
.section { padding: 110px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.14em;
  padding: 6px 18px; border-radius: 100px;
  background: var(--bg3); border: 1px solid var(--border-light); margin-bottom: 22px;
}
.section-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.022em; color: var(--text);
}
.section-title em { color: var(--accent); font-style: normal; }

/* ── SERVICES ── */
.services { background: var(--bg2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card.card-large { grid-column: 1 / 3; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-light); }
.card-icon {
  width: 52px; height: 52px; margin-bottom: 20px; color: var(--accent);
  background: var(--bg3); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.card-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: auto; }
.card-tags li { font-size: 12px; padding: 4px 12px; border-radius: 100px; background: var(--bg3); color: var(--text-muted); border: 1px solid var(--border); }
.card-arrow { position: absolute; top: 24px; right: 24px; font-size: 18px; color: var(--text-dim); transition: var(--transition); }
.service-card:hover .card-arrow { color: var(--accent); transform: translate(4px, -4px); }
.card-highlight { border-color: var(--border-light); }
.card-highlight-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--accent); font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 100px; margin-top: 12px;
}

/* ── PROJETS ── */
.projets { background: var(--bg); }
.projets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.projet-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.projet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-light); }
.projet-visual {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3);
}
.projet-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(192,132,216,0.15), transparent 60%); }
.projet-visual[style*="--c1"] { background: linear-gradient(135deg, var(--bg3), var(--bg2)); }
.projet-mockup {
  width: 240px; background: var(--surface); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border-light); position: relative; z-index: 1; box-shadow: var(--shadow);
}
.pm-bar {
  height: 28px; background: var(--bg3); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 10px; gap: 6px;
}
.pm-bar::before {
  content: ''; display: block; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(239,68,68,0.4); box-shadow: 14px 0 0 rgba(234,179,8,0.4), 28px 0 0 rgba(34,197,94,0.4);
}
.pm-content { padding: 14px; }
.pm-line { height: 8px; border-radius: 4px; background: var(--bg3); margin-bottom: 8px; }
.pm-line.w80{width:80%} .pm-line.w70{width:70%} .pm-line.w60{width:60%} .pm-line.w50{width:50%} .pm-line.w40{width:40%}
.pm-grid { display: flex; gap: 8px; margin-top: 12px; }
.pm-block { flex: 1; height: 40px; border-radius: 6px; background: var(--bg3); }
.pm-bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 50px; margin-bottom: 12px; }
.pm-bar-chart .bar { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--accent), var(--accent2)); opacity: 0.6; }
.mobile-mockup { width: 120px; border-radius: 20px; }
.pm-notch { height: 4px; width: 40px; background: var(--bg3); border-radius: 2px; margin: 8px auto; }
.pm-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--bg3); margin: 0 auto 10px; }
.pm-btn { height: 28px; border-radius: 14px; background: var(--bg3); margin-top: 10px; }
.server-mockup { display: flex; gap: 12px; }
.server-rack { display: flex; flex-direction: column; gap: 6px; }
.rack-unit { width: 16px; height: 12px; border-radius: 3px; background: var(--bg3); border: 1px solid var(--border); }
.rack-unit.active { background: rgba(34,197,94,0.3); border-color: rgba(34,197,94,0.5); }
.projet-info { padding: 24px; }
.projet-type { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px; display: block; }
.projet-info h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.projet-info p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.projet-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.projet-tags span { font-size: 11px; padding: 4px 10px; border-radius: 100px; background: var(--bg3); color: var(--text-muted); border: 1px solid var(--border); }

/* ── HÉBERGEMENT ── */
.hebergement { background: var(--bg2); }
.heberg-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.heberg-desc { color: var(--text-muted); margin: 24px 0 36px; line-height: 1.8; }
.heberg-features { display: flex; flex-direction: column; gap: 16px; }
.heberg-feat { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); transition: var(--transition); }
.heberg-feat:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.feat-icon { font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.heberg-feat strong { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.heberg-feat span { font-size: 13px; color: var(--text-muted); }

.infra-visual { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; align-items: center; gap: 0; box-shadow: var(--shadow); }
.infra-node { background: var(--bg3); border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 22px; text-align: center; font-size: 13px; font-weight: 500; transition: var(--transition); position: relative; }
.infra-node:hover { border-color: var(--accent); }
.node-icon { font-size: 20px; margin-bottom: 4px; }
.node-status { width: 8px; height: 8px; border-radius: 50%; position: absolute; top: 8px; right: 8px; }
.node-status.active { background: #22C55E; animation: dotPulse 2s infinite; }
.infra-line { width: 2px; height: 24px; background: linear-gradient(to bottom, var(--border), var(--accent)); margin: 0 auto; opacity: 0.6; animation: lineFlow 2.5s ease-in-out infinite; }
@keyframes lineFlow { 0%,100%{opacity:0.3} 50%{opacity:1} }
.infra-lines-split { display: flex; gap: 80px; justify-content: center; }
.infra-servers { display: flex; gap: 24px; }
.infra-badge { margin-top: 20px; font-size: 12px; font-weight: 600; color: var(--accent); padding: 8px 20px; border-radius: 100px; background: var(--bg3); border: 1px solid var(--border-light); }

/* ── OFFRES ── */
.offres { background: var(--bg); }
.offres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offre-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; position: relative; display: flex; flex-direction: column; gap: 28px; transition: all var(--transition); }
.offre-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offre-featured { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-glow); }
.offre-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 18px; border-radius: 100px; white-space: nowrap; }
[data-theme="dark"] .offre-badge { color: var(--bg); }
.offre-header h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.offre-price { display: flex; align-items: baseline; gap: 4px; }
.price-num { font-family: 'Syne', sans-serif; font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.offre-price span { color: var(--text-muted); font-size: 14px; }
.offre-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.offre-features li { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.offre-features li.disabled { opacity: 0.35; text-decoration: line-through; }

/* ── À PROPOS ── */
.apropos { background: var(--bg2); }
.apropos-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.apropos-left .section-title { text-align: left; margin-bottom: 24px; }
.apropos-left p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 15px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.value-pill { padding: 8px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; transition: var(--transition); }
.value-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--bg3); }
.team-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-avatar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: all var(--transition); text-align: center; }
.team-avatar:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar-inner { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: white; }
.av1 .avatar-inner { background: linear-gradient(135deg, #0D3349, #1A5276); }
.av2 .avatar-inner { background: linear-gradient(135deg, #C084D8, #8B5CF6); }
.av3 .avatar-inner { background: linear-gradient(135deg, #EF4444, #F97316); }
.av4 .avatar-inner { background: linear-gradient(135deg, #A855F7, #3B82F6); }
.avatar-info strong { display: block; font-size: 14px; font-weight: 600; }
.avatar-info span { font-size: 12px; color: var(--text-muted); }

/* ── CONTACT ── */
.contact { background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.ci-icon { font-size: 20px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px; }
.contact-item a, .contact-item span { font-size: 15px; color: var(--text); text-decoration: none; transition: color var(--transition); }
.contact-item a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-footer { display: flex; flex-direction: column; gap: 12px; }
.rgpd-notice { font-size: 12px; color: var(--text-dim); }
.form-feedback {
  display: none; padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; text-align: center;
}
.form-feedback.show { display: block; animation: fadeInUp 0.35s ease; }
.form-feedback.success {
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.28);
  color: #15803D;
}
[data-theme="dark"] .form-feedback.success { color: #4ADE80; }
.form-feedback.error {
  background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.25);
  color: #DC2626;
}
[data-theme="dark"] .form-feedback.error { color: #FCA5A5; }

/* ── FOOTER ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer-logo-img { height: 28px; width: auto; margin-bottom: 16px; display: block; transition: filter 0.4s; }
[data-theme="dark"] .footer-logo-img { filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.footer-links-group h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 20px; }
.footer-links-group ul { list-style: none; }
.footer-links-group li { margin-bottom: 12px; }
.footer-links-group a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer-links-group a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding: 24px 0; font-size: 13px; color: var(--text-dim); }
.footer-badges { display: flex; gap: 10px; }
.fb { padding: 5px 12px; border-radius: 100px; background: var(--bg3); border: 1px solid var(--border); color: var(--accent); font-size: 11px; font-weight: 600; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeInUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* ══════════════════════════════════════════════
   RESPONSIVE — tablet & mobile
   ══════════════════════════════════════════════ */

/* ── Tablet 1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { padding: 18px 32px; }
  .nav.scrolled { padding: 12px 32px; }
  .hero { padding: 110px 32px 72px; }
  /* hero-title suit le vw naturellement, pas besoin de surcharge à 1024px */
  .hero-stats { padding: 24px 32px; }
  .stat { padding: 0 24px; }
  .stat-num, .stat-suffix { font-size: 34px; }
  .section { padding: 88px 0; }
  .section-title { font-size: clamp(28px, 4vw, 46px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.card-large { grid-column: 1 / 3; }
  .projets-grid { grid-template-columns: repeat(2, 1fr); }
  .offres-grid { grid-template-columns: repeat(2, 1fr); }
  .heberg-inner { grid-template-columns: 1fr; gap: 48px; }
  .apropos-inner { grid-template-columns: 1fr; gap: 40px; }
  .apropos-left .section-title { text-align: center; }
  .apropos-left .section-tag { display: block; text-align: center; }
  .values { justify-content: center; }
  .team-visual { max-width: 480px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ── Mobile 768px ── */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  /* Nav */
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 10px 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-badge { display: none; }
  .nav-logo-img { height: 26px; }

  /* Hero */
  .hero { min-height: 100svh; padding: 90px 24px 56px; }
  .hero-content { max-width: 100%; }
  .hero-title {
    font-size: clamp(18px, 5.2vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
  }
  .hero-badge { font-size: 12px; padding: 8px 16px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 15px; line-height: 1.65; margin-bottom: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 36px; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Stats hero — 3 stats en colonne, dividers cachés */
  .hero-stats {
    flex-direction: column;
    gap: 0; padding: 0;
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; width: 100%;
  }
  .stat { padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .stat-num, .stat-suffix { font-size: 28px; }
  .stat-label { font-size: 10px; }
  .stat-divider { display: none; }
  .hero-scroll { display: none; }

  /* Sections */
  .section-title { font-size: clamp(24px, 7.5vw, 36px); line-height: 1.22; }
  .section-header { margin-bottom: 40px; }
  .section-tag { font-size: 11px; }

  /* Marquee */
  .marquee-track span { padding: 0 14px; font-size: 12px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card.card-large { grid-column: 1; }
  .service-card { padding: 22px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 13px; }

  /* Projets */
  .projets-grid { grid-template-columns: 1fr; gap: 16px; }
  .projet-visual { height: 160px; }
  .projet-mockup { width: 180px; }
  .projet-info { padding: 18px; }
  .projet-info h3 { font-size: 17px; }

  /* Hébergement */
  .heberg-inner { gap: 36px; }
  .heberg-desc { font-size: 14px; }
  .heberg-feat { padding: 14px; }
  .infra-visual { padding: 24px 16px; }
  .infra-lines-split { gap: 48px; }
  .infra-node { padding: 10px 14px; font-size: 12px; }

  /* Offres */
  .offres-grid { grid-template-columns: 1fr; gap: 20px; }
  .offre-card { padding: 28px 22px; }
  .offre-header h3 { font-size: 20px; }
  .price-num { font-size: 36px; }

  /* À propos */
  .apropos-left .section-title { font-size: clamp(22px, 7vw, 32px); text-align: center; }
  .apropos-left p { font-size: 14px; }
  .team-visual { grid-template-columns: 1fr 1fr; gap: 14px; max-width: 100%; }
  .team-avatar { padding: 18px 12px; }

  /* Contact */
  .contact-inner { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-item { margin-bottom: 16px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; font-size: 12px; }
  .footer-badges { flex-wrap: wrap; justify-content: center; }
}

/* ── Petit mobile 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 80px 20px 44px; overflow: hidden; }
  .hero-title { font-size: clamp(16px, 5.2vw, 22px); line-height: 1.22; }
  .hero-subtitle { font-size: 14px; }
  .hero-badge { font-size: 11px; padding: 7px 14px; margin-bottom: 20px; }

  /* Stats encore en colonne sur petit écran */
  .hero-stats { border-radius: 12px; }
  .stat { padding: 14px 16px; }
  .stat-num, .stat-suffix { font-size: 26px; }

  .section-title { font-size: clamp(22px, 8.5vw, 30px); }
  .nav { padding: 12px 16px; }
  .nav-logo-img { height: 22px; }
  .mobile-menu { width: 100%; border-left: none; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .service-card, .offre-card { padding: 18px; }
  .projet-mockup { width: 150px; }
}