/* =========================================================
   DaMindVest — Design tokens (v2 — fond bleu architecte)
   Bleu architecte #0B1D3D (extrait du logo) · Or #C9A84C · Blanc
   Typographie unique : Montserrat (brief de marque)
   ========================================================= */

:root {
  --navy: #0B1D3D;        /* fond principal — bleu architecte, identique au logo */
  --navy-2: #102847;      /* panneau légèrement plus clair — rythme des sections */
  --navy-3: #071427;      /* bande la plus sombre — mise en avant / CTA / footer */
  --white: #FFFFFF;
  --gold: #C9A84C;
  --gold-hover: #B8973F;

  --ink: #FFFFFF;         /* texte principal sur fond bleu */
  --ink-muted: #A9B7C9;   /* texte secondaire */
  --line: rgba(255,255,255,0.14);

  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --container: 1120px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 18px; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--ink-muted); max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.signature-line {
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Boutons / CTA ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-3);
}
.btn-primary:hover { background: var(--gold-hover); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/*
  Emplacement réservé aux futurs CTA de vente (tunnels Systeme.io).
  Classe à réutiliser telle quelle pour tout futur bouton pointant vers
  un tunnel : ex. <a class="btn btn-primary btn-tunnel" href="[URL_TUNNEL_SYSTEME_IO]">
  Voir README.md, section "Brancher un tunnel Systeme.io".
*/
.btn-tunnel { background: var(--white); color: var(--navy); }
.btn-tunnel:hover { background: var(--gold); color: var(--navy-3); }

/* ---------- Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,29,61,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

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

.logo-link { display: flex; align-items: center; height: 100%; }
.logo-img { height: 52px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.86rem;
  font-weight: 500;
}
.nav-links a { color: var(--ink-muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--white); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy-3);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-tint { background: var(--navy-2); }
.section-dark { background: var(--navy-3); }

.hero {
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
}

.hero-motif { max-width: 380px; margin: 0 auto; }

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

/* ---------- Grilles de contenu ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.pillar {
  border-top: 3px solid var(--gold);
  padding-top: 20px;
}
.pillar .num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}
.pillar p { color: var(--ink-muted); }

.tag-pill {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 999px;
}

.list-clean { list-style: none; margin: 0 0 18px; padding: 0; }
.list-clean li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.list-clean li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

blockquote {
  margin: 0;
  padding: 28px 32px;
  background: var(--navy-2);
  border-left: 3px solid var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-3);
  color: var(--ink-muted);
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 340px; }
.footer-brand .logo-img { height: 40px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: #7C8AA0;
}

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.88rem; color: var(--ink-muted); }
