/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  --ink:        #0D1117;
  --ink-soft:   #4B5563;
  --ink-faint:  #9CA3AF;
  --surface:    #F9FAFB;
  --white:      #FFFFFF;
  --accent:     #16A34A;
  --accent-dim: #DCFCE7;
  --accent-dark:#14532D;
  --border:     #E5E7EB;
  --header-h:   68px;

  --f-display: 'Poppins', sans-serif;
  --f-body: 'Inter', sans-serif;
}

/* ══════════════════════════════════════
   RESET + BASE
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  padding-top: var(--header-h);
}
section { scroll-margin-top: var(--header-h); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ══════════════════════════════════════
   LOADER
══════════════════════════════════════ */
#loader {
  position: fixed; inset: 0;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  width: 64px; height: 64px;
  background: var(--accent);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--f-display);
  font-size: 22px; font-weight: 800;
  color: white; letter-spacing: 1px;
}
.loader-bar {
  width: 120px; height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar::after {
  content: "";
  display: block; height: 100%;
  background: var(--accent);
  animation: bar 1.4s ease infinite;
}
@keyframes bar {
  0%   { width: 0%; margin-left: 0; }
  60%  { width: 80%; margin-left: 0; }
  100% { width: 0%; margin-left: 100%; }
}

/* ══════════════════════════════════════
   UTILITIES
══════════════════════════════════════ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,.3);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 11px 23px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

.tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 12px; border-radius: 99px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}
.section-title .accent { color: var(--accent); }

.section-sub {
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.65; margin-top: 12px;
  max-width: 520px;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(13,17,23,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center;
  z-index: 1000;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--f-display);
  font-size: 20px; font-weight: 800;
  color: var(--white); letter-spacing: 1px;
}
.logo span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex; align-items: center; gap: 32px;
}
nav a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--white); }
nav .btn-primary { padding: 9px 20px; font-size: 13px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: var(--ink);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
/* Subtle grid overlay */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,163,74,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,163,74,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
/* Glow */
.hero::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,.18) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}

.hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

.hero-text .tag-hero {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.hero-text .tag-hero::before {
  content: "";
  width: 24px; height: 2px; background: var(--accent);
}

.hero-text h1 {
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.hero-text h1 .accent { color: var(--accent); }

.hero-text p {
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px; max-width: 440px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Typing cursor */
#typing-text {
  display: inline-block;
  min-width: 14.5ch; /* Réserve l'espace pour le mot le plus long ("professionnels" = 14 lettres) */
  text-align: left;  /* Garde le texte aligné à gauche même s'il est court */
}
#typing-text::after {
  content: "|";
  animation: blink .7s infinite;
  color: var(--accent);
  margin-left: 2px;
}

/* ══════════════════════════════════════
   HERO VISUAL (Badges + Trust)
══════════════════════════════════════ */
.hero-visual {
  display: flex; 
  flex-direction: column; 
  gap: 24px; 
  align-items: flex-start;
}

.hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.hero-badge {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .25s, border-color .25s, background .25s;
}
.hero-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(22,163,74,.5);
  background: rgba(22,163,74,.06);
}
.hero-badge i {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* Section "Trust" / Preuve sociale */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px 22px;
  max-width: 400px;
  width: 100%;
}

.trust-avatars {
  display: flex;
}
.trust-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white;
  margin-left: -10px;
}
.trust-avatar:first-child { margin-left: 0; }
.trust-avatar:last-child { background: rgba(255,255,255,.15); }

.trust-text { display: flex; flex-direction: column; gap: 2px; }
.trust-stars {
  color: #FBBF24;
  font-size: 12px;
  letter-spacing: 1px;
}
.trust-text p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0;
}

/* ══════════════════════════════════════
   RESPONSIVE HERO VISUAL
══════════════════════════════════════ */
@media (max-width: 968px) {
  .hero-visual { align-items: flex-start; }
  .hero-badges, .hero-trust { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero-badges { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-section {
  padding: 96px 0;
  background: var(--surface);
}
.services-section .section-header {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(22,163,74,.1);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent); font-size: 20px;
}
.service-card h3 {
  font-family: var(--f-display);
  font-size: 17px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.service-card p {
  font-size: 14px; line-height: 1.65;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════
   PROCESSUS (WORKFLOW)
══════════════════════════════════════ */
.process-section {
  background: var(--ink);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
/* Ligne lumineuse subtile en haut */
.process-section::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22,163,74,.4), transparent);
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Ligne de connexion horizontale entre les étapes (Desktop) */
.process-grid::before {
  content: "";
  position: absolute;
  top: 45px; left: 12%; right: 12%;
  height: 1px;
  background: rgba(255,255,255,.08);
  z-index: 0;
}

.process-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform .3s, border-color .3s, background .3s;
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22,163,74,.4);
  background: rgba(22,163,74,.05);
}

.process-number {
  position: absolute;
  top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 12px; font-weight: 700;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink);
}

.process-icon {
  font-size: 28px;
  color: var(--accent);
  margin: 10px 0 20px;
  opacity: 0.9;
}

