/* ===== Identité bi-ton « studio éditorial » ===== */
/* Base : CRÈME éditoriale (corps de page) */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #f4efe3;
  --bg-soft: #ece3d2;
  --bg-card: #fbf7ee;
  --border: #d9cfb9;
  --border-soft: #e6ddca;
  --text: #191510;
  --text-muted: #6d6350;
  --primary: #1f6f4f;      /* vert profond */
  --primary-2: #2f9068;    /* vert clair (dégradés) */
  --accent: #c9a227;       /* or */
  --danger: #b4472e;
  --accent-ink: #1a5f43;
  --header-bg: transparent;
  --header-bg-scrolled: rgba(244, 239, 227, 0.9);
  --btn-secondary-bg: rgba(25, 21, 16, 0.04);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 26px 60px -30px rgba(60, 45, 20, 0.34);
  --shadow-glow: 0 16px 44px -14px rgba(31, 111, 79, 0.4);
  --container: 1140px;
  --espresso: #17130d;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, monospace;
  --font-body: "Libre Franklin", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sections SOMBRES cinématographiques (hero, manifeste, appel final, footer) */
.tone-dark {
  --bg: #17130d;
  --bg-soft: #1e1811;
  --bg-card: #241d14;
  --border: #3c3123;
  --border-soft: #2c2419;
  --text: #f4ecdb;
  --text-muted: #b7a98c;
  --primary: #e8c56a;      /* sur fond sombre, l'or devient l'accent principal */
  --primary-2: #d9a441;
  --accent: #8fce9f;       /* vert clair en secondaire */
  --accent-ink: #e8c56a;
  --btn-secondary-bg: rgba(255, 250, 235, 0.05);
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 16px 44px -14px rgba(232, 197, 106, 0.4);
  background: var(--bg);
  color: var(--text);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; touch-action: manipulation; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

/* Les champs de saisie restent sélectionnables */
input, textarea, [contenteditable] {
  -webkit-user-select: text; -moz-user-select: text; user-select: text;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--primary); color: #07111f;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.gradient-text {
  background: linear-gradient(110deg, var(--primary), var(--primary-2), #22d3ee, var(--primary));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accent-shift 9s ease-in-out infinite;
}
@keyframes accent-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 600; margin-bottom: 0.85rem;
}
.eyebrow.center { text-align: center; }

.section { padding: clamp(64px, 9vw, 112px) 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.12; text-align: center;
  max-width: 20ch; margin: 0 auto 0.5rem; font-weight: 700;
  letter-spacing: -0.01em;
}
.section-subtitle {
  text-align: center; color: var(--text-muted);
  max-width: 62ch; margin: 1rem auto 3rem;
}

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #06101f;
}
.btn-primary:hover { box-shadow: 0 12px 28px -16px rgba(56, 189, 248, 0.5); }
.btn-secondary { background: var(--btn-secondary-bg); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(56, 189, 248, 0.07); }
.btn-ghost { background: rgba(56, 189, 248, 0.12); color: var(--primary); padding: 0.6rem 1.15rem; }
.btn-ghost:hover { background: rgba(56, 189, 248, 0.2); }

/* Header — barre fixe, solide et visible dès le héros */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.55);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  position: relative;
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: -0.04em; color: #fff;
  background: linear-gradient(150deg, #0b1730, #0a1120);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 22px -8px rgba(56, 189, 248, 0.7);
}
.brand-mark::after {
  content: ""; position: absolute; top: 5px; right: 5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 10px var(--primary);
}
.brand-web {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-menu { display: flex; align-items: center; gap: 1.7rem; list-style: none; }
.nav-menu a { color: var(--text-muted); font-size: 0.95rem; position: relative; transition: color 0.18s; }
.nav-menu a:not(.btn-ghost)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-radius: 2px; transition: width 0.25s var(--ease);
}
.nav-menu a:not(.btn-ghost):hover, .nav-menu a.active { color: var(--text); }
.nav-menu a.active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: calc(72px + clamp(40px, 7vw, 80px)) 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; top: -260px; left: 50%;
  width: 1200px; height: 900px; margin-left: -600px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.13), rgba(56, 189, 248, 0.07) 45%, transparent 72%);
  filter: blur(28px);
  animation: aurora-float 16s ease-in-out infinite;
}
@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  50% { transform: translate(-3%, 2.5%) scale(1.07); opacity: 1; }
}
/* Grille du hero retirée — elle est désormais gérée globalement par .bg-fx */
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6.5vw, 4.2rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.lead { font-size: 1.13rem; color: var(--text-muted); max-width: 52ch; }
.lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 0.9rem; }
.hero-note { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-note strong { color: var(--text); font-weight: 600; }
.hero-stats { display: flex; gap: 2.2rem; list-style: none; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--text); }
.hero-stats span { font-size: 0.82rem; color: var(--text-muted); max-width: 18ch; }

/* Hero visual */
.hero-visual { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }
.card-float {
  position: absolute; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 15px; font-size: 0.82rem; box-shadow: var(--shadow);
  z-index: 3; display: flex; align-items: center; gap: 8px; animation: float 5s ease-in-out infinite;
}
.card-float-1 { top: 44px; left: -12px; }
.card-float-2 { bottom: 64px; right: -12px; animation-delay: 1.5s; font-family: var(--font-display); font-weight: 600; color: var(--accent); }
.card-float-2 small { color: var(--text-muted); font-weight: 400; }
.card-float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }

/* Trust bar */
.trust { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent), var(--bg-card);
  border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(56, 189, 248, 0.1); color: var(--primary); margin-bottom: 1.2rem; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.16rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Compare */
.compare { background: var(--bg-soft); }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 3rem; list-style: none; }
.step { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 34px 30px; position: relative; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.step:hover { transform: translateY(-4px); border-color: var(--border); }
.step-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; display: block; margin-bottom: 0.7rem; background: linear-gradient(120deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* Example */
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
a.browser:hover { border-color: var(--primary); transform: translateY(-4px); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 780px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color 0.2s var(--ease); }
.faq-item[open] { border-color: var(--border); }
.faq-item summary { font-family: var(--font-display); font-weight: 600; padding: 19px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); transition: transform 0.25s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); padding: 0 0 19px; font-size: 0.95rem; }

/* CTA */
.cta { text-align: center; background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.13), transparent 60%); }
.cta-inner { max-width: 660px; }
.cta h2 { font-family: var(--font-display); font-size: clamp(1.85rem, 4vw, 2.7rem); margin-bottom: 0.8rem; letter-spacing: -0.01em; }
.cta p { color: var(--text-muted); margin-bottom: 2rem; }
.cta-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-form input { flex: 1; min-width: 220px; padding: 0.95rem 1.25rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 1rem; font-family: var(--font-body); transition: border-color 0.2s, box-shadow 0.2s; }
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); }
.cta-form input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18); }
.form-message { margin-top: 1rem; min-height: 1.4rem; font-weight: 500; }
.form-message.success { color: var(--accent); }
.form-message.error { color: var(--danger); }
.cta-direct { margin-top: 1.6rem; color: var(--text-muted); font-size: 0.95rem; }
.cta-direct a { color: var(--accent-ink); font-weight: 500; }
.cta-sep { margin: 0 0.5rem; color: var(--border); }

/* Footer */
.site-footer { border-top: 1px solid var(--border-soft); background: var(--bg-soft); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-tagline { color: var(--text-muted); margin-top: 0.8rem; font-size: 0.95rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a, .footer-contact a, .footer-contact span { color: var(--text-muted); font-size: 0.92rem; transition: color 0.18s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.footer-build { margin-top: 6px; font-size: 0.76rem; opacity: 0.6; font-family: var(--font-display); }

/* Back to top */
/* Bouton flottant WhatsApp (toujours visible, en bas a gauche, meme taille que .to-top) */
.wa-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 91;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); animation: wa-pulse 2.6s ease-out infinite;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.7), 0 6px 14px rgba(0, 0, 0, 0.4); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text); font-size: 1.2rem; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--bg-card); border-color: var(--primary); color: var(--primary); }

/* Scroll reveal (masqué uniquement si le JS est actif) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.feature-grid [data-reveal].is-visible:nth-child(2) { transition-delay: 0.06s; }
.feature-grid [data-reveal].is-visible:nth-child(3) { transition-delay: 0.12s; }
.feature-grid [data-reveal].is-visible:nth-child(4) { transition-delay: 0.18s; }
.feature-grid [data-reveal].is-visible:nth-child(5) { transition-delay: 0.24s; }
.feature-grid [data-reveal].is-visible:nth-child(6) { transition-delay: 0.3s; }
.steps [data-reveal].is-visible:nth-child(2), .pricing-grid [data-reveal].is-visible:nth-child(2) { transition-delay: 0.1s; }
.steps [data-reveal].is-visible:nth-child(3), .pricing-grid [data-reveal].is-visible:nth-child(3) { transition-delay: 0.2s; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  z-index: 1100; transition: width 0.1s linear;
}

/* Tilt 3D (survol précis uniquement) */
.is-tilting { transition: transform 0.06s linear !important; }

/* Comparateur avant / après */
.ba { max-width: 760px; margin: 0 auto 3.5rem; }

/* Projecteur lumineux du héros (suit la souris) */
.hero-spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 30%), rgba(56, 189, 248, 0.14), transparent 65%);
  transition: opacity 0.4s var(--ease);
}
.hero:hover .hero-spotlight { opacity: 1; }


/* Sélecteur de métier */
.trades { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 1.8rem; }

/* Liseré d'accent fixe (offre populaire) */
.plan-featured::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-radius: var(--radius) var(--radius) 0 0; pointer-events: none;
}

/* Coche animée du formulaire */
.form-check { height: 0; overflow: hidden; display: flex; justify-content: center; transition: height 0.3s var(--ease), margin 0.3s var(--ease); }
.form-check.show { height: 58px; margin-top: 1.2rem; }
.form-check svg { width: 56px; height: 56px; }
.form-check circle { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }
.form-check path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-check.show circle { animation: draw-circle 0.5s var(--ease) forwards; }
.form-check.show path { animation: draw-check 0.4s 0.45s var(--ease) forwards; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }

/* Bascule de thème */
.theme-toggle {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn-secondary-bg); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--primary); transform: translateY(-2px); }
.theme-toggle .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }

