/* ═══════════════════════════════════════════════════
   SÉNÉLYS — Simulateur Locatif 2026
   style.css — Charte graphique complète
   Tous les fichiers sont à la racine du projet
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --bg:        #1E2228;
  --bg-card:   #252B33;
  --bg-input:  #2C333D;
  --bg-hover:  #2A3140;

  --gold:      #C9A84C;
  --gold-h:    #E2C070;
  --gold-dim:  rgba(201,168,76,.14);
  --gold-glow: rgba(201,168,76,.07);
  --gold-brd:  rgba(201,168,76,.28);

  --text:      #FFFFFF;
  --muted:     #A0A8B4;
  --faint:     #5A6370;

  --border:    #3A4250;
  --border-l:  #2E3540;

  --success:   #4CAF82;
  --success-d: rgba(76,175,130,.12);
  --danger:    #E05C5C;
  --danger-d:  rgba(224,92,92,.12);
  --warning:   #E8A838;
  --warning-d: rgba(232,168,56,.12);
  --info:      #5B9BD5;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:  64px;
  --r:      10px;
  --r-lg:   14px;
  --tr:     .22s cubic-bezier(.4,0,.2,1);

  --shadow: 0 4px 16px rgba(0,0,0,.4);
  --shadow-gold: 0 0 24px rgba(201,168,76,.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 70% 40% at 80% 10%, rgba(201,168,76,.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 85%,  rgba(201,168,76,.03) 0%, transparent 60%);
}
a { color: var(--gold); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--gold-h); }
button { font-family: var(--sans); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--sans); }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; }
img, svg { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }

/* ── Layout ── */
.page { padding-top: var(--nav-h); min-height: 100vh; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(30,34,40,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex; align-items: center;
  padding: 0 32px;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; flex-shrink: 0;
}
.nav__logo img { height: 36px; width: auto; }
.nav__logo-label {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); border-left: 1px solid var(--gold-brd);
  padding-left: 14px; white-space: nowrap;
}
.nav__links { display: flex; gap: 2px; list-style: none; }
.nav__links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: .85rem; color: var(--muted);
  transition: all var(--tr);
}
.nav__links a:hover { color: var(--text); background: var(--gold-glow); }
.nav__links a.active { color: var(--gold); background: var(--gold-glow); }
.nav__cta {
  padding: 8px 20px; background: var(--gold); color: var(--bg);
  border-radius: 8px; font-size: .85rem; font-weight: 600;
  transition: all var(--tr); white-space: nowrap;
  box-shadow: 0 2px 12px rgba(201,168,76,.25); flex-shrink: 0;
}
.nav__cta:hover {
  background: var(--gold-h); color: var(--bg);
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
  transform: translateY(-1px);
}

/* ── Typographie utilitaires ── */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 10px;
}
.gold-line { width: 44px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.text-muted { color: var(--muted); }
.text-gold  { color: var(--gold); }
.text-pos   { color: var(--success); }
.text-neg   { color: var(--danger); }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: none; border-radius: var(--r);
  font-family: var(--sans); cursor: pointer;
  transition: all var(--tr); white-space: nowrap;
  text-decoration: none; font-weight: 500;
}
.btn-primary {
  padding: 10px 22px; font-size: .875rem;
  background: var(--gold); color: var(--bg);
  box-shadow: 0 2px 12px rgba(201,168,76,.25);
}
.btn-primary:hover {
  background: var(--gold-h); color: var(--bg);
  transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,168,76,.4);
}
.btn-secondary {
  padding: 9px 20px; font-size: .875rem;
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--gold-brd); color: var(--gold); background: var(--gold-glow); }
.btn-xl {
  padding: 14px 36px; font-size: 1rem; font-weight: 600;
  background: var(--gold); color: var(--bg); border-radius: var(--r-lg);
  box-shadow: 0 2px 16px rgba(201,168,76,.3); letter-spacing: .03em;
}
.btn-xl:hover {
  background: var(--gold-h); color: var(--bg);
  transform: translateY(-1px); box-shadow: 0 6px 24px rgba(201,168,76,.45);
}
.btn-xl:active { transform: translateY(0); }
.btn-full { width: 100%; }
.btn-sim {
  width: 100%; padding: 14px;
  background: var(--gold); color: var(--bg);
  border: none; border-radius: var(--r);
  font-size: .9375rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer;
  transition: all var(--tr);
  box-shadow: 0 2px 14px rgba(201,168,76,.28);
}
.btn-sim:hover {
  background: var(--gold-h); transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(201,168,76,.42);
}
.btn-sim:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Cards ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
  transition: all var(--tr); position: relative;
}
.card:hover { border-color: var(--gold-brd); box-shadow: var(--shadow-gold); }
.card-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border-l);
}
.card-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-brd);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; color: var(--gold); flex-shrink: 0;
}

