/* ============================================================
   OGAGILE — Cabinet de conseil stratégique
   Design system & global styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --dark: #071A35;
  --dark-2: #0B2447;
  --dark-3: #10284B;
  --blue: #2F6BFF;
  --blue-soft: #E8EFFF;
  --red: #E63946;
  --white: #FFFFFF;
  --gray: #F5F7FA;
  --gray-2: #EEF2F7;
  --text: #0E1C2F;
  --text-soft: #4B5563;
  --text-muted: #6B7A90;
  --border: rgba(14, 28, 47, .08);

  --shadow-sm: 0 4px 12px rgba(7, 26, 53, .04);
  --shadow: 0 15px 40px rgba(7, 26, 53, .08);
  --shadow-lg: 0 25px 60px rgba(7, 26, 53, .12);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --transition: .4s cubic-bezier(.16, 1, .3, 1);
  --transition-fast: .25s ease;

  --max-width: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.h-tagline {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}

/* ============================================================
   SHARED UTILS
   ============================================================ */
.section {
  padding: 130px 0;
}
.section-sm { padding: 100px 0; }
.section-dark {
  background: var(--dark);
  color: white;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-gray { background: var(--gray); }

.section-head {
  text-align: center;
  margin-bottom: 70px;
}
.section-head h2 {
  font-size: 44px;
  color: var(--dark);
  margin-bottom: 18px;
}
.section-dark .section-head h2 { color: white; }
.section-head p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-dark .section-head p { color: rgba(255, 255, 255, .75); }

.separator {
  width: 110px;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--red));
  border-radius: 2px;
  margin: 24px 0;
}
.separator.center { margin: 24px auto; }
.separator.short { width: 56px; height: 3px; background: var(--red); margin: 14px 0; }
.separator.short.center { margin: 14px auto; }

.blue { color: var(--blue); }
.red { color: var(--red); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 10px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover {
  background: #1f56e0;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(47, 107, 255, .3);
}
.btn-red {
  background: var(--red);
  color: white;
}
.btn-red:hover {
  background: #d32f3b;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(230, 57, 70, .3);
}
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: white;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
}
.btn-arrow::after {
  content: '→';
  margin-left: 6px;
  transition: var(--transition-fast);
  font-size: 18px;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   TOPBAR + NAVBAR
   ============================================================ */
.topbar {
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
}
.topbar a {
  background: var(--red);
  color: white;
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}
.topbar a:hover {
  background: #d32f3b;
  transform: translateY(-1px);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-fast);
}
.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(7, 26, 53, .06);
}

/* Dark navbar variant (when hero is dark and navbar overlays it) */
.navbar-dark {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: none;
}
/* Pull the hero up so it passes BEHIND the transparent navbar.
   Without this, the navbar transparent shows white page background and
   the white menu text becomes invisible on white. */
.navbar-dark + .hero {
  margin-top: -88px;
  padding-top: 168px;
}
.navbar-dark .menu a { color: white; }
.navbar-dark .menu a:hover { color: white; opacity: .8; }
.navbar-dark .menu a.active { color: white; }
.navbar-dark .menu a.active::after { background: var(--red); }
.navbar-dark .hamburger span { background: white; }

/* When dark navbar has scrolled past hero, revert to solid white */
.navbar-dark.solid {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(7, 26, 53, .06);
}
.navbar-dark.solid .menu a { color: var(--text); }
.navbar-dark.solid .menu a:hover { color: var(--blue); }
.navbar-dark.solid .menu a.active { color: var(--blue); }
.navbar-dark.solid .hamburger span { background: var(--dark); }
.navbar-dark.solid .logo-text .name { color: var(--dark); }
.navbar-dark.solid .logo-text .baseline { color: var(--text-muted); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding-right: 24px;
}