/* Animation d'intro */
.intro { display: none; }
html.js:not(.no-intro) .intro {
  display: flex; position: fixed; inset: 0; z-index: 3000;
  align-items: center; justify-content: center; background: var(--bg);
  animation: intro-out 0.5s var(--ease) 0.85s forwards;
}
.intro-logo { display: flex; align-items: center; gap: 0.85rem; opacity: 0; transform: translateY(10px); animation: intro-in 0.55s var(--ease) forwards; }
.intro-logo .brand-mark { width: 40px; height: 40px; }
.intro-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 6vw, 1.9rem); letter-spacing: -0.01em; }
@keyframes intro-in { to { opacity: 1; transform: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding-top: calc(72px + 28px); }
  .hero-grid, .example-grid, .compare-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { text-align: center; }
  .hero-content .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats, .trades { justify-content: center; }
  .hero-stats li { align-items: center; text-align: center; }
  .hero-visual { min-height: 360px; }
  .feature-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .example-text .section-title { text-align: center; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; z-index: 1000;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.85);
    padding: 0 24px; max-height: 0; overflow: hidden;
    visibility: hidden; pointer-events: none;
    transition: max-height 0.35s var(--ease), visibility 0s linear 0.35s, padding 0.35s var(--ease);
  }
  .nav-menu.open {
    max-height: calc(100vh - 72px); overflow-y: auto;
    padding: 8px 24px 20px;
    visibility: visible; pointer-events: auto;
    transition: max-height 0.35s var(--ease), visibility 0s, padding 0.35s var(--ease);
  }
  .nav-menu li { padding: 0; border-bottom: 1px solid var(--border-soft); }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-menu a { display: block; padding: 14px 2px; font-size: 1.02rem; }
  .nav-menu a:not(.btn-ghost)::after { display: none; }
  .nav-menu .btn-ghost { margin-top: 12px; text-align: center; padding: 12px; }

  /* Langue + thème : ligne dédiée en bas du menu */
  .nav-extras {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; margin: 0; padding: 16px 2px 4px; border-bottom: 0;
  }
  .lang-current { display: none; }            /* on masque le bouton globe sur mobile */
  .lang-switch { position: static; }
  .lang-menu {                                 /* le menu devient un segmenté FR · EN · NL en ligne */
    position: static; min-width: 0; flex-direction: row; gap: 2px; padding: 3px;
    border-radius: 999px; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  }
  .lang-menu button { padding: 9px 14px; font-size: 0.85rem; border-radius: 999px; }
  .lang-menu .l-full { display: none; }        /* libellés courts (FR/EN/NL) sur mobile */
  .lang-menu .l-code { display: inline; }
}

@media (max-width: 520px) {
  .hero-stats { gap: 1.5rem; }
  .feature-card, .step, .plan, .compare-card { padding: 26px; }
  .trades { width: 100%; }
  .trades-label { width: 100%; text-align: center; margin: 0 0 2px; }
  .trade { padding: 10px 16px; }
  .ba-mock { padding: 14px; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], [data-reveal] { opacity: 1 !important; transform: none !important; }
  .intro { display: none !important; }
}

/* ===================================================================
   Nouvelles sections & animations (thème d'origine, sans néon)
   =================================================================== */

/* Révélation du titre hero (wipe montant), piloté par le conteneur
   pour ne pas casser l'IntersectionObserver (clip = surface nulle) */
.js .hero-content h1 {
  clip-path: inset(0 0 110% 0);
  transition: clip-path 0.9s var(--ease) 0.14s;
}
.js .hero-content.is-visible h1 { clip-path: inset(0 0 -14% 0); }

/* Bandeau défilant (marquee) */
.marquee { overflow: hidden; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); padding: 15px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 1.8rem; width: max-content;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.8rem; color: var(--text-muted); white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .sep { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Terminal qui s'écrit */
.terminal {
  margin: 1.8rem 0 0; max-width: 460px;
  background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 10px 13px; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--border-soft); }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: #2c4a72; }
.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }
.terminal-title { margin-left: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.terminal-body { padding: 14px 16px 16px; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.9; min-height: 10.6em; color: #eef3fb; }
.t-line { white-space: nowrap; overflow: hidden; color: var(--accent-ink); }
.t-line.t-ok { color: var(--accent); }
.t-line.t-go { color: var(--primary); }
.js .terminal-body .t-line { visibility: hidden; }
.js .terminal-body .t-line.typing, .js .terminal-body .t-line.done { visibility: visible; }
.t-line.typing::after { content: "▌"; color: var(--primary); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- Grille de plateformes --- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 3rem; }
.logo-cell {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft); background: var(--bg-card);
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.logo-cell:hover { color: var(--text); border-color: var(--primary); transform: translateY(-3px); }

/* --- Graphe de croissance --- */
.growth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@keyframes node-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- Carrousel de témoignages --- */
.testi-viewport { position: relative; max-width: 720px; margin: 3rem auto 0; }

@media (max-width: 900px) {
  .growth-grid { grid-template-columns: 1fr; gap: 38px; }
  .growth-title { text-align: center; }
  .growth-text { text-align: center; }
  .growth-stats { justify-content: center; }
}
@media (max-width: 760px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Touches premium === */
/* Soulignement animé des titres centrés au scroll */
.section-title[data-reveal]::after {
  content: ""; display: block; width: 0; height: 3px; margin: 0.85rem auto 0;
  border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width 0.7s var(--ease) 0.15s;
}
.section-title[data-reveal].is-visible::after { width: 56px; }

/* Micro-interaction sur les icônes d'avantages */
.feature-icon { transition: transform 0.3s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
.feature-card:hover .feature-icon { transform: translateY(-3px) rotate(-5deg) scale(1.05); color: var(--primary); }

/* Reflet de balayage sur le bouton principal */
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease); pointer-events: none;
}
.btn-primary:hover::after { left: 150%; }

/* Lien de retour-haut : petite rotation au survol */
.to-top { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; }
.to-top:hover { transform: translateY(-3px); }

/* Chorégraphie d'entrée du hero (cascade au chargement) */
.js .hero-content[data-reveal] { opacity: 1; transform: none; transition: none; }
.js .hero-content > *:not(h1) { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .hero-content.is-visible > *:not(h1) { opacity: 1; transform: none; }
.js .hero-content.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.js .hero-content.is-visible > *:nth-child(3) { transition-delay: 0.34s; }
.js .hero-content.is-visible > *:nth-child(4) { transition-delay: 0.46s; }
.js .hero-content.is-visible > *:nth-child(5) { transition-delay: 0.56s; }
.js .hero-content.is-visible > *:nth-child(6) { transition-delay: 0.64s; }
.js .hero-content.is-visible > *:nth-child(7) { transition-delay: 0.72s; }
.js .hero-content.is-visible > *:nth-child(8) { transition-delay: 0.80s; }

/* Cascade des cellules de plateformes */
.logo-grid [data-reveal].is-visible:nth-child(2) { transition-delay: 0.05s; }
.logo-grid [data-reveal].is-visible:nth-child(3) { transition-delay: 0.1s; }
.logo-grid [data-reveal].is-visible:nth-child(4) { transition-delay: 0.15s; }
.logo-grid [data-reveal].is-visible:nth-child(5) { transition-delay: 0.2s; }
.logo-grid [data-reveal].is-visible:nth-child(6) { transition-delay: 0.25s; }
.logo-grid [data-reveal].is-visible:nth-child(7) { transition-delay: 0.3s; }
.logo-grid [data-reveal].is-visible:nth-child(8) { transition-delay: 0.35s; }

/* Perf : compositing des éléments animés */
.marquee-track, .phone { will-change: transform; }

/* (Curseur personnalisé retiré — pas d'effet de suivi de curseur) */

/* ===================================================================
   Clic and Connect — sections agence (atouts, partenaire, méthode)
   =================================================================== */

/* Logo agrandi dans l'intro */
.intro-logo .brand-mark { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 13px; }

/* Bandeau d'atouts sous le héros */
.highlights { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 30px 24px; }
.highlight { display: flex; align-items: center; gap: 14px; }
.highlight-ic {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.1); color: var(--primary);
}
.highlight-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.highlight div { display: flex; flex-direction: column; line-height: 1.3; }
.highlight strong { font-family: var(--font-display); font-size: 0.98rem; }
.highlight span { font-size: 0.84rem; color: var(--text-muted); }

/* Méthode sur 4 colonnes */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4 [data-reveal].is-visible:nth-child(4) { transition-delay: 0.3s; }

/* Section partenaire (texte + grille de stats) */
.clients { background: var(--bg-soft); }

/* Realisations : titre + CTA en tete (desktop) ; sur mobile le CTA passe EN BAS,
   sous les explications (voir media query 640px). */
.clients .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  grid-template-areas:
    "head cta"
    "showcase showcase"
    "note note";
}
.clients .section-head { grid-area: head; }
.clients .section-head-btn { grid-area: cta; }
.clients .showcase { grid-area: showcase; }
.clients .project-note { grid-area: note; }

@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .partner-grid { grid-template-columns: 1fr; gap: 36px; }
  .partner-title { text-align: center; }
  .partner-text { text-align: center; }
  .partner-list { display: inline-flex; text-align: left; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .partner-stats { grid-template-columns: 1fr 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
}

/* ===================================================================
   Vitrine premium — laptop animé, réalisations, bandeau CTA, footer
   =================================================================== */

/* Lueur animée derrière le visuel hero */
.hero-glow {
  position: absolute; inset: -12% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.32), rgba(99, 102, 241, 0.16) 55%, transparent 72%);
  filter: blur(42px); animation: glowpulse 6.5s ease-in-out infinite;
}
@keyframes glowpulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.07); } }

