/* ═══════════════════════════════════════════════════════════
   Alinova — feuille de style partagée (alinova.ca)
   Direction A « Pro & rassurant » — identique à app.alinova.ca
   Crème #F6F5F1 · Marine #13233A · Bleu #1F4E79
   IBM Plex Serif (titres) · IBM Plex Sans (texte) · IBM Plex Mono
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #F6F5F1;
  --bg-elev: #EFEDE7;
  --bg-card: #FFFFFF;
  --border: #E2DFD6;
  --border-strong: #CFCBBF;
  --text: #13233A;
  --text-dim: #4E5D6E;
  --text-faint: #66717E;
  --accent: #1F4E79;
  --accent-dim: #173B5C;
  --accent-soft: #E9EEF4;
  --ok: #1D6B52;      --ok-soft: #E4F0EA;
  --good: #3F7A2E;    --good-soft: #E9F2E1;
  --warn: #9E5000;    --warn-soft: #FBEBD6;
  --danger: #A3222C;  --danger-soft: #F8E3E4;
  --display: 'IBM Plex Serif', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --radius: 6px;
  --radius-card: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }

[data-lang]:not(.active) { display: none !important; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ─── Typographie ─── */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 22px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.lede { font-size: 18px; line-height: 1.55; color: var(--text-dim); }
.dim { color: var(--text-dim); }

/* ─── Boutons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--radius);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-dim); }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border-strong); font-weight: 500; }
.btn-secondary:hover { background: var(--bg-elev); border-color: #B9B4A6; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ─── Carte ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}

/* ─── Navigation (marine) ─── */
nav.site-nav {
  background: var(--text);
  color: #FFFFFF;
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: inline-flex; align-items: center; color: #FFFFFF; text-decoration: none; }
.nav-logo svg { height: 28px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links > a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: color 0.15s;
}
.nav-links > a:hover { color: #FFFFFF; }
.nav-links > a.active { color: #FFFFFF; font-weight: 600; border-bottom-color: #FFFFFF; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.lang-switch button {
  background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit;
  color: rgba(255,255,255,0.6); min-height: 44px; padding: 0 4px; transition: color 0.15s;
}
.lang-switch button:hover { color: #FFFFFF; }
.lang-switch button.active { color: #FFFFFF; font-weight: 600; }
.lang-switch .sep { color: rgba(255,255,255,0.6); }
.nav-burger { display: none; }
.nav-links .mobile-cta { display: none; }

/* ─── Bandeau sombre ─── */
.band {
  background: var(--text); color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.band h2, .band h3 { color: #FFFFFF; }
.band p { opacity: 0.85; font-size: 15px; }

/* ─── Sections ─── */
section { padding: 72px 0; }
section + section { padding-top: 0; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-bottom: 28px; }

/* ─── Pied de page ─── */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 13px; color: var(--text-dim);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand svg { width: 120px; height: auto; align-self: flex-start; color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col .eyebrow { font-size: 11px; margin-bottom: 2px; }
.footer-col a { color: var(--text-dim); text-decoration: none; }
.footer-col a:hover { color: var(--text); }

/* ─── Listes à coches ─── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.check-list li svg { flex-shrink: 0; margin-top: 3px; }
.check-list.ok li svg { color: var(--ok); }
.check-list.no li svg { color: var(--danger); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--text-dim); list-style: none; }
.trust li { display: inline-flex; gap: 6px; align-items: center; }
.trust li svg { color: var(--ok); }

/* ─── Responsive ─── */
@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: fixed; inset: 60px 0 0 0;
    background: var(--text);
    flex-direction: column; align-items: flex-start;
    padding: 24px 32px; gap: 18px; font-size: 18px;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  }
  .nav-burger span { display: block; width: 22px; height: 2px; background: #FFFFFF; margin: 0 auto; }
  .nav-right .btn { display: none; }
  .nav-links .mobile-cta { display: inline-flex; margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .band { flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
}
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 16px; }
  .btn { width: 100%; }
  .card { padding: 22px; }
  .band { padding: 28px 24px; }
}

/* ── Avis clients (rendus par site.js depuis app.alinova.ca/api/reviews) ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: #9E5000; font-size: 17px; letter-spacing: 2px; }
.review-stars .off { color: var(--border); }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); white-space: pre-line; }
.review-author { margin-top: auto; font-size: 14px; }
.review-author strong { display: block; }
.review-author span { color: var(--text-dim); }
@media (max-width: 920px) { .reviews-grid { grid-template-columns: 1fr; } }
