/* ==========================================================================
   HORIZON 5 — style.css
   Design aligné sur horizon5.org : bleu #1565C0 · gold #F9A825 · rouge #C62828
   Polices : Poppins (titres) + Open Sans (corps) — voir fonts.css
   Fond : blanc #fff et gris clair #f5f7fa
   ========================================================================== */

:root {
  --blue:        #1565c0;
  --blue-dark:   #1a5a94;
  --blue-mid:    #5a8ec9;
  --blue-light:  #7aafe0;
  --blue-deep:   #0f3f75;
  --blue-pale:   #eaf2fb;
  --gold:        #f9a825;
  --gold-light:  #ffca28;
  --gold-dark:   #e65100;
  --red:         #c62828;
  --green:       #1d9e75;
  --white:       #ffffff;
  --grey-light:  #f5f7fa;
  --grey-mid:    #eef1f6;
  --grey-border: #dde2ec;
  --text-dark:   #1a2340;
  --text-mid:    #4a5670;
  --text-light:  #8a94a8;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 4px 20px rgba(21, 101, 192, 0.12);
  --shadow-sm:   0 2px 10px rgba(0, 0, 0, 0.08);
  --nav-h:       66px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3, h4 { font-family: 'Poppins', Arial, sans-serif; line-height: 1.25; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
::selection { background: var(--gold); color: var(--text-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold); color: var(--text-dark);
  padding: 12px 20px; font-family: 'Poppins', sans-serif; font-weight: 700;
  text-decoration: none; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.actions.center { justify-content: center; }

/* ── Boutons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  line-height: 1.3; transition: background .25s, box-shadow .25s, transform .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--text-dark); font-weight: 700; }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 4px 16px rgba(249, 168, 37, .4); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue-pale); }
.btn-large { padding: 16px 36px; font-size: 15px; }
.btn-full { width: 100%; }

/* ── Barre de navigation ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(100deg, var(--blue-deep), var(--blue-dark) 55%, var(--blue));
  border-bottom: 2px solid var(--gold);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .28); }
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; border-radius: 6px; background: #fff; }
.logo-text { display: block; }
.logo-name {
  display: block; font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 17px; color: var(--white); line-height: 1.2; letter-spacing: .02em;
}
.logo-sub {
  display: block; font-size: 10px; color: rgba(255, 255, 255, .65);
  letter-spacing: .12em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: block; font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 500;
  color: rgba(255, 255, 255, .82); text-decoration: none;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.nav-links a.active { background: rgba(255, 255, 255, .16); color: var(--white); }
.nav-links a.nav-cta {
  background: var(--gold); color: var(--text-dark); font-weight: 700;
  margin-left: 8px; padding: 8px 20px;
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.active { background: var(--gold-light); color: var(--text-dark); }

/* ── Navigation basse (mobile) ────────────────────────────────────────── */
.bottom-nav { display: none; }

/* ── Boutons flottants ────────────────────────────────────────────────── */
.fab {
  position: fixed; right: 24px; z-index: 900; width: 56px; height: 56px;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28); text-decoration: none;
  border: none; cursor: pointer; transition: transform .25s, opacity .25s, visibility .25s;
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 28px; height: 28px; }
.fab-whatsapp { bottom: 24px; background: #25d366; }
.fab-whatsapp svg { fill: #fff; }
.fab-top { bottom: 94px; background: var(--blue-dark); }
.fab-top svg { stroke: #fff; width: 24px; height: 24px; stroke-width: 2.5; }
.fab-top { opacity: 0; visibility: hidden; transform: translateY(12px); }
.fab-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ── Hero (accueil) ───────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(140deg, var(--blue-deep) 0%, var(--blue-dark) 55%, var(--blue) 100%);
  padding: 150px 0 90px;
}
.hero-bg-img { position: absolute; inset: 0; z-index: 0; opacity: .22; }
.hero-bg-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .92);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  padding: 7px 16px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .28);
  margin-bottom: 1.35rem;
}
.badge-dot { width: 7px; height: 7px; background: #4caf50; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 800;
  margin-bottom: 1.25rem; text-wrap: balance;
}
.hero h1 span { color: var(--gold); }
.hero-desc { font-size: 1.05rem; color: rgba(255, 255, 255, .82); line-height: 1.8; max-width: 34rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats {
  margin-top: 3rem; padding-top: 2rem; display: flex; gap: 2.5rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-stat .num {
  font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--gold); line-height: 1;
}
.hero-stat .lbl { font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: 6px; max-width: 12rem; }
.hero-card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px; padding: 1.75rem; display: grid;
  grid-template-columns: 1fr 1fr; gap: 1rem; backdrop-filter: blur(6px);
}
.hc-item {
  background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 1.35rem 1rem;
  text-align: center; transition: background .25s;
}
.hc-item:hover { background: rgba(255, 255, 255, .18); }
.hci-icon { display: grid; place-items: center; margin-bottom: .6rem; }
.hci-icon svg { width: 30px; height: 30px; stroke: rgba(255, 255, 255, .92); }
.hci-label { font-size: 12px; color: rgba(255, 255, 255, .8); font-weight: 600; letter-spacing: .02em; }

/* ── En-tête de page intérieure ───────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--blue-deep) 0%, var(--blue-dark) 60%, var(--blue) 100%);
  padding: calc(var(--nav-h) + 74px) 0 70px;
  border-bottom: 3px solid var(--gold); color: var(--white);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: .18;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover; background-position: center;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .section-tag {
  color: #ffd98a; background: rgba(249, 168, 37, .16);
  border-left-color: var(--gold);
}
.page-title { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; margin-bottom: 1rem; }
.page-title span { color: var(--gold); }
.page-desc { font-size: 1.02rem; color: rgba(255, 255, 255, .82); max-width: 640px; line-height: 1.8; }
.page-subnav { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1.75rem; }
.page-subnav a {
  font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .8); text-decoration: none;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  padding: 6px 15px; border-radius: 20px; transition: background .2s, color .2s;
}
.page-subnav a:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.page-subnav a.is-gold { background: var(--gold); border-color: var(--gold); color: var(--text-dark); font-weight: 700; }
.page-subnav a.is-gold:hover { background: var(--gold-light); color: var(--text-dark); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-grey { background: var(--grey-light); }
.section-blue { background: linear-gradient(140deg, var(--blue-deep), var(--blue-dark)); color: var(--white); }
.section-header { text-align: center; margin-bottom: 3.25rem; }
.section-tag {
  display: inline-block; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  background: var(--blue-pale); border-left: 3px solid var(--blue);
  padding: 6px 14px; border-radius: 0 4px 4px 0; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 700; margin-bottom: .8rem; }
.section-title span { color: var(--blue); }
.section-title.on-dark { color: var(--white); text-align: left; }
.section-title.on-dark span { color: var(--gold); }
.divider { width: 50px; height: 3px; background: var(--gold); border-radius: 2px; margin: 14px auto 0; }
.divider.left { margin-left: 0; }
.section-desc { font-size: 1rem; color: var(--text-mid); max-width: 620px; margin: 1.25rem auto 0; }
.section-desc.left { margin-left: 0; }
.center-action { text-align: center; margin-top: 2.75rem; }
.prose { max-width: 760px; }
.prose p { color: var(--text-mid); line-height: 1.85; margin-bottom: 1.1rem; font-size: 1.02rem; }
.prose p:last-child { margin-bottom: 0; }
.lead-mid { color: var(--text-mid); line-height: 1.85; font-size: 1.02rem; }

/* ── Icônes (sprite SVG local — aucune dépendance externe) ────────────── */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 18px; height: 18px; }
.ico-lg { width: 30px; height: 30px; }