/* Laptop + dashboard */
.laptop { position: relative; width: min(100%, 470px); z-index: 2; animation: floaty 7s var(--ease) infinite; }
.laptop-screen {
  position: relative; border-radius: 14px; padding: 10px;
  background: linear-gradient(160deg, #18283f, #0b1422);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 70px -22px rgba(56, 189, 248, 0.55);
}
.laptop-base {
  position: relative; height: 14px; width: 116%; margin: -1px -8% 0;
  border-radius: 0 0 16px 16px; background: linear-gradient(#1b2c47, #0c1525);
  box-shadow: 0 22px 34px -20px rgba(0, 0, 0, 0.85);
}
.laptop-base::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26%; height: 5px; border-radius: 0 0 7px 7px; background: #0a1120;
}
.dash { background: #070d18; border-radius: 8px; overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #0c1525; border-bottom: 1px solid var(--border-soft); }
.dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #2c4a72; }
.dash-dot:nth-child(1) { background: #ff5f57; } .dash-dot:nth-child(2) { background: #febc2e; } .dash-dot:nth-child(3) { background: #28c840; }
.dash-url { margin-left: 8px; font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-muted); background: #0a1322; padding: 3px 10px; border-radius: 999px; }
.dash-body { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px; }
.dash-side { display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 2px; }
.dash-logo { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.58rem; color: #06101f; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.dash-nav { width: 20px; height: 6px; border-radius: 3px; background: #1c3050; }
.dash-nav.is-on { background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.dash-kpi { background: #0c1627; border: 1px solid var(--border-soft); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 1px; }
.dash-kpi small { font-size: 0.5rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dash-kpi b { font-family: var(--font-display); font-size: 0.82rem; color: var(--text); }
.dash-kpi i { font-style: normal; font-size: 0.55rem; color: var(--accent); }
.dash-chart { position: relative; background: #0c1627; border: 1px solid var(--border-soft); border-radius: 8px; padding: 12px 10px 8px; height: 98px; }
.dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 100%; }
.dash-bars span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--primary), rgba(99, 102, 241, 0.35)); transform-origin: bottom; animation: barGrow 2.6s var(--ease) infinite alternate; }
.dash-bars span:nth-child(2) { animation-delay: 0.15s; } .dash-bars span:nth-child(3) { animation-delay: 0.3s; }
.dash-bars span:nth-child(4) { animation-delay: 0.45s; } .dash-bars span:nth-child(5) { animation-delay: 0.6s; }
.dash-bars span:nth-child(6) { animation-delay: 0.75s; } .dash-bars span:nth-child(7) { animation-delay: 0.9s; } .dash-bars span:nth-child(8) { animation-delay: 1.05s; }
.dash-line { position: absolute; inset: 12px 10px 8px; width: auto; height: auto; overflow: visible; }
.dash-line path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: drawLoop 5s var(--ease) infinite; }
@keyframes barGrow { from { transform: scaleY(0.5); } to { transform: scaleY(1); } }
@keyframes drawLoop { 0% { stroke-dashoffset: 320; } 45%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.card-float-3 { top: 50%; left: -6px; font-family: var(--font-display); font-weight: 600; color: var(--primary); animation-delay: 0.8s; }

/* En-tête de section : titre à gauche + bouton à droite */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 2.6rem; }
.section-title-left { text-align: left; max-width: none; margin: 0; }
.section-head .eyebrow { margin-bottom: 0.5rem; }
.section-head-btn { flex: none; }

/* Grille de réalisations */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.project:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.project-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.project-thumb > * { transition: transform 0.45s var(--ease); }
.project:hover .project-thumb > * { transform: scale(1.05); }
.project-meta { padding: 18px 20px 22px; }
.project-kind { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); }
.project-meta h3 { font-family: var(--font-display); font-size: 1.12rem; margin: 0.35rem 0 0.3rem; }
.project-meta p { color: var(--text-muted); font-size: 0.9rem; }
.project-note { text-align: center; color: var(--text-muted); font-size: 0.84rem; margin-top: 2.2rem; opacity: 0.75; }
.project-grid [data-reveal].is-visible:nth-child(2) { transition-delay: 0.08s; }
.project-grid [data-reveal].is-visible:nth-child(3) { transition-delay: 0.16s; }
.project-grid [data-reveal].is-visible:nth-child(4) { transition-delay: 0.08s; }
.project-grid [data-reveal].is-visible:nth-child(5) { transition-delay: 0.16s; }
.project-grid [data-reveal].is-visible:nth-child(6) { transition-delay: 0.24s; }

/* Vignettes de projet */
.thumb-web { background: radial-gradient(130% 130% at 0 0, #18375f, #0a1626); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bandeau CTA pleine largeur */
.cta { background: none; }
.cta-band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border); padding: clamp(34px, 6vw, 60px);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(99, 102, 241, 0.1)), var(--bg-card);
  box-shadow: var(--shadow);
}
.cta-band-glow {
  position: absolute; width: 460px; height: 460px; left: -130px; top: -170px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.28), transparent 70%);
  filter: blur(30px); pointer-events: none; animation: glowpulse 7s ease-in-out infinite;
}
.cta .cta-inner { position: relative; z-index: 1; margin: 0 auto; max-width: 660px; }

/* Footer épuré : marque · appel à l'action · contact */
.footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.footer-brand .footer-tagline { max-width: 34ch; }
.footer-contact { align-items: flex-start; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.55rem; color: var(--text-muted); }
.footer-col a, .footer-col span { color: var(--text-muted); font-size: 0.9rem; transition: color 0.18s; }
.footer-col a:hover { color: var(--primary); }

/* Bloc appel à l'action du footer */
.footer-cta-eyebrow { font-family: var(--font-display); font-size: 1.02rem; color: var(--text); margin-bottom: 0.2rem; }
.footer-cta-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; max-width: 30ch; }
.footer-cta-btn { align-self: flex-start; margin-top: 0.9rem; padding: 0.62rem 1.25rem; font-size: 0.9rem; }

/* Lignes de contact avec pictogramme */
.footer-contact-row { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact-row svg { width: 17px; height: 17px; flex: none; color: var(--primary); opacity: 0.85; }
.footer-contact-row span { color: var(--text-muted); font-size: 0.9rem; transition: color 0.18s; }
.footer-contact-row:hover span { color: var(--primary); }

/* Barre du bas : copyright + signature */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }
.footer-sign { color: var(--text-muted); opacity: 0.75; font-size: 0.82rem; }
.footer-social { display: flex; gap: 10px; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text-muted); background: var(--btn-secondary-bg);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { color: #06101f; background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-color: transparent; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social svg[stroke] { fill: none; }

/* Liseré d'accent qui apparaît au survol des cartes de service */
.feature-card { position: relative; }
.feature-card::before {
  content: ""; position: absolute; top: -1px; left: 14px; right: 14px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.feature-card:hover::before { transform: scaleX(1); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-cta-btn { align-self: stretch; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-title-left { text-align: left; }
  /* CTA "Demarrer un projet" renvoye tout en bas, sous les explications */
  .clients .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "showcase"
      "note"
      "cta";
  }
  .clients .section-head-btn { justify-self: center; width: min(100%, 340px); margin-top: 2.4rem; }
  /* Appareils un peu plus grands : on grignote la marge laterale du conteneur */
  .showcase-stage { margin-inline: -12px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Fond animé ambiant lié au thème (blobs dégradés qui dérivent)
   =================================================================== */
.bg-fx { position: fixed; inset: -4%; z-index: -1; overflow: hidden; pointer-events: none; transition: transform 0.55s var(--ease); will-change: transform; }
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px; opacity: 0.18;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 70%);
}
.bg-fx span {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.45; mix-blend-mode: screen; will-change: transform;
}
.bg-fx span:nth-child(1) {
  width: 560px; height: 560px; left: -140px; top: -120px;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.55), transparent 70%);
  animation: blob-a 28s ease-in-out infinite;
}
.bg-fx span:nth-child(2) {
  width: 520px; height: 520px; right: -160px; top: 26%;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.5), transparent 70%);
  animation: blob-b 34s ease-in-out infinite;
}
.bg-fx span:nth-child(3) {
  width: 460px; height: 460px; left: 38%; bottom: -180px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.4), transparent 70%);
  animation: blob-c 31s ease-in-out infinite;
}
@keyframes blob-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 50px) scale(1.12); } }
@keyframes blob-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-70px, 40px) scale(1.08); } }
@keyframes blob-c { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -60px) scale(1.15); } }

:root[data-theme="light"] .bg-fx span { opacity: 0.3; mix-blend-mode: multiply; filter: blur(100px); }
:root[data-theme="light"] .bg-fx::before { opacity: 0.5; }

@media (prefers-reduced-motion: reduce) {
  .bg-fx span { animation: none !important; }
}

