/* Club 60+ — design tokens v1.1 « Cabinet privé » (2026-08-12)
   Sérieux / exclusif, pas bling. Navy encre + bronze mat. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
  /* Palette retenue Board-facing: exclusive, calme */
  --navy: #0F2439;       /* encre / midnight — plus profond que v1 */
  --navy-deep: #0A1A2A;
  --navy-mid: #1A3550;
  --cream: #F2EFE8;      /* ivoire discret, moins jaune */
  --paper: #FCFAF6;
  --ink: #1A1D21;
  --ink-soft: #5A6169;
  --gold: #9C8560;       /* bronze mat — pas or bijou */
  --gold-soft: #EDE6D6;  /* champagne très soft */
  --success: #2C5F4A;
  --alert: #7A3E3E;      /* bordeaux discret pour −50 % */
  --line: #DDD6C8;
  --sky: #E6EEF4;        /* bleu brume, pas cyan */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 32px rgba(10, 26, 42, 0.07);
  --shadow-btn: 0 2px 0 var(--navy-deep);
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

/* —— Topbar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-sans);
  box-shadow: 0 2px 12px rgba(18, 40, 63, 0.25);
}

.topbar .logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin-right: 0.35rem;
  white-space: nowrap;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.topbar a:active { background: rgba(255, 255, 255, 0.22); }
.topbar a.home {
  background: #fff;
  color: var(--navy);
}
.topbar a.is-active {
  background: var(--gold);
  color: var(--navy-deep);
}
.topbar .cur {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* —— Shell —— */
.shell {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1rem 3.5rem;
}

.card-page {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-top: 1rem;
  overflow: hidden;
}

/* —— Hero —— */
.hero {
  padding: 1.65rem 1.4rem 1.45rem;
  background:
    linear-gradient(168deg, #0F2439 0%, #152D46 48%, #0F2439 100%);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: #EDE6D6;
  border: 1px solid rgba(156, 133, 96, 0.65);
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 5.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: #fff;
}

.hero .lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28rem;
}

.hero .meta {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

/* —— Content —— */
.content {
  padding: 1.35rem 1.35rem 1.75rem;
}

.content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold-soft);
}

.content h2:first-child { margin-top: 0.25rem; }

.content h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 1.35rem 0 0.55rem;
}

.content p { margin: 0.65rem 0; }
.content strong { font-weight: 700; color: var(--ink); }

.content ul, .content ol {
  margin: 0.6rem 0 1rem;
  padding-left: 0;
  list-style: none;
}

.check-list li,
.content ul.scripts li {
  position: relative;
  padding: 0.85rem 0.9rem 0.85rem 2.75rem;
  margin-bottom: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--navy);
  border-radius: 5px;
  background: #fff;
}

.num-list { counter-reset: n; }
.num-list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 3.1rem;
  margin-bottom: 0.55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.num-list li::before {
  counter-increment: n;
  content: counter(n);
  position: absolute;
  left: 0.75rem;
  top: 0.85rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule-box {
  margin: 1.1rem 0;
  padding: 1.1rem 1.15rem;
  background: var(--sky);
  border-left: 5px solid var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.rule-box p { margin: 0.35rem 0; }
.rule-box .big {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.script-box {
  margin: 0.55rem 0;
  padding: 0.95rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 600;
  line-height: 1.4;
}

.note {
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.disclaimer {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* —— Price card —— */
.price-card {
  margin: 1.25rem 0 0.5rem;
  padding: 1.35rem 1.2rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card .pct {
  display: inline-block;
  background: var(--navy);
  color: #EDE6D6;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  border: 1px solid var(--gold);
}

.price-card .was {
  display: block;
  font-size: 1.15rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-bottom: 0.15rem;
}

.price-card .now {
  display: block;
  font-size: 2.65rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.price-card .label {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-mid);
}

.cta {
  display: block;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  text-decoration: none;
  background: var(--navy);
  color: #fff !important;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  box-shadow: var(--shadow-btn);
  min-height: 52px;
}
.cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--navy-deep);
}

.footer-doc {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

/* —— Index menu —— */
.menu-page header.hero-index {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem 1.25rem 1.5rem;
}
.menu-page header .brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}
.menu-page header h1 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  margin: 0.4rem 0 0;
  line-height: 1.25;
}
.menu-wrap {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1.15rem 3rem;
}
.hint {
  background: var(--gold-soft);
  border: 1px solid #e0d0a0;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}
.menu { display: flex; flex-direction: column; gap: 0.85rem; }
.menu a {
  display: block;
  text-decoration: none;
  color: #fff;
  background: var(--navy);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-btn);
}
.menu a:active { transform: translateY(2px); }
.menu a .code {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(196, 163, 90, 0.3);
  color: #F3EBD4;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
}
.menu a .title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 0.45rem;
  line-height: 1.3;
}
.menu a .sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}
.menu a.secondary {
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}
.menu a.secondary .code {
  background: var(--gold-soft);
  color: var(--navy);
}

/* Free → paid compare (A0 bascule) */
.compare {
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 280px;
}
.compare th,
.compare td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}
.compare th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.compare th:last-child {
  background: #1a3550;
}
.compare tr:last-child td {
  border-bottom: none;
}
.compare td:last-child {
  background: var(--gold-soft);
  font-weight: 600;
  color: var(--navy);
}
.compare td:first-child {
  color: var(--ink-soft, #5a6169);
  width: 48%;
}

/* A1 long-form extras */
.section-card {
  margin: 1rem 0;
  padding: 1rem 1.05rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.piege-title {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
hr.soft {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.75rem 0;
}
