/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --primary: #0057b8;
  --primary-dark: #003d87;
  --primary-light: #1a6fd4;
  --secondary: #ffcc00;
  --secondary-dark: #e6b800;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e1e5ea;
  --gray-400: #8d9aad;
  --gray-600: #4a5568;
  --gray-800: #1a202c;
  --text: #1e2d3d;
  --shadow-sm: 0 2px 8px rgba(0, 87, 184, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 87, 184, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 87, 184, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { color: var(--gray-600); line-height: 1.75; }

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

.section-tag {
  display: inline-block;
  background: rgba(0, 87, 184, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-tag--yellow {
  background: rgba(255, 204, 0, 0.15);
  color: #a07800;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 87, 184, 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.3);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
}

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

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

.nav-menu a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary);
  background: rgba(0, 87, 184, 0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0057b8 0%, #003d87 50%, #002459 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--secondary);
  position: relative;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
}

.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 380px;
}

.hero-chart {
  margin-bottom: 20px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding: 0 4px;
}

.chart-bar {
  flex: 1;
  background: rgba(255,255,255,0.15);
  border-radius: 6px 6px 0 0;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.chart-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--secondary) 0%, #e6a800 100%);
  border-radius: 6px 6px 0 0;
  animation: barGrow 1.5s ease-out forwards;
  animation-delay: var(--delay, 0s);
  height: 0;
}

@keyframes barGrow {
  to { height: var(--height); }
}

.chart-bar:nth-child(1) { --height: 45%; --delay: 0.1s; }
.chart-bar:nth-child(2) { --height: 62%; --delay: 0.2s; }
.chart-bar:nth-child(3) { --height: 55%; --delay: 0.3s; }
.chart-bar:nth-child(4) { --height: 78%; --delay: 0.4s; }
.chart-bar:nth-child(5) { --height: 70%; --delay: 0.5s; }
.chart-bar:nth-child(6) { --height: 88%; --delay: 0.6s; }
.chart-bar:nth-child(7) { --height: 95%; --delay: 0.7s; }

.chart-label {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  margin-top: 8px;
}

.hero-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

.hero-metric:last-child { margin-bottom: 0; }

.metric-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.metric-value {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.9rem;
}

.metric-up {
  color: #4caf8a;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================================
   CLIENTS / TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.trust-bar p {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.trust-logo:hover { color: var(--primary); }

.trust-logo svg {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

/* ============================================================
   SECTIONS COMMUN
   ============================================================ */
.section {
  padding: 96px 0;
}

.section--gray {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0,87,184,0.1), rgba(0,87,184,0.05));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--text);
}