/* Flèche d'affordance au survol des cartes de service (rappel image de réf.) */
.feature-card h3 { display: inline-flex; align-items: center; }
.feature-card h3::after {
  content: "→"; margin-left: 0.5rem; color: var(--primary);
  opacity: 0; transform: translateX(-5px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature-card:hover h3::after { opacity: 1; transform: translateX(2px); }

/* Lien de réalisation (carte cliquable) */
a.project { display: block; color: inherit; }
.project-url {
  display: inline-block; margin-top: 0.7rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.02em;
  color: var(--accent-ink); transition: transform 0.25s var(--ease);
}
a.project:hover .project-url { transform: translateX(3px); }

/* Visuels réels des réalisations */
.project-thumb { background: #070b14; }
.project-img { width: 100%; height: 100%; display: block; }
.project-img.cover { object-fit: cover; object-position: center; }
.project-img.contain { object-fit: contain; padding: 18px; }
a.project:hover .project-img { transform: scale(1.05); }

/* Grille de réalisations adaptable (3 ou 4 cartes) */
.project-grid { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }

/* Carte avec aperçu en direct (iframe) */
.project-frame {
  position: absolute; top: 0; left: 0; width: 1280px; height: 800px;
  border: 0; transform-origin: 0 0; pointer-events: none; background: #0b1220;
}

/* ===================================================================
   Section À propos (Vincent, fondateur)
   =================================================================== */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; }
.about-visual { position: relative; display: flex; justify-content: center; }
.about-glow {
  position: absolute; inset: 8% 12%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.28), transparent 70%);
  filter: blur(38px); animation: glowpulse 7s ease-in-out infinite;
}
.about-card {
  position: relative; z-index: 1; width: 100%; max-width: 340px; text-align: center;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.07), var(--bg-card));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow);
}
.about-avatar {
  width: 86px; height: 86px; margin: 0 auto 1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: #06101f;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 30px -6px rgba(56, 189, 248, 0.7);
}
.about-name { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.about-role { display: block; color: var(--text-muted); font-size: 0.86rem; margin-top: 0.15rem; }
.about-creds { list-style: none; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; text-align: left; }
.about-creds li { position: relative; padding-left: 1.7rem; color: var(--text-muted); font-size: 0.92rem; }
.about-creds li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.about-title { text-align: left; max-width: none; margin: 0 0 0.6rem; }
.about-text .lead { margin-bottom: 1.1rem; }
.about-text p { color: var(--text-muted); }
.about-text p.lead strong, .about-text p strong { color: var(--text); font-weight: 600; }
.about-sign { margin-top: 1.4rem; font-family: var(--font-display); font-style: italic; color: var(--accent-ink) !important; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-title { text-align: center; }
  .about-text { text-align: center; }
  .about-creds { display: inline-flex; }
}

/* ===================================================================
   Passe de polish (audit) — accessibilité, hiérarchie, galerie, FAQ
   =================================================================== */

/* Ancrage : compense la hauteur réelle de l'en-tête (72px) */
html { scroll-padding-top: 80px; }

/* Boutons : hauteur de pilule alignée sur les champs de saisie */
.btn { line-height: 1; }

/* Terminal : moins d'espace réservé (5 lignes) */
.terminal-body { min-height: 8.5em; }

/* Stats du hero : chiffres mis en avant (dégradé, plus gros) */
.hero-stats strong {
  font-size: 2.15rem; font-weight: 700; line-height: 1;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Titres de cartes un cran plus marqués + interlignage resserré du corps */
.feature-card h3, .step h3 { font-size: 1.22rem; }
.feature-card p, .step p, .project-meta p, .about-creds li { line-height: 1.5; }

/* Galerie : survol des réalisations avec invite « Voir le site » */
.project-thumb::after {
  content: "Voir le site →"; position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: flex-end; padding: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: #fff;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.82), rgba(7, 11, 20, 0.15) 45%, transparent 70%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
a.project:hover .project-thumb::after, a.project:focus-visible .project-thumb::after { opacity: 1; }

/* Réalisations : colonnes nettes (pas de 4e carte orpheline) */
.project-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .project-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px) { .project-grid { grid-template-columns: 1fr; } }

/* FAQ : ouverture en douceur */
.faq-item[open] p { animation: faq-open 0.28s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Note RGPD sous le formulaire */
.form-rgpd { margin: 0.95rem auto 0; max-width: 50ch; font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }

/* Pause des animations hors écran déjà gérée ; on évite le double-grille */

/* Langue + thème regroupés dans la barre de navigation (dernier item du menu) */
.nav-extras { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }

/* Sélecteur de langue compact (FR / EN / NL regroupés dans un menu) */
.lang-switch { flex: none; position: relative; }
.lang-menu .l-code { display: none; }
.lang-current {
  display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; line-height: 1;
  padding: 8px 10px; border-radius: 999px;
  background: var(--btn-secondary-bg); border: 1px solid var(--border); color: var(--text-muted);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lang-current:hover { color: var(--text); border-color: var(--primary); transform: translateY(-2px); }
.lang-globe { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lang-caret { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.lang-current[aria-expanded="true"] { color: var(--text); border-color: var(--primary); }
.lang-current[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1100; min-width: 160px;
  display: flex; flex-direction: column; padding: 6px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.85);
  opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.lang-switch.open .lang-menu {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
}
.lang-menu button {
  border: 0; background: transparent; cursor: pointer; text-align: left;
  padding: 10px 12px; border-radius: 9px; color: var(--text-muted);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.lang-menu button:hover { color: var(--text); background: var(--btn-secondary-bg); }
.lang-menu button[aria-checked="true"] { color: #06101f; background: linear-gradient(120deg, var(--primary), var(--primary-2)); }

/* ===================================================================
   Vitrine — couche d'interactions premium
   (curseur-lumière, grain, marquee fondu, transition de thème)
   =================================================================== */

/* Lueur qui suit le curseur sur les cartes (combinée au tilt 3D) */
.feature-card > *, .step > * { position: relative; z-index: 1; }
.feature-card::after, .step::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.feature-card:hover::after, .step:hover::after { opacity: 1; }
:root[data-theme="light"] .feature-card::after,
:root[data-theme="light"] .step::after {
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.22), transparent 60%);
}

/* Texture grain film — très subtile, premium */
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] .grain { opacity: 0.035; mix-blend-mode: multiply; }

/* Fondu des bords du bandeau défilant */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

/* Bascule de thème : révélation circulaire (le nouveau thème s'étend depuis le bouton) */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-old(root) { z-index: 1; }
  ::view-transition-new(root) { z-index: 2147483646; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
  .feature-card::after, .step::after { display: none; }
}

/* Bouton retour-haut = anneau de progression de lecture */
.to-top::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from -90deg, var(--primary) calc(var(--p, 0) * 1%), var(--border) 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

/* Vitrine réalisations : appareils en grand, infos centrees dessous */
.showcase { display: block; }
.showcase-stage { position: relative; perspective: 1700px; }
.showcase-stage::before {
  content: ""; position: absolute; inset: -8% -6% 2%; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 60% at 50% 44%, rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.05) 46%, transparent 72%);
}
.devices { position: relative; z-index: 1; width: min(100%, 960px); margin-inline: auto; transform-style: preserve-3d; transition: transform 0.18s var(--ease); will-change: transform; }

/* Ecran moderne (type tablette / moniteur plat) qui contient l'aperçu PC */
.laptop-device {
  position: relative; z-index: 1; width: 74%;
  /* Le telephone deborde de 5% a droite : on decale la tablette de 5% a gauche
     pour que l'ensemble (PC + mobile) soit centre, meme espace a gauche qu'a droite. */
  margin-left: 5%;
  container-type: inline-size;
  transition: transform 0.18s var(--ease); will-change: transform;
}
/* Cadre : bezel noir fin et uniforme, coins arrondis (look tablette/ecran moderne) */
.laptop-lid {
  position: relative; border-radius: 2cqw; padding: 1.4%;
  background: linear-gradient(160deg, #2a3444 0%, #10161f 10%, #0a0e15 100%);
  box-shadow: var(--shadow), 0 0 70px -22px rgba(56, 189, 248, 0.32),
    inset 0 0 0 1px #3b4658, inset 0 1.5px 0 rgba(255, 255, 255, 0.16);
}
/* Camera au centre haut du bezel */
.laptop-lid::before {
  content: ""; position: absolute; top: 0.7cqw; left: 50%; transform: translateX(-50%);
  width: 0.8cqw; height: 0.8cqw; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #26405c, #06090e 75%);
  z-index: 2;
}

.browser {
  position: relative; width: 100%; border-radius: 1.3cqw; overflow: hidden;
  container-type: inline-size;
  background: linear-gradient(160deg, #1c2c44, #0b1422);
  border: 1px solid #05070c;
}
/* Barre du navigateur : tailles relatives a la largeur du laptop (cqw) */
.browser-bar { position: relative; display: flex; align-items: center; gap: 0.9cqw; padding: 0.55cqw 1.6cqw; background: linear-gradient(180deg, #14223a, #0c1525); border-bottom: 1px solid var(--border-soft); }
.browser-dot { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #2c4a72; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25); }
.browser-dot:nth-child(1) { background: #ff5f57; } .browser-dot:nth-child(2) { background: #febc2e; } .browser-dot:nth-child(3) { background: #28c840; }
.browser-url { display: inline-flex; align-items: center; gap: 0.9cqw; margin-left: 1.6cqw; font-family: var(--font-mono); font-size: 1.55cqw; color: var(--text-muted); background: #0a1322; padding: 0.35cqw 2.2cqw; border-radius: 999px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
.browser-url::before { content: ""; flex: none; width: 1.3cqw; height: 1.15cqw; border-radius: 0.3cqw; background: #35507a; box-shadow: inset 0 0 0 10cqw #35507a; -webkit-mask: radial-gradient(circle at 50% 0.38cqw, transparent 0.46cqw, #000 0.48cqw) top/100% 0.7cqw no-repeat, linear-gradient(#000 0 0) bottom/100% 0.65cqw no-repeat; mask: radial-gradient(circle at 50% 0.38cqw, transparent 0.46cqw, #000 0.48cqw) top/100% 0.7cqw no-repeat, linear-gradient(#000 0 0) bottom/100% 0.65cqw no-repeat; }
.browser-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #070d18; }
.browser-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.browser-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 12%, transparent 26%); }

.phone {
  position: absolute; right: 5%; bottom: -9%; width: 21%; z-index: 5;
  border-radius: 13.5% / 6.3%; padding: 0.6%;
  transition: transform 0.18s var(--ease); will-change: transform;
  background: linear-gradient(145deg, #34394557 0%, #14171e 40%, #05070b 100%), #0a0c11;
  box-shadow: 0 44px 66px -18px rgba(0, 0, 0, 0.9), 0 12px 28px -8px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* Boutons latéraux (fins) */
.phone::before { content: ""; position: absolute; right: -1.5px; top: 26%; width: 2px; height: 9%; border-radius: 0 2px 2px 0; background: linear-gradient(#333a47, #0c0f15); }
.phone::after { content: ""; position: absolute; left: -1.5px; top: 19%; width: 2px; height: 13%; border-radius: 2px 0 0 2px; background: linear-gradient(#333a47 0%, #0c0f15 24%, #0c0f15 45%, #333a47 53%, #333a47 78%, #0c0f15 100%); }
/* Écran : ratio EXACT d'un iPhone (430/932) -> aperçu mobile 1:1, sans zoom ni coupe */
.phone-screen { position: relative; width: 100%; aspect-ratio: 430 / 932; border-radius: 13% / 6%; overflow: hidden; background: #070d18; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
/* Dynamic island (fine) */
.phone-island { position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%); width: 27%; height: 2.4%; min-height: 7px; border-radius: 999px; background: #05060a; z-index: 3; }
.phone-island::after { content: ""; position: absolute; right: 12%; top: 50%; transform: translateY(-50%); width: 20%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #1b2942, #05070c 70%); }
/* Reflet de verre */
.phone-gloss { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 13% / 6%; background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 15%, transparent 30%); }

/* Fondu de contenu lors du changement de projet */
.browser-screen img, .phone-screen img { transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.showcase-copy { transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.showcase.is-swapping .browser-screen img, .showcase.is-swapping .phone-screen img { opacity: 0; transform: scale(1.03); }
.showcase.is-swapping .showcase-copy { opacity: 0; transform: translateY(10px); }

/* Bloc infos centre SOUS les appareils */
.showcase-info { max-width: 860px; margin: 4.6rem auto 0; text-align: center; }
.showcase-title { font-family: var(--font-display); font-size: 1.9rem; margin: 0.5rem 0 0.6rem; }
.showcase-desc { color: var(--text-muted); font-size: 1rem; margin: 0 auto 1rem; max-width: 560px; }
.showcase-copy .project-kind { color: var(--accent-ink); }
.showcase-link { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-ink); text-decoration: none; }
.showcase-link:hover { text-decoration: underline; }

.showcase-tabs { display: flex; flex-flow: row wrap; justify-content: center; gap: 12px; margin-top: 2rem; }
.sc-tab {
  position: relative; overflow: hidden; text-align: center; cursor: pointer;
  flex: 0 1 250px;
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 12px 18px; color: var(--text-muted);
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 500;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sc-tab:hover { color: var(--text); border-color: var(--border); }
.sc-tab.active { color: var(--text); border-color: var(--primary); }
.sc-tab-label { position: relative; z-index: 1; }
.sc-tab-fill { position: absolute; inset: 0; z-index: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.10)); }
.showcase.is-live .sc-tab.active .sc-tab-fill { animation: scFill var(--sc-int, 3600ms) linear forwards; }
.showcase.is-live.is-paused .sc-tab.active .sc-tab-fill { animation-play-state: paused; }

@keyframes scFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .devices { width: 100%; }
  .phone { transform: none; }
  .showcase-info { margin-top: 2.4rem; }
  .sc-tab { flex: 1 1 42%; }
}
@media (max-width: 560px) {
  .showcase-title { font-size: 1.5rem; }
  .sc-tab { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .devices { animation: none; }
  .showcase.is-live .sc-tab.active .sc-tab-fill { animation: none; transform: scaleX(1); }
}

/* ===================================================================
   REFONTE GRAPHIQUE — pass 1
   Retirer les "tells" IA (shimmer anime, neons, pastilles-icones
   generiques, chiffres en degrade) et aligner tout le site sur la
   finition sobre de la vitrine PC/mobile. Ne touche pas a .showcase.
   =================================================================== */

/* 1 — Texte accent : degrade STATIQUE et sobre (fin du shimmer) */
.gradient-text {
  background: linear-gradient(94deg, var(--primary) 0%, #8ec2f2 52%, var(--text) 128%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

/* 2 — Sur-titres editoriaux : filet + capitales espacees en mono */
.eyebrow {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.24em; color: var(--text-muted);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 1px;
  vertical-align: middle; margin-right: 0.75em; margin-bottom: 0.18em;
  background: var(--primary); opacity: 0.85;
}

/* 3 — Titres de section : lettrage plus serre, plus assume */
.section-title { letter-spacing: -0.025em; max-width: 22ch; }

/* 4 — Cartes services : icone sobre (fini la pastille cyan), survol calme */
.feature-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--border);
  box-shadow: 0 26px 54px -32px rgba(0, 0, 0, 0.85); }
.feature-card:hover .feature-icon { color: var(--primary); border-color: var(--primary); transform: none; }
.feature-card::before { background: var(--primary); height: 1.5px; }
.feature-card::after, .step::after {
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(130, 175, 255, 0.09), transparent 60%);
}

/* 5 — Numeros du process : grand chiffre en contour (editorial), sans degrade */
.step-num {
  background: none; color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--border);
  font-size: 3rem; letter-spacing: -0.02em; opacity: 0.95;
  transition: -webkit-text-stroke-color 0.25s var(--ease);
}
.step:hover .step-num { -webkit-text-stroke-color: var(--primary); }

/* 6 — Hero : lueur discrete (fin du "glowpulse"), pastilles plus sobres */
.hero-glow {
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.16), rgba(99, 102, 241, 0.06) 55%, transparent 72%);
  filter: blur(48px); animation: none; opacity: 0.8;
}
.card-float { font-size: 0.78rem; padding: 9px 13px; border-color: var(--border-soft);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.7); }
.card-float .dot { box-shadow: none; }

/* Chiffres-cles du hero : blanc franc (fini le degrade cyan) */
.hero-stats strong { background: none; -webkit-text-fill-color: currentColor; color: var(--text); }

/* Hero — ecran d'app epure (remplace le dashboard analytics charge) */
.laptop-screen { box-shadow: var(--shadow), 0 0 60px -26px rgba(56, 189, 248, 0.34); }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.dash-title { font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; color: var(--text); }
.dash-live { display: inline-flex; align-items: center; gap: 5px; font-size: 0.5rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.dash-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16); }
.dash-feature {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.05));
  border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px 14px; overflow: hidden; margin-bottom: 11px;
}
.dash-feature-txt small { display: block; font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-muted); margin-bottom: 3px; }
.dash-feature-txt b { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--text); }
.dash-feature-txt b em { font-style: normal; color: var(--primary); }
.dash-spark { width: 52%; height: 38px; align-self: center; }
.dash-rows { display: flex; flex-direction: column; gap: 7px; }
.dash-rows span { height: 9px; border-radius: 5px; background: #0e1a2e; }
.dash-rows span:nth-child(1) { width: 100%; } .dash-rows span:nth-child(2) { width: 76%; } .dash-rows span:nth-child(3) { width: 88%; }

/* 7 — FAQ : marqueur +/- plus discret */
.faq-item summary::after { color: var(--text-muted); font-weight: 400; }

/* 8 — Puce accent des sur-titres au centre : reste alignee avec le texte */
.eyebrow.center::before { opacity: 0.85; }

/* 9 — Avatar "A propos" : monogramme sobre (fini le cercle degrade brillant) */
.about-avatar {
  width: 74px; height: 74px; border-radius: 20px; margin-bottom: 1.1rem;
  background: linear-gradient(160deg, #17263f, #0c1524);
  border: 1px solid var(--border); color: var(--text); font-size: 1.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}
.about-avatar::after {
  content: ""; position: absolute; right: 9px; bottom: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg-card);
}
.about-glow { background: radial-gradient(closest-side, rgba(56, 189, 248, 0.13), transparent 70%); animation: none; }
.about-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), var(--bg-card)); border-color: var(--border-soft); }

/* 10 — En-tetes editoriaux (alignes a gauche) : services, methode, expertises */
.features .eyebrow, .how .eyebrow, .logos .eyebrow { text-align: left; }
.features .section-title, .how .section-title, .logos .section-title {
  text-align: left; margin-left: 0; margin-right: 0; max-width: 20ch;
}
.features .section-subtitle {
  text-align: left; margin-left: 0; margin-right: 0; max-width: 52ch; margin-bottom: 2.6rem;
}

/* 11 — Profondeur : liseret haut subtil sur les sections sombres alternees */
.features, .how, .faq { position: relative; }
.features::before, .how::before, .faq::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--border-soft) 22%, var(--border-soft) 78%, transparent);
}

/* ===================================================================
   REFONTE GRAPHIQUE — pass 3 (finition "pro")
   Profondeur de palette, halos plus sobres, WhatsApp mobile-only,
   hero epure apres retrait du bloc terminal.
   =================================================================== */

/* 12 — Fond enrichi (profondeur douce) : leger apport de lumiere en haut,
   vignette discrete en bas -> plus un aplat plat, sans toucher aux tokens. */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(130% 90% at 50% -6%, rgba(96, 165, 235, 0.06), transparent 46%),
    radial-gradient(120% 130% at 50% 118%, rgba(0, 0, 0, 0.30), transparent 52%);
}
:root[data-theme="light"] body {
  background-image: radial-gradient(130% 90% at 50% -6%, rgba(56, 189, 248, 0.07), transparent 48%);
}

