/* ============================================================
   ECOMSYSTEM — style.css
   Lead Developer: Senior Frontend
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg-primary:   #FAF8F5;
  --bg-alternate: #F2F1EF;
  --bg-dark:      #2C2C2C;
  --text-primary: #2C2C2C;
  --text-secondary:#6B6B6B;
  --white:        #FFFFFF;
  --accent:       #4F7EF7;
  --accent-hover: #3A63E8;
  --border:       #E8E6E1;
  --badge-bg:     #EEF2FF;
  --badge-color:  #3A63E8;
  --radius-card:  20px;
  --radius-btn:   10px;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.05);
  --shadow-hover: 0 12px 40px rgba(79,126,247,0.12);
  --transition:   all 0.3s ease;
  --container:    1200px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: 'Poppins', sans-serif; cursor: pointer; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: 64px; font-weight: 800; color: var(--text-primary); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 44px; font-weight: 700; color: var(--text-primary); line-height: 1.45; letter-spacing: -0.02em; }
h3 { font-size: 24px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}
.accent { color: var(--accent); }

/* ── Encadré mots-clés bleus dans les titres ─────────────────── */
h1 .accent,
h2 .accent {
  display: inline-block;
  vertical-align: -0.12em;   /* aligne la boîte sur la baseline du texte */
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 10px;
  /* Padding asymétrique : plus en bas pour centrer optiquement le texte */
  padding: 4px 18px 7px;
  background: rgba(79, 126, 247, 0.07);
  line-height: 1;             /* empêche la boîte de grandir avec le line-height du parent */
  animation: glow-sweep 2.4s ease-in-out infinite;
}
/* Exclure le hero h1 rotatif */
.hero-title .accent {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  vertical-align: baseline;
  line-height: inherit;
  animation: none;
}
/* Fond sombre : légèrement plus opaque */
.section-dark h1 .accent,
.section-dark h2 .accent {
  background: rgba(79, 126, 247, 0.14);
}
@media (max-width: 768px) {
  h1 .accent,
  h2 .accent {
    padding: 3px 12px 5px;
    border-radius: 8px;
    vertical-align: -0.1em;
  }
}
.section-label {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-color);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label.dark {
  background: rgba(79,126,247,0.15);
  color: var(--accent);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 15px 36px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,126,247,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 14px 34px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--text-primary);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--text-primary);
  color: #fff;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent-hover);
  padding: 16px 40px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  border: none;
  transition: var(--transition);
}
.btn-white:hover {
  background: #F0F9FF;
  transform: translateY(-2px);
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 140px 0; }
.section-alt { background: var(--bg-alternate); }
.section-dark { background: var(--bg-dark); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-header .subtitle { margin-top: 18px; }

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-14px) rotate(-2deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(-1deg); }
}
@keyframes floatSticker1 {
  0%, 100% { transform: translateY(0px) rotate(-4deg); }
  50%       { transform: translateY(-8px) rotate(-4deg); }
}
@keyframes floatSticker2 {
  0%, 100% { transform: translateY(0px) rotate(3deg); }
  50%       { transform: translateY(-10px) rotate(3deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70%  { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drawLine {
  from { height: 0; }
  to   { height: 100%; }
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled {
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-logo img { height: 52px; object-fit: contain; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}
.navbar-nav a:hover { color: var(--accent); }
.navbar-actions { display: flex; align-items: center; gap: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  background: var(--bg-primary);
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(rgba(44,44,44,0.04) 0px, rgba(44,44,44,0.04) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(44,44,44,0.04) 0px, rgba(44,44,44,0.04) 1px, transparent 1px, transparent 40px);
  mask-image: radial-gradient(ellipse 900px 600px at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 900px 600px at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-blur-1 {
  position: absolute;
  width: 500px; height: 500px;
  top: -100px; right: -150px;
  background: radial-gradient(circle, rgba(79,126,247,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-blur-2 {
  position: absolute;
  width: 400px; height: 400px;
  bottom: -80px; left: -100px;
  background: radial-gradient(circle, rgba(44,44,44,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-content h1 { margin: 16px 0 24px; }
.hero-content .subtitle { max-width: 620px; margin: 0 auto 40px; }
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.hero-badge svg { flex-shrink: 0; }

/* Floating images */
.hero-float {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  pointer-events: none;
  z-index: 1;
}
.hero-float-1 {
  width: 260px;
  left: 2%;
  bottom: 80px;
  animation: float1 4s ease-in-out infinite;
}
.hero-float-2 {
  width: 240px;
  right: 2%;
  top: 130px;
  animation: float2 5s ease-in-out infinite;
  animation-delay: 1s;
}
.hero-float-3 {
  width: 220px;
  right: 5%;
  bottom: 60px;
  animation: float3 4.5s ease-in-out infinite;
  animation-delay: 2s;
}

/* Stickers */
.hero-sticker {
  position: absolute;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  z-index: 3;
}
.hero-sticker-1 {
  background: var(--accent);
  right: 18%;
  top: 150px;
  animation: floatSticker1 4s ease-in-out infinite;
  animation-delay: 0.5s;
}
.hero-sticker-2 {
  background: var(--bg-dark);
  right: 7%;
  bottom: 200px;
  animation: floatSticker2 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Arrow annotation */
.hero-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
  pointer-events: none;
}
.hero-arrow svg {
  transform: rotate(-10deg);
  flex-shrink: 0;
}
.hero-arrow span {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ================================================================
   LOGOS MARQUEE
   ================================================================ */
.logos-band {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-band-header { text-align: center; margin-bottom: 32px; }
.logos-band-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.logos-band-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
}
.marquee-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(20%);
  margin: 0 56px;
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}
.marquee-logo-svg {
  height: 38px;
  margin: 0 56px;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.marquee-logo:hover, .marquee-logo-svg:hover { opacity: 1; filter: none; }

/* ================================================================
   SECTION CONSTAT
   ================================================================ */
.constat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.constat-card {
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.card-number {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.constat-card h3 { margin-bottom: 12px; font-size: 20px; }
.constat-conclusion {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 0 auto;
}

/* ================================================================
   SECTION SERVICES
   ================================================================ */
.services-main-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
}
.services-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.services-info {
  padding: 56px 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services-info-logo { height: 30px; object-fit: contain; }
.services-info h3 { font-size: 26px; }
.services-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Carousel */
.services-carousel {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: var(--bg-alternate);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 380px;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44,44,44,0.2);
}
.carousel-overlay img {
  height: 50px;
  object-fit: contain;
  opacity: 0.2;
  filter: brightness(0) invert(1);
}
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active { background: #fff; transform: scale(1.3); }

/* Pricing row */
.services-pricing {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.pricing-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.pricing-item:last-child { border-right: none; }
.pricing-item:hover { background: #FAFEFF; }
.pricing-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pricing-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pricing-from {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.pricing-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.pricing-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.pricing-link:hover { color: var(--accent-hover); }

/* ================================================================
   SECTION SEO + IA
   ================================================================ */
.seo-ia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.seo-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 44px;
  transition: border-color 0.3s;
}
.seo-card:hover { border-color: var(--accent); }
.seo-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(79,126,247,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.seo-card h3 { color: #fff; margin-bottom: 14px; }
.seo-card p { color: rgba(255,255,255,0.65); margin-bottom: 24px; font-size: 15px; }
.seo-points { display: flex; flex-direction: column; gap: 10px; }
.seo-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
}
.floating-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}
.floating-logo-item {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-logo-item:nth-child(1) { animation: float1 4s ease-in-out infinite; }
.floating-logo-item:nth-child(2) { animation: float2 5s ease-in-out infinite; animation-delay: 0.8s; }
.floating-logo-item:nth-child(3) { animation: float3 4.5s ease-in-out infinite; animation-delay: 1.6s; }

/* ================================================================
   TAGS BAND
   ================================================================ */
.tags-band { padding: 50px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tags-band-row { overflow: hidden; margin-bottom: 14px; }
.tags-band-row:last-child { margin-bottom: 0; }
.tags-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 30s linear infinite;
}
.tags-track.reverse { animation: marqueeReverse 34s linear infinite; }
.tags-track:hover { animation-play-state: paused; }
.tag-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================================================================
   SECTION METHODE — TIMELINE
   ================================================================ */
.timeline-wrap { position: relative; padding: 40px 0; }
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--accent);
  top: 0;
  height: 0;
  transition: height 0.05s linear;
  z-index: 1;
}
.timeline-steps { display: flex; flex-direction: column; gap: 0; }
.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 40px 0;
}
.timeline-step:nth-child(odd) { flex-direction: row; }
.timeline-step:nth-child(even) { flex-direction: row-reverse; }
.timeline-step-card {
  width: calc(50% - 60px);
  padding: 40px;
}
.timeline-step:nth-child(odd) .timeline-step-card { margin-right: auto; }
.timeline-step:nth-child(even) .timeline-step-card { margin-left: auto; }
.timeline-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  top: 50%;
  margin-top: -26px;
}
.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.timeline-step h3 { margin-bottom: 12px; }
.timeline-sticker {
  position: absolute;
  right: calc(50% + 80px);
  top: 50%;
  transform: translateY(-50%) rotate(-3deg);
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  animation: floatSticker1 4s ease-in-out infinite;
}
.timeline-cta { text-align: center; margin-top: 56px; }

/* ================================================================
   SECTION RESULTATS
   ================================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.stat-card { padding: 48px 40px; text-align: center; }
.stat-value {
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.stat-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: -36px;
  margin-bottom: 48px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.result-frame {
  background: var(--bg-dark);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.result-frame:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.result-frame img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.result-frame:nth-child(2) { transform: rotate(1deg); }
.result-frame:nth-child(4) { transform: rotate(-1deg); }
.result-frame:nth-child(2):hover,
.result-frame:nth-child(4):hover { transform: rotate(0deg) scale(1.04); }
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.avatar-stack { display: flex; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--white);
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
}
.avatar:first-child { margin-left: 0; }
.avatar-label { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.stars-row { display: flex; gap: 4px; }
.verified-sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #22C55E;
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  animation: floatSticker2 5s ease-in-out infinite;
}

/* ================================================================
   SECTION TEMOIGNAGES
   ================================================================ */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
.testimonial-card {
  min-width: 380px;
  padding: 40px;
  flex-shrink: 0;
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-quote { color: var(--accent); margin-bottom: 16px; }
.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
}
.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.author-role { font-size: 13px; color: var(--text-secondary); }

/* ================================================================
   CTA FINAL
   ================================================================ */
.cta-section {
  background: linear-gradient(135deg, #4F7EF7, #3A63E8);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-blur-1 {
  position: absolute;
  width: 400px; height: 400px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-blur-2 {
  position: absolute;
  width: 300px; height: 300px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-inner h2 { color: #fff; font-size: 44px; margin-bottom: 20px; }
.cta-inner p { color: rgba(255,255,255,0.9); font-size: 17px; margin-bottom: 40px; }
.cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 44px;
}
.cta-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.95);
  font-size: 15px;
  font-weight: 500;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-btn);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
}
.cta-form input {
  background: rgba(255,255,255,0.15);
  border: none;
  padding: 14px 20px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  min-width: 220px;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-form button {
  background: var(--bg-dark);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cta-form button:hover { background: #1a1a1a; }
.cta-disclaimer { font-size: 13px; color: rgba(255,255,255,0.8); }

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--accent); }
.faq-header {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  transition: background 0.2s;
}
.faq-item.open .faq-header { background: #FAFEFF; }
.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-body-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 0;
}
.footer-top { margin-bottom: 56px; }
.footer-logo { height: 34px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 300px; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-contact-item:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-instagram {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-instagram:hover { color: var(--accent); }

/* ================================================================
   FLOATING WHATSAPP
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}
.whatsapp-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse-green 2s infinite;
  border: none;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-dark);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--white);
  border-top: 2px solid var(--accent);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.cookie-banner.hidden { display: none; }
.cookie-text { font-size: 14px; color: var(--text-secondary); max-width: 600px; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ================================================================
   PAGES — HERO PAGE
   ================================================================ */
.page-hero {
  background: var(--bg-primary);
  padding: 160px 0 100px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .subtitle { max-width: 600px; margin: 16px auto 0; }

/* ================================================================
   LEGAL PAGES
   ================================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 40px 100px;
}
.legal-content h1 { font-size: 40px; margin-bottom: 12px; }
.legal-content h2 { font-size: 24px; margin: 40px 0 16px; color: var(--text-primary); }
.legal-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.legal-content ul { margin: 0 0 16px 20px; list-style: disc; }
.legal-content ul li { color: var(--text-secondary); margin-bottom: 8px; line-height: 1.7; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .services-pricing { grid-template-columns: repeat(2,1fr); }
  .pricing-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }

  /* Navbar */
  .navbar-nav { display: none; }
  .navbar-actions .btn-primary { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 130px 0 80px; }
  .hero-float, .hero-sticker { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; justify-content: center; }
  .hero-badges { gap: 16px; justify-content: flex-start; }

  /* Grids */
  .constat-grid { grid-template-columns: 1fr; }
  .services-top { grid-template-columns: 1fr; }
  .services-pricing { grid-template-columns: 1fr; }
  .pricing-item { border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-item:last-child { border-bottom: none; }
  .seo-ia-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  /* Timeline */
  .timeline-line { display: none; }
  .timeline-step, .timeline-step:nth-child(odd), .timeline-step:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
  }
  .timeline-step-card { width: 100%; }
  .timeline-center { position: static; transform: none; width: 44px; height: 44px; font-size: 16px; margin-bottom: 16px; margin-top: 0; }
  .timeline-sticker { display: none; }

  /* Testimonials */
  .testimonial-card { min-width: 300px; }

  /* CTA */
  .cta-inner h2 { font-size: 30px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-form { flex-direction: column; border-radius: var(--radius-btn); }
  .cta-form input, .cta-form button { border-radius: var(--radius-btn); width: 100%; }

  /* Cookie */
  .cookie-banner { flex-direction: column; padding: 20px; }
  .cookie-actions { flex-direction: column; width: 100%; }
  .cookie-actions .btn-primary,
  .cookie-actions .btn-secondary { width: 100%; justify-content: center; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ================================================================
   HERO — TITRE ROTATIF
   ================================================================ */
@keyframes word-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes word-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}
@keyframes glow-sweep {
  0%   { box-shadow: 0 0 0 0 rgba(79,126,247,0.25), inset 0 0 0 0 rgba(79,126,247,0); }
  50%  { box-shadow: 0 0 20px 4px rgba(79,126,247,0.18), inset 0 0 14px 0 rgba(79,126,247,0.06); }
  100% { box-shadow: 0 0 0 0 rgba(79,126,247,0.25), inset 0 0 0 0 rgba(79,126,247,0); }
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  text-align: center;
  max-width: 820px;
  margin: 16px auto 24px;
  letter-spacing: -0.02em;
}

.hero-rotating-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #4F7EF7;
  border-radius: 12px;
  padding: 2px 20px 4px;
  background: rgba(79, 126, 247, 0.07);
  vertical-align: middle;
  animation: glow-sweep 2.2s ease-in-out infinite;
  /* Prevents layout shift when word length changes */
  min-width: 1ch;
}

.hero-rotating-word {
  color: #4F7EF7;
  font-weight: 800;
  display: inline-block;
  animation: word-in 0.4s ease forwards;
}
.hero-rotating-word.leaving {
  animation: word-out 0.35s ease forwards;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  .hero-rotating-wrap {
    padding: 1px 12px 3px;
    border-radius: 8px;
  }
}
@media (max-width: 400px) {
  .hero-title { font-size: 30px; }
}
