/* ==========================================================================
   Tresorix — feuille de style de l'application
   Reprend l'identité du tableau de bord : encre bleu nuit, accent sarcelle,
   chiffres en police à chasse fixe. Aucune dépendance, aucun build : le
   déploiement n'a jamais besoin de Node.
   ========================================================================== */

:root {
  --forest-dark: #073F37;
  --forest-deep: #052F29;
  --forest-darker: #042823;
  --lime: #A7EE61;
  --lime-hover: #96E24E;
  --cream: #F7F6EF;
  --cream-dark: #ECEBE0;
  --surface: #FFFFFF;
  --text-dark: #10231F;
  --text-body: #324440;
  --text-muted: #65706C;
  --border-light: #E2E8E4;
  --border-dark: rgba(255, 255, 255, 0.12);

  --ink: #0B1220;
  --ink-2: #141F33;
  --ink-3: #1C2A45;
  --paper: #F4F6F7;
  --surface-2: #EDF2F1;
  --text: #10231F;
  --text-soft: #5C6B66;
  --muted: #65706C;
  --line: #E2E8E4;
  --line-soft: #ECEBE0;
  --accent: #073F37;
  --accent-dark: #052F29;
  --accent-soft: #E4F3F2;
  --positive: #1E8E5A;
  --positive-soft: #E7F5EE;
  --warning: #8A5B00;
  --warning-soft: #FBF1DE;
  --negative: #B23A33;
  --negative-soft: #FBEAE9;
  --sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --radius: 12px;
  --shadow-sm: 0 2px 4px rgba(7, 63, 55, 0.04);
  --shadow: 0 10px 30px rgba(7, 63, 55, 0.08);
  --wrap: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4 { color: var(--text-dark); margin: 0; line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: 44px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 14px; color: var(--text-muted); }
a { color: var(--forest-dark); text-decoration: none; }
small { font-size: 12.5px; }
code, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- 1. Utility Bar ---------- */
.utility-bar {
  background: var(--lime);
  color: var(--forest-dark);
  font-size: 12px;
  font-weight: 600;
  height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(7, 63, 55, 0.1);
}
.utility-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.utility-bar-left, .utility-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.utility-badge { font-weight: 700; letter-spacing: 0.2px; }
.utility-dot { opacity: 0.6; }
.utility-sep { opacity: 0.3; margin: 0 4px; }
.utility-bar a { color: var(--forest-dark); text-decoration: none; font-weight: 600; }
.utility-bar a:hover { text-decoration: underline; }
.utility-lang {
  background: var(--forest-dark);
  color: var(--lime);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- 2. En-tête public ---------- */
.site-header {
  background: var(--forest-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky; top: 0; z-index: 50;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  background: var(--lime); color: var(--forest-dark);
  font-family: var(--mono); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(167, 238, 97, 0.3);
}
.brand-name { font-weight: 800; color: #FFFFFF; font-size: 20px; letter-spacing: -0.5px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.site-nav a:not(.btn) { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.15s ease; }
.site-nav a:not(.btn):hover { color: var(--lime); }
.site-nav .nav-login { color: rgba(255, 255, 255, 0.9); margin-right: 4px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 24px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; padding: 12px 22px;
  text-decoration: none; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary { background: var(--forest-dark); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); }
.btn-lime,
.site-nav .btn-lime {
  background: var(--lime) !important;
  color: var(--forest-dark) !important;
  border-color: var(--lime) !important;
  box-shadow: 0 4px 14px rgba(167, 238, 97, 0.25);
  font-weight: 700;
  text-decoration: none;
}
.btn-lime:hover,
.site-nav .btn-lime:hover {
  background: var(--lime-hover) !important;
  border-color: var(--lime-hover) !important;
  color: var(--forest-dark) !important;
  transform: translateY(-1px);
}
.btn-lime span,
.site-nav .btn-lime span {
  color: var(--forest-dark) !important;
}
.btn-lime .btn-arrow-icon,
.site-nav .btn-lime .btn-arrow-icon {
  color: var(--forest-dark) !important;
  background: rgba(7, 63, 55, 0.15);
}
.btn-outline-light { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); color: #FFFFFF; }
.btn-backoffice { background: rgba(255, 255, 255, 0.14) !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, 0.32) !important; font-weight: 600; text-decoration: none; }
.btn-backoffice:hover { background: rgba(255, 255, 255, 0.24) !important; border-color: rgba(255, 255, 255, 0.6) !important; color: #FFFFFF !important; transform: translateY(-1px); }
.btn-outline { background: var(--surface); border-color: var(--border-light); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--forest-dark); color: var(--forest-dark); background: rgba(7, 63, 55, 0.03); }
.btn-arrow-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(7, 63, 55, 0.15); font-size: 12px; transition: transform 0.15s ease;
}
.btn-lime:hover .btn-arrow-icon { transform: translateX(2px); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 20px; }
.btn-nav { padding: 9px 18px; font-size: 13.5px; border-radius: 22px; }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Formulaires ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); font-family: inherit; font-size: 14.5px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent-soft); border-color: var(--accent); outline-offset: 0;
}
.field-error { color: var(--negative); font-size: 12.5px; margin-top: 5px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-soft); }
.checkline input { margin-top: 3px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Cartes et blocs ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card-pad { padding: 22px; }
.card-head {
  padding: 16px 22px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px;
}
.card-head h3 { font-size: 15px; }
.card-head .spacer { margin-left: auto; }

.alert { border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; border: 1px solid transparent; }
.alert-success { background: var(--positive-soft); color: #12603c; border-color: #bfe3d0; }
.alert-warning { background: var(--warning-soft); color: var(--warning); border-color: #ecd9ae; }
.alert-error { background: var(--negative-soft); color: var(--negative); border-color: #f0c8c5; }
.alert-info { background: var(--accent-soft); color: var(--accent-dark); border-color: #bfe0de; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}
.badge-positive { background: var(--positive-soft); color: var(--positive); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-negative { background: var(--negative-soft); color: var(--negative); }
.badge-neutral { background: var(--surface-2); color: var(--muted); }
.badge-accent { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th {
  text-align: left; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase;
  letter-spacing: .5px; color: var(--muted); padding: 10px 14px;
  border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2);
}
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data td.right, table.data th.right { text-align: right; }
table.data .sub { display: block; color: var(--muted); font-size: 12px; }
.empty { padding: 34px 22px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- 3. Hero Section (Blueprint Replica) ---------- */
.hero-biztop {
  background: var(--forest-dark);
  color: #FFFFFF;
  padding: 64px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.rating-num { font-family: var(--mono); font-weight: 700; color: var(--lime); }
.rating-stars { color: var(--lime); letter-spacing: 2px; }
.rating-text { color: rgba(255, 255, 255, 0.85); font-size: 12.5px; }

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 22px;
}
.text-lime { color: var(--lime); }

.hero-lede {
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-subcallout {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.hero-photo-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-photo-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 63, 55, 0.4) 0%, rgba(7, 63, 55, 0) 40%);
  pointer-events: none;
}
.hero-floating-widget {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 63, 55, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(167, 238, 97, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  max-width: 280px;
}
.fw-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--lime); }
.fw-value { font-family: var(--mono); font-size: 24px; font-weight: 800; margin: 4px 0 2px; color: #FFFFFF; }
.fw-delta { font-size: 12px; color: #6EE7B7; font-weight: 600; }

/* ---------- 4. Sections Layout ---------- */
.section-cream { background: var(--cream); padding: 96px 0; }
.section-white { background: #FFFFFF; padding: 96px 0; }
.section-dark { background: var(--forest-dark); color: #FFFFFF; padding: 96px 0; }

.section-eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--forest-dark);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.section-eyebrow.light { color: var(--lime); }
.section-eyebrow-star { color: var(--lime); }

.section-head-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: flex-end; margin-bottom: 56px;
}
.section-head-split h2 { font-size: 36px; color: var(--text-dark); }
.section-head-split p { font-size: 16.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- Modules Section (3 Cards Blueprint) ---------- */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module-card {
  border-radius: 14px; padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.module-card:hover { transform: translateY(-4px); }

.module-card-white { background: #FFFFFF; border: 1px solid var(--border-light); box-shadow: 0 4px 20px rgba(7, 63, 55, 0.04); }
.module-card-lime { background: var(--lime); color: var(--forest-dark); box-shadow: 0 8px 28px rgba(167, 238, 97, 0.25); }
.module-card-dark { background: var(--forest-dark); color: #FFFFFF; box-shadow: 0 10px 30px rgba(7, 63, 55, 0.2); }

.mc-icon-box {
  width: 44px; height: 44px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; font-size: 20px; margin-bottom: 24px;
}
.mc-icon-white { background: var(--cream); color: var(--forest-dark); }
.mc-icon-lime { background: rgba(7, 63, 55, 0.12); color: var(--forest-dark); }
.mc-icon-dark { background: rgba(255, 255, 255, 0.12); color: var(--lime); }

.mc-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.module-card-dark .mc-title { color: #FFFFFF; }
.module-card-lime .mc-title { color: var(--forest-dark); }

.mc-subtitle { font-size: 14.5px; font-weight: 700; margin-bottom: 16px; opacity: 0.9; }
.module-card-white .mc-subtitle { color: var(--forest-dark); }
.module-card-lime .mc-subtitle { color: #164037; }
.module-card-dark .mc-subtitle { color: var(--lime); }

.mc-desc { font-size: 14px; line-height: 1.6; margin-bottom: 24px; flex: 1 0 auto; }
.module-card-white .mc-desc { color: var(--text-muted); }
.module-card-lime .mc-desc { color: #1C3631; }
.module-card-dark .mc-desc { color: rgba(255, 255, 255, 0.8); }

.mc-list { list-style: none; padding: 0; margin: 0 0 28px; }
.mc-list li { font-size: 13.5px; font-weight: 600; padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.module-card-white .mc-list li { color: var(--text-dark); }
.module-card-lime .mc-list li { color: var(--forest-dark); }
.module-card-dark .mc-list li { color: rgba(255, 255, 255, 0.95); }

.mc-btn { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 20px; transition: all 0.15s ease; text-decoration: none; }
.mc-btn-outline { background: var(--cream); color: var(--forest-dark); border: 1px solid var(--border-light); }
.mc-btn-outline:hover { background: var(--border-light); }
.mc-btn-dark { background: var(--forest-dark); color: #FFFFFF; }
.mc-btn-dark:hover { background: var(--forest-deep); }
.mc-btn-lime { background: var(--lime); color: var(--forest-dark); }
.mc-btn-lime:hover { background: var(--lime-hover); }

/* ---------- 5. Who We Are / Editorial Proof Section ---------- */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.who-photo-comp { display: flex; flex-direction: column; gap: 16px; }
.who-img-frame { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 36px rgba(7, 63, 55, 0.12); }
.who-main-img { width: 100%; height: 310px; object-fit: cover; display: block; }
.who-badge-overlay { position: absolute; bottom: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(7, 63, 55, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.who-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.who-sub-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.who-mini-lime { background: var(--lime); border-radius: 12px; padding: 20px; color: var(--forest-dark); display: flex; flex-direction: column; justify-content: center; }
.who-mini-val { font-family: var(--mono); font-size: 32px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.who-mini-lbl { font-size: 13px; font-weight: 700; line-height: 1.3; }
.who-mini-sub { background: var(--cream); border: 1px solid var(--border-light); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.who-sub-img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.who-sub-text { font-size: 12.5px; color: var(--text-dark); }
.who-rating-val { font-family: var(--mono); font-weight: 800; font-size: 16px; color: var(--forest-dark); }

.who-content h2 { font-size: 34px; margin-bottom: 20px; }
.who-content p { font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
.who-publisher { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-top: 14px; }
.who-pub-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.who-metrics-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.who-metric-card { background: var(--cream); padding: 14px 18px; border-radius: 10px; border: 1px solid var(--border-light); }
.wm-val { font-family: var(--mono); font-size: 20px; font-weight: 800; color: var(--forest-dark); }
.wm-lbl { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* ---------- 6. Product Suite Feature Showcases ---------- */
.features-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.features-head h2 { font-size: 36px; margin-bottom: 16px; }
.features-head p { font-size: 16.5px; }

.feature-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.fs-card { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: 14px; padding: 26px 28px; display: flex; flex-direction: column; position: relative; box-shadow: 0 4px 20px rgba(7, 63, 55, 0.04); }
.fs-eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--forest-dark); letter-spacing: 1px; margin-bottom: 6px; }
.fs-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); line-height: 1.3; }
.fs-desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

.fs-widget-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: auto; }
.fs-widget-table th { text-align: left; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--text-muted); padding: 7px 10px; border-bottom: 1px solid var(--border-light); background: var(--cream); letter-spacing: 0.5px; }
.fs-widget-table td { padding: 7px 10px; border-bottom: 1px solid var(--border-light); }
.fs-table-total-row td { background: rgba(7, 63, 55, 0.03); border-top: 1.5px solid var(--forest-dark); border-bottom: none; padding-top: 8px; padding-bottom: 8px; }

.fs-card-footer-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-muted); padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--border-light); }
.fs-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #1E8E5A; display: inline-block; box-shadow: 0 0 0 2px rgba(30, 142, 90, 0.2); animation: fsPulse 2s infinite; }
@keyframes fsPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.fs-pill-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #EAF8D9; border: 1px solid #B5ED6C; color: #174823; }
.fs-forecast-box { background: #FAF9F5; border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 14px 10px; margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.fs-forecast-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(7, 63, 55, 0.07); }
.fs-forecast-kpi-val { font-family: var(--mono); font-size: 13.5px; font-weight: 800; color: var(--forest-dark); }
.fs-forecast-kpi-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; margin-left: 4px; }

.fs-chart-area { position: relative; height: 110px; display: flex; flex-direction: column; justify-content: flex-end; }
.fs-chart-threshold-line { position: absolute; top: 40%; left: 0; right: 0; border-top: 1px dashed rgba(178, 58, 51, 0.4); z-index: 1; pointer-events: none; }
.fs-chart-threshold-tag { position: absolute; right: 2px; top: -14px; font-family: var(--mono); font-size: 9px; color: var(--negative); background: #FFF5F5; padding: 1px 4px; border-radius: 4px; border: 1px solid rgba(178, 58, 51, 0.2); }
.fs-chart-svg { position: absolute; top: 0; left: 0; width: 100%; height: 85px; pointer-events: none; z-index: 2; }

.fs-bars-track-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 95px; position: relative; z-index: 3; }
.fs-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.fs-bar-amt { font-family: var(--mono); font-size: 9px; font-weight: 700; color: var(--forest-dark); white-space: nowrap; }
.fs-bar-track { width: 100%; max-width: 24px; height: 68px; background: rgba(7, 63, 55, 0.05); border-radius: 4px 4px 0 0; display: flex; align-items: flex-end; overflow: hidden; }
.fs-bar-fill { width: 100%; background: linear-gradient(180deg, #136255 0%, var(--forest-dark) 100%); border-radius: 4px 4px 0 0; }
.fs-bar-fill.lime { background: linear-gradient(180deg, #B5F767 0%, #87D735 100%); }
.fs-bar-lbl { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--text-muted); margin-top: 2px; }

.fs-forecast-footer-info { display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding-top: 6px; border-top: 1px solid rgba(7, 63, 55, 0.07); }
.fs-f-safe { display: inline-flex; align-items: center; gap: 5px; color: var(--positive); font-weight: 600; font-size: 11px; }

.fs-ccc-diagram { background: #FAF9F5; border: 1px solid var(--border-light); border-radius: 12px; padding: 12px 14px 10px; margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.fs-ccc-step { display: flex; flex-direction: column; gap: 3px; }
.fs-ccc-step-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.fs-ccc-step-title { font-weight: 700; color: var(--forest-dark); font-size: 11px; }
.fs-ccc-step-sub { font-size: 10px; color: var(--text-muted); font-family: var(--mono); }
.fs-ccc-bar-track { width: 100%; height: 22px; border-radius: 5px; display: flex; overflow: hidden; background: #E9ECE9; }
.fs-ccc-seg { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10px; font-weight: 700; height: 100%; white-space: nowrap; padding: 0 4px; }
.fs-ccc-seg.dio { background: #EED8B5; color: #6E3F05; border-right: 1px solid rgba(255, 255, 255, 0.4); }
.fs-ccc-seg.dso { background: var(--forest-dark); color: #FFFFFF; }
.fs-ccc-seg.dpo { background: #405753; color: #FFFFFF; }
.fs-ccc-seg.gap { background: repeating-linear-gradient(45deg, rgba(167, 238, 97, 0.25), rgba(167, 238, 97, 0.25) 5px, rgba(167, 238, 97, 0.08) 5px, rgba(167, 238, 97, 0.08) 10px); color: var(--forest-dark); font-size: 9.5px; font-weight: 700; font-family: var(--mono); }

.fs-ccc-gap-banner { display: flex; align-items: center; justify-content: space-between; background: #EFFADF; border: 1px solid #B8EE74; border-radius: 7px; padding: 5px 8px; font-size: 11px; }
.fs-ccc-gap-tag { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #164724; font-size: 11px; }
.fs-ccc-gap-val { font-family: var(--mono); font-weight: 800; color: #0C3619; font-size: 11.5px; }

.fs-ccc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 2px; }
.fs-ccc-kpi-item { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: 8px; padding: 5px 4px; text-align: center; }
.fs-ccc-kpi-val { font-family: var(--mono); font-size: 13.5px; font-weight: 800; color: var(--forest-dark); line-height: 1.1; }
.fs-ccc-kpi-lbl { font-size: 9px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.fs-ccc-kpi-item.highlight { background: var(--lime); border-color: #8FD83B; }
.fs-ccc-kpi-item.highlight .fs-ccc-kpi-val { color: #0C3619; }
.fs-ccc-kpi-item.highlight .fs-ccc-kpi-lbl { color: #0C3619; font-weight: 700; }

.fs-fx-box { background: #FAF9F5; border: 1px solid var(--border-light); border-radius: 10px; padding: 9px 11px; margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.fs-fx-header { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.fs-fx-title { font-weight: 700; color: var(--forest-dark); }
.fs-fx-rate { font-family: var(--mono); font-weight: 700; color: var(--positive); }
.fs-fx-bar { width: 100%; height: 6px; background: rgba(7, 63, 55, 0.08); border-radius: 999px; overflow: hidden; display: flex; }
.fs-fx-bar-fill { height: 100%; background: linear-gradient(90deg, #1E8E5A 0%, var(--lime) 100%); border-radius: 999px; }

/* ---------- 7. Solutions Section (Two Ways of Working) ---------- */
.solutions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.solution-card { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 24px rgba(7, 63, 55, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(7, 63, 55, 0.1); }
.solution-img { width: 100%; height: 230px; object-fit: cover; }
.solution-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.solution-title { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.solution-desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 24px; flex: 1; }
.solution-cta { align-self: flex-start; font-weight: 700; color: var(--forest-dark); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.solution-cta:hover { color: var(--forest-deep); text-decoration: underline; }

/* ---------- 8. Tarifs (Pricing Section) ---------- */
.pricing-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.pricing-head h2 { font-size: 34px; margin-bottom: 12px; }
.pricing-head p { font-size: 16px; }

.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1024px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }

.plan { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.plan:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(7, 63, 55, 0.08); }
.plan.featured { border-color: var(--forest-dark); box-shadow: 0 0 0 2px var(--forest-dark), 0 12px 32px rgba(7, 63, 55, 0.12); background: #FFFFFF; }
.plan-badge { position: absolute; top: -12px; right: 20px; background: var(--lime); color: var(--forest-dark); font-family: var(--mono); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 12px; text-transform: uppercase; }

.plan .plan-name { font-weight: 800; color: var(--forest-dark); font-size: 20px; }
.plan .plan-tagline { font-size: 13px; color: var(--text-muted); margin-top: 4px; min-height: 36px; }
.plan .plan-price { font-family: var(--mono); font-size: 32px; font-weight: 800; color: var(--forest-dark); margin: 16px 0 2px; letter-spacing: -1px; }
.plan .plan-period { font-size: 12.5px; color: var(--text-muted); min-height: 20px; }
.plan ul { list-style: none; margin: 20px 0; padding: 0; flex: 1; }
.plan li { font-size: 13.5px; color: var(--text-dark); padding: 6px 0 6px 20px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--forest-dark); font-weight: 800; font-size: 12px; }
.plan .plan-cta { margin-top: auto; }

/* ---------- 9. Final CTA Banner ---------- */
.cta-banner { background: var(--forest-dark); color: #FFFFFF; padding: 80px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.cta-banner-box { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-banner h2 { font-size: 38px; color: #FFFFFF; margin-bottom: 18px; }
.cta-banner p { font-size: 17px; color: rgba(255, 255, 255, 0.82); margin-bottom: 32px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--forest-darker); color: rgba(255, 255, 255, 0.7); padding: 64px 0 36px; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.footer-desc { color: rgba(255, 255, 255, 0.75); font-size: 13.5px; line-height: 1.6; max-width: 300px; }
.footer-publisher-badge { display: inline-block; margin-top: 12px; padding: 4px 10px; background: rgba(255, 255, 255, 0.06); border-radius: 6px; font-size: 11.5px; font-weight: 600; color: var(--lime); }
.site-footer h4 { color: #FFFFFF; font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; font-family: var(--mono); margin-bottom: 16px; font-weight: 700; }
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; display: block; padding: 5px 0; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--lime); }
.site-footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12.5px; color: rgba(255, 255, 255, 0.5); line-height: 1.6; }

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1024px) {
  .hero-title { font-size: 38px; }
  .section-head-split { grid-template-columns: 1fr; gap: 16px; }
  .modules-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-showcase-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .utility-bar-left span:nth-child(n+4) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo-img { height: 320px; }
  .hero-title { font-size: 32px; }
  .site-nav { gap: 14px; }
  .site-nav a:not(.btn) { display: none; }
  .who-sub-grid { grid-template-columns: 1fr; }
}

/* ---------- Espace client (abonnement, compte, paiement) ---------- */
.app-header { background: var(--forest-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: sticky; top: 0; z-index: 50; }
.app-header .bar { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.app-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.app-nav a { color: rgba(255, 255, 255, 0.78); font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 20px; transition: background 0.15s ease, color 0.15s ease; }
.app-nav a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }
.app-nav a.active { color: var(--forest-dark); background: var(--lime); }
.app-nav form { margin: 0 0 0 6px; }
.app-header .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.22); }
.app-header .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.app-main { padding: 32px 0 72px; }

.app-main .page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.app-main .page-head h1 { font-size: 28px; margin-bottom: 4px; }
.app-main .page-head p { margin: 0; font-size: 14.5px; }
.app-main .page-head .spacer { flex: 1; }

.app-main .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 1024px) { .app-main .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .app-main .stat-row { grid-template-columns: 1fr; } }
.app-main .stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 20px; display: flex; flex-direction: column; min-width: 0; }
.app-main .stat .k { font-family: var(--mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
.app-main .stat .v { font-size: 22px; font-weight: 800; color: var(--forest-dark); margin: 6px 0 4px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.app-main .stat .d { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: auto; }

.app-main .split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
@media (max-width: 960px) { .app-main .split { grid-template-columns: 1fr; } }
.app-main .stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.app-main .card-head { flex-wrap: wrap; }
.app-main .card-pad > h3 { font-size: 16px; margin-bottom: 6px; }
.app-main .card-pad > h3 + .small { margin-top: 0; }

.app-main .inline-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-main .inline-form select, .app-main .inline-form input[type=text] { width: auto; }
.app-main .row-actions { display: flex; gap: 8px; justify-content: flex-end; white-space: nowrap; }
.app-main .usage-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; }
.app-main .usage-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; color: var(--text-soft); border-bottom: 1px dashed var(--line-soft); }
.app-main .usage-list li:last-child { border-bottom: none; }
.app-main .usage-list strong { font-family: var(--mono); color: var(--forest-dark); white-space: nowrap; }

/* Essai gratuit : décompte bien visible en tête de la page abonnement */
.app-main .trial-panel { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--forest-dark); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--shadow); }
.app-main .trial-panel .tp-count { font-family: var(--mono); font-size: 52px; font-weight: 800; color: var(--lime); line-height: 1; text-align: center; min-width: 96px; }
.app-main .trial-panel .tp-count small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 8px; }
.app-main .trial-panel .tp-title { font-size: 18px; font-weight: 800; color: #FFFFFF; margin-bottom: 4px; }
.app-main .trial-panel p { color: rgba(255, 255, 255, 0.8); font-size: 14px; margin: 0 0 14px; }
.app-main .trial-panel .tp-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.app-main .trial-panel .tp-bar > div { height: 100%; border-radius: 4px; background: var(--lime); }
.app-main .trial-panel .tp-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.6); margin-top: 8px; }
.app-main .trial-panel.ending .tp-count { color: #F5C26B; }
.app-main .trial-panel.ending .tp-bar > div { background: #F5C26B; }
@media (max-width: 640px) { .app-main .trial-panel { grid-template-columns: 1fr; gap: 16px; } .app-main .trial-panel .tp-count { text-align: left; } }

.app-main .kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.app-main .kv dt { color: var(--muted); }
.app-main .kv dd { margin: 0; color: var(--text); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.app-main .code-list { columns: 2; list-style: none; padding: 0; margin: 12px 0 0; font-family: var(--mono); font-size: 14px; }
.app-main .code-list li { padding: 3px 0; }
.app-main .qr-block { display: inline-block; padding: 12px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; margin: 12px 0; }
.app-main .qr-block svg { display: block; }
.app-main .plan-cta form { margin: 0; }

/* ---------- Pages d'authentification (connexion, inscription, mot de passe) ---------- */
.auth-body { background: var(--cream); color: var(--text-dark); min-height: 100vh; margin: 0; }
.auth-split { display: grid; grid-template-columns: minmax(400px, 0.85fr) 1.15fr; min-height: 100vh; }

.auth-aside {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 40px 52px; background: var(--forest-dark); color: #FFFFFF;
}
.auth-aside::before,
.auth-aside::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.auth-aside::before { width: 560px; height: 560px; right: -220px; top: -200px; background: radial-gradient(circle, rgba(167, 238, 97, 0.20), transparent 65%); }
.auth-aside::after { width: 420px; height: 420px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(167, 238, 97, 0.10), transparent 65%); }
.auth-aside > * { position: relative; }
.auth-aside-body { max-width: 440px; }
.auth-eyebrow {
  display: inline-block; margin-bottom: 20px; padding: 5px 12px; border-radius: 20px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--lime); background: rgba(167, 238, 97, 0.12); border: 1px solid rgba(167, 238, 97, 0.28);
}
.auth-aside h2 { color: #FFFFFF; font-size: 34px; line-height: 1.15; margin-bottom: 14px; }
.auth-aside p { color: rgba(255, 255, 255, 0.78); font-size: 15.5px; margin-bottom: 30px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, 0.82); font-size: 14.5px; line-height: 1.5; }
.auth-points strong { color: #FFFFFF; }
.auth-points .point-icon {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--lime); color: var(--forest-dark);
}
.auth-aside-foot { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.auth-aside-foot a { color: rgba(255, 255, 255, 0.72); }
.auth-aside-foot a:hover { color: var(--lime); }

.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px 24px 48px; min-width: 0; }
.auth-top-bar { width: 100%; max-width: var(--auth-card-max, 440px); display: flex; align-items: center; justify-content: space-between; }
.auth-top-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--forest-dark); }
.auth-top-link:hover { text-decoration: underline; }
.auth-card {
  width: 100%; max-width: var(--auth-card-max, 440px); background: #FFFFFF;
  border: 1px solid var(--border-light); border-radius: 18px; padding: 36px;
  box-shadow: 0 24px 60px rgba(7, 63, 55, 0.10);
}
.auth-head { margin-bottom: 26px; }
.auth-head h1 { font-size: 26px; color: var(--forest-dark); margin-bottom: 6px; }
.auth-head p { font-size: 14.5px; color: var(--text-muted); margin: 0; }
.auth-brand-mobile { display: none; margin-bottom: 18px; }
.auth-brand-mobile .brand-name { color: var(--forest-dark); }

.auth-card label { font-size: 13.5px; font-weight: 700; color: var(--forest-dark); }
.auth-card .checkline label { font-weight: 500; color: var(--text-body); margin: 0; }
.auth-card .checkline label a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-card input[type=text], .auth-card input[type=email], .auth-card input[type=password],
.auth-card input[type=number], .auth-card input[type=tel], .auth-card select {
  border: 1px solid var(--border-light); border-radius: 10px; padding: 11px 14px; font-size: 14.5px; background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-card input::placeholder { color: #A3ADA9; }
.auth-card input:focus, .auth-card select:focus { border-color: var(--forest-dark); outline: none; box-shadow: 0 0 0 3px rgba(167, 238, 97, 0.45); }
.auth-card .btn-primary {
  background: var(--lime); color: var(--forest-dark); border-color: var(--lime);
  font-weight: 800; font-size: 15px; padding: 13px 20px; box-shadow: 0 6px 18px rgba(167, 238, 97, 0.35);
}
.auth-card .btn-primary:hover { background: var(--lime-hover); color: var(--forest-dark); transform: translateY(-1px); }
.auth-card .btn-primary:disabled { transform: none; }
.auth-card .btn-ghost { background: transparent; color: var(--forest-dark); border-color: var(--border-light); }
.auth-card .btn-ghost:hover { border-color: var(--forest-dark); }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.label-row label { margin: 0; }
.label-row a { font-size: 13px; font-weight: 600; }
.label-row a:hover { text-decoration: underline; }
.auth-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-light); font-size: 13.5px; color: var(--text-muted); text-align: center; }
.auth-foot a { font-weight: 700; color: var(--forest-dark); }
.auth-foot a:hover { text-decoration: underline; }
.otp-input { font-family: var(--mono) !important; font-size: 22px !important; letter-spacing: 8px; text-align: center; }

/* Choix sous forme de cartes (type de compte, offre) */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-card {
  position: relative; display: block; padding: 14px 16px; cursor: pointer;
  border: 1.5px solid var(--border-light); border-radius: 12px; background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.auth-card .choice-card { font-weight: 400; color: var(--text-body); }
.choice-card:hover { border-color: rgba(7, 63, 55, 0.4); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card:has(input:checked) { border-color: var(--forest-dark); background: rgba(167, 238, 97, 0.10); box-shadow: 0 0 0 3px rgba(167, 238, 97, 0.35); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--forest-dark); outline-offset: 2px; }
.choice-card .cc-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 15px; color: var(--forest-dark); }
.choice-card .cc-check { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-light); background: #FFFFFF; }
.choice-card:has(input:checked) .cc-check {
  border-color: var(--forest-dark);
  background: var(--forest-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A7EE61' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.choice-card .cc-text { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.45; }
.choice-card .cc-price { display: block; margin-top: 8px; font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--forest-dark); }
.choice-card .cc-price small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--text-muted); }
.signup-recap { margin: 18px 0 4px; padding: 14px 16px; border-radius: 12px; background: var(--cream); border: 1px solid var(--cream-dark); font-size: 13.5px; }
.signup-recap dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; }
.signup-recap dt { color: var(--text-muted); }
.signup-recap dd { margin: 0; font-weight: 700; color: var(--forest-dark); overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-brand-mobile { display: inline-flex; }
  .auth-head { text-align: center; }
}
@media (max-width: 560px) {
  .auth-main { padding: 18px 14px 32px; }
  .auth-card { padding: 26px 20px; border-radius: 14px; }
  .choice-grid { grid-template-columns: 1fr; }
}

/* ---------- Champs mot de passe (œil, règles, Verr. Maj) ---------- */
.password-field { position: relative; }
.password-field input { padding-right: 48px !important; }
.password-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--text-muted); cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.password-toggle:hover { color: var(--forest-dark); background: rgba(7, 63, 55, 0.06); }
.password-toggle:focus-visible { outline: 2px solid var(--forest-dark); outline-offset: 1px; }
.password-toggle .icon-eye-off,
.password-toggle.is-visible .icon-eye { display: none; }
.password-toggle.is-visible .icon-eye-off { display: block; }
.password-toggle.is-visible { color: var(--forest-dark); }
.caps-warning { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--warning); }
.caps-warning[hidden], .password-match[hidden] { display: none; }
.strength-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
.strength-meter span { height: 4px; border-radius: 2px; background: var(--border-light); transition: background 0.2s ease; }
.strength-meter[data-level="1"] span:first-child { background: #D9534F; }
.strength-meter[data-level="2"] span:nth-child(-n+2) { background: #E0A030; }
.strength-meter[data-level="3"] span { background: var(--positive); }
.password-rules { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--text-muted); }
.password-rules li { display: flex; align-items: center; gap: 6px; transition: color 0.15s ease; }
.password-rules li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #C9D2CE; box-sizing: border-box; }
.password-rules li.is-met { color: var(--positive); }
.password-rules li.is-met::before {
  border-color: var(--positive);
  background: var(--positive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.password-match { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--warning); }
.password-match.is-met { color: var(--positive); }

input.is-invalid, select.is-invalid { border-color: var(--negative) !important; background-color: #FFF8F7 !important; }
.btn-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tx-spin 0.7s linear infinite; }
.btn.is-loading { cursor: progress; opacity: 0.9; }
@keyframes tx-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-spinner { animation-duration: 2s; } }

/* ---------- Divers ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media print { .site-header, .app-header, .site-footer, .btn { display: none !important; } body { background: #fff; } }