/* 13 — Halos ambiants nettement plus discrets (fini les taches trop colorees) */
.bg-fx span { opacity: 0.22; filter: blur(112px); }

/* 14 — Sections sombres : leger degrade vertical plutot qu'un aplat */
.highlights, .clients { background: linear-gradient(180deg, #0c1526, #0a1020); }

/* 15 — Cartes : elevation douce au repos (matiere, profondeur premium) */
.feature-card, .step, .about-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 46px -34px rgba(0, 0, 0, 0.78);
}

/* 16 — Hero : les chiffres respirent + fin filet de separation (bloc terminal retire) */
.hero-stats {
  margin-top: 2.4rem; padding-top: 1.7rem; max-width: 30rem;
  border-top: 1px solid var(--border-soft);
}

/* 17 — WhatsApp : uniquement sur mobile / tablette (sur desktop -> masque) */
@media (min-width: 901px) { .wa-fab { display: none; } }

/* ===================================================================
   REFONTE GRAPHIQUE — pass 4 (finitions editoriales)
   =================================================================== */

/* 18 — Fini le trait degrade sous les titres : le sur-titre porte deja l'accent
   (double decoration = look "template"). */
.section-title[data-reveal]::after { display: none; }

/* 19 — Un peu plus d'air sous les sous-titres */
.section-subtitle { margin-bottom: 2.9rem; }

/* 20 — Puces d'expertise : elevation douce au repos + survol plus calme */
.logo-cell { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.logo-cell:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.025); border-color: var(--border); }
.logo-cell:hover { color: var(--text); }

/* 21 — Cartes services : survol un cran plus fin (lettrage + fleche deja en place) */
.feature-card:hover { transform: translateY(-3px); }

/* 22 — FAQ : lignes plus nettes au survol / ouverture */
.faq-item:hover { border-color: var(--border); }
.faq-item summary { letter-spacing: -0.01em; }

/* 23 — Boutons : lettrage un rien resserre (plus "type") */
.btn { letter-spacing: -0.01em; }

/* ===================================================================
   A PROPOS — refonte : recit du fondateur + carte "identite" premium
   =================================================================== */
.about-grid { grid-template-columns: 1.18fr 0.82fr; gap: 56px; align-items: center; }
.about-title { font-size: clamp(1.9rem, 3.4vw, 2.65rem); line-height: 1.14; margin-bottom: 1.2rem; }
.about-text .lead { color: var(--text); font-size: 1.16rem; margin-bottom: 1.15rem; }
.about-text p { line-height: 1.7; }
.about-sign { margin-top: 1.6rem; font-family: var(--font-display); font-style: normal; font-weight: 600; color: var(--text) !important; letter-spacing: -0.01em; }

.about-portrait {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), var(--bg-card));
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 30px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 34px 64px -42px rgba(0, 0, 0, 0.85);
}
.about-id { display: flex; align-items: center; gap: 15px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border-soft); }
.about-monogram {
  flex: none; width: 58px; height: 58px; border-radius: 17px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--text);
  background: linear-gradient(160deg, #17263f, #0c1524); border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.about-monogram::after {
  content: ""; position: absolute; right: 6px; bottom: 6px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg-card);
}
.about-id-txt { display: flex; flex-direction: column; }
.about-id-txt strong { font-family: var(--font-display); font-size: 1.14rem; }
.about-id-txt span { color: var(--text-muted); font-size: 0.84rem; }
.about-facts { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.about-facts li { display: flex; align-items: baseline; gap: 14px; }
.about-facts b { flex: none; min-width: 2.6ch; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--primary); line-height: 1; }
.about-facts span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.35; }
.about-cta { margin-top: 26px; width: 100%; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 440px; margin: 0 auto; text-align: left; }
  .about-facts { align-items: flex-start; }
}

/* ===================================================================
   BANDEAU "ILS M'ONT FAIT CONFIANCE" — logos (wordmarks) facon trusted-by
   =================================================================== */
.trusted { padding: clamp(38px, 5vw, 56px) 0; border-top: 1px solid var(--border-soft); }
.trusted-label {
  text-align: center; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.24em; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1.9rem;
}
.trusted-logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(26px, 5.5vw, 68px);
}
.tlogo {
  display: inline-flex; align-items: baseline; gap: 0.12em;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.1em;
  font-size: clamp(1.1rem, 2.3vw, 1.5rem); color: var(--text-muted);
  opacity: 0.5; cursor: default; user-select: none;
  transition: opacity 0.28s var(--ease), color 0.28s var(--ease), transform 0.28s var(--ease);
}
.tlogo:hover { opacity: 1; color: var(--text); transform: translateY(-2px); }
/* Petit tag (ex. "NFT") accolé à un wordmark */
.tlogo em {
  font-style: normal; font-family: var(--font-mono); font-weight: 700;
  font-size: 0.46em; letter-spacing: 0.12em; align-self: center; margin-left: 0.45em;
  padding: 0.2em 0.45em; border: 1px solid currentColor; border-radius: 5px; opacity: 0.85;
}
/* Wordmark crypto.com (minuscule, point accentué) */
.tlogo--crypto { text-transform: none; letter-spacing: 0.005em; }
.tlogo--crypto .tlogo-dot { color: var(--primary); }
.tlogo--crypto:hover .tlogo-dot { color: var(--primary); }

@media (max-width: 560px) {
  .trusted-logos { gap: 22px 30px; }
}

/* ===================================================================
   REVELE 3D DES ELEMENTS — entree en profondeur au scroll
   Les cartes s'inclinent vers l'arriere puis se redressent en montant.
   =================================================================== */
.feature-grid, .steps, .logo-grid, .trusted-logos, .about-grid, .faq-list { perspective: 1300px; }