/* ── Formulaire ── */
.fg { margin-bottom: 12px; }
.lbl {
  display: block; font-size: .8rem; font-weight: 500;
  color: var(--muted); margin-bottom: 4px; letter-spacing: .02em;
}
.inp, .sel {
  width: 100%; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 13px; color: var(--text);
  font-size: .9375rem; transition: all var(--tr);
}
.inp:focus, .sel:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
  background: #2E3542;
}
.inp::placeholder { color: var(--faint); }
.sel {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A0A8B4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
  padding-right: 32px; cursor: pointer;
}
.sel option { background: var(--bg-card); color: var(--text); }
.ig { position: relative; display: flex; align-items: center; }
.ig .inp { padding-right: 46px; }
.ig-suf { position: absolute; right: 12px; font-size: .78rem; color: var(--muted); pointer-events: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

/* Rate warning */
.rate-warn {
  font-size: .72rem; color: var(--warning);
  margin-top: 4px; display: flex; gap: 5px; line-height: 1.4;
}

/* Toggle */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 13px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
}
.toggle-row span { font-size: .85rem; color: var(--muted); }
.tog { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.tog input { opacity: 0; width: 0; height: 0; }
.tog-sl {
  position: absolute; inset: 0; background: var(--border);
  border-radius: 22px; transition: background var(--tr); cursor: pointer;
}
.tog-sl::before {
  content: ''; position: absolute;
  width: 16px; height: 16px; left: 3px; top: 3px;
  background: var(--muted); border-radius: 50%; transition: all var(--tr);
}
.tog input:checked + .tog-sl { background: var(--gold); }
.tog input:checked + .tog-sl::before { transform: translateX(18px); background: var(--bg); }

/* Segmented */
.seg {
  display: flex; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 3px; gap: 3px;
}
.seg-btn {
  flex: 1; padding: 6px 8px; border-radius: 6px;
  font-size: .78rem; font-weight: 500; color: var(--muted);
  background: transparent; border: none; cursor: pointer;
  transition: all var(--tr); text-align: center;
}
.seg-btn.on {
  background: var(--bg-card); color: var(--gold);
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* Accordéon */
.acc-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; font-size: .83rem; color: var(--muted);
  background: none; border: none; cursor: pointer;
  padding: 8px 0 0; transition: color var(--tr); text-align: left;
}
.acc-btn:hover { color: var(--gold); }
.acc-icon { margin-left: auto; transition: transform var(--tr); font-size: .7rem; }
.acc-btn.open .acc-icon { transform: rotate(180deg); }
.acc-body { display: none; padding-top: 14px; }
.acc-body.open { display: block; }

/* Alertes */
.alert {
  display: flex; gap: 10px; padding: 12px 16px;
  border-radius: 8px; font-size: .84rem;
  line-height: 1.5; border-left: 3px solid;
}
.alert-warn { background: var(--warning-d); border-color: var(--warning); color: var(--muted); }
.alert-info  { background: rgba(91,155,213,.1); border-color: var(--info); color: var(--muted); }
.alert-icon  { flex-shrink: 0; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-gold    { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-brd); }
.badge-success { background: var(--success-d); color: var(--success); }
.badge-danger  { background: var(--danger-d);  color: var(--danger);  }
.badge-warn    { background: var(--warning-d); color: var(--warning); }
.badge-neutral { background: rgba(160,168,180,.1); color: var(--muted); }

/* Onglets */
.tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.tab {
  padding: 8px 18px; font-size: .875rem; color: var(--muted);
  background: transparent; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--tr); font-family: var(--sans);
  border-radius: 8px 8px 0 0;
}
.tab:hover { color: var(--text); }
.tab.on { color: var(--gold); border-bottom-color: var(--gold); background: var(--gold-glow); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }

/* Tableau */
.tbl-wrap {
  overflow-x: auto; border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.tbl { width: 100%; border-collapse: collapse; font-size: .855rem; }
.tbl thead tr { background: var(--bg); border-bottom: 1px solid var(--border); }
.tbl th {
  padding: 12px 16px; text-align: left;
  font-size: .62rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.tbl tbody tr { border-bottom: 1px solid var(--border-l); transition: background var(--tr); }
.tbl tbody tr:last-child { border-bottom: none; }
.tbl tbody tr:hover { background: var(--gold-glow); }
.tbl tbody tr.winner-row { background: rgba(201,168,76,.04); border-left: 2px solid var(--gold); }
.tbl td { padding: 11px 16px; color: var(--muted); vertical-align: middle; }
.tbl td:first-child { color: var(--text); font-weight: 500; }
.tbl td.pos { color: var(--success); font-weight: 500; }
.tbl td.neg { color: var(--danger);  font-weight: 500; }
.tbl td.gld { color: var(--gold);    font-weight: 500; }

/* Score ring */
.ring { position: relative; width: 72px; height: 72px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); width: 72px; height: 72px; }
.ring-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 400; line-height: 1;
}
.ring-mention {
  font-family: var(--sans); font-size: .44rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); margin-top: 2px;
}

/* Rang */
.rank-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800; flex-shrink: 0;
}
.r1 { background: var(--gold); color: var(--bg); }
.r2 { background: #9CA3AF; color: #1E2228; }
.r3 { background: #92623E; color: #fff; }
.rn { background: var(--bg-input); color: var(--muted); border: 1px solid var(--border); }

/* Carte résultat */
.rcard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px;
  transition: all var(--tr); position: relative;
}
.rcard:hover { border-color: var(--gold-brd); box-shadow: var(--shadow-gold); }
.rcard.winner {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201,168,76,.05) 100%);
}
.rcard.winner::after {
  content: '★ Recommandé';
  position: absolute; top: -1px; right: 18px;
  background: var(--gold); color: var(--bg);
  font-size: .58rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 0 0 6px 6px;
}
.rcard.inelig { opacity: .35; pointer-events: none; }
.rcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.rcard-name { font-family: var(--serif); font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.rcard-sub  { font-size: .72rem; color: var(--muted); margin-top: 3px; display: flex; gap: 6px; flex-wrap: wrap; }

/* Métriques */
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.metric {
  padding: 8px 12px; background: var(--bg);
  border-radius: 7px; border: 1px solid var(--border-l);
}
.metric-lbl {
  font-size: .62rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 2px;
}
.metric-val { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }

/* Barres de score */
.sbars { margin-bottom: 10px; }
.sbar-row { margin-bottom: 6px; }
.sbar-lbl { display: flex; justify-content: space-between; font-size: .62rem; color: var(--muted); margin-bottom: 2px; }
.sbar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.sbar-fill { height: 100%; border-radius: 2px; transition: width .9s cubic-bezier(.4,0,.2,1); }

/* Pros/Cons */
.pc-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  font-size: .8rem; color: var(--muted); background: none; border: none;
  cursor: pointer; padding: 10px 0 0; margin-top: 8px;
  border-top: 1px solid var(--border-l); text-align: left;
  transition: color var(--tr);
}
.pc-btn:hover { color: var(--gold); }
.pc-ico { margin-left: auto; transition: transform var(--tr); font-size: .65rem; }
.pc-btn.open .pc-ico { transform: rotate(180deg); }
.pc-body { display: none; padding-top: 12px; }
.pc-body.open { display: block; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-title {
  font-size: .62rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 6px;
  display: flex; align-items: center; gap: 4px;
}
.pc-pros .pc-title { color: var(--success); }
.pc-cons .pc-title { color: var(--danger); }
.pc-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pc-item {
  font-size: .775rem; color: var(--muted);
  display: flex; align-items: flex-start; gap: 7px; line-height: 1.4;
}
.pc-item::before {
  flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .52rem; font-weight: 800; margin-top: 1px;
}
.pi-pro::before { content: "✓"; background: var(--success-d); color: var(--success); }
.pi-con::before { content: "✗"; background: var(--danger-d);  color: var(--danger);  }

/* État vide */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 500px;
  color: var(--muted); text-align: center; gap: 16px;
}
.empty-ico { font-size: 3rem; opacity: .2; }
.empty-state h3 { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; }

