/* ===== TechniSeniors — Styles communs ===== */
:root{
  --bg:#f5f6f8;
  --text:#1a1a1a;
  --navy:#1e3a8a;
  --green:#10b981;
  --border:#e5e7eb;
  --muted:#6b7280;
  --card:#ffffff;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{color:inherit}

/* Header */
header{
  background:var(--card);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{
  font-weight:800;
  color:var(--navy);
  font-size:18px;
  letter-spacing:0.2px;
  margin:0;
}
.brand a{text-decoration:none;color:inherit}
.hero{padding:24px 0 8px 0}
.hero h1{margin:0 0 10px 0;font-size:28px;line-height:1.2;color:var(--navy)}
.hero p{margin:0;color:var(--muted);font-size:16px;max-width:70ch}

/* Sections */
.section{padding:24px 0}
.section-title{margin:0 0 16px 0;font-size:20px;color:var(--navy)}

/* Comparatif cards */
.compare{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.row{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
  overflow:hidden;
}
.row-topbar{
  display:none;
  background:var(--navy);
  color:#fff;
  padding:10px 14px;
  font-weight:800;
  letter-spacing:0.4px;
  text-transform:uppercase;
  font-size:12px;
}
.row.is-best{
  border:2px solid var(--navy);
}
.row.is-best .row-topbar{display:block}

.row-inner{
  display:grid;
  grid-template-columns: 1fr 180px 220px;
  gap:16px;
  align-items:start;
  padding:20px;
}
.col-left{min-width:0}
.col-center{display:flex;flex-direction:column;justify-content:center;gap:8px}
.col-right{display:flex;align-items:center}
.col-right .btn{width:100%}
.solution-wrap{display:flex;gap:14px;align-items:center}
.product-img{
  width:120px;
  max-height:150px;
  height:auto;
  object-fit:contain;
  border-radius:12px;
  background:#ffffff;
  flex:0 0 auto;
  padding:6px;
  display:block;
  margin:0 auto;
}
.name{margin:0;font-weight:600;font-size:16px}
.desc{margin:0;color:var(--muted);font-size:13px}

.kpi{font-weight:800;font-size:18px}
.sub{color:var(--muted);font-size:13px}

ul{margin:0;padding-left:18px}
li{margin:6px 0;color:var(--text);font-size:13px}

.verdict{
  margin-top:10px;
  background:#f9fafb;
  border-left:4px solid var(--navy);
  padding:10px 12px;
  border-radius:8px;
  color:#374151;
  font-size:13px;
  line-height:1.45;
}
.verdict.vigilance{border-left-color:#f59e0b}
.verdict.span-2{grid-column:1 / span 2}

.badge-direct{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:var(--navy);
  background:#eef2ff;
  border:1px solid #c7d2fe;
  line-height:1.1;
  width:fit-content;
}
.badge-premium{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:#065f46;
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  line-height:1.1;
  width:fit-content;
}

/* Buttons */
.btn{
  background:var(--green);
  color:#fff;
  padding:12px 20px;
  border-radius:6px;
  text-decoration:none;
  font-weight:bold;
  text-align:center;
  display:block;
  width:100%;
  border:0;
}
.btn:focus{outline:3px solid rgba(30,58,138,0.35);outline-offset:2px}

/* Trust / méthodologie */
.trust{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:20px;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}
.trust h2{margin:0 0 10px 0;font-size:18px}
.trust p{margin:0 0 12px 0;color:var(--muted)}
.trust ul{padding-left:18px}
.trust small{display:block;margin-top:10px;color:var(--muted)}

/* Intro block (comparatif-montres) */
.intro-block{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:24px;
  margin-bottom:24px;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}
.intro-block h2{margin:0 0 12px 0;font-size:20px;color:var(--navy)}
.intro-block p{margin:0 0 12px 0;font-size:15px;color:#374151;line-height:1.6}
.intro-block p:last-child{margin-bottom:0}

/* Category tags (comparatif-montres) */
.category-tag{
  display:inline-block;
  padding:4px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  line-height:1.1;
  width:fit-content;
}
.cat-sportive{color:#b45309;background:#fef3c7;border:1px solid #fcd34d}
.cat-discrete{color:#6d28d9;background:#ede9fe;border:1px solid #c4b5fd}
.cat-connectee{color:#0369a1;background:#e0f2fe;border:1px solid #7dd3fc}

/* Tableau comparatif */
.table-wrap{overflow-x:auto;margin:20px 0}
table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
thead{background:var(--navy);color:#fff}
th{
  padding:12px 14px;
  text-align:left;
  font-weight:700;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.3px;
}
td{
  padding:10px 14px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}
tbody tr:nth-child(even){background:#f9fafb}
tbody tr:hover{background:#f0f4ff}
.tag-oui{color:#059669;font-weight:700}
.tag-non{color:#dc2626;font-weight:700}
.tag-var{color:#d97706;font-weight:600}

/* Nav links */
.nav-link{
  font-size:14px;
  color:var(--navy);
  text-decoration:none;
  font-weight:600;
}
.nav-link:hover{text-decoration:underline}

/* Guide — article */
.article{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:32px;
  margin-top:24px;
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
}
.intro{
  font-size:17px;
  color:#374151;
  margin:0 0 28px 0;
  border-left:4px solid var(--navy);
  padding-left:16px;
}
.conseil{
  background:#eff6ff;
  border-left:4px solid var(--navy);
  padding:14px 16px;
  border-radius:8px;
  margin:16px 0;
  font-size:14px;
  color:#1e3a8a;
  line-height:1.5;
}
.conseil strong{display:block;margin-bottom:4px}

/* CTA */
.cta-section{
  text-align:center;
  margin:36px 0 8px 0;
  padding:28px 20px;
  background:#f0fdf4;
  border:1px solid #a7f3d0;
  border-radius:12px;
}
.cta-section p{
  font-size:16px;
  color:#374151;
  margin:0 0 16px 0;
}
.btn-cta{
  display:inline-block;
  background:var(--green);
  color:#fff;
  padding:14px 28px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  font-size:16px;
}
.btn-cta:hover{background:#059669}

/* Footer */
footer{
  padding:28px 0;
  color:var(--muted);
  font-size:12px;
}
.footer-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px 20px;
}

/* Responsive */
@media (max-width:980px){
  .row-inner{grid-template-columns:1fr}
  .col-right{align-items:stretch}
  .verdict.span-2{grid-column:auto}
}
@media (max-width:620px){
  .container{padding:16px}
  .hero h1{font-size:24px}
  .row-inner{grid-template-columns:1fr}
  .article{padding:20px}
  table{font-size:13px}
  th,td{padding:8px 10px}
}