/* ── Cartes ───────────────────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--grey-border);
  border-radius: var(--radius); padding: 0;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue); }
.card:hover::after { transform: scaleX(1); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.9rem 1.6rem; }
.card.has-img .card-body { padding-top: 0; }
.card-img {
  width: 100%; height: 165px; object-fit: cover; object-position: center;
  margin-bottom: 1.5rem; transition: transform .4s ease;
}
.card:hover .card-img { transform: scale(1.05); }
.card-ico {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-pale); color: var(--blue); margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; }
.card ul { list-style: none; margin: .35rem 0 0; }
.card ul li {
  font-size: 14px; color: var(--text-mid); padding: 7px 0 7px 20px;
  position: relative; border-bottom: 1px dashed var(--grey-border);
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: ''; position: absolute; left: 2px; top: 14px; width: 7px; height: 4px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 1.25rem;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--blue); text-decoration: none;
}
.card-link:hover { color: var(--gold-dark); }
.card.accent { background: linear-gradient(150deg, var(--blue-dark), var(--blue)); border-color: transparent; color: var(--white); }
.card.accent h3, .card.accent p, .card.accent li { color: var(--white); }
.card.accent .card-ico { background: rgba(255, 255, 255, .16); color: var(--white); }
.card.accent .card-ico svg { stroke: #fff; }
.card.accent ul li { border-bottom-color: rgba(255, 255, 255, .2); }
.card.accent ul li::before { border-color: var(--gold); }
.card.accent .card-link { color: var(--gold); }

/* ── Étapes ───────────────────────────────────────────────────────────── */
.steps {
  list-style: none; counter-reset: s; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.steps li {
  counter-increment: s; background: var(--white); border: 1px solid var(--grey-border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.steps li:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
}
.steps strong { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; margin-bottom: .3rem; }
.steps span { font-size: 14px; color: var(--text-mid); }

/* ── Listes ───────────────────────────────────────────────────────────── */
.check-list { list-style: none; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text-mid); font-size: 15px; }
.check-list li::before {
  content: ''; position: absolute; left: .15rem; top: .48em; width: .85rem; height: .45rem;
  border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}
.svc-list { list-style: none; }
.svc-list li {
  font-size: 14.5px; color: var(--text-mid); padding: 9px 0 9px 1.5rem;
  border-bottom: 1px solid var(--grey-border); position: relative;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before { content: '\25B6'; position: absolute; left: 0; top: 9px; color: var(--blue); font-size: 9px; }
.price-list { list-style: none; }
.price-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: 14.5px; color: var(--text-mid); padding: 10px 0;
  border-bottom: 1px dashed var(--grey-border);
}
.price-list li:last-child { border-bottom: none; }
.price-list b { font-family: 'Poppins', sans-serif; color: var(--blue); white-space: nowrap; font-size: 15px; }
.price-note {
  font-size: 13.5px; color: var(--text-light); background: var(--grey-light);
  border: 1px solid var(--grey-border); border-radius: var(--radius-sm);
  padding: .85rem 1.1rem; margin-top: 1.75rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.tag-list li {
  font-size: 12.5px; font-weight: 600; background: var(--blue-pale); color: var(--blue);
  border: 1px solid rgba(21, 101, 192, .18); border-radius: 4px; padding: 5px 12px;
}

/* ── Bande de statistiques ────────────────────────────────────────────── */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: -30px; position: relative; z-index: 5;
}
.stat-band-card {
  background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.5rem 1rem; text-align: center;
}
.stat-band-card .num {
  font-family: 'Poppins', sans-serif; font-size: 1.95rem; font-weight: 800;
  color: var(--blue); line-height: 1.1;
}
.stat-band-card .num span { color: var(--gold); }
.stat-band-card .lbl { font-size: 12.5px; font-weight: 600; color: var(--text-mid); margin-top: 6px; }

/* ── Bloc image + légende ─────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-media {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--grey-border);
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
}
.why-media img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.why-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.5rem 1.5rem;
  text-align: center; color: #fff;
  background: linear-gradient(transparent, rgba(13, 71, 161, .94));
}
.why-cap .wip-logo {
  font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.why-cap .wip-logo .accent { color: var(--gold); }
.why-cap .wip-sub { font-size: 12.5px; opacity: .88; margin-top: .35rem; }
.why-items { display: grid; gap: 1.5rem; }
.why-item { display: flex; align-items: flex-start; gap: 1rem; }
.wi-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: var(--blue-pale); display: grid; place-items: center;
}
.wi-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.why-item h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── Panneau « grand chiffre » ────────────────────────────────────────── */
.stat-panel {
  position: relative; overflow: hidden; border-radius: 16px; padding: 2.75rem;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--blue-deep), var(--blue-dark) 55%, var(--blue));
}
.stat-panel::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: url("../images/circuits.svg"); background-size: cover; background-position: center;
}
.stat-panel > * { position: relative; }
.stat-panel .big {
  font-family: 'Poppins', sans-serif; font-size: 4.5rem; font-weight: 800;
  line-height: 1; color: var(--gold);
}
.stat-panel p { margin-top: .6rem; color: rgba(255, 255, 255, .85); max-width: 22rem; font-size: 15px; }