.process-card h3 {
  font-family: var(--f-display);
  font-size: 18px; font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.process-card p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   RESPONSIVE PROCESSUS
══════════════════════════════════════ */
@media (max-width: 968px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid::before { display: none; } /* On cache la ligne sur tablette */
}

@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════
   WHY
══════════════════════════════════════ */
.why-section { padding: 96px 0; background: var(--white); }
.why-section .section-header { margin-bottom: 56px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  transition: border-color .25s, transform .25s;
}
.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.why-card i {
  font-size: 26px; color: var(--accent);
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}
.why-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ══════════════════════════════════════
   ABOUT + PROJECTS (split)
══════════════════════════════════════ */
.split-section {
  display: grid; grid-template-columns: 420px 1fr;
}

.about-side {
  background: var(--ink);
  padding: 80px 48px;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.about-side .tag { background: rgba(22,163,74,.15); color: var(--accent); }
.about-side .section-title { color: var(--white); }
.about-side .section-sub { color: rgba(255,255,255,.55); max-width: none; }

.profile-wrap {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 18px 20px;
}
.profile-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.profile-img-placeholder {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 800;
  font-size: 20px; color: white;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}
.profile-info h4 {
  font-size: 15px; font-weight: 600; color: var(--white);
}
.profile-info p { font-size: 13px; color: rgba(255,255,255,.45); }

.projects-side {
  background: var(--surface);
  padding: 80px 48px;
}
.projects-side .section-header { margin-bottom: 32px; }

.projects-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .45s ease; height: 0; overflow: hidden;
}
.projects-grid.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0); height: auto; overflow: visible;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
}
.project-card img {
  width: 100%; height: 130px; object-fit: cover;
}
.project-card-body { padding: 14px 16px; }
.project-card-body p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.btn-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 11px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .25s; margin-bottom: 24px;
  font-family: var(--f-body);
}
.btn-toggle:hover { background: var(--accent); color: var(--white); }
.btn-toggle i { transition: transform .35s; }
.btn-toggle.open i { transform: rotate(180deg); }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.temoignages-section {
  background: var(--ink);
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.temoignages-section::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,.1) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}
.temoignages-section .container { position: relative; z-index: 1; }
.temoignages-section .section-title { color: var(--white); }
.temoignages-section .section-header { margin-bottom: 36px; }

.temoignages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .45s ease; height: 0; overflow: hidden;
}
.temoignages-grid.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0); height: auto; overflow: visible;
}
.temoignage-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color .25s, background .25s;
  position: relative;
}
.temoignage-card:hover {
  border-color: rgba(22,163,74,.5);
  background: rgba(22,163,74,.06);
}
.stars { color: #FBBF24; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.temoignage-texte {
  font-size: 14px; color: rgba(255,255,255,.6);
  line-height: 1.75; margin-bottom: 20px; font-style: italic;
}
.temoignage-auteur { display: flex; align-items: center; gap: 12px; }
.auteur-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: white; flex-shrink: 0;
}
.auteur-info h4 { font-size: 14px; font-weight: 600; color: var(--white); }
.auteur-info p { font-size: 12px; color: var(--accent); margin-top: 2px; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-section { padding: 96px 0; background: var(--surface); }
.faq-section .section-header { margin-bottom: 48px; }
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; text-align: left; gap: 16px;
  font-family: var(--f-body);
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question i { flex-shrink: 0; color: var(--ink-faint); transition: transform .3s, color .2s; }
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 0 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 120px; }

/* ══════════════════════════════════════
   CONTACT / FOOTER
══════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 80px 0 48px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  margin-bottom: 64px;
}
.footer-brand .logo { font-size: 22px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7;
  max-width: 280px; margin-bottom: 24px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 16px;
  transition: background .2s, color .2s, border-color .2s;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.footer-form h3 {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 800;
  color: var(--white); margin-bottom: 24px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px; color: var(--white);
  font-family: var(--f-body);
  transition: border-color .2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.3); }
.contact-form textarea { min-height: 120px; resize: none; }
.contact-form button {
  background: var(--accent);
  color: white; border: none; border-radius: 8px;
  padding: 14px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .2s;
  font-family: var(--f-body);
}
.contact-form button:hover { background: var(--accent-dark); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-contact-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-contact-links a {
  font-size: 13px; color: rgba(255,255,255,.4);
  display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.footer-contact-links a:hover { color: var(--accent); }

/* ══════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--accent);
  border: none; border-radius: 8px;
  color: white; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .2s;
  z-index: 2000;
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { align-items: flex-start; }
  .hero-card { max-width: 100%; }
  .split-section { grid-template-columns: 1fr; }
  .about-side { padding: 64px 24px; }
  .projects-side { padding: 64px 24px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  nav ul { display: none; }
  nav ul.active {
    display: flex; flex-direction: column; align-items: center; gap: 24px;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(13,17,23,.98);
    padding: 40px 24px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    z-index: 999;
  }
  nav a { font-size: 16px; }
  .hamburger { display: flex; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════
   LOGO IMAGE
══════════════════════════════════════ */
.logo {
  margin-left: -30px; /* Avance le logo vers la gauche. Augmentez (ex: -20px) si vous voulez aller plus loin */
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Sur mobile : taille adaptée */
@media (max-width: 640px) {
  .logo-img { height: 38px; }
  .logo { margin-left: -6px; } /* Décalage plus léger sur mobile pour ne pas sortir de l'écran */
}