/* Logo (SVG) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .name {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-text .baseline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}
.navbar-dark .logo-text .name { color: white; }
.navbar-dark .logo-text .baseline { color: rgba(255, 255, 255, .65); }

.menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.menu a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: var(--transition-fast);
}
.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}
.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}
.menu a:hover { color: var(--blue); }
.menu a.active { color: var(--blue); }
.navbar-dark .menu a.active { color: white; }

.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  line-height: 1.2;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 107, 255, .3);
  color: white !important;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  cursor: pointer;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  color: white;
  padding: 100px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 26, 53, 0.96) 0%,
    rgba(7, 26, 53, 0.85) 45%,
    rgba(7, 26, 53, 0.45) 75%,
    rgba(7, 26, 53, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  color: white;
  margin-bottom: 0;
}
.hero-content p {
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
  margin-top: 18px;
  max-width: 560px;
}
.hero-content p strong { color: white; font-weight: 600; }
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero variants */
.hero-sm { min-height: 480px; padding: 80px 0 80px; }
.hero-sm .hero-content h1 { font-size: 56px; }

/* Accent stripe under hero (4 icons row on home) */
.hero-stripe {
  position: relative;
  z-index: 3;
  background: rgba(7, 26, 53, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Add breathing room between hero CTAs and the icon strip */
.hero:has(+ .hero-stripe) { padding-bottom: 130px; }
.hero-stripe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding: 32px 0;
  align-items: center;
}
.stripe-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}
.stripe-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 107, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.stripe-item-icon svg { width: 22px; height: 22px; }
.stripe-item h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.stripe-item p {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.4;
}

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

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--blue);
  transition: var(--transition);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon {
  background: var(--blue);
  color: white;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--dark);
  font-weight: 700;
}
.card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* Large card (offres "domaines d'intervention") */
.card-lg {
  background: var(--gray);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  transition: var(--transition);
  height: 100%;
}
.card-lg:hover {
  transform: translateY(-8px);
  background: white;
  box-shadow: var(--shadow);
}
.card-lg .card-icon {
  background: var(--dark);
  color: white;
  width: 68px;
  height: 68px;
}
.card-lg .card-icon svg { width: 30px; height: 30px; }
.card-lg h3 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 16px;
}
.card-lg > p {
  text-align: center;
  margin-bottom: 26px;
  font-size: 15px;
}
.card-lg ul {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.card-lg li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-soft);
  padding: 6px 0;
  line-height: 1.5;
}
.card-lg li::before {
  content: '/';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}
.card-lg .card-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Image-card (impact section, articles) */
.image-card {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.image-card:hover img { transform: scale(1.06); }
.image-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 26, 53, .96) 0%,
    rgba(7, 26, 53, .55) 45%,
    rgba(7, 26, 53, .15) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 28px;
}
.image-card-overlay .icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: white;
}
.image-card-overlay h3 {
  color: white;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}
.image-card-overlay p {
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================================
   TIMELINE (approche 3 étapes)
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  position: relative;
  margin-top: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--red));
  opacity: 0.3;
}
.timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
}
.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}
.timeline-num .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -2px;
  line-height: 1;
}
.timeline-num .ico {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.timeline-step h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--dark);
}
.timeline-step p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* ============================================================
   STATS (À propos - dark section)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, .9);
}
.stat-item .ico svg { width: 32px; height: 32px; }
.stat-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================================
   ICON COLUMNS (Nous accompagnons, À qui s'adressent, Et après)
   ============================================================ */
.icon-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  text-align: center;
}
.icon-col-item .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--blue);
}
.section-dark .icon-col-item .ico {
  border-color: rgba(255, 255, 255, .25);
  color: white;
}
.icon-col-item .ico svg { width: 24px; height: 24px; }
.icon-col-item h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--dark);
  font-weight: 700;
}
.section-dark .icon-col-item h4 { color: white; }
.icon-col-item p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}
.section-dark .icon-col-item p { color: rgba(255, 255, 255, .72); }

/* ============================================================
   TWO-COL TEXT + IMAGE (À propos)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.two-col h2 {
  font-size: 38px;
  color: var(--dark);
  margin-bottom: 20px;
}
.two-col > div > p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.two-col-points {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}
.two-col-point {
  padding-left: 22px;
  border-left: 3px solid var(--red);
}
.two-col-point h4 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.two-col-point p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Value grid (Offres - Notre valeur ajoutée) */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}
.value-grid h2 {
  font-size: 42px;
  line-height: 1.15;
  color: white;
}
.value-grid > div > p {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.8;
  margin-top: 18px;
}
.value-grid .grid-4 { gap: 30px; }