/* ── Bloc image de fond (section sombre) ──────────────────────────────── */
.section-image { position: relative; color: #fff; background-size: cover; background-position: center; }
.section-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 63, 117, .94), rgba(26, 90, 148, .88));
}
.section-image > .container { position: relative; z-index: 1; }
.section-image .section-tag { color: #ffd98a; background: rgba(249, 168, 37, .16); border-left-color: var(--gold); }
.section-image .section-title { color: #fff; }
.section-image .section-title span { color: var(--gold); }
.section-image .section-desc { color: rgba(255, 255, 255, .8); }
.section-image .tag-list li {
  background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28);
}

/* ── Missions / cartes de valeurs ─────────────────────────────────────── */
.mission-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.mission-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mc {
  background: var(--grey-light); border: 1px solid var(--grey-border);
  border-radius: var(--radius); padding: 1.35rem; border-top: 3px solid var(--blue);
}
.mc-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .6rem; }
.mc-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.mc h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.mc p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.values-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; }
.val-item {
  display: flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif;
  font-size: 13.5px; font-weight: 600;
}
.val-dot { width: 11px; height: 11px; border-radius: 50%; }
.val-dot.blue { background: var(--blue); }
.val-dot.gold { background: var(--gold); }
.val-dot.green { background: var(--green); }
.val-dot.red { background: var(--red); }

