/* FnTC Choisir — style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #0B1929; color: #fff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Tokens */
:root {
  --navy: #0B1929;
  --navy2: #070F1B;
  --blue: #1B6FFF;
  --teal: #22D4AA;
  --white: #fff;
  --offwhite: #F7F8FB;
  --muted: rgba(255,255,255,0.6);
  --muted-light: #5B6B82;
  --border: rgba(255,255,255,0.09);
  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(11,25,41,0.92); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 48px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }

/* Hero */
.hero { min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; padding-top: 64px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(27,111,255,0.20), transparent 50%), radial-gradient(circle at 10% 90%, rgba(34,212,170,0.14), transparent 45%); pointer-events: none; }
.hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.28; pointer-events: none; }
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 80px 48px; width: 100%; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; color: var(--teal); text-transform: uppercase; margin-bottom: 28px; }
.bar-teal { width: 36px; height: 2px; background: var(--teal); flex-shrink: 0; }
.hero h1 { font-family: var(--font-title); font-weight: 700; font-size: 80px; line-height: 0.98; letter-spacing: -2.5px; margin-bottom: 28px; }
.hero-sub { font-size: 20px; line-height: 1.55; color: rgba(255,255,255,0.65); max-width: 520px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { padding: 16px 28px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; transition: opacity 0.2s; }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost { padding: 16px 28px; border-radius: 999px; background: transparent; border: 1px solid rgba(255,255,255,0.20); color: #fff; font-size: 15px; font-weight: 600; transition: background 0.2s; }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 36px; backdrop-filter: blur(8px); position: relative; }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--teal); text-transform: uppercase; margin-bottom: 24px; }
.kpi { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; }
.kpi-big { font-family: var(--font-title); font-weight: 700; font-size: 48px; letter-spacing: -1.5px; line-height: 1; min-width: 130px; }
.kpi-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.45; }
.kpi-sep { border: none; border-top: 1px solid rgba(255,255,255,0.08); }
.edition-chip { position: absolute; top: -14px; right: -14px; padding: 8px 14px; background: var(--teal); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 8px; }

/* Colors */
.blue { color: var(--blue); }
.teal { color: var(--teal); }
.blue-bg { background: rgba(27,111,255,0.10); }
.teal-bg { background: rgba(34,212,170,0.10); }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* Services */
.services-section { padding: 60px 0 100px; background: var(--navy); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 40px; }
.section-header h2 { font-family: var(--font-title); font-weight: 700; font-size: 52px; letter-spacing: -1.5px; line-height: 1.05; margin: 0; }
.section-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 380px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { display: block; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 32px 28px 28px; position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.service-top { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.bar-top { display: block; width: 100%; height: 100%; opacity: 0.7; }
.bar-top.blue { background: var(--blue); }
.bar-top.teal { background: var(--teal); }
.service-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-num { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.service-name { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: #fff; line-height: 1.2; letter-spacing: -0.4px; margin-bottom: 20px; flex: 1; }
.service-cta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }

/* Pourquoi */
.pourquoi-section { background: var(--navy2); padding: 100px 0; }
.pourquoi-header { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; margin-bottom: 64px; align-items: start; }
.pourquoi-header h2 { font-family: var(--font-title); font-weight: 700; font-size: 48px; letter-spacing: -1.5px; line-height: 1.05; margin: 0; }
.pourquoi-desc { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,0.7); font-weight: 300; margin: 0; padding-top: 8px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px 28px; }
.pillar-n { font-family: var(--font-title); font-weight: 700; font-size: 48px; letter-spacing: -1.5px; line-height: 1; }
.pillar-sep { border: none; border-top: 1px solid rgba(255,255,255,0.10); margin: 18px 0; }
.pillar-title { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 10px; letter-spacing: -0.3px; }
.pillar-body { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); }

/* Footer */
.footer { background: #020D1A; padding: 80px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; margin-bottom: 60px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.3); }

/* Service page */
.service-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding-top: 64px; }
.service-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(27,111,255,0.20), transparent 50%), radial-gradient(circle at 5% 100%, rgba(34,212,170,0.10), transparent 40%); pointer-events: none; }
.service-hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 40px 48px 80px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 36px; }
.breadcrumb a { color: inherit; }
.service-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: flex-start; }
.service-icon-header { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.service-icon-big { width: 72px; height: 72px; border-radius: 18px; background: rgba(27,111,255,0.14); border: 1px solid rgba(27,111,255,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-hero-h1 { font-family: var(--font-title); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -2.2px; margin-bottom: 24px; }
.service-hero-sub { font-size: 20px; line-height: 1.55; color: rgba(255,255,255,0.7); max-width: 580px; font-weight: 300; margin-bottom: 32px; }
.qa-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; padding: 32px; }
.qa-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--teal); text-transform: uppercase; }
.qa-title { font-family: var(--font-title); font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -0.4px; line-height: 1.25; margin-bottom: 14px; }
.qa-body { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.75); }
.qa-sep { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 20px 0 16px; }
.qa-row { display: flex; gap: 12px; font-size: 13px; margin-bottom: 8px; }
.qa-row-label { color: rgba(255,255,255,0.4); min-width: 90px; font-weight: 500; }
.qa-row-value { color: rgba(255,255,255,0.85); }
.qa-row-value.highlight { color: var(--teal); font-weight: 600; }

