/* =============================================
   BE AUTOMATED — Premium Stylesheet 2026
   Analyse · Performance · Croissance
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;1,6..12,300&display=swap');

:root {
  --navy: #133246;
  --navy-deep: #0b2133;
  --navy-light: #1d4d6a;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --accent: #00b8d9;
  --gold: #f0b429;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-section: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #4a5568;
  --muted-light: #718096;
  --green: #10b981;
  --red: #ef4444;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(19,50,70,0.08), 0 2px 6px rgba(19,50,70,0.04);
  --shadow-md: 0 10px 32px rgba(19,50,70,0.12), 0 4px 12px rgba(19,50,70,0.06);
  --shadow-lg: 0 20px 60px rgba(19,50,70,0.15), 0 8px 24px rgba(19,50,70,0.08);
  --shadow-navy: 0 8px 32px rgba(19,50,70,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(28px, 5vw, 58px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 40px); }
h3 { font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; }

.text-gradient {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  background: linear-gradient(135deg, var(--accent), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(19,50,70,0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 16px;
}

.logo { height: 38px; width: auto; }

.nav-menu {
  display: flex;
  gap: 4px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 7px 18px;
  border-radius: 100px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: white;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 2px 8px rgba(19,50,70,0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-navy);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 11px 16px;
}

.btn-ghost:hover { color: var(--navy); }

.btn-lg {
  padding: 15px 32px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-accent {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.35);
}

/* ---- HERO ---- */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,184,217,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.15);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 { margin-bottom: 20px; max-width: 800px; }

.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}

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

.hero-note {
  font-size: 12px;
  color: var(--muted-light);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-note::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ---- DASHBOARD PREVIEW ---- */
.dashboard-preview {
  position: relative;
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.dashboard-preview img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.dashboard-preview:hover img { transform: scale(1.01); }

.dashboard-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,0.05));
  z-index: 1;
  pointer-events: none;
}

/* ---- SECTIONS & LABELS ---- */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy-deep);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.stat-item {
  background: var(--navy-deep);
  padding: 28px 32px;
  text-align: center;
}

.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-value span { color: var(--accent); }

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* ---- CARDS ---- */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

/* ---- SECTOR TABS ---- */
.sector-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 9px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.sector-panel { display: none; }
.sector-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; animation: fadeSlide 0.3s ease; }

@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sector-kpi {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 12px;
  transition: 0.2s;
}

.sector-kpi:hover {
  border-color: var(--navy);
  background: white;
}

.kpi-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 4px;
}

.kpi-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.kpi-desc { font-size: 13px; color: var(--muted); margin-top: 2px; }

.sector-pitch {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--navy);
}

.sector-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.sector-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.benefit-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  margin-top: 1px;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

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

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-tier {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.pricing-card.featured .plan-tier { color: var(--accent); }

.plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.plan-tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 28px;
}

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

.price-block { margin-bottom: 8px; }

.price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 4px;
}

.pricing-card.featured .price-label { color: rgba(255,255,255,0.5); }

.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card.featured .price-amount { color: white; }

.price-amount sup {
  font-size: 18px;
  font-weight: 600;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 16px;
}

.pricing-card.featured .price-note { color: rgba(255,255,255,0.5); }

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-card.featured .price-divider { background: rgba(255,255,255,0.12); }

.monthly-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.pricing-card.featured .monthly-amount { color: var(--accent); }

.features-list {
  list-style: none;
  margin: 24px 0 32px;
  flex: 1;
}

.features-list li {
  font-size: 15px;
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.pricing-card.featured .features-list li { border-bottom-color: rgba(255,255,255,0.07); }
.features-list li:last-child { border-bottom: none; }

.feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  color: var(--green);
  font-weight: 800;
  margin-top: 1px;
}

.pricing-card.featured .feature-check {
  background: rgba(16,185,129,0.2);
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.pricing-cta-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
}

.pricing-cta-outline:hover {
  border-color: var(--navy);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.pricing-cta-solid {
  background: white;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.pricing-cta-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ---- PORTFOLIO ---- */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 60px;
  align-items: center;
}

.portfolio-item:nth-child(even) {
  grid-template-columns: 1fr 55%;
}

.portfolio-item:nth-child(even) .portfolio-img-wrap { order: 2; }
.portfolio-item:nth-child(even) .portfolio-content { order: 1; }

.portfolio-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}