/* ── Bannière équipe ──────────────────────────────────────────────────── */
.team-banner { position: relative; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); }
.team-banner img { display: block; width: 100%; height: 330px; object-fit: cover; object-position: center; }
.team-banner-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 2rem 1.6rem;
  text-align: center; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem;
  color: #fff; background: linear-gradient(transparent, rgba(13, 71, 161, .95));
}

/* ── Fondateur ────────────────────────────────────────────────────────── */
.founder-card {
  background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius);
  padding: 2.25rem; text-align: center; max-width: 560px; margin: 0 auto;
  transition: box-shadow .3s, border-color .3s;
}
.founder-card:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.founder-av {
  width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 1.25rem;
  display: grid; place-items: center; color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 26px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
}
.founder-card h3 { font-size: 1.2rem; font-weight: 700; }
.founder-role {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin: .4rem 0 .9rem;
}
.founder-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.1rem; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.founder-tags span {
  font-size: 11.5px; font-weight: 600; background: var(--blue-pale); color: var(--blue);
  padding: 4px 11px; border-radius: 4px;
}

/* ── Stack technique ──────────────────────────────────────────────────── */
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stack-group {
  background: var(--white); border: 1px solid var(--grey-border);
  border-radius: var(--radius); padding: 1.5rem;
}
.stack-group h4 {
  font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 1rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--blue-pale);
}
.stack-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-tags span {
  font-size: 12.5px; background: var(--grey-light); color: var(--text-mid);
  padding: 5px 11px; border-radius: 4px; font-weight: 500;
}

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 3rem; align-items: start; }
.ci-card {
  background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius);
  padding: 1.85rem; margin-bottom: 1.5rem;
}
.ci-card:last-child { margin-bottom: 0; }
.ci-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 1.25rem;
  padding-bottom: .8rem; border-bottom: 2px solid var(--blue-pale);
  display: flex; align-items: center; gap: .6rem;
}
.ci-card h3 svg { width: 18px; height: 18px; stroke: var(--blue); }
.ci-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1.1rem; }
.ci-item:last-child { margin-bottom: 0; }
.ci-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px;
  background: var(--blue-pale); display: grid; place-items: center;
}
.ci-icon svg { width: 18px; height: 18px; stroke: var(--blue); }
.ci-item strong {
  display: block; font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 2px;
}
.ci-item a, .ci-item span { font-size: 14.5px; color: var(--text-dark); text-decoration: none; overflow-wrap: anywhere; }
.ci-item a:hover { color: var(--blue); }
.ci-hours { display: flex; flex-direction: column; gap: .55rem; font-size: 14.5px; color: var(--text-mid); }
.ci-hours b { color: var(--text-dark); font-family: 'Poppins', sans-serif; font-size: 13.5px; }

