/* ============================================================
   DEVCRAFT — style.css
   Dark premium theme, Orisa-inspired
   ============================================================ */

/* 1. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 112px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
ul { list-style: none; }
strong { font-weight: 700; }
em { font-style: italic; }

/* 2. CSS VARIABLES
============================================================ */
:root {
  --bg: #07070E;
  --bg-alt: #0D0D1C;
  --bg-card: #10101A;
  --bg-card-hover: #141425;
  --accent: #5B6EFF;
  --accent-2: #8B7AFF;
  --accent-dim: rgba(91, 110, 255, 0.12);
  --accent-border: rgba(91, 110, 255, 0.3);
  --text: #F0F0FF;
  --text-muted: #8B8FA8;
  --text-dim: #555870;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --danger: #FF5A5A;
  --danger-dim: rgba(255, 90, 90, 0.12);
  --danger-border: rgba(255, 90, 90, 0.25);
  --green: #4AFF84;
  --ff-head: 'Syne', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 8px 40px rgba(91, 110, 255, 0.25);
}

/* 3. SCROLL PROGRESS
============================================================ */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* 4. CONTAINER
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 5. TOPBAR
============================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 40px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.topbar__item svg { flex-shrink: 0; opacity: 0.6; }

.topbar__link {
  transition: color 0.2s ease;
}
.topbar__link:hover { color: var(--text); }

.topbar__sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin: 0 4px;
}

.topbar.hidden { transform: translateY(-100%); }

/* 6. NAV
============================================================ */
.nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 199;
  height: 72px;
  transition: top 0.4s ease, background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav__logo strong { color: var(--accent); font-weight: 800; }

.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  color: var(--accent);
  flex-shrink: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Nav CTA button — Orisa slide text pattern */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  margin-left: 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav__cta svg { flex-shrink: 0; }

.nav__cta-text-1,
.nav__cta-text-2 {
  display: block;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
  white-space: nowrap;
}

.nav__cta-text-2 {
  position: absolute;
  left: 20px;
  transform: translateY(120%);
}

.nav__cta:hover { background: #4a5de0; box-shadow: var(--shadow-accent); }
.nav__cta:hover .nav__cta-text-1 { transform: translateY(-120%); }
.nav__cta:hover .nav__cta-text-2 { transform: translateY(0); }

.nav.scrolled {
  background: rgba(7, 7, 14, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav.at-top { background: transparent; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 36px;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. MOBILE OVERLAY
============================================================ */
.mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  visibility: hidden;
}

.mob-overlay.open {
  pointer-events: all;
  visibility: visible;
}

.mob-overlay__bg {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 14, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mob-overlay.open .mob-overlay__bg { opacity: 1; }

.mob-overlay__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 90vw);
  background: #0D0D1C;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 32px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.mob-overlay.open .mob-overlay__panel { transform: translateX(0); }

.mob-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mob-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}

.mob-overlay__close:hover { color: var(--text); border-color: var(--border-strong); }

.mob-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
  opacity: 0;
  transform: translateX(20px);
  transition: color 0.2s ease, opacity 0.4s ease, transform 0.4s ease;
}

.mob-overlay.open .mob-link { opacity: 1; transform: translateX(0); }
.mob-overlay.open .mob-link:nth-child(1) { transition-delay: 0.05s; }
.mob-overlay.open .mob-link:nth-child(2) { transition-delay: 0.1s; }
.mob-overlay.open .mob-link:nth-child(3) { transition-delay: 0.15s; }
.mob-overlay.open .mob-link:nth-child(4) { transition-delay: 0.2s; }
.mob-overlay.open .mob-link:nth-child(5) { transition-delay: 0.25s; }
.mob-overlay.open .mob-link:nth-child(6) { transition-delay: 0.3s; }

.mob-link:hover { color: var(--text); }
.mob-link span { font-size: 18px; }

.mob-overlay__foot {
  padding-top: 32px;
}

.mob-cta-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: background 0.2s ease;
}

.mob-cta-btn:hover { background: #4a5de0; }

.mob-overlay__foot p {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* 8. BUTTONS
============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--radius);
  white-space: nowrap;
  vertical-align: middle;
}