.js .feature-card[data-reveal], .js .step[data-reveal], .js .logo-cell[data-reveal],
.js .about-portrait[data-reveal], .js .faq-item[data-reveal], .js .trusted-logos [data-reveal] {
  opacity: 0; transform: translateY(38px) rotateX(14deg) scale(0.965); transform-origin: 50% 100%;
  transition: opacity 0.7s var(--ease), transform 0.85s var(--ease);
}
.js .feature-card[data-reveal].is-visible, .js .step[data-reveal].is-visible,
.js .logo-cell[data-reveal].is-visible, .js .about-portrait[data-reveal].is-visible,
.js .faq-item[data-reveal].is-visible, .js .trusted-logos [data-reveal].is-visible {
  opacity: 1; transform: translateY(0) rotateX(0) scale(1);
}

/* Cascade des logos "trusted" */
.trusted-logos [data-reveal].is-visible:nth-child(2) { transition-delay: 0.08s; }
.trusted-logos [data-reveal].is-visible:nth-child(3) { transition-delay: 0.16s; }
.trusted-logos [data-reveal].is-visible:nth-child(4) { transition-delay: 0.24s; }
/* Cascade des questions FAQ */
.faq-list [data-reveal].is-visible:nth-child(2) { transition-delay: 0.06s; }
.faq-list [data-reveal].is-visible:nth-child(3) { transition-delay: 0.12s; }
.faq-list [data-reveal].is-visible:nth-child(4) { transition-delay: 0.18s; }
.faq-list [data-reveal].is-visible:nth-child(5) { transition-delay: 0.24s; }
.faq-list [data-reveal].is-visible:nth-child(6) { transition-delay: 0.30s; }

/* ===================================================================
   HERO avec la VITRINE en grand, centree (show-don't-tell)
   =================================================================== */
.hero--showcase { padding-top: clamp(96px, 13vh, 140px); padding-bottom: clamp(46px, 7vw, 84px); }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero--showcase .hero-content {
  text-align: center; max-width: 820px; margin: 0 auto clamp(32px, 4.5vw, 56px);
}
.hero--showcase .hero-content .lead { margin-left: auto; margin-right: auto; }
.hero--showcase .hero-content .hero-actions { justify-content: center; }
.hero--showcase .hero-content .hero-note { margin-bottom: 0; }
.hero--showcase .showcase { width: 100%; max-width: 1060px; margin: 0 auto; }
.hero--showcase .project-note { margin-top: 2.4rem; }
.hero--showcase .hero-stats {
  justify-content: center; gap: 2.6rem; margin: 2.6rem auto 0;
  padding-top: 1.8rem; border-top: 1px solid var(--border-soft); max-width: 34rem;
}
@media (max-width: 640px) {
  .hero--showcase .hero-stats { gap: 1.4rem; }
}

/* ===== Avatar fondateur : emplacement pour une vraie photo de profil ===== */
.about-monogram { width: 66px; height: 66px; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: 1; }
.about-monogram-letter { position: relative; z-index: 0; }
.about-monogram::after { z-index: 2; }   /* pastille "en ligne" au-dessus de la photo */

/* ===================================================================
   VITRINE : navigation par FLECHES laterales + points (au lieu d'onglets)
   =================================================================== */
.sc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(12, 20, 34, 0.62); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; opacity: 0.7; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.8);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.sc-arrow svg { width: 22px; height: 22px; }
.sc-arrow--prev { left: 2px; }
.sc-arrow--next { right: 2px; }
.showcase-stage:hover .sc-arrow { opacity: 1; }
.sc-arrow:hover { background: rgba(12, 20, 34, 0.9); border-color: var(--primary); color: var(--primary); }
.sc-arrow--prev:hover { transform: translateY(-50%) translateX(-2px); }
.sc-arrow--next:hover { transform: translateY(-50%) translateX(2px); }
.sc-arrow:focus-visible { opacity: 1; }

/* Points de progression (l'actif se remplit pendant la rotation auto) */
.sc-dots { gap: 10px !important; margin-top: 2.2rem; }
.sc-dot {
  position: relative; overflow: hidden; width: 34px; height: 6px; padding: 0; border: none;
  border-radius: 999px; background: var(--border-soft); cursor: pointer;
  transition: background 0.25s var(--ease); flex: 0 0 auto;
}
.sc-dot:hover { background: var(--border); }
.sc-dot.active { background: var(--border); }
.sc-dot-fill {
  position: absolute; inset: 0; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
.showcase.is-live .sc-dot.active .sc-dot-fill { animation: scFill var(--sc-int, 3600ms) linear forwards; }
.showcase.is-live.is-paused .sc-dot.active .sc-dot-fill { animation-play-state: paused; }

@media (max-width: 640px) {
  .sc-arrow { width: 40px; height: 40px; background: rgba(12, 20, 34, 0.8); }
  .sc-arrow--prev { left: -4px; } .sc-arrow--next { right: -4px; }
}

/* ===== Hero showcase : titre plus sobre + CTA deplaces SOUS la vitrine ===== */
.hero--showcase .hero-content { max-width: 760px; }
.hero--showcase .hero-content h1 {
  font-size: clamp(1.7rem, 3.1vw, 2.45rem); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.hero--showcase .hero-content .lead { font-size: 1.06rem; }
.hero-actions--below { justify-content: center; margin-top: 2.6rem; }
.hero--showcase .hero-note { text-align: center; margin: 1rem 0 0; }

/* ===== Formulaire de contact : ajout du champ message ===== */
.cta-form { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-form textarea {
  flex: 1 1 100%; width: 100%; min-height: 120px; resize: vertical;
  padding: 0.95rem 1.25rem; border-radius: 16px; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text); font-size: 1rem; font-family: var(--font-body);
  line-height: 1.55; transition: border-color 0.2s, box-shadow 0.2s;
}
.cta-form textarea::placeholder { color: var(--text-muted); }
.cta-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); }
.cta-form textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18); }
.cta-form #contact-submit { flex: 1 1 100%; }

/* ===== Vitrine : appareils cliquables + description sur une seule ligne ===== */
.devices.is-clickable { cursor: pointer; }
.showcase-desc {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
}

/* ===================================================================
   Couche éditoriale « audacieuse » (inspiration : grande typo, accents
   dessinés à la main, sections manifestes) — sans toucher à la vitrine 3D.
   =================================================================== */

/* Accent tracé à la main réutilisable */
.ink { display: block; fill: none; stroke: var(--primary); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ink path { stroke-dasharray: 620; stroke-dashoffset: 620; }
[data-reveal].is-visible .ink path,
.is-visible .ink path { animation: inkDraw 1.1s var(--ease) 0.25s forwards; }
@keyframes inkDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ink path { stroke-dashoffset: 0; animation: none; } }

/* Titres de section agrandis, plus affirmés */
.section-title { font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.04; letter-spacing: -0.02em; }
.section-subtitle { font-size: clamp(1.02rem, 1.5vw, 1.2rem); }

/* ---- Section MANIFESTE (grande typo façon déclaration) ---- */
.manifesto {
  position: relative; overflow: hidden;
  padding: clamp(76px, 11vw, 150px) 0;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto-eyebrow {
  font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 0.78rem; color: var(--primary); margin: 0 0 1.4rem;
}
.manifesto-huge {
  margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: 0.9; letter-spacing: -0.025em; font-size: clamp(2.7rem, 11.5vw, 8.6rem);
}
.manifesto-huge .line { display: block; }
.manifesto-huge .outline {
  color: transparent; -webkit-text-stroke: 1.6px rgba(238, 243, 251, 0.32); text-stroke: 1.6px rgba(238, 243, 251, 0.32);
}
.manifesto-huge .line--accent { position: relative; display: inline-block; }
.manifesto-huge .fill {
  background: linear-gradient(100deg, var(--primary), var(--primary-2) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manifesto-huge .ink {
  position: absolute; left: -1%; bottom: -0.14em; width: 102%; height: 0.34em; overflow: visible;
}
.manifesto-text {
  margin: clamp(1.8rem, 3.5vw, 2.8rem) 0 0; max-width: 46ch;
  color: var(--text-muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.7;
}
.manifesto-watermark {
  position: absolute; right: -3%; bottom: -14%; z-index: 0; margin: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em;
  font-size: clamp(9rem, 34vw, 30rem); line-height: 0.8; color: transparent;
  -webkit-text-stroke: 1px rgba(56, 189, 248, 0.06); opacity: 0.9; user-select: none;
}
:root[data-theme="light"] .manifesto-huge .outline { -webkit-text-stroke-color: rgba(12, 22, 38, 0.26); }
:root[data-theme="light"] .manifesto-watermark { -webkit-text-stroke-color: rgba(3, 105, 161, 0.06); }

/* ---- Services en grande liste éditoriale (accordéon natif) ---- */
.svc-list { margin-top: clamp(2.2rem, 5vw, 3.6rem); border-top: 1px solid var(--border); }
.svc-row { border-bottom: 1px solid var(--border); }
.svc-sum {
  list-style: none; cursor: pointer; display: grid; align-items: center;
  grid-template-columns: auto 1fr auto; gap: clamp(14px, 3vw, 40px);
  padding: clamp(18px, 3vw, 32px) 2px;
}
.svc-sum::-webkit-details-marker { display: none; }
.svc-sum:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }
.svc-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--primary); letter-spacing: 0.1em; }
.svc-name {
  font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 4.6vw, 3rem); color: var(--text);
  transition: color 0.25s var(--ease), transform 0.35s var(--ease);
}
.svc-row:hover .svc-name, details[open] .svc-name { color: var(--primary); }
.svc-row:hover .svc-name { transform: translateX(10px); }
.svc-toggle { position: relative; width: 32px; height: 32px; flex: none; justify-self: end; }
.svc-toggle::before, .svc-toggle::after {
  content: ""; position: absolute; background: var(--text-muted);
  transition: transform 0.32s var(--ease), background 0.25s;
}
.svc-toggle::before { top: 50%; left: 5px; right: 5px; height: 2px; transform: translateY(-50%); }
.svc-toggle::after { left: 50%; top: 5px; bottom: 5px; width: 2px; transform: translateX(-50%); }
details[open] .svc-toggle::after { transform: translateX(-50%) scaleY(0); }
.svc-row:hover .svc-toggle::before, .svc-row:hover .svc-toggle::after,
details[open] .svc-toggle::before { background: var(--primary); }
.svc-panel { overflow: hidden; padding: 0 0 clamp(20px, 3vw, 30px); }
details[open] .svc-panel { animation: svcReveal 0.45s var(--ease); }
@keyframes svcReveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.svc-panel p {
  margin: 0 0 0 clamp(0px, 7vw, 84px); max-width: 64ch;
  color: var(--text-muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.7;
}
@media (max-width: 560px) {
  .svc-sum { grid-template-columns: auto 1fr auto; gap: 14px; }
  .svc-panel p { margin-left: 0; }
}

/* Marquee plus affirmé */
.marquee-track span:not(.sep) { font-family: var(--font-display); font-weight: 600; }
.marquee-track .sep { color: var(--primary); opacity: 0.8; }

/* ===================================================================
   ADAPTATION BI-TON « studio éditorial » — crème + espresso, vert & or.
   Surcharge finale : neutralise les cyans hérités et gère le contraste
   du header au-dessus du hero sombre. (sans toucher à la vitrine 3D)
   =================================================================== */

/* Fond de page crème, lumière chaude discrète */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(130% 90% at 50% -6%, rgba(201, 162, 39, 0.06), transparent 46%),
    radial-gradient(120% 120% at 50% 116%, rgba(31, 111, 79, 0.05), transparent 55%);
}

