/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --bg:          #050816;
  --accent:      #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.18);
  --text:        #f9fafb;
  --muted:       #9ca3af;
  --border:      rgba(148, 163, 184, 0.18);
  --radius-lg:   12px;
  --radius-xl:   18px;
}

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

html { overflow-x: clip; }

/* ─── Body ──────────────────────────────────────────────────────────────────── */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ─── Texture de bruit ───────────────────────────────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

/* ─── Container ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5, 8, 22, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

/* ─── Skip link ────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 200;
  border-radius: 0 0 var(--radius-lg) 0;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--text); }

.nav-link--icon {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-link--icon:hover { color: var(--text); }

.nav-link--cta {
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, color 0.2s;
}

.nav-link--cta:hover { border-color: rgba(148, 163, 184, 0.5); color: #fff; }

/* ─── Nav actions (toggle + hamburger) ─────────────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ─── Lang toggle ───────────────────────────────────────────────────────────── */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 60px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.lang-toggle:hover {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-toggle-track {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.lang-toggle-label {
  position: absolute;
  width: 50%;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  transition: color 0.25s;
  pointer-events: none;
}

.lang-toggle-label--fr { left: 0; }
.lang-toggle-label--en { right: 0; }

/* FR active (default) */
.lang-toggle[data-current="fr"] .lang-toggle-label--fr { color: var(--bg); }
.lang-toggle[data-current="fr"] .lang-toggle-label--en { color: var(--muted); }

/* EN active */
.lang-toggle[data-current="en"] .lang-toggle-label--en { color: var(--bg); }
.lang-toggle[data-current="en"] .lang-toggle-label--fr { color: var(--muted); }

.lang-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 3px);
  height: calc(100% - 4px);
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.lang-toggle[data-current="en"] .lang-toggle-thumb {
  transform: translateX(calc(100% + 2px));
}

/* ─── Badge ──────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.2);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.2); }
  50%       { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.05); }
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 100px;
  position: relative;
}

/* Layout 2 colonnes */
.hero-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* Halo accent derrière le titre */
.hero-inner::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  top: -160px;
  right: -120px;
  pointer-events: none;
  overflow: hidden;
}

.hero {
  overflow: hidden;
}

h1 {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.avail-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  flex-shrink: 0;
}