/* Definition section */
.def-section { padding: 100px 0; background: #fff; color: var(--navy); }
.def-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.def-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--blue); text-transform: uppercase; margin-bottom: 18px; }
.def-h2 { font-family: var(--font-title); font-weight: 700; font-size: 40px; letter-spacing: -1.2px; color: var(--navy); line-height: 1.1; }
.def-body { font-size: 18px; line-height: 1.65; color: var(--muted-light); }
.def-body p { margin-bottom: 18px; }

/* Niveaux */
.niveaux-section { padding: 80px 0 100px; background: var(--offwhite); }
.niveaux-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 40px; }
.niveaux-h2 { font-family: var(--font-title); font-weight: 700; font-size: 42px; letter-spacing: -1.3px; color: var(--navy); line-height: 1.05; }
.niveaux-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.niveaux-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.niveau-card { background: #fff; border: 1px solid #E6EAF2; border-radius: 16px; padding: 32px; position: relative; overflow: hidden; }
.niveau-card.featured { border-color: var(--blue); box-shadow: 0 4px 24px rgba(27,111,255,0.12); }
.niveau-featured-badge { position: absolute; top: 16px; right: 16px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.niveau-num { font-family: var(--font-title); font-weight: 700; font-size: 36px; color: var(--blue); letter-spacing: -1px; margin-bottom: 4px; }
.niveau-name { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: var(--navy); letter-spacing: -0.3px; margin-bottom: 14px; }
.niveau-desc { font-size: 14px; line-height: 1.6; color: var(--muted-light); margin-bottom: 20px; }
.niveau-sep { border: none; border-top: 1px solid #E6EAF2; margin: 16px 0; }
.niveau-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.niveau-list li { font-size: 13px; color: var(--muted-light); display: flex; gap: 8px; }
.niveau-list li::before { content: '—'; color: var(--blue); flex-shrink: 0; }
.niveau-ok-ko { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.niveau-ok { font-size: 12px; color: #278939; display: flex; gap: 6px; }
.niveau-ok::before { content: '✓'; }
.niveau-ko { font-size: 12px; color: #888; display: flex; gap: 6px; }
.niveau-ko::before { content: '×'; }

/* Usages */
.usages-section { padding: 80px 0; background: #fff; }
.usages-h2 { font-family: var(--font-title); font-weight: 700; font-size: 42px; letter-spacing: -1.3px; color: var(--navy); line-height: 1.05; margin-bottom: 40px; }
.usages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usage-card { background: var(--offwhite); border-radius: 12px; padding: 24px; border: 1px solid #E6EAF2; }
.usage-title { font-family: var(--font-title); font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.usage-desc { font-size: 13px; line-height: 1.5; color: var(--muted-light); margin-bottom: 12px; }
.usage-badge { display: inline-block; font-size: 11px; font-weight: 600; color: var(--blue); background: rgba(27,111,255,0.08); padding: 3px 8px; border-radius: 4px; }

/* Prestataires */
.presta-section { padding: 80px 0 100px; background: var(--offwhite); }
.presta-h2 { font-family: var(--font-title); font-weight: 700; font-size: 42px; letter-spacing: -1.3px; color: var(--navy); line-height: 1.05; margin-bottom: 40px; }
.presta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.presta-card { background: #fff; border: 1px solid #E6EAF2; border-radius: 12px; padding: 20px; }
.presta-name { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.presta-level { font-size: 12px; font-weight: 600; color: var(--blue); background: rgba(27,111,255,0.08); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.presta-desc { font-size: 12px; color: var(--muted-light); }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 32px; }

/* Responsive */
@media (max-width: 1024px) {

  .hero h1 { font-size: 56px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .pourquoi-header { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .def-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .usages-grid { grid-template-columns: repeat(2, 1fr); }
  .presta-grid { grid-template-columns: repeat(2, 1fr); }
  .niveaux-grid-3 { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
  .hero-inner { padding: 60px 20px; }
  .hero h1 { font-size: 42px; letter-spacing: -1.5px; }
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .usages-grid { grid-template-columns: 1fr; }
  .presta-grid { grid-template-columns: 1fr 1fr; }
  .niveaux-grid-2 { grid-template-columns: 1fr; }
  .edition-chip { display: none; }
}

/* Prestataires avec liens */
.presta-tier { margin-bottom: 48px; }
.presta-tier-title { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.3px; }
.presta-tier-desc { font-size: 14px; color: var(--muted-light); margin-bottom: 20px; line-height: 1.5; }
.presta-link { display: flex; justify-content: space-between; align-items: center; text-decoration: none; transition: border-color 0.2s, transform 0.15s; }
.presta-link:hover { border-color: var(--blue); transform: translateY(-2px); }
.presta-link .presta-name { color: var(--navy); font-weight: 600; }
.presta-arrow { color: var(--blue); font-size: 16px; flex-shrink: 0; }
.guides-box { background: #EEF2FF; border-radius: 12px; padding: 24px 28px; margin-top: 40px; margin-bottom: 24px; }
.guides-title { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 12px; }
.guide-link { display: block; font-size: 14px; color: var(--blue); margin-bottom: 8px; text-decoration: none; }
.guide-link:hover { text-decoration: underline; }
.presta-note { margin-top: 24px; padding: 20px 24px; background: #F7F8FB; border-radius: 10px; font-size: 13px; color: var(--muted-light); line-height: 1.6; border-left: 3px solid var(--blue); }

/* Hero centré sans stat-card */
.hero-inner-centered { display: block; max-width: 860px; text-align: center; }
.hero-inner-centered .eyebrow { justify-content: center; }
.hero-inner-centered h1 { font-size: 88px; }
.hero-inner-centered .hero-sub { margin: 0 auto 36px; }
.hero-inner-centered .hero-ctas { justify-content: center; }
@media (max-width: 1024px) { .hero-inner-centered h1 { font-size: 64px; } }
@media (max-width: 768px) { .hero-inner-centered h1 { font-size: 44px; } }


/* Prestataires avec logos */
.presta-card { min-height: 100px; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
.presta-card.presta-link { display: flex; flex-direction: column; justify-content: space-between; }
.presta-logo { width: 100%; height: 48px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 4px; }
.presta-logo img { max-height: 36px; max-width: 140px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.presta-card:hover .presta-logo img { filter: grayscale(0%); opacity: 1; }
.presta-card .presta-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.presta-card .presta-arrow { color: var(--blue); font-size: 14px; margin-top: auto; }

@media (max-width: 1024px) { .presta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .presta-grid { grid-template-columns: 1fr 1fr; } }

/* Logos prestataires */
.presta-logo { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; background: #f7f8fb; border-radius: 8px; padding: 8px; }
.presta-logo img { max-height: 36px; max-width: 130px; object-fit: contain; }
.presta-logo-placeholder { width: 100%; height: 52px; background: #f7f8fb; border-radius: 8px; margin-bottom: 12px; }

/* Logos prestataires */
.presta-logo { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; background: #f7f8fb; border-radius: 8px; padding: 10px; margin-bottom: 12px; }
.presta-logo img { max-height: 38px; max-width: 140px; object-fit: contain; }
.presta-logo-empty { width: 100%; height: 56px; background: #f7f8fb; border-radius: 8px; margin-bottom: 12px; }


/* ── Hero Choisir 2 colonnes ───────────────────────────────────────────── */
.choisir-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}
.choisir-hero-left .choisir-h1 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 68px;
  line-height: 1.0;
  letter-spacing: -2.5px;
  color: #fff;
  margin: 0;
}
.choisir-hero-right {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 40px 36px;
}
.choisir-hero-desc {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  margin-bottom: 32px;
  font-weight: 300;
}
@media (max-width: 1024px) {
  .choisir-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .choisir-hero-left .choisir-h1 { font-size: 52px; }
}
@media (max-width: 768px) {
  .choisir-hero-left .choisir-h1 { font-size: 40px; letter-spacing: -1.5px; }
  .choisir-hero-right { padding: 28px 22px; }
}

/* ── Logos prestataires ───────────────────────────────────────────────── */
.presta-logo {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fb;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.presta-logo img {
  max-height: 40px;
  max-width: 150px;
  object-fit: contain;
}
.presta-logo-empty {
  width: 100%;
  height: 60px;
  background: #f7f8fb;
  border-radius: 8px;
  margin-bottom: 14px;
}