.btn svg { flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1); }

.btn__t1,
.btn__t2 {
  display: block;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.btn__t2 {
  position: absolute;
  left: 28px;
  right: 46px;
  transform: translateY(130%);
  white-space: nowrap;
}

.btn:hover .btn__t1 { transform: translateY(-130%); }
.btn:hover .btn__t2 { transform: translateY(0); }

/* Light button (white bg) */
.btn--light {
  background: var(--text);
  color: var(--bg);
}
.btn--light:hover { background: #e0e0f4; }

/* Ghost light (transparent with white border) */
.btn--ghost-light {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

/* Accent button */
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: #4a5de0; box-shadow: var(--shadow-accent); }

/* Outline for dark sections */
.btn--outline-light {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
}

/* Full width button */
.btn--full { width: 100%; justify-content: center; }
.btn--full .btn__t2 { text-align: center; left: 50%; transform: translateX(-50%) translateY(130%); }
.btn--full:hover .btn__t2 { transform: translateX(-50%) translateY(0); }

/* Large button */
.btn--lg { height: 58px; padding: 0 36px; font-size: 15px; }

/* 9. SECTION BASE
============================================================ */
.section {
  padding: 120px 0;
}

.section--dark {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-tag--light {
  color: rgba(91, 110, 255, 0.7);
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title--light { color: var(--text); }

.section-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

.section-text--center { text-align: center; margin: 0 auto; }
.section-text--muted { color: var(--text-dim); }

/* 10. HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(91, 110, 255, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 85% 15%, rgba(139, 122, 255, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 60% 85%, rgba(91, 110, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 40px;
}

.hero__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero__tagline {
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(74, 255, 132, 0.08);
  border: 1px solid rgba(74, 255, 132, 0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: heroPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50% { box-shadow: 0 0 16px var(--green), 0 0 32px rgba(74, 255, 132, 0.3); }
}

.hero__title {
  font-family: var(--ff-head);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 820px;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Hero category nav bar */
.hero__cats {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}

.hero__cat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-right: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.hero__cat:last-child { border-right: none; }
.hero__cat:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.hero__cat-t1,
.hero__cat-t2 {
  display: block;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.hero__cat-t2 {
  position: absolute;
  left: 20px;
  transform: translateY(100%);
}

.hero__cat:hover .hero__cat-t1 { transform: translateY(-100%); }
.hero__cat:hover .hero__cat-t2 { transform: translateY(0); }

.hero__cat svg { flex-shrink: 0; opacity: 0.5; }

/* Hero stats bar */
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(7, 7, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__stats-inner {
  display: flex;
  align-items: stretch;
}

.hstat {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hstat strong {
  font-family: var(--ff-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hstat span {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

.hstat p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.hstat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 20px 0;
}

/* 11. TICKER
============================================================ */
.ticker {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}

.ticker__inner {
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker__track span {
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ticker__dot {
  color: var(--accent) !important;
  font-size: 8px !important;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 12. POURQUOI
============================================================ */
.pourquoi .pourquoi__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pourquoi__left .section-tag { margin-bottom: 12px; }
.pourquoi__left .section-title { margin-bottom: 16px; }
.pourquoi__left .section-text { margin-bottom: 32px; }

/* No-CMS pills */
.no-cms {
  margin-bottom: 36px;
}

.no-cms__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.no-cms__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.no-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--danger-dim);
  border: 1px solid var(--danger-border);
  color: var(--danger);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.no-pill svg { flex-shrink: 0; }

/* Advantages list */
.avantages {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.avantage {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.avantage:first-child { border-top: 1px solid var(--border); }

.avantage__num {
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  min-width: 28px;
  padding-top: 2px;
  letter-spacing: 0.05em;
}

.avantage__body h4 {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.avantage__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 13. SERVICES
============================================================ */
.services .section-header { margin-bottom: 56px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.svc-card {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s ease;
}

.svc-card:hover { background: var(--bg-card-hover); }

.svc-card--accent {
  background: var(--accent-dim);
  border: none;
}

.svc-card--accent:hover { background: rgba(91, 110, 255, 0.18); }

.svc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.svc-card__num {
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.svc-card__icon {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
}

.svc-card--accent .svc-card__icon { color: var(--accent); }

.svc-card h3 {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.svc-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.svc-card__tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.svc-card--accent .svc-card__tags span {
  background: rgba(91, 110, 255, 0.15);
  border-color: var(--accent-border);
  color: var(--accent);
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  transition: color 0.2s, gap 0.2s;
}

.svc-card__link:hover { color: var(--text); gap: 10px; }
.svc-card__link--accent { color: var(--accent); }
.svc-card__link--accent:hover { color: #fff; }

/* 14. TECH STACK
============================================================ */
.stack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stack-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stack-block:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.stack-block--accent {
  background: var(--accent-dim);
  border-color: var(--accent-border);
}

.stack-block--accent:hover { border-color: var(--accent); }

.stack-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--text-muted);
}

.stack-block__icon svg { width: 22px; height: 22px; }

.stack-block__icon--accent {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: var(--accent);
}

.stack-block--accent .stack-block__icon--dark {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(91, 110, 255, 0.2);
  color: #fff;
}

.stack-block h4 {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.stack-block--accent h4 { color: #fff; }

.stack-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stack-block li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stack-block li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.6;
}

.stack-block--accent li { color: rgba(255, 255, 255, 0.7); }
.stack-block--accent li::before { background: #fff; }

/* 15. TARIFS
============================================================ */
.tarifs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: border-color 0.25s ease;
}

.pricing-card:hover { border-color: var(--border-strong); }

.pricing-card--featured {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-accent);
}

.pricing-card--featured:hover { border-color: var(--accent); }

.pricing-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pricing-card__header { margin-bottom: 28px; }

.pricing-card__tag {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pricing-card--featured .pricing-card__tag { color: rgba(255, 255, 255, 0.7); }

.pricing-card__tag--accent { color: var(--accent); }

.pricing-card__price { margin-bottom: 16px; }

.pricing-card__from {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.pricing-card--featured .pricing-card__from { color: rgba(255, 255, 255, 0.6); }

.pricing-card__amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-card__amount strong {
  font-family: var(--ff-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-card--featured .pricing-card__amount strong { color: #fff; }

.pricing-card__amount span {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-card--featured .pricing-card__amount span { color: rgba(255, 255, 255, 0.8); }

.pricing-card__amount--small strong {
  font-size: 28px;
}

.pricing-card__header p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-card--featured .pricing-card__header p { color: rgba(255, 255, 255, 0.8); }

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-card__features li span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card__features--light li { color: rgba(255, 255, 255, 0.85); }
.pricing-card__features--light li span { color: rgba(255, 255, 255, 0.6); }

/* 16. PROCESS
============================================================ */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  position: relative;
  padding-bottom: 40px;
}

.process-step__line {
  position: absolute;
  left: 29px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}

.process-step__line--last {
  display: none;
}

.process-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border: 2px solid var(--accent-border);
  border-radius: 50%;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step__body {
  padding-top: 12px;
}

.process-step__body h3 {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.process-step__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.process-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.process-step__tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* 17. TEMOIGNAGES
============================================================ */
.temos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.temo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease;
}

.temo:hover { border-color: var(--border-strong); }

.temo__stars {
  font-size: 14px;
  color: #FFB344;
  letter-spacing: 2px;
}

.temo__quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.temo__quote::before { content: '"'; color: var(--accent); font-style: normal; }
.temo__quote::after { content: '"'; color: var(--accent); font-style: normal; }

.temo__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.temo__avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.temo__author > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.temo__author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.temo__author span {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

.temo__badge {
  padding: 3px 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* 18. FAQ
============================================================ */
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.faq__left .section-tag { margin-bottom: 12px; }
.faq__left .section-title { margin-bottom: 16px; }

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q span {
  font-family: var(--ff-body);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
  line-height: 1;
}

.faq-q:hover { color: var(--accent); }
.faq-q:hover span { color: var(--accent); }
.faq-item.open .faq-q span { transform: rotate(45deg); color: var(--accent); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a > * { overflow: hidden; }

.faq-a p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 20px;
}

/* 19. CTA BAND
============================================================ */
.ctaband {
  background: var(--accent);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.ctaband::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(255,255,255,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(0,0,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.ctaband__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.ctaband__tag {
  display: block;
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ctaband__left h2 {
  font-family: var(--ff-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ctaband__right { text-align: right; flex-shrink: 0; }

.ctaband__right p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 24px;
}

.ctaband__right strong { color: #fff; }

/* 20. CONTACT
============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact__left .section-tag { margin-bottom: 12px; }
.contact__left .section-title { margin-bottom: 16px; }
.contact__left .section-text { margin-bottom: 32px; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact__detail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.contact__detail:hover { color: var(--text); }
.contact__detail svg { color: var(--accent); flex-shrink: 0; }

.contact__socials {
  display: flex;
  gap: 8px;
}

.contact__social {
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}

.contact__social:hover { color: var(--text); border-color: var(--border-strong); }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group select { cursor: pointer; }

.form-group select option { background: #111118; color: var(--text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-border);
  background: rgba(91, 110, 255, 0.05);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* Form success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h4 {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-success p { font-size: 14px; color: var(--text-muted); }

/* 21. FOOTER
============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__logo strong { color: var(--accent); }

.footer__brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer__socials {
  display: flex;
  gap: 8px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.2s, border-color 0.2s;
}

.footer__socials a:hover { color: var(--text); border-color: var(--border-strong); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col h5 {
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--text-dim);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer__legal a:hover { color: var(--text); }

/* 22. MOBILE STICKY CTA
============================================================ */
.mob-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  backdrop-filter: blur(12px);
}

.mob-sticky.visible { transform: translateY(0); }

.mob-sticky__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mob-sticky__info strong {
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.mob-sticky__info span {
  font-size: 12px;
  color: var(--text-muted);
}

.mob-sticky__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s ease;
}

.mob-sticky__btn:hover { background: #4a5de0; }

/* 23. REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Stagger for grid children */
.services__grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.25s; }

.stack__grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.stack__grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.stack__grid .reveal:nth-child(4) { transition-delay: 0.21s; }

.tarifs__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.tarifs__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.temos__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.temos__grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* 24. RESPONSIVE
============================================================ */

/* Tablet landscape */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .pourquoi .pourquoi__inner { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 900px) {
  body { padding-top: 104px; }
  .section { padding: 80px 0; }

  .nav__menu { display: none; }
  .nav__burger { display: flex; }

  .hero__title { font-size: clamp(40px, 8vw, 64px); }

  .hero__cats { flex-wrap: wrap; border: none; gap: 8px; }
  .hero__cat {
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .hero__cat:last-child { border-right: 1px solid var(--border); }

  .hstat { padding: 20px 16px; }
  .hstat strong { font-size: 28px; }

  .tarifs__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card--featured { transform: scale(1); }

  .faq__inner { grid-template-columns: 1fr; gap: 40px; }

  .ctaband__inner { flex-direction: column; text-align: center; gap: 32px; }
  .ctaband__right { text-align: center; }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  body { padding-top: 96px; }
  .container { padding: 0 16px; }

  .topbar { height: 36px; }
  .nav { top: 36px; height: 60px; }
  .topbar__item:not(:first-child) { display: none; }
  .topbar__sep { display: none; }

  .section { padding: 64px 0; }

  .hero__title { font-size: clamp(36px, 10vw, 52px); }
  .hero__sub { font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__cats { display: none; }
  .hero__stats-inner { flex-wrap: wrap; }
  .hstat { flex: 0 0 50%; padding: 16px; }
  .hstat-sep:nth-child(4) { display: none; }

  .section-title { font-size: clamp(26px, 8vw, 38px); }

  .services__grid { grid-template-columns: 1fr; }
  .stack__grid { grid-template-columns: 1fr; }
  .temos__grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }

  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 12px; }

  .mob-sticky { display: flex; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 34px; }
  .footer__cols { grid-template-columns: 1fr; }
}