/* ─── Hero stats ────────────────────────────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  gap: 0;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  padding-right: 32px;
}

.stat-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.stat-unit {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin-right: 32px;
  flex-shrink: 0;
}

/* ─── Approche ───────────────────────────────────────────────────────────────── */
.approach {
  padding: clamp(48px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.approach-step {
  background: rgba(11, 16, 32, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  transition: border-color 0.2s, transform 0.2s;
}

.approach-step:hover {
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-2px);
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.approach-step h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.approach-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Animations fade-up ─────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up          { animation: fadeUp 0.55s ease both; }
.fade-up--d1      { animation-delay: 0.08s; }
.fade-up--d2      { animation-delay: 0.16s; }
.fade-up--d3      { animation-delay: 0.24s; }
.fade-up--d4      { animation-delay: 0.32s; }

/* ─── Scroll indicator ───────────────────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  display: flex;
  align-items: center;
  text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.6;
}

.scroll-indicator:hover { color: var(--text); opacity: 1; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover  { background: #4338ca; }
.btn-primary:active { transform: scale(0.97); }

/* ─── Section label ──────────────────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  flex-shrink: 0;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

/* ─── Trust band ─────────────────────────────────────────────────────────────── */
.trust-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: rgba(5, 8, 22, 0.4);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.trust-list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.55;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.trust-list li:hover { opacity: 0.9; }

.trust-logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
  display: block;
}
/* ─── Terminal hero ──────────────────────────────────────────────────────────── */
.hero-terminal {
  background: rgba(9, 12, 28, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(79, 70, 229, 0.12);
  flex-shrink: 0;
  animation-delay: 0.4s;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.terminal-dot--red    { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green  { background: #28c840; }

.terminal-title {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.5;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

.terminal-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.6;
}

.terminal-line {
  display: flex;
  gap: 8px;
  white-space: pre;
}

.t-prompt {
  color: var(--accent);
  font-weight: 600;
  opacity: 0.85;
}

.t-cmd { color: #f9fafb; }

.t-output {
  color: #6b7280;
  padding-left: 0;
}

.t-ok { color: #22c55e; }

.t-dim { color: #4b5563; }

.t-spacer { height: 6px; }

.t-cursor {
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
/* ─── Témoignage ────────────────────────────────────────────────────────────── */
.testimonials {
  padding: clamp(40px, 7vw, 80px) 0;
  border-top: 1px solid var(--border);
}

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

.testimonial-card {
  margin: 0;
  background: rgba(11, 16, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-color: rgba(148, 163, 184, 0.35);
}

.testimonial-quote-icon {
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}

.testimonial-card blockquote {
  flex: 1;
}

.testimonial-card blockquote p {
  font-size: clamp(16px, 2vw, 19px);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(79, 70, 229, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-title {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

.testimonial-company {
  display: flex;
  align-items: center;
}

.testimonial-logo {
  filter: brightness(0) invert(1);
  opacity: 0.5;
  height: 13px;
  width: auto;
}

.testimonials h2 { margin-bottom: 32px; }

/* ─── Services ───────────────────────────────────────────────────────────────── */
.services {
  padding: clamp(48px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
}

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

.service-card {
  background: rgba(11, 16, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-2px);
}

.service-marker {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.marker-green  { background: #22c55e; }
.marker-blue   { background: #3b82f6; }
.marker-purple { background: #a855f7; }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: var(--muted);
}

.service-icons li {
  display: flex;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.service-icons li:hover {
  opacity: 1;
}

.service-icons svg {
  width: 22px;
  height: 22px;
}

/* ─── Contact ────────────────────────────────────────────────────────────────── */
.contact-section {
  padding: clamp(48px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 64px;
  align-items: start;
}

.contact-left h2 {
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.contact-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.contact-meta li svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.8;
}

.contact-meta a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Wrapper formulaire web-to-lead */
.contact-form-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(79, 70, 229, 0.08);
}

.contact-form-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(9, 12, 28, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.contact-form-chrome-title {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.5;
  margin: 0 auto;
  letter-spacing: 0.04em;
}

.contact-form-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Canaux de contact */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(11, 16, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.contact-channel:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 32, 0.9);
}

.contact-channel--primary {
  border-color: rgba(79, 70, 229, 0.35);
}

.contact-channel--primary:hover {
  border-color: var(--accent);
}

.contact-channel svg {
  flex-shrink: 0;
  color: var(--muted);
}

.contact-channel--primary svg {
  color: var(--accent);
}

.channel-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.channel-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.contact-note {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-note svg {
  flex-shrink: 0;
}

.contact-mailto {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.65;
}

.contact-mailto a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.contact-mailto a:hover { color: var(--text); }
/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-address {
  font-style: normal;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-link:hover { color: var(--muted); }

.footer-version { opacity: 0.5; font-size: 12px; color: #6b7280; }

/* ─── Reveal au scroll (IntersectionObserver) ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ─── Hamburger nav mobile ──────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
  flex-shrink: 0;
}

.nav-hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] .nav-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .approach-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-wrap          { grid-template-columns: 1fr; }
  .hero-terminal      { display: none; }
  .contact-layout     { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats         { grid-template-columns: repeat(4, auto); }
}

/* Nav hamburger : dès que les liens ne tiennent plus (~768px) */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 8, 22, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px 28px 28px;
    gap: 0;
    z-index: 99;
  }
  .nav-links.is-open { display: flex; }
  .nav-link {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link--icon { justify-content: flex-start; }
  .nav-link--cta {
    margin-top: 12px;
    text-align: center;
    padding: 12px 16px;
    border-bottom: none;
    color: var(--text);
  }
}

@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: 1fr; }
  .approach-grid     { grid-template-columns: 1fr; }
  .container         { padding: 0 16px; }
  .hero-wrap         { padding: 0 16px; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .stat-divider { display: none; }
  .stat { padding: 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  .hero { padding-top: 100px; }
  .scroll-indicator { bottom: 16px; }
  .testimonial-card { padding: 28px 24px; }
  .contact-note { display: none; }
}

/* ─── Focus visible ──────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Footer privacy btn ────────────────────────────────────────────────────── */
.footer-privacy-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

/* ─── Scroll fluide ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ─── Mouvement réduit ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-up--d1,
  .fade-up--d2,
  .fade-up--d3,
  .fade-up--d4      { animation: none; opacity: 1; transform: none; }
  .reveal           { transition: none; opacity: 1; transform: none; }
  .badge-dot        { animation: none; }
  .scroll-indicator { animation: none; }
  .t-cursor         { animation: none; }
}