/* Inline icon-list (à propos - mission) */
.icon-list { display: grid; gap: 28px; }
.icon-list-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: flex-start;
}
.icon-list-item .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.icon-list-item .ico svg { width: 24px; height: 24px; }
.icon-list-item h4 {
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.icon-list-item p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================================
   ARTICLES (Ressources)
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.article-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.06); }
.article-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.article-card h3 {
  font-size: 17px;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card .excerpt {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.article-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.article-meta span + span::before {
  content: '·';
  margin-right: 14px;
  color: var(--text-muted);
}

/* Filter pills */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.filter-pill {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: white;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* ============================================================
   CTA FINAL (footer-cta strip)
   ============================================================ */
.cta-strip {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(47, 107, 255, .12) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(230, 57, 70, .08) 0%, transparent 50%);
}
.cta-strip-inner { position: relative; z-index: 2; }
.cta-strip h2 {
  font-size: 44px;
  color: white;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-strip p {
  font-size: 18px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 36px;
}

/* ============================================================
   STEP CARDS (Diagnostic - "Un échange court")
   ============================================================ */
.step-card {
  text-align: center;
  padding: 30px 26px;
  border-left: 1px solid var(--border);
}
.step-card:first-child { border-left: none; }
.step-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--blue);
  transition: var(--transition);
}
.step-icon svg { width: 32px; height: 32px; }
.step-card:hover .step-icon {
  background: var(--blue);
  color: white;
  transform: scale(1.05);
}
.step-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--dark);
  font-weight: 700;
}
.step-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* "Et après ?" - mixed column layout (text intro + 3 icon cards) */
.after-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}
.after-intro h4 {
  font-size: 26px;
  margin-bottom: 16px;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.after-intro h4::before {
  content: '/';
  color: var(--red);
  font-weight: 800;
}
.after-intro p {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.75;
}
.after-card {
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, .1);
  padding-left: 28px;
}
.after-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
}
.after-card .ico svg { width: 22px; height: 22px; }
.after-card h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.after-card p {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================================
   CONTACT PAGE — Booking widget
   ============================================================ */
.booking-section {
  background: var(--gray);
  padding: 100px 0;
}
.booking-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 30px 80px rgba(7, 26, 53, .08);
  display: grid;
  grid-template-columns: 320px 1fr 240px;
  gap: 48px;
}
.booking-left .ico {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 22px;
}
.booking-left h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.booking-benefits {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}
.booking-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}
.booking-benefit .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.booking-benefit .check svg { width: 12px; height: 12px; color: var(--blue); }
.booking-security {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.booking-security svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Calendar */
.calendar h4 {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 18px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cal-header button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: var(--transition-fast);
}
.cal-header button:hover {
  background: var(--gray);
  color: var(--blue);
}
.cal-month {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.cal-weekdays div {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}
.cal-day:hover {
  background: var(--blue-soft);
  color: var(--blue);
}
.cal-day.disabled {
  color: #C5CCD8;
  cursor: not-allowed;
  background: none !important;
}
.cal-day.available {
  color: var(--blue);
  font-weight: 600;
}
.cal-day.selected {
  background: var(--blue);
  color: white !important;
}
.cal-day.other-month {
  color: #C5CCD8;
}

/* Time slots */
.slots-col .slots-day {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}
.slots {
  display: grid;
  gap: 8px;
}
.slot {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}
.slot:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.slot.selected {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.slots-tz {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}
.slots-tz svg { width: 14px; height: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #04111F;
  padding: 80px 0 40px;
  color: rgba(255, 255, 255, .7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer .logo-text .name { color: white; }
.footer .logo-text .baseline { color: rgba(255, 255, 255, .55); }
.footer-col h5 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-col p, .footer-col a {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
  display: block;
  transition: var(--transition-fast);
}
.footer-col a:hover { color: white; }
.footer-brand-tag {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0;
  transition: var(--transition-fast);
}
.footer-socials a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: rgba(255, 255, 255, .5);
  margin: 0;
  display: inline;
}
.footer-bottom-links a:hover { color: white; }

/* Minimal footer (contact page) */
.footer-minimal {
  background: var(--dark);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.footer-minimal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-minimal-contact {
  display: flex;
  gap: 32px;
  align-items: center;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  flex-wrap: wrap;
}
.footer-minimal-contact a {
  color: rgba(255, 255, 255, .8);
  transition: var(--transition-fast);
}
.footer-minimal-contact a:hover { color: white; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
              transform .9s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
              transform .9s cubic-bezier(.16, 1, .3, 1);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .menu { gap: 26px; }
  .logo-text .baseline { display: none; }
}

@media (max-width: 1200px) {
  .hero-content h1 { font-size: 56px; }
  .hero-stripe-grid { gap: 30px; }
  .stats { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .stat-num { font-size: 44px; }
  .booking-card {
    grid-template-columns: 1fr 1fr;
    padding: 36px;
  }
  .booking-left { grid-column: 1 / 3; }
}

@media (max-width: 1100px) {
  .menu { gap: 18px; }
  .menu a { font-size: 14px; }
  .nav-cta { padding: 12px 28px; font-size: 14px; }
}

@media (max-width: 992px) {
  .section { padding: 90px 0; }
  .menu { display: none; }
  .hamburger { display: flex; }

  /* Strip the backdrop-filter at mobile sizes — it creates a containing
     block that traps the .menu.open position:fixed inside the 88px navbar
     instead of letting it cover the whole viewport. */
  .navbar,
  .navbar-dark.solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }
  .navbar-dark:not(.solid) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    background: var(--dark);
    padding: 96px 28px 32px;
    z-index: 9999;
    gap: 0;
    align-items: stretch;
    overflow-y: auto;
  }
  .menu.open a {
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    text-align: left;
  }
  .menu.open a::after { display: none; }
  .menu.open .nav-cta {
    background: var(--blue);
    color: white !important;
    text-align: center;
    margin-top: 24px;
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: none;
    border-radius: 8px;
  }
  /* Close button (X SVG) injected into .menu by JS, only visible when menu open */
  .menu-close { display: none; }
  .menu.open .menu-close {
    display: flex;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: white;
    transition: opacity .2s;
  }
  .menu.open .menu-close svg { width: 26px; height: 26px; }
  .menu.open .menu-close:hover { opacity: 0.7; }

  .hero { min-height: 600px; padding: 70px 0 60px; }
  .navbar-dark + .hero { margin-top: -88px; padding-top: 158px; }
  .hero-content h1 { font-size: 44px; letter-spacing: -1px; }
  .hero-content p { font-size: 17px; }
  .hero-stripe { margin-top: 0; background: var(--dark-2); }
  .hero-stripe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 30px 0;
  }

  .section-head h2 { font-size: 34px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .timeline::before { display: none; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .stats > :nth-child(5) { grid-column: 1 / 3; }
  .icon-cols { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .two-col-image { aspect-ratio: 3/2; max-width: 500px; }

  .articles-grid { grid-template-columns: repeat(2, 1fr); }

  .value-grid { grid-template-columns: 1fr; gap: 50px; }
  .value-grid .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .step-card { border-left: none; border-top: 1px solid var(--border); padding-top: 30px; }
  .step-card:first-child { border-top: none; padding-top: 0; }

  .after-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .after-card { border-left: none; padding-left: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }

  .booking-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 32px;
  }
  .booking-left { grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .cta-strip h2 { font-size: 34px; }
}

@media (max-width: 640px) {
  .container { width: 92%; }
  .section { padding: 70px 0; }
  .nav-container { height: 72px; }
  .logo-icon { width: 38px; height: 38px; }
  .logo-text .name { font-size: 18px; }
  .logo-text .baseline { font-size: 8px; letter-spacing: 1px; }

  .hero { min-height: 560px; padding: 60px 0 50px; }
  .navbar-dark + .hero { margin-top: -72px; padding-top: 132px; }
  .hero-content h1 { font-size: 36px; }
  .hero-content h1 br { display: none; }
  .hero-content p { font-size: 16px; }

  .hero-actions { gap: 10px; flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { padding: 12px 22px; font-size: 14px; }
  .btn { padding: 14px 24px; font-size: 14px; }

  .section-head { margin-bottom: 50px; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 15px; }

  .card, .card-lg { padding: 28px 24px; }
  .image-card { min-height: 320px; }

  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stats > :nth-child(5) { grid-column: auto; }

  .icon-cols { grid-template-columns: 1fr; gap: 36px; }
  .articles-grid { grid-template-columns: 1fr; }

  .booking-card { padding: 22px; }

  .cta-strip { padding: 70px 0; }
  .cta-strip h2 { font-size: 26px; }
  .cta-strip p { font-size: 15px; }

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