.service-card p {
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.service-features {
  margin-bottom: 32px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.service-features li:last-child { border-bottom: none; }

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   ANALYSE SEO SECTION (details)
   ============================================================ */
.analyse-section {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.analyse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.analyse-visual {
  position: relative;
}

.analyse-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.analyse-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 24px;
  color: var(--white);
}

.analyse-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.analyse-card-score {
  font-size: 2.5rem;
  font-weight: 800;
}

.analyse-card-score span {
  font-size: 1rem;
  opacity: 0.7;
}

.score-bar-wrap {
  margin-top: 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  height: 6px;
}

.score-bar {
  height: 100%;
  background: var(--secondary);
  border-radius: 50px;
  width: 78%;
  transition: width 1.5s ease-out;
}

.analyse-items {
  padding: 24px;
}

.analyse-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.analyse-item:last-child { border-bottom: none; }

.analyse-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analyse-item-icon.ok { background: rgba(76, 175, 138, 0.12); color: #4caf8a; }
.analyse-item-icon.warn { background: rgba(255, 160, 0, 0.12); color: #ffa000; }
.analyse-item-icon.bad { background: rgba(239, 68, 68, 0.12); color: #ef4444; }

.analyse-item-icon svg { width: 18px; height: 18px; }

.analyse-item-info { flex: 1; }

.analyse-item-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.analyse-item-detail {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.analyse-item-score {
  font-weight: 700;
  font-size: 0.88rem;
}

.analyse-floating {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

.analyse-floating.top-left {
  top: -20px;
  left: -30px;
  color: #4caf8a;
}

.analyse-floating.bottom-right {
  bottom: -20px;
  right: -30px;
  color: var(--primary);
}

.analyse-floating svg { width: 20px; height: 20px; }

.analyse-content h2 { margin-bottom: 16px; }
.analyse-content > p { margin-bottom: 32px; }

.analyse-list {
  margin-bottom: 40px;
}

.analyse-list-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.analyse-list-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.analyse-list-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text);
}

.analyse-list-text p {
  font-size: 0.87rem;
}

/* ============================================================
   OPTIMISATION TECHNIQUE
   ============================================================ */
.tech-section {
  padding: 96px 0;
  background: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-content { order: -1; }

.tech-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tech-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.tech-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tech-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tech-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.tech-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 0.82rem;
}

.speed-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  margin-top: 20px;
}

.speed-widget-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.speed-gauge {
  position: relative;
  width: 140px;
  margin: 0 auto 20px;
}

.speed-gauge svg {
  width: 100%;
  height: auto;
}

.speed-gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  text-align: center;
}

.speed-gauge-text strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #4caf8a;
}

.speed-gauge-text span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.speed-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  text-align: center;
}

.speed-metric {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 10px;
}

.speed-metric-val {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.speed-metric-lbl {
  font-size: 0.72rem;
  color: var(--gray-400);
}

/* ============================================================
   CONTENU OPTIMISE
   ============================================================ */
.content-section {
  padding: 96px 0;
  background: linear-gradient(135deg, #0057b8 0%, #002d7a 100%);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: rgba(255,204,0,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.content-section::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.content-section .section-tag {
  background: rgba(255,204,0,0.15);
  color: var(--secondary);
}

.content-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.content-section > .container > .content-inner > .content-text > p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

.content-text p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

.content-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.content-pillar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.content-pillar:hover {
  background: rgba(255,255,255,0.14);
}

.content-pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.content-pillar h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.content-pillar p {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.content-editor {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.editor-toolbar {
  background: rgba(0,0,0,0.2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.editor-dot.red { background: #ff5f57; }
.editor-dot.yellow { background: #febc2e; }
.editor-dot.green { background: #28c840; }

.editor-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.editor-body {
  padding: 24px;
}

.editor-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.editor-line:last-child { margin-bottom: 0; }

.editor-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  min-width: 36px;
  text-align: center;
  color: var(--secondary);
  background: rgba(255,204,0,0.15);
  flex-shrink: 0;
}

.editor-content-bar {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  overflow: hidden;
}

.editor-fill {
  height: 100%;
  border-radius: 50px;
  background: rgba(255,255,255,0.25);
}

.editor-seo-score {
  margin-top: 20px;
  background: rgba(76,175,138,0.15);
  border: 1px solid rgba(76,175,138,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editor-seo-score span {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}

.editor-seo-score strong {
  color: #4caf8a;
  font-size: 0.9rem;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-section {
  padding: 96px 0;
  background: var(--gray-50);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-num {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.85rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 96px 0;
  background: var(--white);
}

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

.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  fill: var(--secondary);
}

.testimonial-card p {
  font-size: 0.92rem;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #e6a800 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -40px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(30, 45, 61, 0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--white); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-top svg { width: 20px; height: 20px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(-24px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(24px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner,
  .analyse-grid,
  .tech-grid,
  .content-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding: 120px 0 80px;
    text-align: center;
  }

  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .tech-content { order: 0; }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .process-steps::before { display: none; }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    z-index: 999;
  }

  .nav-menu.open a {
    padding: 12px 16px;
    display: block;
  }

  .nav-cta.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .services-grid,
  .process-steps,
  .testimonials-grid,
  .content-pillars,
  .tech-cards {
    grid-template-columns: 1fr;
  }

  .trust-logos {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section { padding: 64px 0; }
  .hero { padding: 100px 0 60px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