.portfolio-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.5);
  pointer-events: none;
}

.portfolio-img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-img-wrap:hover img { transform: scale(1.02); }

.portfolio-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.portfolio-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}

.portfolio-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.portfolio-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

/* ---- TRUST ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-item {
  background: white;
  padding: 28px;
  transition: background 0.2s;
}

.trust-item:hover { background: var(--bg-subtle); }

.trust-icon { font-size: 24px; margin-bottom: 12px; display: block; }
.trust-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.trust-text { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  cursor: pointer;
}

.faq-q {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--navy);
  transition: all 0.25s;
  font-weight: 300;
}

.faq-item.open .faq-icon {
  background: var(--navy);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
}

.faq-item.open .faq-a { max-height: 300px; padding-top: 14px; }

/* ---- CTA BLOCK ---- */
.cta-block {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,184,217,0.15), transparent 70%);
  pointer-events: none;
}

.cta-block::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
  pointer-events: none;
}

.cta-block h2 { color: white; margin-bottom: 16px; position: relative; z-index: 1; font-size: clamp(22px, 3.5vw, 38px); line-height: 1.25; }
.cta-block p { color: rgba(255,255,255,0.65); font-size: 17px; margin-bottom: 36px; max-width: 460px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }

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

.btn-white {
  background: white;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

.btn-ghost-white {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.btn-ghost-white:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }

/* ---- RGPD BAR ---- */
.rgpd-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.rgpd-items {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.rgpd-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.rgpd-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-deep);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.footer-logo { 
  height: 36px; 
  min-width: 120px;
  object-fit: contain;
  display: block;
}

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

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ---- ANIMATIONS ---- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback : si JS désactivé ou IntersectionObserver non supporté */
@media (prefers-reduced-motion: reduce) {
  .animate-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Sécurité : forcer la visibilité après 1s si .visible jamais ajouté */
@keyframes forceVisible {
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: forceVisible 0s 1.2s forwards;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; color: var(--navy); margin: 36px 0 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.legal-content p { color: var(--muted); font-size: 15px; margin-bottom: 12px; line-height: 1.7; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--blue); text-decoration: none; }

/* ---- BOOKINGS PAGE ---- */
.bookings-wrap {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item, .portfolio-item:nth-child(even) { grid-template-columns: 1fr; }
  .portfolio-item:nth-child(even) .portfolio-img-wrap,
  .portfolio-item:nth-child(even) .portfolio-content { order: unset; }
  .sector-panel.active { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-block { padding: 48px 28px; }
  .nav-menu { display: none; }

  /* ---- MOBILE HEADER FIX ---- */
  .header-container {
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .logo { height: 32px; }

  /* Masquer le bouton "Appeler" sur mobile, garder uniquement "Audit gratuit" */
  .btn-ghost { display: none; }

  /* Réduire le bouton principal pour qu'il tienne dans le header */
  .header-cta-group .btn-primary {
    font-size: 12px;
    padding: 9px 14px;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .cta-btns { flex-direction: column; }

  /* ---- TYPOGRAPHIE MOBILE ---- */
  body { font-size: 15px; line-height: 1.7; }
  .hero-subtitle { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* CTA block mobile — titre moins écrasant */
  .cta-block { padding: 40px 20px; }
  .cta-block h2 { font-size: 22px; letter-spacing: -0.01em; }
  .cta-block p { font-size: 15px; }
  .btn-white, .btn-ghost-white { font-size: 14px; padding: 13px 20px; }

  /* Section label plus visible */
  .section-label { font-size: 10px; }
  .section-title { letter-spacing: -0.01em; }

  /* Tabs secteurs en scroll horizontal sur mobile */
  .sector-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 6px;
  }
  .sector-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; font-size: 13px; padding: 8px 14px; }

  /* Stats bar : 2 colonnes sur mobile */
  .stat-value { font-size: 28px; }
  .stat-item { padding: 20px 16px; }

  /* Footer mobile */
  .footer { padding: 36px 0 24px; }
  .footer-grid { gap: 16px; }
  .footer-logo { height: 28px; }
  .footer-links { gap: 16px; }
  .footer-link { font-size: 12px; }
  .footer-copy { font-size: 12px; }
}