/* Halos ambiants : chauds et très discrets sur le crème */
.bg-fx span { mix-blend-mode: multiply; opacity: 0.14; filter: blur(120px); }
.bg-fx span:nth-child(1) { background: radial-gradient(closest-side, rgba(31, 111, 79, 0.4), transparent 70%); }
.bg-fx span:nth-child(2) { background: radial-gradient(closest-side, rgba(201, 162, 39, 0.34), transparent 70%); }
.bg-fx span:nth-child(3) { background: radial-gradient(closest-side, rgba(31, 111, 79, 0.28), transparent 70%); }
.bg-fx::before { opacity: 0.5; }
.grain { opacity: 0.03; mix-blend-mode: multiply; }

/* Intro : carton espresso */
.intro { background: var(--espresso) !important; }

/* HERO cinématographique espresso + halo chaud */
.hero--showcase.tone-dark {
  background:
    radial-gradient(120% 100% at 50% -10%, #221a10 0%, transparent 55%),
    radial-gradient(90% 80% at 82% 8%, rgba(201, 162, 39, 0.14), transparent 55%),
    linear-gradient(180deg, #17130d 0%, #120f0a 100%);
}
.tone-dark .hero-bg::before {
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.16), rgba(143, 206, 159, 0.06) 45%, transparent 72%);
}
.tone-dark .hero-spotlight {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 30%), rgba(232, 197, 106, 0.16), transparent 65%);
}

