/* pages.css — style des pages de correspondance SizeCheck (générées) */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  background: #f9fafb;
  color: #1e293b;
  line-height: 1.6;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }

/* Header */
.top {
  padding: 20px 0 4px;
}
.top .brand {
  font-size: 20px;
  font-weight: 900;
  color: #1e293b;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.crumbs {
  font-size: 12px;
  color: #64748b;
  margin: 10px 0 26px;
}
.crumbs a { color: #2563eb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

h1 {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}
h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 36px 0 12px;
}
.intro { color: #475569; font-size: 15px; }
.updated { color: #64748b; font-size: 12.5px; margin-top: 6px; }

/* Lien discret vers le convertisseur (dégradé : tertiaire sur ces pages) */
.convert-link {
  display: inline-block;
  margin-top: 4px;
  color: #2563eb;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.convert-link:hover { text-decoration: underline; }

/* CTA converter — utilisé sur la page index des correspondances */
.cta {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 22px 0 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  transition: opacity .15s;
}
.cta:hover { opacity: .92; }
.cta .go {
  margin-left: auto;
  background: #fff;
  color: #2563eb;
  font-size: 12.5px;
  font-weight: 800;
  border-radius: 99px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* Extension CTA — CTA principal des pages de comparaison */
.ext-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 16px;
  margin: 20px 0;
}
.ext-cta-main { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 12px; }
.ext-cta-icon { font-size: 24px; flex-shrink: 0; line-height: 1.3; }
.ext-cta-text { min-width: 0; }
.ext-cta-text strong { display: block; font-size: 14px; color: #1e293b; }
.ext-cta-text p { font-size: 12.5px; color: #475569; margin-top: 4px; }
.ext-cta-btn {
  flex-shrink: 0;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border-radius: 99px;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.ext-cta-btn:hover { background: #1d4ed8; }
@media (max-width: 560px) {
  .ext-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .ext-cta-btn { align-self: flex-start; margin-left: 34px; }
}

/* Tables */
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .tables { grid-template-columns: 1fr; } }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  font-size: 13.5px;
}
caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  font-size: 13px;
  color: #475569;
  padding: 0 2px 8px;
}
th {
  background: #1e293b;
  color: #fff;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 9px 10px;
  text-align: left;
}
td { padding: 8px 10px; border-top: 1px solid #f1f5f9; }
tbody tr:nth-child(even) { background: #f8fafc; }
td.eu { font-weight: 800; }
td.target { font-weight: 800; color: #2563eb; }
td .alt { font-weight: 600; color: #64748b; font-size: 11.5px; }
td.cm { color: #64748b; }

.note {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1e40af;
  margin: 10px 0;
}

/* Tips */
.tip {
  background: #fffbeb;
  border-left: 3px solid #fcd34d;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: #475569;
  margin: 10px 0;
}
.tip strong { color: #1e293b; }

/* FAQ */
.faq details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  padding: 13px 16px;
  margin-bottom: 8px;
}
.faq summary { font-weight: 700; font-size: 14px; cursor: pointer; }
.faq p { margin-top: 8px; font-size: 13.5px; color: #475569; }

/* Cross links */
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all .15s;
}
.links a:hover { border-color: #93c5fd; color: #2563eb; }

/* Footer */
footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #64748b;
}
footer a { color: #64748b; }
footer a:hover { color: #2563eb; }

/* Index des comparaisons */
.pairs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.pairs-grid a {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: all .15s;
}
.pairs-grid a:hover { border-color: #93c5fd; color: #2563eb; }
