/* ============================================================
   BM-INFORMATIX — Feuille de style principale
   Palette : primaire #0089BA · secondaire #008E9B
   ============================================================ */

:root {
  --primary: #0089BA;
  --secondary: #008E9B;
  --accent: #F7A81B;
  --ink: #102A3A;          /* bleu nuit — textes */
  --ink-soft: #46606f;     /* gris bleuté — paragraphes */
  --bg: #ffffff;
  --bg-soft: #f4f8fa;      /* gris très clair */
  --bg-dark: #0B1F2A;      /* fond hero / CTA */
  --line: #e3ecf0;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(16, 42, 58, .06);
  --shadow-md: 0 12px 34px rgba(16, 42, 58, .10);
  --grad: linear-gradient(120deg, var(--primary), var(--secondary));
  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; color: var(--ink); }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.5px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .9rem;
}
.section-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-intro { max-width: 720px; color: var(--ink-soft); margin-top: 1rem; }

section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin-inline: auto; }
.section-head.center .section-eyebrow::before { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.9rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  text-align: center; line-height: 1.25;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(0, 137, 186, .32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 137, 186, .42); }

.btn-outline { border-color: rgba(0, 137, 186, .45); color: var(--primary); background: transparent; }
.btn-outline:hover { background: rgba(0, 137, 186, .08); transform: translateY(-3px); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16, 42, 58, .07); }

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

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(0, 137, 186, .35);
}
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.1; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-size: .93rem; font-weight: 500; color: var(--ink);
  position: relative; padding: .35rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .28s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.nav-cta { margin-left: .4rem; padding: .7rem 1.4rem; font-size: .9rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.6px; background: var(--ink); border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(0, 142, 155, .35), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(0, 137, 186, .28), transparent 55%),
              var(--bg-dark);
  color: #fff;
  padding: calc(76px + clamp(3.5rem, 8vw, 6rem)) 0 clamp(4rem, 8vw, 6.5rem);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1.05rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 1.4rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(247,168,27,.55);} 60% { box-shadow: 0 0 0 9px rgba(247,168,27,0);} }

