/* Site vitrine eMarketingLine — feuille autonome, aucun CDN externe. */

:root {
  --navy: #0b1f33;
  --navy-soft: #17324d;
  --ink: #16222e;
  --ink-soft: #5a6b7b;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;
  --accent: #0e7c6b;
  --accent-soft: #e6f4f1;
  --cta: #e8622a;
  --cta-dark: #cf4f1c;
  --radius: 14px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

/* l'attribut hidden doit toujours gagner, sinon une regle display plus
   specifique l'ecrase et l'element reste visible */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

h1, h2, h3 { letter-spacing: -.015em; line-height: 1.18; }
h1 { font-size: clamp(30px, 5.4vw, 54px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3.6vw, 36px); margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 10px; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); margin: 0; }
.note { font-size: 14px; color: var(--ink-soft); }

/* ---------- barre du haut ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--accent), var(--navy));
}
.brand-name { font-weight: 800; color: var(--ink); letter-spacing: -.02em; }

.mainnav { display: none; gap: 22px; }
.mainnav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.mainnav a:hover { color: var(--accent); }

/* ---------- selecteur de langue ---------- */
.langswitcher { position: relative; }
.langswitcher-btn {
  display: flex; align-items: center; gap: 8px;
  font: inherit; font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 12px; min-height: 44px; cursor: pointer;
}
.langswitcher-btn:hover { border-color: var(--accent); }
.langswitcher .flag { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.langswitcher-code { font-weight: 700; }
.langswitcher-caret {
  width: 0; height: 0; border-left: 4px solid transparent;
  border-right: 4px solid transparent; border-top: 5px solid var(--ink-soft);
}
.langswitcher-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40;
  margin: 0; padding: 6px; list-style: none; min-width: 190px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0,0,0,.13);
}
.langswitcher-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 9px; text-decoration: none; color: var(--ink); font-size: 14px;
}
.langswitcher-list a:hover, .langswitcher-list a:focus { background: var(--bg-alt); }
.langswitcher-list li.on a { font-weight: 700; color: var(--accent); }
.langswitcher-list .langswitcher-name { margin-left: auto; color: var(--ink-soft); }
.langs { display: flex; gap: 4px; }
.langs a { font-size: 13px; padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); }
.langs a.on { background: var(--bg-alt); color: var(--accent); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 64px 0 70px;
}
.hero .eyebrow { color: #7fdcc9; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lede { color: #c3d3e1; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 30px 0 0; padding: 0;
}
.pills li {
  font-size: 13px; font-weight: 600; color: #d7e4ee;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 6px 14px;
}

/* ---------- boutons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-dark); transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }

/* ---------- bandeau chiffres ---------- */
.band { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 26px 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-value { display: block; font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--ink-soft); }

/* ---------- sections ---------- */
.section { padding: 58px 0; }
.section.alt { background: var(--bg-alt); }
.section > .wrap > .lede { max-width: 62ch; margin-bottom: 34px; }

.poles { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
.pole {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.pole h3 { display: flex; align-items: baseline; gap: 10px; }
.pole-num { font-size: 13px; font-weight: 800; color: var(--accent); }
.pole ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.pole li { margin-bottom: 6px; font-size: 15.5px; }

.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.step-num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.steps p { margin: 0; color: var(--ink-soft); }

.profiles { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
.profile {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
}
.profile p { margin: 0; color: var(--ink-soft); }

.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #7fdcc9; }
.contact .lede { color: #c3d3e1; margin-bottom: 28px; }
.contact-line { margin: 16px 0 0; color: #c3d3e1; font-size: 15px; }

/* ---------- pied ---------- */
.legal {
  background: var(--ink);
  color: #b9c8d4;
  padding: 40px 0 44px;
  font-size: 14px;
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: baseline; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.legal .brand-name { color: #fff; }
.footer-tagline { color: #8fa4b5; font-size: 14px; }
.legal a { color: #fff; }
.legal .tiny { font-size: 12.5px; color: #8fa4b5; margin: 8px 0 0; }

/* ---------- tablette et desktop ---------- */
@media (min-width: 768px) {
  .mainnav { display: flex; }
  .hero { padding: 84px 0 92px; }
  .section { padding: 78px 0; }
  .poles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .profiles { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .poles { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 419px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn-primary:hover { transform: none; }
}