.form-card {
  background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold);
}
.form-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.form-intro { font-size: 14px; color: var(--text-mid); margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1.15rem; }
.fg label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.fg input, .fg select, .fg textarea {
  width: 100%; background: var(--grey-light); border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm); padding: 12px 14px; color: var(--text-dark);
  font-family: 'Open Sans', sans-serif; font-size: 15px; transition: border-color .2s, background .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
}
.fg textarea { resize: vertical; min-height: 130px; }
.fg .hint { font-size: 12.5px; color: var(--text-light); margin-top: 5px; }
.form-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .5rem; }
.form-note {
  font-size: 13px; color: var(--text-light); background: var(--grey-light);
  border: 1px solid var(--grey-border); border-radius: var(--radius-sm);
  padding: .8rem 1rem; margin-top: 1.25rem;
}
.form-status { font-size: 14px; margin-top: 1rem; min-height: 1.2em; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.err { color: var(--red); font-weight: 600; }

/* ── Bandeau d'appel ──────────────────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 0; color: #fff;
  background-color: var(--blue-deep);
  background-image: linear-gradient(135deg, rgba(15, 63, 117, .90), rgba(26, 90, 148, .84)),
                    url("../images/cta-bg.jpg");
  background-size: cover; background-position: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 63, 117, .35), rgba(26, 120, 212, .15));
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: .9rem; }
.cta-section h2 span { color: var(--gold); }
.cta-section p { color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0 auto; }
.cta-section .actions { justify-content: center; margin-top: 2rem; }
.cta-note { font-size: 12.5px; opacity: .7; margin-top: 1.25rem; }

/* ── Pied de page ─────────────────────────────────────────────────────── */
.footer { background: var(--text-dark); color: rgba(255, 255, 255, .7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { margin-bottom: .9rem; }
.footer-brand .nav-logo img { height: 40px; }
.footer-brand p { font-size: 13.5px; line-height: 1.75; color: rgba(255, 255, 255, .55); }
.footer-col h4 {
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem;
}
.footer-col a, .footer-col span {
  display: block; font-size: 13.5px; color: rgba(255, 255, 255, .58);
  text-decoration: none; margin-bottom: 8px; transition: color .2s; overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 13px; color: rgba(255, 255, 255, .42); flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255, 255, 255, .55); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── Page 404 ─────────────────────────────────────────────────────────── */
.err {
  min-height: 70vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem;
}
.err-num {
  font-family: 'Poppins', sans-serif; font-size: clamp(5rem, 16vw, 8rem); font-weight: 800;
  color: var(--blue); line-height: 1;
}
.err h1 { font-size: 1.7rem; margin: 1rem 0 .5rem; }
.err p { color: var(--text-mid); margin-bottom: 2rem; max-width: 30rem; }

/* ── Animations ───────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  body { padding-bottom: 78px; }
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
    background: rgba(26, 35, 64, .97); border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .bottom-nav a {
    flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    text-decoration: none; color: rgba(255, 255, 255, .62);
    font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 600;
    padding: 6px 2px; border-radius: 10px; transition: color .2s;
  }
  .bottom-nav a svg { width: 22px; height: 22px; stroke: currentColor; }
  .bottom-nav a span { white-space: nowrap; }
  .bottom-nav a.active { color: var(--gold); }
  .fab-whatsapp { bottom: 92px; }
  .fab-top { bottom: 156px; }

  .hero { padding: 128px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { display: none; }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 56px; }
  .why-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-media img { min-height: 300px; }
  .team-banner img { height: 260px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-logo img { height: 38px; }
  .logo-name { font-size: 15px; }
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .cards-grid, .steps, .stack-grid, .mission-cards, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 116px 0 56px; }
  .hero-stats { gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; }
  .hero-stat .num { font-size: 1.7rem; }
  .page-hero { padding: calc(var(--nav-h) + 44px) 0 44px; }
  .stats-band { gap: 1rem; margin-top: -20px; }
  .stat-band-card { padding: 1.1rem .5rem; }
  .stat-band-card .num { font-size: 1.6rem; }
  .why-media img { min-height: 240px; }
  .team-banner img { height: 220px; }
  .team-banner-cap { padding: 2.5rem 1.25rem 1.25rem; font-size: .9rem; }
  .stat-panel { padding: 2rem; min-height: 240px; }
  .stat-panel .big { font-size: 3.5rem; }
  .form-card, .ci-card { padding: 1.5rem; }
  .cta-section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .fab { width: 48px; height: 48px; right: 16px; border-radius: 14px; }
  .fab-whatsapp { bottom: 88px; }
  .fab-top { bottom: 146px; }
}

/* ── Accessibilité : mouvement réduit ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .fade-up { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .steps li:hover { transform: none; }
}