.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -1px;
  margin-bottom: 1.3rem;
}
.hero h1 .grad-text {
  background: linear-gradient(100deg, #38c6f0, #45e0d2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: rgba(255, 255, 255, .82); max-width: 540px; margin-bottom: 2.1rem; font-size: 1.05rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.3rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center;
  color: rgba(255, 255, 255, .65); font-size: .86rem; font-weight: 500;
}
.hero-trust li { list-style: none; display: flex; align-items: center; gap: .45rem; }
.hero-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Composition visuelle du hero */
.hero-visual { position: relative; min-height: 420px; }
.hv-card {
  position: absolute; border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  padding: 1.1rem 1.2rem;
  animation: float 7s ease-in-out infinite;
}
.hv-card h5 { color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.hv-card h5 svg { width: 15px; height: 15px; color: #45e0d2; }

.hv-app { top: 2%; left: 0; width: 52%; animation-delay: 0s; }
.hv-app .ui-row { height: 10px; border-radius: 6px; background: rgba(255,255,255,.16); margin-bottom: 9px; }
.hv-app .ui-row.w60 { width: 60%; } .hv-app .ui-row.w85 { width: 85%; } .hv-app .ui-row.w40 { width: 40%; background: linear-gradient(90deg,#38c6f0,#45e0d2); }

.hv-chart { top: 38%; right: 0; width: 44%; animation-delay: -2.3s; }
.hv-chart .bars { display: flex; align-items: flex-end; gap: 9px; height: 74px; }
.hv-chart .bar { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #38c6f0, rgba(56,198,240,.25)); transform-origin: bottom; animation: grow 1.4s ease both; }
.hv-chart .bar:nth-child(2) { animation-delay: .15s; background: linear-gradient(180deg, #45e0d2, rgba(69,224,210,.25)); }
.hv-chart .bar:nth-child(3) { animation-delay: .3s; }
.hv-chart .bar:nth-child(4) { animation-delay: .45s; background: linear-gradient(180deg, #45e0d2, rgba(69,224,210,.25)); }
.hv-chart .bar:nth-child(5) { animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(0); } }

.hv-map { bottom: 0; left: 2%; width: 46%; animation-delay: -4.1s; }
.hv-map .map-grid {
  height: 86px; border-radius: 10px; position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 100% 18px,
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 18px 100%,
    rgba(255,255,255,.04);
}
.hv-map .pin {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(247,168,27,.25);
  animation: pulse 2.4s infinite;
}
.hv-map .pin.p1 { top: 24%; left: 26%; } .hv-map .pin.p2 { top: 58%; left: 62%; animation-delay: .8s; } .hv-map .pin.p3 { top: 38%; left: 80%; animation-delay: 1.4s; background: #45e0d2; }

.hv-ai {
  top: 0; right: 6%; width: 74px; height: 74px; border-radius: 20px; padding: 0;
  display: grid; place-items: center; animation-delay: -5.5s;
  background: linear-gradient(135deg, rgba(0,137,186,.85), rgba(0,142,155,.85));
}
.hv-ai svg { width: 36px; height: 36px; color: #fff; }

@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-9px);} }

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(0, 137, 186, .35); }
.card h3 { font-size: 1.12rem; margin-bottom: .65rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(0,137,186,.12), rgba(0,142,155,.12));
  display: grid; place-items: center; color: var(--primary);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--grad); color: #fff; transform: scale(1.06); }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.about-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-quote {
  margin: 1.6rem 0; padding: 1.3rem 1.6rem; border-left: 4px solid var(--primary);
  background: var(--bg-soft); border-radius: 0 14px 14px 0;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.about-points { list-style: none; display: grid; gap: .85rem; margin-top: 1.4rem; }
.about-points li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.about-points svg { width: 22px; height: 22px; flex: none; color: var(--secondary); margin-top: 2px; }

.about-visual { position: relative; }
.about-panel {
  border-radius: 22px; padding: 2.3rem 2.1rem; color: #fff;
  background: radial-gradient(500px 300px at 90% 0%, rgba(69,224,210,.28), transparent 60%), var(--bg-dark);
  box-shadow: var(--shadow-md);
}
.about-panel h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1.5rem; }
.about-panel ul { list-style: none; display: grid; gap: 1.05rem; }
.about-panel li { display: flex; gap: .9rem; align-items: center; font-size: .95rem; color: rgba(255,255,255,.85); }
.about-panel li strong { color: #fff; display: block; font-size: .98rem; }
.about-panel .mini-ic {
  width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: #45e0d2;
}
.about-panel .mini-ic svg { width: 20px; height: 20px; }

/* ---------- Domaines d'expertise ---------- */
.domain-card { position: relative; overflow: hidden; }
.domain-num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  background: linear-gradient(120deg, rgba(0,137,186,.9), rgba(0,142,155,.55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .9rem; display: block;
}
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.tag {
  font-size: .76rem; font-weight: 600; padding: .32rem .75rem; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.card:hover .tag { border-color: rgba(0,137,186,.3); }
.tag:hover { background: rgba(0,137,186,.1); color: var(--primary); border-color: rgba(0,137,186,.4); }

/* ---------- Approche (étapes) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.3rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,137,186,.35); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  margin-bottom: 1.1rem; box-shadow: 0 8px 18px rgba(0,137,186,.35);
}
.step h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.step p { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }

.approach-final {
  margin-top: 2.8rem; text-align: center; font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; color: var(--ink);
  max-width: 760px; margin-inline: auto;
}
.approach-final span { color: var(--primary); }

/* ---------- Réalisations ---------- */
.project-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.project-thumb {
  height: 150px; position: relative; display: grid; place-items: center; color: #fff;
  background: linear-gradient(130deg, var(--primary), var(--secondary));
}
.project-card:nth-child(even) .project-thumb { background: linear-gradient(130deg, #0e3d55, var(--secondary)); }
.project-thumb::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 22px 100%;
}
.project-thumb svg { width: 44px; height: 44px; position: relative; z-index: 1; opacity: .95; }
.project-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.project-cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.project-body h3 { font-size: 1.08rem; }
.project-body p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.project-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }

/* ---------- Pourquoi nous ---------- */
.why-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.why-card .card-icon { margin-bottom: 0; flex: none; width: 48px; height: 48px; }
.why-card .card-icon svg { width: 23px; height: 23px; }

/* ---------- Formations ---------- */
.training-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.training-list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; list-style: none; }
.training-list li {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: .95rem 1.1rem; font-weight: 500; font-size: .93rem;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.training-list li:hover { transform: translateY(-4px); border-color: rgba(0,137,186,.4); box-shadow: var(--shadow-md); }
.training-list svg { width: 20px; height: 20px; flex: none; color: var(--secondary); }

/* ---------- Grand CTA ---------- */
.big-cta {
  position: relative; overflow: hidden; border-radius: 26px; text-align: center;
  padding: clamp(3.2rem, 7vw, 5.2rem) clamp(1.5rem, 5vw, 4rem); color: #fff;
  background: radial-gradient(700px 380px at 15% 0%, rgba(69,224,210,.3), transparent 55%),
              radial-gradient(700px 380px at 90% 110%, rgba(56,198,240,.28), transparent 55%),
              var(--bg-dark);
}
.big-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1rem; letter-spacing: -.5px; }
.big-cta p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 2.2rem; }
.big-cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 2.5rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .45rem; }
.form-group label .opt { font-weight: 400; color: var(--ink-soft); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 137, 186, .12);
}
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .9rem; }

.contact-info { display: grid; gap: 1.1rem; }
.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .card-icon { width: 46px; height: 46px; margin: 0; flex: none; }
.info-card h3 { font-size: .95rem; margin-bottom: .2rem; }
.info-card p, .info-card a { color: var(--ink-soft); font-size: .93rem; }
.info-card a:hover { color: var(--primary); }

.wa-card {
  background: linear-gradient(130deg, #128C7E, #25D366); color: #fff; border: none;
}
.wa-card .card-icon { background: rgba(255,255,255,.18); color: #fff; }
.wa-card h3, .wa-card p { color: #fff; }
.wa-card a.btn { margin-top: .7rem; background: #fff; color: #128C7E; padding: .6rem 1.3rem; font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding: 4.2rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .92rem; transition: color .2s ease, padding-left .2s ease; }
.site-footer a:hover { color: #45e0d2; padding-left: 4px; }
.footer-brand p { font-size: .92rem; margin-top: 1rem; max-width: 300px; }
.footer-brand .signature { color: #45e0d2; font-family: var(--font-head); font-weight: 600; font-size: .95rem; margin-top: .8rem; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: #45e0d2; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0;
  font-size: .85rem; text-align: center; color: rgba(255,255,255,.55);
}

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 28px rgba(18, 140, 126, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 34px rgba(18, 140, 126, .55); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6); animation: waPing 2.2s infinite;
}
@keyframes waPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- En-tête de page secondaire ---------- */
.page-hero {
  background: radial-gradient(900px 420px at 85% -20%, rgba(69,224,210,.25), transparent 60%), var(--bg-dark);
  color: #fff; padding: calc(76px + 4rem) 0 4rem; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.8px; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 660px; margin-inline: auto; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; }
.breadcrumb a { color: #45e0d2; }

/* ---------- Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .4s; }  .reveal-d6 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(16,42,58,.12);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .95rem 6%; font-size: 1rem; border-bottom: 1px solid var(--bg-soft); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta-wrap { padding: 1rem 6% 1.3rem; }
  .nav-toggle { display: block; }
  .about-grid, .training-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .training-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { min-height: 400px; }
  .hv-card { padding: .9rem 1rem; }
  .hv-chart .bars { height: 58px; }
  .hv-map .map-grid { height: 70px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