/* Résumé paramètres */
.params-bar {
  background: var(--bg-card); border: 1px solid var(--gold-brd);
  border-radius: var(--r); padding: 12px 18px;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  margin-bottom: 18px;
}
.p-chip { font-size: .8rem; color: var(--muted); }
.p-chip strong { color: var(--gold); font-weight: 500; }

/* Stats band (accueil) */
.stats-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border-l);
  border-bottom: 1px solid var(--border-l);
  padding: 28px 0; margin-top: 44px;
}
.stat { text-align: center; padding: 0 16px; border-right: 1px solid var(--border-l); }
.stat:last-child { border-right: none; }
.stat-val { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; color: var(--gold); display: block; line-height: 1; }
.stat-lbl { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; display: block; }

/* Features grid (accueil) */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 32px; }
.feat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; transition: all var(--tr);
}
.feat-card:hover { border-color: var(--gold-brd); transform: translateY(-2px); }
.feat-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 300; color: var(--gold); opacity: .35; line-height: 1; margin-bottom: 8px; }
.feat-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-top: 6px; }

/* Badges structures (accueil) */
.str-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.str-badge {
  padding: 4px 13px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: .8rem; color: var(--muted); transition: all var(--tr);
}
.str-badge:hover { border-color: var(--gold-brd); color: var(--gold); }

/* Layout simulateur */
.sim-layout {
  display: grid; grid-template-columns: 400px 1fr;
  gap: 32px; padding: 28px 0 60px; align-items: start;
}
.form-col {
  position: sticky; top: calc(var(--nav-h) + 16px);
  max-height: calc(100vh - var(--nav-h) - 32px);
  overflow-y: auto; scrollbar-width: thin;
  display: flex; flex-direction: column; gap: 16px;
}
.res-col { min-height: 500px; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }

/* Footer */
.footer {
  border-top: 1px solid var(--border-l); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-top: 40px;
}
.footer-logo { font-family: var(--serif); font-size: 1rem; color: var(--muted); }
.footer span { font-size: .78rem; color: var(--faint); }
.disclaimer { font-size: .72rem; color: var(--faint); line-height: 1.7; margin-top: 12px; }

/* Sections accueil */
.section { padding: 56px 0; }
.cta-section { text-align: center; padding: 56px 0 40px; }
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--muted); max-width: 460px; margin: 0 auto 32px; }

/* Page header */
.page-header { padding: 32px 0 24px; border-bottom: 1px solid var(--border-l); margin-bottom: 4px; }
.page-header p { color: var(--muted); margin-top: 6px; font-size: .9rem; }

/* Animations */
@keyframes fadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.fade-in { animation: fadeIn .35s cubic-bezier(.4,0,.2,1) both; }
.d1 { animation-delay:.05s; } .d2 { animation-delay:.10s; } .d3 { animation-delay:.15s; }

/* ── Responsive ── */
@media (max-width: 1050px) {
  .sim-layout { grid-template-columns: 1fr; }
  .form-col { position: static; max-height: none; overflow-y: visible; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border-l); border-right: 1px solid var(--border-l); }
  .stat:nth-child(4) { border-top: 1px solid var(--border-l); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .nav { padding: 0 18px; }
  .nav__links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: 1fr; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media print {
  body { background: white; color: black; }
  .nav, .btn-sim, .footer { display: none; }
  .page { padding-top: 0; }
}