/* Header : clair au-dessus du hero sombre, encre une fois déroulé sur le crème */
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .brand-web { color: #f4ecdb; }
.site-header:not(.scrolled) .nav-menu:not(.open) a { color: rgba(244, 236, 219, 0.82); }
.site-header:not(.scrolled) .nav-menu:not(.open) a:hover,
.site-header:not(.scrolled) .nav-menu:not(.open) a.active { color: #fff; }
.site-header:not(.scrolled) .nav-menu:not(.open) a.active::after { background: var(--accent); }
.site-header:not(.scrolled) .nav-toggle span { background: #f4ecdb; }
.site-header:not(.scrolled) .lang-current { color: #f4ecdb; border-color: rgba(244, 236, 219, 0.28); }
.site-header:not(.scrolled) .btn-ghost { color: #f4ecdb; border-color: rgba(244, 236, 219, 0.4); }
.site-header:not(.scrolled) .btn-ghost:hover { background: rgba(244, 236, 219, 0.1); }
.site-header.scrolled { border-bottom: 1px solid var(--border-soft); }

/* Manifeste : halo et filigrane dorés (au lieu du cyan) */
.manifesto {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(201, 162, 39, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.manifesto-watermark { -webkit-text-stroke-color: rgba(232, 197, 106, 0.08); }

/* Appel final (CTA) : bande dorée sur espresso, halo doré */
.cta { background: none; }
.cta-band { background: linear-gradient(135deg, rgba(232, 197, 106, 0.12), rgba(143, 206, 159, 0.08)), var(--bg-card); }
.cta-band-glow { background: radial-gradient(closest-side, rgba(232, 197, 106, 0.3), transparent 70%); }
.cta-form input:focus, .cta-form textarea:focus { box-shadow: 0 0 0 3px rgba(232, 197, 106, 0.25); }

/* Marquee : séparateurs verts sur crème */
.marquee-track .sep { color: var(--primary); opacity: 0.75; }

/* Boutons primaires : texte encre sur vert/or pour rester lisible */
.btn-primary { color: #14110c; }

/* Header transparent au-dessus du hero sombre, crème translucide au scroll */
.site-header { background-color: transparent; border-bottom-color: transparent; }
.site-header.scrolled {
  background-color: var(--header-bg-scrolled);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

/* Texte en dégradé : or → vert → crème (fini le cyan) */
.gradient-text {
  background: linear-gradient(94deg, var(--primary) 0%, var(--accent) 55%, var(--text) 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================================================================
   PALETTE MONOCHROME — blanc / gris / noir, moderne & épuré.
   (posé en fin de fichier : écrase les valeurs colorées précédentes)
   =================================================================== */

/* Base : BLANC éditorial */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #ffffff;
  --bg-soft: #f4f4f5;
  --bg-card: #ffffff;
  --border: #e4e4e7;
  --border-soft: #ececee;
  --text: #0a0a0b;
  --text-muted: #71717a;
  --primary: #0a0a0b;
  --primary-2: #52525b;
  --accent: #0a0a0b;
  --danger: #dc2626;
  --accent-ink: #0a0a0b;
  --header-bg-scrolled: rgba(255, 255, 255, 0.82);
  --btn-secondary-bg: rgba(10, 10, 11, 0.035);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 16px 44px -16px rgba(0, 0, 0, 0.3);
  --espresso: #0a0a0b;
}

/* Sections SOMBRES cinématographiques : noir profond */
.tone-dark {
  --bg: #0a0a0b;
  --bg-soft: #141416;
  --bg-card: #1b1b1e;
  --border: #2b2b30;
  --border-soft: #202024;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --primary: #fafafa;
  --primary-2: #d4d4d8;
  --accent: #fafafa;
  --accent-ink: #fafafa;
  --btn-secondary-bg: rgba(255, 255, 255, 0.06);
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 16px 44px -16px rgba(255, 255, 255, 0.12);
  background: var(--bg);
  color: var(--text);
}

/* Fond de page : blanc net, lumière neutre imperceptible */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(130% 90% at 50% -6%, rgba(0, 0, 0, 0.03), transparent 44%),
    radial-gradient(120% 120% at 50% 118%, rgba(0, 0, 0, 0.025), transparent 55%);
}
/* Halos ambiants : gris neutres, quasi invisibles */
.bg-fx span { mix-blend-mode: multiply; opacity: 0.05; filter: blur(120px); }
.bg-fx span:nth-child(1) { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), transparent 70%); }
.bg-fx span:nth-child(2) { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.4), transparent 70%); }
.bg-fx span:nth-child(3) { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.35), transparent 70%); }
.bg-fx::before { opacity: 0.42; }
.grain { opacity: 0.022; mix-blend-mode: multiply; }

/* Intro : carton noir */
.intro { background: #0a0a0b !important; }

/* HERO cinématographique noir + halo blanc discret */
.hero--showcase.tone-dark {
  background:
    radial-gradient(110% 90% at 50% -12%, #1c1c1f 0%, transparent 55%),
    radial-gradient(90% 80% at 82% 6%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, #0c0c0e 0%, #08080a 100%);
}
.tone-dark .hero-bg::before {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03) 45%, transparent 72%);
}
.tone-dark .hero-spotlight {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.08), transparent 65%);
}

/* Header : clair sur le hero noir, blanc translucide au scroll */
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .brand-web { color: #fafafa; }
.site-header:not(.scrolled) .nav-menu:not(.open) a { color: rgba(250, 250, 250, 0.78); }
.site-header:not(.scrolled) .nav-menu:not(.open) a:hover,
.site-header:not(.scrolled) .nav-menu:not(.open) a.active { color: #fff; }
.site-header:not(.scrolled) .nav-menu:not(.open) a.active::after { background: #fafafa; }
.site-header:not(.scrolled) .nav-toggle span { background: #fafafa; }
.site-header:not(.scrolled) .lang-current { color: #fafafa; border-color: rgba(250, 250, 250, 0.28); }
.site-header:not(.scrolled) .btn-ghost { color: #fafafa; border-color: rgba(250, 250, 250, 0.4); }
.site-header:not(.scrolled) .btn-ghost:hover { background: rgba(250, 250, 250, 0.1); }

/* Manifeste : halo et filigrane blancs discrets */
.manifesto {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.manifesto-watermark { -webkit-text-stroke-color: rgba(255, 255, 255, 0.06); }

/* Appel final (CTA) : carte anthracite, halo blanc discret */
.cta-band { background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), var(--bg-card); }
.cta-band-glow { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), transparent 70%); }
.cta-form input:focus, .cta-form textarea:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }

/* Marquee : séparateurs gris */
.marquee-track .sep { color: var(--text-muted); opacity: 0.7; }

/* Texte en dégradé : reflet argenté monochrome */
.gradient-text {
  background: linear-gradient(94deg, var(--primary) 0%, var(--primary-2) 58%, var(--primary) 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Boutons : contraste franc noir/blanc */
.btn-primary { background: var(--text); color: var(--bg); }
.tone-dark .btn-primary { background: #fafafa; color: #0a0a0b; }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--primary); }

/* Marque « C&C » et avatar « V » en monochrome */
.brand-mark {
  background: linear-gradient(150deg, #1c1c1f, #0a0a0b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 22px -12px rgba(0, 0, 0, 0.6);
}
.about-monogram { background: #0a0a0b; color: #fff; }

/* « Concept » (dégradé) forcé en blanc au-dessus du hero sombre */
.site-header:not(.scrolled) .brand-web { -webkit-text-fill-color: #fafafa; color: #fafafa; }

/* ===== Services : visuel illustratif dans chaque volet déplié ===== */
.svc-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  gap: clamp(22px, 4vw, 54px); align-items: center;
  padding: 4px 2px clamp(24px, 3vw, 36px) clamp(0px, 6vw, 74px);
}
.svc-panel p { margin: 0; max-width: 52ch; }
.svc-visual {
  position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg-soft); overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.svc-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 22px 22px; opacity: 0.55;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 78%);
}
.svc-visual svg { position: relative; width: 58%; max-width: 210px; height: auto; color: var(--text); opacity: 0.92; }
.svc-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
@media (max-width: 720px) {
  .svc-panel { grid-template-columns: 1fr; padding-left: 0; }
  .svc-visual { order: -1; }
}

/* ===================================================================
   Pages légales + bannière cookies (monochrome)
   =================================================================== */
.legal-page { background: var(--bg); color: var(--text); }
.legal-nav { position: sticky; top: 0; z-index: 50; background: #0a0a0b; color: #fafafa; border-bottom: 1px solid #1f1f22; }
.legal-nav__inner { max-width: var(--container); margin: 0 auto; padding: 15px clamp(18px, 4vw, 32px); display: flex; align-items: center; justify-content: space-between; }
.legal-nav__brand { display: inline-flex; align-items: baseline; gap: 0.4rem; color: #fafafa; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.legal-nav__brand .lw { color: #a1a1aa; font-weight: 500; }
.legal-nav__back { color: rgba(250, 250, 250, 0.72); font-size: 0.9rem; transition: color 0.18s; }
.legal-nav__back:hover { color: #fff; }

.legal-hero { max-width: var(--container); margin: 0 auto; padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 32px) clamp(16px, 3vw, 30px); text-align: center; }
.legal-hero .eyebrow { justify-content: center; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -0.02em; line-height: 1.05; margin-top: 0.6rem; }
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 32px) clamp(56px, 9vw, 104px); }
.legal-preambule { color: var(--text-muted); font-size: 1.06rem; line-height: 1.75; margin-bottom: 2.6rem; }
.legal-section { margin: 0 0 2.3rem; }
.legal-section h2 { font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.4rem); margin-bottom: 0.75rem; display: flex; gap: 0.65rem; align-items: baseline; letter-spacing: -0.01em; }
.legal-section h2 .num { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.95rem; flex: none; }
.legal-section p { margin-bottom: 0.75rem; line-height: 1.75; }
.legal-section a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-section a:hover { opacity: 0.65; }
.legal-list { margin: 0.4rem 0 1rem 1.25rem; }
.legal-list li { margin: 0.4rem 0; line-height: 1.7; }
.legal-card { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-soft); padding: 18px 22px; margin: 0.7rem 0 1.1rem; }
.legal-card p { margin: 0.22rem 0; }
.legal-todo { background: #ffe9a8; color: #6b5200; padding: 1px 8px; border-radius: 5px; font-size: 0.85em; font-weight: 600; }
.legal-divider { height: 1px; background: var(--border); margin: 2.6rem 0; }
.legal-updated { color: var(--text-muted); font-size: 0.9rem; }

.legal-footer { background: #0a0a0b; color: #a1a1aa; text-align: center; padding: clamp(34px, 6vw, 52px) 24px; }
.legal-footer a, .legal-footer button { color: #e4e4e7; }
.legal-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; margin-bottom: 1.1rem; font-size: 0.92rem; }
.legal-footer__links .sep { color: #3f3f46; }
.legal-footer__links button { background: none; border: 0; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-footer__copy { font-size: 0.86rem; line-height: 1.7; }

/* Liens légaux dans le footer du site principal */
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; justify-content: center; margin-bottom: 0.9rem; font-size: 0.85rem; }
.footer-legal a, .footer-legal button { color: var(--text-muted); transition: color 0.18s; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--primary); }
.footer-legal .sep { color: var(--border); }
.footer-legal button { background: none; border: 0; cursor: pointer; font: inherit; }

/* Bannière de consentement cookies */
.cookie-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000;
  max-width: 560px; margin: 0 auto; background: #0a0a0b; color: #f4f4f5;
  border: 1px solid #2a2a2e; border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  transform: translateY(160%); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.cookie-consent.show { transform: none; opacity: 1; }
.cookie-consent h3 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 0.45rem; }
.cookie-consent p { color: #a1a1aa; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.cookie-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-consent .c-accept { flex: 1; min-width: 130px; background: #fafafa; color: #0a0a0b; border: 0; border-radius: 999px; padding: 0.72rem 1.2rem; font-weight: 600; font-family: var(--font-display); cursor: pointer; transition: transform 0.15s var(--ease); }
.cookie-consent .c-accept:hover { transform: translateY(-1px); }
.cookie-consent .c-refuse { flex: 1; min-width: 130px; background: transparent; color: #f4f4f5; border: 1px solid #3a3a3e; border-radius: 999px; padding: 0.72rem 1.2rem; font-family: var(--font-display); cursor: pointer; }
.cookie-consent .c-refuse:hover { border-color: #6b6b73; }

/* ===================================================================
   ACCENT DE MARQUE — bleu électrique, dosé sur la base noir & argent.
   =================================================================== */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --brand: #2e5bff;
  --brand-2: #5b7fff;
}
.tone-dark { --brand: #4d78ff; --brand-2: #7f9bff; }

/* Boutons principaux : bleu (points de conversion) */
.btn-primary, .tone-dark .btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover, .tone-dark .btn-primary:hover { background: var(--brand-2); }

/* Sur-titres éditoriaux en bleu */
.eyebrow, .manifesto-eyebrow { color: var(--brand); }

/* Titre en dégradé : bleu → teinte de base */
.gradient-text {
  background: linear-gradient(94deg, var(--brand) 0%, var(--brand-2) 45%, var(--text) 115%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Manifeste : mot accentué + soulignement dessinés en bleu */
.manifesto-huge .fill { background: linear-gradient(100deg, var(--brand), var(--brand-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto-huge .ink { stroke: var(--brand); }

/* Marquee, services, carrousel : accents bleus */
.marquee-track .sep { color: var(--brand); opacity: 0.9; }
.svc-num { color: var(--brand); }
.svc-row:hover .svc-name, details[open] .svc-name { color: var(--brand); }
.svc-row:hover .svc-toggle::before, .svc-row:hover .svc-toggle::after,
details[open] .svc-toggle::before { background: var(--brand); }
.sc-dot-fill { background: var(--brand); }
.sc-arrow:hover { border-color: var(--brand); color: var(--brand); }

/* Navigation (sur fond clair) : survol & actif en bleu */
.site-header.scrolled .nav-menu a:hover, .site-header.scrolled .nav-menu a.active { color: var(--brand); }
.nav-menu a:not(.btn-ghost)::after { background: var(--brand); }

/* Liens de contenu au survol, focus formulaire */
.legal-section a:hover { color: var(--brand); opacity: 1; }
.footer-legal a:hover, .footer-legal button:hover, .footer-contact-row:hover span { color: var(--brand); }
.footer-contact-row svg { color: var(--brand); }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.25); }

/* Pastille "en ligne" de l'avatar + point du logo */
.about-monogram::after { background: var(--brand); }
.brand-mark::after { background: var(--brand); box-shadow: 0 0 10px var(--brand); }

/* Réseaux sociaux du footer : survol bleu */
.footer-social a:hover { background: var(--brand); border-color: transparent; color: #fff; }

/* Halo ambiant : une pointe de bleu très discrète */
.bg-fx span:nth-child(2) { background: radial-gradient(closest-side, rgba(46, 91, 255, 0.16), transparent 70%); }

/* ===================================================================
   Mobile : barre de menu opaque dès le départ (fini le fond transparent
   au-dessus du hero qui laissait le titre passer sous le menu).
   =================================================================== */
@media (max-width: 720px) {
  .site-header {
    background: var(--header-bg-scrolled) !important;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft) !important;
  }
  .site-header .brand { color: var(--text) !important; }
  .site-header .brand-web { -webkit-text-fill-color: var(--brand) !important; color: var(--brand) !important; }
  .site-header .nav-toggle span { background: var(--text) !important; }
  .site-header .lang-current { color: var(--text) !important; border-color: var(--border) !important; }
  .site-header .nav-menu:not(.open) a { color: var(--text-muted) !important; }
  /* un peu d'air sous la barre pour dégager le titre du hero */
  .hero--showcase { padding-top: clamp(104px, 15vh, 150px); }
}

/* ===================================================================
   POLISH 2026 — passe a11y & cohérence (identité monochrome + accent bleu)
   Surcouche volontairement chirurgicale : ne change pas la direction,
   corrige lisibilité, focus et cibles tactiles.
   =================================================================== */

/* Focus visible : anneau bleu de marque (plus visible qu'un contour
   noir/blanc selon la bande, et raccord avec l'accent du site). */
:focus-visible { outline: 2px solid var(--brand, #4d78ff); outline-offset: 3px; }
.svc-sum:focus-visible,
.sc-arrow:focus-visible,
.faq-item summary:focus-visible { outline: 2px solid var(--brand, #4d78ff); outline-offset: 4px; }

/* Manifeste : le contour « fantôme » de la 1re ligne était limite lisible
   (contraste trop faible sur le noir). On le remonte légèrement sans
   casser la hiérarchie ghost -> ligne accent. */
.manifesto-huge .outline {
  -webkit-text-stroke-color: rgba(250, 250, 250, 0.46);
  text-stroke-color: rgba(250, 250, 250, 0.46);
}
:root[data-theme="light"] .manifesto-huge .outline {
  -webkit-text-stroke-color: rgba(10, 10, 11, 0.34);
  text-stroke-color: rgba(10, 10, 11, 0.34);
}

/* Carrousel : teinte des flèches alignée sur le monochrome (au lieu du
   bleu-navy résiduel), et cibles tactiles ≥ 44px sur mobile (WCAG 2.5.5). */
.sc-arrow { background: rgba(10, 10, 11, 0.6); }
.sc-arrow:hover { background: rgba(10, 10, 11, 0.9); }
@media (max-width: 640px) {
  .sc-arrow { width: 44px; height: 44px; background: rgba(10, 10, 11, 0.82); }
  .sc-arrow--prev { left: 4px; }
  .sc-arrow--next { right: 4px; }
}

/* ===================================================================
   BUSINESS 2026 — micro-CRO : crédibilité dès le 1er écran, hero plus
   percutant. Contenu véridique (25 ans, interlocuteur unique, 24 h).
   =================================================================== */

/* Bandeau de confiance sous l'accroche (visible sans scroller) */
.hero-trust {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.42rem 0.85rem; background: var(--btn-secondary-bg);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hero-trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--brand, #4d78ff); box-shadow: 0 0 8px var(--brand, #4d78ff);
}
.hero-trust li:hover { border-color: var(--brand, #4d78ff); color: var(--text); }

/* Titre du hero un cran plus présent (impact au 1er regard) */
.hero--showcase .hero-content h1 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }

/* Desktop : premier écran resserré (moins d'espace mort au-dessus du titre).
   On NE touche pas au mobile, où le padding dégage le titre du menu opaque. */
@media (min-width: 721px) {
  .hero--showcase { padding-top: clamp(80px, 9vh, 118px); }
}

/* ===== Landing pages locales (création-site-web-liège) ===== */
.local-breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 18px; letter-spacing: 0.01em; }
.local-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.local-breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.local-breadcrumb span { margin: 0 6px; opacity: 0.5; }

.local-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.local-steps li { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; line-height: 1.6; }
.local-steps li b { display: block; margin-bottom: 4px; color: var(--text); }

.local-faq { border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; margin: 12px 0 0; background: var(--bg-soft); }
.local-faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 32px; color: var(--text); }
.local-faq summary::-webkit-details-marker { display: none; }
.local-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform 0.25s var(--ease); }
.local-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.local-faq p { margin: 0 0 18px; color: var(--text-muted); line-height: 1.7; }

.svc-local-link { margin: 10px 0 0; font-size: 0.9rem; color: var(--text-muted); }
.svc-local-link a { color: var(--accent-ink, var(--accent)); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.svc-local-link a:hover { opacity: 0.8; }

.cross-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 22px; }
.cross-links a { display: block; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-soft); color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.35; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.cross-links a:hover { border-color: var(--primary); transform: translateY(-2px); }
.cross-links a span { display: block; font-weight: 400; font-size: 0.83rem; color: var(--text-muted); margin-top: 5px; }
