/* ========================================
   FINRADAR — Design System
   ======================================== */

:root {
  /* Palette — Gris + Jaune solaire */
  --fr-ink: #1A1A1F;            /* gris quasi-noir, neutre */
  --fr-blue: #FACC15;            /* JAUNE solaire — accent principal (CTA, highlights) */
  --fr-blue-hover: #EAB308;      /* jaune un peu plus profond au hover */
  --fr-blue-text: #854D0E;       /* jaune-brun foncé pour TEXTE (contraste WCAG sur fond clair) */
  --fr-blue-soft: #FEF3C7;       /* jaune très pâle pour fonds doux */
  --fr-blue-faint: #FFFBEB;      /* jaune presque blanc, fond de section */
  --fr-green: #65A30D;            /* vert olive qui s'accorde avec le jaune (états positifs) */
  --fr-green-soft: #ECFCCB;
  --fr-amber: #CA8A04;            /* jaune-or profond pour partner badges */
  --fr-amber-soft: #FEF3C7;
  --fr-red: #B91C1C;
  --fr-red-soft: #FEE2E2;
  --fr-sand: #F4F4F5;             /* gris doux pour les sections alternées */
  --fr-gray-50: #FAFAFA;
  --fr-gray-100: #F4F4F5;
  --fr-gray-200: #E4E4E7;
  --fr-gray-300: #D4D4D8;
  --fr-gray-400: #A1A1AA;
  --fr-gray-500: #71717A;
  --fr-gray-600: #52525B;
  --fr-gray-700: #3F3F46;
  --fr-gray-900: #18181B;
  --fr-white: #FFFFFF;

  /* Typography */
  --fr-font-display: 'Inter Tight', -apple-system, system-ui, sans-serif;
  --fr-font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --fr-font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  /* Radius */
  --fr-r-xs: 4px;
  --fr-r-sm: 8px;
  --fr-r-md: 12px;
  --fr-r-lg: 16px;
  --fr-r-xl: 24px;

  /* Shadows */
  --fr-shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04);
  --fr-shadow-md: 0 1px 3px rgba(10, 22, 40, 0.04), 0 4px 12px rgba(10, 22, 40, 0.04);
  --fr-shadow-lg: 0 4px 6px rgba(10, 22, 40, 0.04), 0 12px 24px rgba(10, 22, 40, 0.06);
  --fr-shadow-focus: 0 0 0 4px rgba(250, 204, 21, 0.35);

  /* Transitions */
  --fr-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--fr-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fr-ink);
  background: var(--fr-white);
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fr-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fr-ink);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--fr-gray-700); }

/* Container */
.fr-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.fr-container-tight {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   NAVBAR
   ======================================== */
.fr-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--fr-gray-100);
}
.fr-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.fr-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fr-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fr-ink);
}
.fr-logo-mark {
  width: 32px;
  height: 32px;
  position: relative;
  flex-shrink: 0;
}
.fr-logo-mark svg { width: 100%; height: 100%; }
.fr-nav-links {
  display: none;
  gap: 4px;
}
@media (min-width: 960px) {
  .fr-nav-links { display: flex; }
}
.fr-nav-link {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fr-gray-700);
  border-radius: var(--fr-r-sm);
  transition: all 0.15s var(--fr-ease);
}
.fr-nav-link:hover {
  color: var(--fr-ink);
  background: var(--fr-gray-50);
}
.fr-nav-link.active {
  color: var(--fr-blue-text);
  background: var(--fr-blue-soft);
}
.fr-nav-cta {
  display: none;
  align-items: center;
  gap: 12px;
}
@media (min-width: 960px) {
  .fr-nav-cta { display: flex; }
}
.fr-nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--fr-r-sm);
  background: var(--fr-gray-50);
}
@media (min-width: 960px) {
  .fr-nav-burger { display: none; }
}

/* Mobile menu */
.fr-mobile-menu {
  display: none;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--fr-gray-100);
  background: var(--fr-white);
}
.fr-mobile-menu.open { display: block; }
.fr-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--fr-gray-100);
}

/* ========================================
   BUTTONS
   ======================================== */
.fr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--fr-r-sm);
  transition: all 0.15s var(--fr-ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.fr-btn-primary {
  background: var(--fr-blue);
  color: var(--fr-ink);
}
.fr-btn-primary:hover {
  background: var(--fr-blue-hover);
  color: var(--fr-ink);
  transform: translateY(-1px);
  box-shadow: var(--fr-shadow-md);
}
.fr-btn-secondary {
  background: var(--fr-white);
  color: var(--fr-ink);
  border-color: var(--fr-gray-200);
}
.fr-btn-secondary:hover {
  border-color: var(--fr-ink);
  background: var(--fr-gray-50);
}
.fr-btn-ghost {
  color: var(--fr-blue-text);
  background: transparent;
}
.fr-btn-ghost:hover { background: var(--fr-blue-soft); }
.fr-btn-lg { padding: 16px 28px; font-size: 1rem; }
.fr-btn-sm { padding: 8px 14px; font-size: 0.875rem; }

/* ========================================
   BADGES & TAGS
   ======================================== */
.fr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--fr-r-xs);
  letter-spacing: 0.01em;
}
.fr-badge-blue { background: var(--fr-blue); color: var(--fr-ink); }
.fr-badge-green { background: var(--fr-green-soft); color: var(--fr-green); }
.fr-badge-amber { background: var(--fr-amber-soft); color: var(--fr-amber); }
.fr-badge-gray { background: var(--fr-gray-100); color: var(--fr-gray-700); }
.fr-badge-partner {
  background: var(--fr-ink);
  color: var(--fr-blue);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   CARDS
   ======================================== */
.fr-card {
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  padding: 24px;
  transition: all 0.2s var(--fr-ease);
}
.fr-card:hover {
  border-color: var(--fr-gray-200);
  box-shadow: var(--fr-shadow-md);
}
.fr-card-interactive {
  cursor: pointer;
}
.fr-card-interactive:hover {
  border-color: var(--fr-blue-text);
  transform: translateY(-2px);
}

/* ========================================
   HERO
   ======================================== */
.fr-hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(250, 204, 21, 0.18), transparent 60%),
    var(--fr-white);
}
.fr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--fr-gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--fr-gray-100) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 40% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 40% at 50% 30%, black, transparent);
  opacity: 0.5;
  pointer-events: none;
}
.fr-hero-inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.fr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-200);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fr-gray-700);
  margin-bottom: 24px;
  box-shadow: var(--fr-shadow-sm);
}
.fr-hero-eyebrow .fr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fr-blue);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(250, 204, 21, 0); }
}
.fr-hero h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}
.fr-hero h1 .fr-accent {
  background: linear-gradient(135deg, var(--fr-ink), #52525B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.fr-hero h1 .fr-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 14px;
  background: var(--fr-blue);
  z-index: -1;
  opacity: 0.85;
  border-radius: 2px;
  transform: skewX(-3deg);
}
.fr-hero-sub {
  font-size: 1.1875rem;
  color: var(--fr-gray-600);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.fr-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Trust bar */
.fr-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .fr-trust-bar { grid-template-columns: repeat(4, 1fr); }
}
.fr-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
}
.fr-trust-num {
  font-family: var(--fr-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fr-ink);
  letter-spacing: -0.02em;
}
.fr-trust-label {
  font-size: 0.8125rem;
  color: var(--fr-gray-500);
  margin-top: 4px;
}

/* ========================================
   SECTIONS
   ======================================== */
.fr-section {
  padding: 80px 0;
}
.fr-section-sand { background: var(--fr-sand); }
.fr-section-tight { padding: 56px 0; }

.fr-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.fr-section-head .fr-eyebrow {
  display: inline-block;
  font-family: var(--fr-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fr-blue-text);
  margin-bottom: 12px;
}
.fr-section-head h2 { margin-bottom: 16px; }
.fr-section-head p { font-size: 1.0625rem; color: var(--fr-gray-600); }

/* ========================================
   CATEGORY CARDS
   ======================================== */
.fr-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .fr-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fr-cat-grid { grid-template-columns: repeat(4, 1fr); } }

.fr-cat-card {
  display: block;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-lg);
  padding: 28px;
  transition: all 0.25s var(--fr-ease);
  position: relative;
  overflow: hidden;
}
.fr-cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--fr-blue-faint), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s var(--fr-ease);
  pointer-events: none;
}
.fr-cat-card:hover {
  border-color: var(--fr-blue-text);
  transform: translateY(-4px);
  box-shadow: var(--fr-shadow-lg);
}
.fr-cat-card:hover::after { opacity: 1; }
.fr-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--fr-r-sm);
  background: var(--fr-blue-soft);
  color: var(--fr-blue-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.fr-cat-title {
  font-family: var(--fr-font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.fr-cat-desc {
  font-size: 0.9375rem;
  color: var(--fr-gray-600);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.fr-cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--fr-gray-100);
  font-size: 0.8125rem;
  color: var(--fr-gray-500);
  position: relative;
  z-index: 1;
}
.fr-cat-meta strong {
  color: var(--fr-ink);
  font-family: var(--fr-font-mono);
}

/* ========================================
   STEPS (How it works)
   ======================================== */
.fr-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) { .fr-steps { grid-template-columns: repeat(3, 1fr); } }

.fr-step {
  position: relative;
  padding: 28px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
}
.fr-step-num {
  font-family: var(--fr-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fr-blue-text);
  background: var(--fr-blue-soft);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.fr-step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.fr-step p { font-size: 0.9375rem; color: var(--fr-gray-600); }

/* ========================================
   PROFILE CARDS
   ======================================== */
.fr-profil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .fr-profil-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .fr-profil-grid { grid-template-columns: repeat(6, 1fr); } }

.fr-profil-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  text-align: center;
  transition: all 0.2s var(--fr-ease);
}
.fr-profil-card:hover {
  border-color: var(--fr-blue-text);
  background: var(--fr-blue-faint);
  transform: translateY(-2px);
}
.fr-profil-emoji {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.fr-profil-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fr-ink);
}

/* ========================================
   NEWS / WEEKLY RADAR
   ======================================== */
.fr-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .fr-news-grid { grid-template-columns: repeat(3, 1fr); } }

.fr-news-card {
  padding: 24px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  transition: border-color 0.2s var(--fr-ease);
}
.fr-news-card:hover { border-color: var(--fr-gray-300); }
.fr-news-date {
  font-family: var(--fr-font-mono);
  font-size: 0.75rem;
  color: var(--fr-gray-500);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fr-news-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.fr-news-card p {
  font-size: 0.9375rem;
  color: var(--fr-gray-600);
}

/* ========================================
   METHODOLOGY TEASER
   ======================================== */
.fr-method-block {
  background: var(--fr-ink);
  color: var(--fr-white);
  border-radius: var(--fr-r-xl);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.fr-method-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.35), transparent 60%);
  pointer-events: none;
}
.fr-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (min-width: 960px) { .fr-method-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.fr-method-block h2 { color: var(--fr-white); margin-bottom: 16px; }
.fr-method-block p { color: rgba(255,255,255,0.7); font-size: 1.0625rem; margin-bottom: 24px; }
.fr-method-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.fr-method-pillar {
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--fr-r-sm);
}
.fr-method-pillar-num {
  font-family: var(--fr-font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.fr-method-pillar-label {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ========================================
   FAQ
   ======================================== */
.fr-faq {
  max-width: 760px;
  margin: 0 auto;
}
.fr-faq-item {
  border-bottom: 1px solid var(--fr-gray-100);
}
.fr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fr-ink);
  font-family: var(--fr-font-display);
}
.fr-faq-q-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fr-gray-500);
  transition: transform 0.2s var(--fr-ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.fr-faq-item.open .fr-faq-q-icon { transform: rotate(45deg); }
.fr-faq-a {
  display: none;
  padding: 0 0 24px;
  color: var(--fr-gray-600);
  line-height: 1.65;
}
.fr-faq-item.open .fr-faq-a { display: block; }

/* ========================================
   FOOTER
   ======================================== */
.fr-footer {
  background: var(--fr-ink);
  color: var(--fr-gray-300);
  padding: 64px 0 32px;
}
.fr-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 720px) { .fr-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.fr-footer-brand h3 {
  color: var(--fr-white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.fr-footer-brand p {
  font-size: 0.9375rem;
  color: var(--fr-gray-400);
  max-width: 320px;
  margin-bottom: 16px;
}
.fr-footer h5 {
  color: var(--fr-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  font-family: var(--fr-font-body);
  font-weight: 600;
}
.fr-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fr-footer-links a {
  font-size: 0.9375rem;
  color: var(--fr-gray-400);
  transition: color 0.15s var(--fr-ease);
}
.fr-footer-links a:hover { color: var(--fr-white); }
.fr-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--fr-gray-500);
}
.fr-footer-disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--fr-amber);
  border-radius: var(--fr-r-xs);
  font-size: 0.8125rem;
  color: var(--fr-gray-400);
  line-height: 1.5;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.fr-breadcrumb {
  padding: 20px 0;
  font-size: 0.875rem;
  color: var(--fr-gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.fr-breadcrumb a { color: var(--fr-gray-500); }
.fr-breadcrumb a:hover { color: var(--fr-blue-text); }
.fr-breadcrumb .sep { color: var(--fr-gray-300); }
.fr-breadcrumb .current { color: var(--fr-ink); font-weight: 500; }

/* ========================================
   COMPARATEUR
   ======================================== */
.fr-comp-header {
  background: var(--fr-sand);
  padding: 40px 0;
  border-bottom: 1px solid var(--fr-gray-100);
}
.fr-comp-header h1 {
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
  margin-bottom: 12px;
}
.fr-comp-header p {
  font-size: 1.0625rem;
  color: var(--fr-gray-600);
  max-width: 720px;
}
.fr-comp-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--fr-gray-500);
}
.fr-comp-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fr-comp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px 0 80px;
}
@media (min-width: 1024px) {
  .fr-comp-layout { grid-template-columns: 280px 1fr; gap: 40px; }
}

/* Filters sidebar */
.fr-filters {
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  padding: 24px;
}
@media (min-width: 1024px) {
  .fr-filters {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}
.fr-filter-group { margin-bottom: 28px; }
.fr-filter-group:last-child { margin-bottom: 0; }
.fr-filter-title {
  font-family: var(--fr-font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 12px;
  color: var(--fr-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fr-filter-help {
  font-size: 0.8125rem;
  color: var(--fr-gray-500);
  margin-bottom: 12px;
  line-height: 1.4;
}
.fr-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fr-chip {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--fr-white);
  color: var(--fr-gray-700);
  border: 1px solid var(--fr-gray-200);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s var(--fr-ease);
}
.fr-chip:hover {
  border-color: var(--fr-blue-text);
  color: var(--fr-blue-text);
}
.fr-chip.active {
  background: var(--fr-blue);
  border-color: var(--fr-blue);
  color: var(--fr-ink);
}
.fr-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fr-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--fr-gray-700);
}
.fr-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--fr-blue-text);
}
.fr-priority-slider {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.fr-priority-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--fr-gray-500);
}
.fr-priority-slider input[type=range] {
  width: 100%;
  accent-color: var(--fr-blue-text);
}
.fr-filter-reset {
  width: 100%;
  padding: 10px;
  margin-top: 16px;
  background: var(--fr-gray-50);
  border-radius: var(--fr-r-sm);
  font-size: 0.875rem;
  color: var(--fr-gray-600);
  font-weight: 500;
  transition: background 0.15s var(--fr-ease);
}
.fr-filter-reset:hover { background: var(--fr-gray-100); color: var(--fr-ink); }

/* Results */
.fr-results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.fr-results-count {
  font-size: 0.9375rem;
  color: var(--fr-gray-600);
}
.fr-results-count strong { color: var(--fr-ink); }
.fr-view-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--fr-gray-100);
  border-radius: var(--fr-r-sm);
}
.fr-view-btn {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fr-gray-600);
  border-radius: 6px;
  transition: all 0.15s var(--fr-ease);
}
.fr-view-btn.active {
  background: var(--fr-white);
  color: var(--fr-ink);
  box-shadow: var(--fr-shadow-sm);
}

/* Offer cards */
.fr-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.fr-offer {
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  padding: 24px;
  transition: all 0.2s var(--fr-ease);
  position: relative;
}
.fr-offer:hover {
  border-color: var(--fr-gray-300);
  box-shadow: var(--fr-shadow-md);
}
.fr-offer.featured {
  border-color: var(--fr-blue-text);
  border-width: 2px;
}
.fr-offer-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.fr-offer-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--fr-r-sm);
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fr-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fr-ink);
  flex-shrink: 0;
  overflow: hidden;
}
.fr-offer-logo-img { padding: 0; border: 1px solid var(--fr-gray-100); }
.fr-offer-logo-img svg { width: 100%; height: 100%; display: block; }
.fr-offer-head { flex: 1; min-width: 0; }
.fr-offer-name {
  font-family: var(--fr-font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.fr-offer-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fr-offer-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}
.fr-score-circle {
  position: relative;
  width: 56px;
  height: 56px;
}
.fr-score-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fr-score-circle circle { fill: none; stroke-width: 5; }
.fr-score-circle .track { stroke: var(--fr-gray-100); }
.fr-score-circle .fill { stroke: var(--fr-blue); stroke-linecap: round; transition: stroke-dashoffset 0.6s var(--fr-ease); }
.fr-score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fr-font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--fr-ink);
}
.fr-score-label {
  font-size: 0.6875rem;
  color: var(--fr-gray-500);
  margin-top: 4px;
}

.fr-offer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--fr-gray-50);
  border-radius: var(--fr-r-sm);
  margin-bottom: 16px;
}
.fr-offer-stat-label {
  font-size: 0.75rem;
  color: var(--fr-gray-500);
  margin-bottom: 4px;
}
.fr-offer-stat-val {
  font-family: var(--fr-font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--fr-ink);
}

.fr-offer-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}
@media (min-width: 560px) {
  .fr-offer-pros-cons { grid-template-columns: 1fr 1fr; }
}
.fr-pro, .fr-con {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--fr-gray-700);
}
.fr-pro::before {
  content: '+';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fr-green-soft);
  color: var(--fr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.fr-con::before {
  content: '−';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fr-amber-soft);
  color: var(--fr-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.fr-offer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--fr-gray-100);
  flex-wrap: wrap;
}
.fr-offer-compare {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--fr-gray-600);
  cursor: pointer;
}
.fr-offer-actions-right { display: flex; gap: 8px; }

.fr-partner-pill {
  position: absolute;
  top: 12px;
  right: 12px;
}

/* Sticky compare bar */
.fr-compare-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--fr-ink);
  color: var(--fr-white);
  padding: 12px 16px;
  border-radius: var(--fr-r-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--fr-shadow-lg);
  z-index: 50;
  transition: transform 0.3s var(--fr-ease);
  max-width: calc(100vw - 32px);
}
.fr-compare-bar.visible { transform: translateX(-50%) translateY(0); }
.fr-compare-logos {
  display: flex;
}
.fr-compare-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--fr-r-xs);
  background: var(--fr-white);
  border: 2px solid var(--fr-ink);
  margin-left: -6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fr-compare-logo:first-child { margin-left: 0; }
.fr-compare-logo svg { width: 100%; height: 100%; display: block; }
.fr-compare-text { font-size: 0.875rem; }
.fr-compare-text strong { font-family: var(--fr-font-mono); }

/* Tableau mode */
.fr-table-wrap {
  overflow-x: auto;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
}
.fr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.fr-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--fr-gray-50);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--fr-gray-700);
  border-bottom: 1px solid var(--fr-gray-100);
  white-space: nowrap;
}
.fr-table td {
  padding: 16px;
  border-bottom: 1px solid var(--fr-gray-100);
  color: var(--fr-gray-700);
}
.fr-table tr:last-child td { border-bottom: none; }
.fr-table tr:hover td { background: var(--fr-gray-50); }
.fr-table .fr-cell-best {
  background: rgba(15, 169, 104, 0.08);
  color: var(--fr-green);
  font-weight: 600;
}
.fr-table .fr-cell-mono { font-family: var(--fr-font-mono); font-weight: 600; color: var(--fr-ink); }

/* ========================================
   FICHE DÉTAILLÉE
   ======================================== */
.fr-fiche-header {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--fr-sand) 0%, var(--fr-white) 100%);
  border-bottom: 1px solid var(--fr-gray-100);
}
.fr-fiche-top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.fr-fiche-logo {
  width: 88px;
  height: 88px;
  border-radius: var(--fr-r-md);
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fr-font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--fr-ink);
  flex-shrink: 0;
  overflow: hidden;
}
.fr-fiche-logo-img svg { width: 100%; height: 100%; display: block; }
.fr-fiche-info { flex: 1; min-width: 260px; }
.fr-fiche-cat {
  font-family: var(--fr-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fr-blue-text);
  margin-bottom: 8px;
}
.fr-fiche-info h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.5rem);
  margin-bottom: 8px;
}
.fr-fiche-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fr-fiche-score-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  min-width: 240px;
}
.fr-fiche-score-circle {
  width: 72px;
  height: 72px;
  position: relative;
  flex-shrink: 0;
}
.fr-fiche-score-circle .fr-score-value { font-size: 1.25rem; }
.fr-fiche-score-text { font-size: 0.875rem; color: var(--fr-gray-600); }
.fr-fiche-score-text strong { display: block; color: var(--fr-ink); font-size: 1rem; margin-bottom: 2px; }

.fr-fiche-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 0;
}
@media (min-width: 1024px) {
  .fr-fiche-layout { grid-template-columns: 1fr 280px; }
}

.fr-fiche-section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}
.fr-fiche-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.fr-verdict {
  background: var(--fr-blue-faint);
  border: 1px solid var(--fr-blue-soft);
  border-radius: var(--fr-r-md);
  padding: 28px;
}
.fr-verdict-block { margin-bottom: 20px; }
.fr-verdict-block:last-child { margin-bottom: 0; }
.fr-verdict-block h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fr-blue-text);
  margin-bottom: 8px;
  font-family: var(--fr-font-body);
}
.fr-verdict-block p { color: var(--fr-gray-700); line-height: 1.6; }
.fr-verdict-block ul { display: flex; flex-direction: column; gap: 6px; padding-left: 0; }
.fr-verdict-block ul li { font-size: 0.9375rem; color: var(--fr-gray-700); padding-left: 20px; position: relative; }
.fr-verdict-block ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--fr-blue);
  border-radius: 50%;
}

/* Radar chart vertical bars */
.fr-radar-list { display: flex; flex-direction: column; gap: 14px; }
.fr-radar-row {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: center;
  gap: 12px;
}
.fr-radar-label { font-size: 0.875rem; color: var(--fr-gray-700); }
.fr-radar-bar {
  height: 8px;
  background: var(--fr-gray-100);
  border-radius: 100px;
  overflow: hidden;
}
.fr-radar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fr-blue), var(--fr-amber));
  border-radius: 100px;
  transition: width 0.8s var(--fr-ease);
}
.fr-radar-val {
  font-family: var(--fr-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fr-ink);
  text-align: right;
}

/* Pros/cons block */
.fr-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .fr-pros-cons-grid { grid-template-columns: 1fr 1fr; } }
.fr-pc-block {
  padding: 20px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
}
.fr-pc-block h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  font-family: var(--fr-font-body);
}
.fr-pc-block.pros h4 { color: var(--fr-green); }
.fr-pc-block.cons h4 { color: var(--fr-amber); }
.fr-pc-block ul { display: flex; flex-direction: column; gap: 10px; }
.fr-pc-block li {
  font-size: 0.9375rem;
  color: var(--fr-gray-700);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.fr-pc-block.pros li::before, .fr-pc-block.cons li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}
.fr-pc-block.pros li::before { content: '✓'; background: var(--fr-green-soft); color: var(--fr-green); }
.fr-pc-block.cons li::before { content: '!'; background: var(--fr-amber-soft); color: var(--fr-amber); }

/* Pricing table */
.fr-pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  overflow: hidden;
}
.fr-pricing-table th, .fr-pricing-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--fr-gray-100);
  font-size: 0.9375rem;
}
.fr-pricing-table th {
  background: var(--fr-gray-50);
  font-weight: 600;
  color: var(--fr-gray-700);
}
.fr-pricing-table td.amount {
  font-family: var(--fr-font-mono);
  font-weight: 600;
  color: var(--fr-ink);
  text-align: right;
}
.fr-pricing-table tr:last-child td { border-bottom: none; }

/* TOC sidebar */
.fr-fiche-aside {
  position: relative;
}
@media (min-width: 1024px) {
  .fr-fiche-aside { position: sticky; top: 80px; align-self: start; }
}
.fr-toc {
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-100);
  border-radius: var(--fr-r-md);
  padding: 20px;
  margin-bottom: 20px;
}
.fr-toc h5 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fr-gray-500);
  margin-bottom: 12px;
}
.fr-toc-list { display: flex; flex-direction: column; gap: 8px; }
.fr-toc-list a {
  font-size: 0.875rem;
  color: var(--fr-gray-700);
  padding: 6px 10px;
  border-radius: var(--fr-r-xs);
  border-left: 2px solid transparent;
  transition: all 0.15s var(--fr-ease);
}
.fr-toc-list a:hover {
  background: var(--fr-gray-50);
  color: var(--fr-ink);
  border-left-color: var(--fr-blue-text);
}

.fr-cta-aside {
  padding: 24px;
  background: var(--fr-ink);
  color: var(--fr-white);
  border-radius: var(--fr-r-md);
}
.fr-cta-aside h4 { color: var(--fr-white); font-size: 1.0625rem; margin-bottom: 6px; }
.fr-cta-aside p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-bottom: 16px; }
.fr-cta-aside .fr-btn { width: 100%; }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fr-animate-in {
  animation: fadeUp 0.5s var(--fr-ease) both;
}

/* Utilities */
.fr-hidden { display: none !important; }
.fr-text-mono { font-family: var(--fr-font-mono); }
.fr-text-center { text-align: center; }
.fr-mt-lg { margin-top: 40px; }

/* Content pages (méthodo, à propos, transparence, guides) */
.fr-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.fr-content h1 { margin-bottom: 16px; }
.fr-content .lead {
  font-size: 1.25rem;
  color: var(--fr-gray-600);
  margin-bottom: 40px;
  line-height: 1.55;
}
.fr-content h2 { margin-top: 56px; margin-bottom: 16px; }
.fr-content h3 { margin-top: 32px; margin-bottom: 12px; }
.fr-content p, .fr-content li { color: var(--fr-gray-700); margin-bottom: 16px; line-height: 1.7; }
.fr-content ul, .fr-content ol { padding-left: 24px; margin-bottom: 24px; }
.fr-content ul li, .fr-content ol li { margin-bottom: 8px; list-style: disc; padding-left: 4px; }
.fr-content ol li { list-style: decimal; }
.fr-content strong { color: var(--fr-ink); font-weight: 600; }
.fr-callout {
  padding: 20px 24px;
  background: var(--fr-blue-faint);
  border-left: 3px solid var(--fr-blue);
  border-radius: var(--fr-r-sm);
  margin: 24px 0;
}
.fr-callout p { color: var(--fr-gray-700); margin-bottom: 0; }
.fr-callout strong { color: var(--fr-blue-text); }

.fr-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
}
.fr-meta-table th, .fr-meta-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--fr-gray-100);
  text-align: left;
}
.fr-meta-table th {
  background: var(--fr-gray-50);
  font-weight: 600;
  color: var(--fr-gray-700);
}
.fr-meta-table td.num {
  font-family: var(--fr-font-mono);
  font-weight: 600;
  text-align: right;
}

/* =========================================================
   ARTICLE / GUIDE PAGES
   ========================================================= */

.fr-article {
  background: var(--fr-bg);
  padding: 32px 0 80px;
}

.fr-article-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.fr-article-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: left;
}

.fr-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--fr-gray-500);
  margin: 16px 0 20px;
}

.fr-meta-sep {
  color: var(--fr-gray-300);
}

.fr-article-title {
  font-family: var(--fr-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fr-ink);
  margin: 0 0 16px;
  font-weight: 700;
}

.fr-article-lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--fr-gray-700);
  margin: 0;
}

.fr-article-lede strong {
  color: var(--fr-ink);
  font-weight: 600;
}

/* Layout with TOC */
.fr-article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .fr-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.fr-toc {
  position: sticky;
  top: 24px;
}

@media (max-width: 900px) {
  .fr-toc { position: static; }
}

.fr-toc-inner {
  background: var(--fr-gray-50);
  border: 1px solid var(--fr-gray-100);
  border-radius: 14px;
  padding: 18px 18px 18px 14px;
}

.fr-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fr-gray-500);
  margin-bottom: 12px;
  padding-left: 6px;
}

.fr-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.fr-toc-list li {
  counter-increment: toc;
  margin: 0;
}

.fr-toc-list a {
  display: block;
  padding: 7px 8px 7px 28px;
  color: var(--fr-gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.35;
  border-radius: 6px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}

.fr-toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 6px;
  top: 8px;
  font-family: var(--fr-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--fr-blue-text);
}

.fr-toc-list a:hover {
  background: var(--fr-blue-faint);
  color: var(--fr-ink);
}

/* Article body */
.fr-article-body {
  max-width: 760px;
  color: var(--fr-gray-800);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.fr-article-body h2 {
  font-family: var(--fr-font-display);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fr-ink);
  margin: 48px 0 16px;
  padding-top: 8px;
  scroll-margin-top: 24px;
}

.fr-article-body h2:first-child { margin-top: 0; }

.fr-article-body h3 {
  font-family: var(--fr-font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--fr-ink);
  margin: 32px 0 10px;
}

.fr-article-body p {
  margin: 0 0 16px;
}

.fr-article-body strong {
  color: var(--fr-ink);
  font-weight: 600;
}

.fr-article-body a {
  color: var(--fr-blue-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.fr-article-body a:hover {
  text-decoration-thickness: 2px;
}

.fr-article-body ul, .fr-article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.fr-article-body li {
  margin: 6px 0;
}

/* Callouts */
.fr-callout {
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  border: 1px solid;
  font-size: 1rem;
  line-height: 1.6;
}

.fr-callout p:last-child { margin-bottom: 0; }
.fr-callout ul:last-child { margin-bottom: 0; }

.fr-callout-title {
  font-weight: 700;
  color: var(--fr-ink);
  margin-bottom: 8px;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
}

.fr-callout-info {
  background: var(--fr-blue-faint);
  border-color: #FDE68A;
}

.fr-callout-tip {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.fr-callout-warning {
  background: #FFFBEB;
  border-color: #FCD34D;
}

.fr-callout-example {
  background: var(--fr-gray-50);
  border-color: var(--fr-gray-200);
}

/* Tables */
.fr-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--fr-gray-100);
  border-radius: 12px;
}

.fr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: white;
}

.fr-table th,
.fr-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--fr-gray-100);
  vertical-align: top;
}

.fr-table th {
  background: var(--fr-gray-50);
  font-weight: 700;
  color: var(--fr-gray-800);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--fr-gray-200);
}

.fr-table tr:last-child td {
  border-bottom: none;
}

.fr-table tr:hover td {
  background: var(--fr-blue-faint);
}

.fr-yes {
  color: #16A34A;
  font-weight: 600;
}

.fr-no {
  color: #DC2626;
  font-weight: 600;
}

.fr-tilde {
  color: #CA8A04;
  font-weight: 600;
}

/* Numbered list */
.fr-numbered-list {
  list-style: none;
  counter-reset: ord;
  padding: 0;
  margin: 24px 0;
}

.fr-numbered-list > li {
  counter-increment: ord;
  position: relative;
  padding: 18px 18px 18px 64px;
  margin: 12px 0;
  background: var(--fr-gray-50);
  border-radius: 12px;
  border: 1px solid var(--fr-gray-100);
}

.fr-numbered-list > li::before {
  content: counter(ord);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fr-blue);
  color: var(--fr-ink);
  font-family: var(--fr-font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 50%;
}

.fr-numbered-list > li > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--fr-ink);
  font-size: 1rem;
}

.fr-numbered-list > li > p {
  margin: 4px 0 0;
  color: var(--fr-gray-700);
  font-size: 0.9375rem;
}

/* FAQ */
.fr-faq {
  margin: 24px 0;
}

.fr-faq-item {
  border: 1px solid var(--fr-gray-100);
  border-radius: 10px;
  margin: 10px 0;
  background: white;
  overflow: hidden;
}

.fr-faq-item summary {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--fr-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
  font-size: 1rem;
}

.fr-faq-item summary::-webkit-details-marker { display: none; }

.fr-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fr-blue);
  color: var(--fr-ink);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.fr-faq-item[open] summary::after {
  content: "−";
}

.fr-faq-item summary:hover {
  background: var(--fr-blue-faint);
}

.fr-faq-item p {
  padding: 0 18px 16px;
  margin: 0;
  color: var(--fr-gray-700);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* CTA block */
.fr-article-cta {
  background: linear-gradient(135deg, var(--fr-blue-faint) 0%, var(--fr-blue-soft) 100%);
  border: 1px solid #FDE68A;
  border-radius: 16px;
  padding: 32px;
  margin: 48px 0 32px;
  text-align: center;
}

.fr-article-cta h3 {
  font-family: var(--fr-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--fr-ink);
  margin: 0 0 8px;
}

.fr-article-cta p {
  color: var(--fr-gray-700);
  margin: 0 0 20px;
}

.fr-article-meta-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--fr-gray-100);
  font-size: 0.875rem;
  color: var(--fr-gray-500);
  line-height: 1.55;
}

.fr-article-meta-footer p { margin: 0; }
.fr-article-meta-footer a { color: var(--fr-blue-text); }

/* =========================================================
   BANDEAU COOKIES — consentement RGPD
   ========================================================= */
.fr-cookie-banner,
.fr-cookie-prefs {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--fr-gray-200, #e4e4e7);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 22px 24px;
  color: var(--fr-ink, #1A1A1F);
  max-width: 920px;
  margin: 0 auto;
  font-family: inherit;
}
.fr-cookie-prefs { max-height: calc(100vh - 32px); overflow-y: auto; }

.fr-cookie-inner,
.fr-cookie-prefs-inner { width: 100%; }

.fr-cookie-title {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.fr-cookie-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fr-gray-700, #404040);
  margin: 0 0 18px;
}

.fr-cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 8px;
}

.fr-cookie-list { list-style: none; padding: 0; margin: 0 0 16px; }
.fr-cookie-list li {
  padding: 14px 0;
  border-top: 1px solid var(--fr-gray-100, #f4f4f5);
}
.fr-cookie-list li:first-child { border-top: none; }

.fr-cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.fr-cookie-cat strong { font-size: 0.9375rem; }
.fr-cookie-status {
  font-size: 0.75rem;
  color: var(--fr-gray-500, #71717a);
  background: var(--fr-gray-50, #fafafa);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.fr-cookie-list p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fr-gray-700, #525252);
  margin: 4px 0 0;
}

/* Switch */
.fr-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.fr-switch input { opacity: 0; width: 0; height: 0; }
.fr-switch span {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--fr-gray-300, #d4d4d8);
  border-radius: 22px;
  transition: .2s;
}
.fr-switch span::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.fr-switch input:checked + span { background: var(--fr-blue, #FACC15); }
.fr-switch input:checked + span::before { transform: translateX(18px); }

@media (max-width: 640px) {
  .fr-cookie-banner,
  .fr-cookie-prefs {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 18px;
    border-radius: 12px;
  }
  .fr-cookie-actions { flex-direction: column-reverse; align-items: stretch; }
  .fr-cookie-actions .fr-btn { width: 100%; }
}

/* =========================================================
   NAV — scroll shadow (sticky plus marqué)
   ========================================================= */
.fr-nav {
  transition: box-shadow .2s ease, background-color .2s ease, border-bottom-color .2s ease;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}
.fr-nav.is-scrolled {
  box-shadow: 0 6px 24px rgba(15,15,20,.06);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--fr-gray-100, #f4f4f5);
}

/* =========================================================
   SUB-NAV — ancrage in-page sticky (home et pages longues)
   ========================================================= */
.fr-subnav {
  position: sticky;
  top: 56px; /* sous la nav principale */
  z-index: 50;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fr-gray-100, #f4f4f5);
  transition: box-shadow .2s ease;
}
.fr-subnav.is-scrolled {
  box-shadow: 0 4px 16px rgba(15,15,20,.04);
}
.fr-subnav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0;
}
.fr-subnav-inner::-webkit-scrollbar { display: none; }
.fr-subnav a {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fr-gray-700, #404040);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.fr-subnav a:hover {
  background: var(--fr-blue-faint, #FFFBEB);
  color: var(--fr-ink, #1A1A1F);
}
@media (max-width: 700px) {
  .fr-subnav { top: 52px; }
  .fr-subnav-inner { padding: 8px 0; }
  .fr-subnav a { padding: 7px 12px; font-size: 0.8125rem; }
}

/* =========================================================
   CARTE CATÉGORIE DÉSACTIVÉE ("À venir")
   ========================================================= */
.fr-cat-card-soon {
  cursor: not-allowed;
  opacity: 0.72;
  background: var(--fr-gray-50, #fafafa);
  border: 1px dashed var(--fr-gray-200, #e4e4e7);
  pointer-events: auto;
  position: relative;
}
.fr-cat-card-soon:hover {
  transform: none !important;
  box-shadow: none !important;
}
.fr-cat-card-soon .fr-cat-icon {
  background: var(--fr-gray-100, #f4f4f5);
  color: var(--fr-gray-500, #71717a);
}
.fr-cat-card-soon .fr-cat-title {
  color: var(--fr-gray-700, #525252);
}
.fr-cat-soon-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--fr-ink, #1A1A1F);
  color: var(--fr-blue, #FACC15);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* =========================================================
   MÉTHODE — bloc renforcé (garanties + breakdown)
   ========================================================= */
.fr-method-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 40px;
}
@media (max-width: 800px) {
  .fr-method-guarantees { grid-template-columns: 1fr; gap: 12px; }
}
.fr-method-guarantee {
  background: #fff;
  border: 1px solid var(--fr-gray-100, #f4f4f5);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: border-color .15s, transform .15s;
}
.fr-method-guarantee:hover {
  border-color: var(--fr-gray-200, #e4e4e7);
  transform: translateY(-2px);
}
.fr-method-guarantee-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fr-blue-faint, #FFFBEB);
  color: var(--fr-blue-text, #854D0E);
  border-radius: 10px;
  margin-bottom: 14px;
}
.fr-method-guarantee h4 {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fr-ink, #1A1A1F);
  margin: 0 0 6px;
}
.fr-method-guarantee p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fr-gray-700, #525252);
  margin: 0;
}

/* Exemple de calcul */
.fr-method-example {
  background: #fff;
  border: 1px solid var(--fr-gray-100, #f4f4f5);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .fr-method-example { padding: 22px 18px; }
}
.fr-method-example-head {
  margin-bottom: 24px;
}
.fr-method-example-head h3 {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fr-ink, #1A1A1F);
  margin: 6px 0 8px;
}
.fr-method-example-head p {
  color: var(--fr-gray-700, #525252);
  font-size: 0.9375rem;
  margin: 0;
}

.fr-method-breakdown {
  display: flex;
  flex-direction: column;
}
.fr-method-row {
  display: grid;
  grid-template-columns: 180px 56px 1fr 64px;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fr-gray-100, #f4f4f5);
  font-size: 0.875rem;
}
.fr-method-row:first-child { padding-top: 0; }
@media (max-width: 700px) {
  .fr-method-row {
    grid-template-columns: 1fr 56px;
    grid-template-rows: auto auto;
    row-gap: 6px;
    column-gap: 12px;
  }
  .fr-method-row-pillar { grid-column: 1; grid-row: 1; }
  .fr-method-row-weight { grid-column: 2; grid-row: 1; text-align: right; }
  .fr-method-row-bar    { grid-column: 1 / 2; grid-row: 2; }
  .fr-method-row-score  { grid-column: 2; grid-row: 2; text-align: right; }
}
.fr-method-row-pillar {
  font-weight: 600;
  color: var(--fr-ink, #1A1A1F);
}
.fr-method-row-weight {
  font-family: var(--fr-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.8125rem;
  color: var(--fr-gray-500, #71717a);
  font-weight: 600;
}
.fr-method-row-bar {
  position: relative;
  height: 8px;
  background: var(--fr-gray-100, #f4f4f5);
  border-radius: 999px;
  overflow: hidden;
}
.fr-method-row-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--fr-blue, #FACC15) 0%, var(--fr-blue-hover, #EAB308) 100%);
  border-radius: 999px;
}
.fr-method-row-score {
  font-family: var(--fr-font-mono, 'JetBrains Mono', monospace);
  font-weight: 700;
  color: var(--fr-ink, #1A1A1F);
  text-align: right;
  font-size: 0.875rem;
}

.fr-method-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--fr-ink, #1A1A1F);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9375rem;
}
.fr-method-total-score {
  font-family: var(--fr-font-mono, 'JetBrains Mono', monospace);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fr-blue, #FACC15);
  letter-spacing: -0.02em;
}

.fr-method-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .fr-method-cta { flex-direction: column; }
  .fr-method-cta .fr-btn { width: 100%; }
}

/* =========================================================
   QUIZ COMPARATEUR — widget interactif home
   ========================================================= */
.fr-quiz-section {
  padding: 40px 0 80px;
  background: linear-gradient(180deg, var(--fr-blue-faint, #FFFBEB) 0%, #ffffff 100%);
}

.fr-quiz {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--fr-gray-100, #f4f4f5);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15,15,20,.06);
  overflow: hidden;
}

/* Header + progress bar */
.fr-quiz-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--fr-gray-100, #f4f4f5);
  background: #ffffff;
}
.fr-quiz-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--fr-gray-500, #71717a);
}
.fr-quiz-step-label {
  font-family: var(--fr-font-mono, 'JetBrains Mono', monospace);
  font-weight: 600;
  color: var(--fr-ink, #1A1A1F);
  white-space: nowrap;
}
.fr-quiz-step-label strong {
  color: var(--fr-blue-text, #854D0E);
  font-weight: 700;
}
.fr-quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--fr-gray-100, #f4f4f5);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.fr-quiz-progress-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--fr-blue, #FACC15) 0%, var(--fr-blue-hover, #EAB308) 100%);
  border-radius: 999px;
  transition: width .3s ease;
}
.fr-quiz-timer {
  font-family: var(--fr-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  color: var(--fr-gray-500, #71717a);
  white-space: nowrap;
}

/* Body : question + options */
.fr-quiz-body {
  padding: 32px 28px 24px;
  min-height: 320px;
}
.fr-quiz-body.fr-quiz-shake {
  animation: fr-quiz-shake 0.35s ease;
}
@keyframes fr-quiz-shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

.fr-quiz-question h3 {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fr-ink, #1A1A1F);
  margin: 0 0 8px;
  line-height: 1.25;
}
.fr-quiz-help {
  font-size: 0.9375rem;
  color: var(--fr-gray-700, #525252);
  margin: 0 0 20px;
}
.fr-quiz-help-sm {
  font-size: 0.8125rem;
  color: var(--fr-gray-500, #71717a);
  margin-top: -12px;
  margin-bottom: 16px;
}

/* Options */
.fr-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fr-quiz-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: #ffffff;
  border: 1.5px solid var(--fr-gray-200, #e4e4e7);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--fr-ink, #1A1A1F);
  transition: border-color .15s, background .15s, transform .1s;
}
.fr-quiz-opt:hover {
  border-color: var(--fr-blue, #FACC15);
  background: var(--fr-blue-faint, #FFFBEB);
}
.fr-quiz-opt:active { transform: scale(0.99); }
.fr-quiz-opt.active {
  border-color: var(--fr-blue-hover, #EAB308);
  background: var(--fr-blue-faint, #FFFBEB);
  box-shadow: inset 0 0 0 1px var(--fr-blue, #FACC15);
}
.fr-quiz-opt-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.fr-quiz-opt-label {
  flex: 1;
  font-weight: 500;
}
.fr-quiz-opt-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--fr-gray-300, #d4d4d8);
  flex-shrink: 0;
  position: relative;
  transition: border-color .15s, background .15s;
}
.fr-quiz-opt.active .fr-quiz-opt-check {
  border-color: var(--fr-ink, #1A1A1F);
  background: var(--fr-ink, #1A1A1F);
}
.fr-quiz-opt.active .fr-quiz-opt-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--fr-blue, #FACC15);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Footer */
.fr-quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px 22px;
  background: var(--fr-gray-50, #fafafa);
  border-top: 1px solid var(--fr-gray-100, #f4f4f5);
}
.fr-quiz-btn {
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .15s, transform .1s;
  font-family: inherit;
}
.fr-quiz-back {
  background: transparent;
  color: var(--fr-gray-700, #525252);
  border-color: var(--fr-gray-200, #e4e4e7);
}
.fr-quiz-back:hover:not(:disabled) { background: #fff; color: var(--fr-ink, #1A1A1F); }
.fr-quiz-back:disabled { opacity: 0.4; cursor: not-allowed; }
.fr-quiz-next {
  background: var(--fr-ink, #1A1A1F);
  color: var(--fr-blue, #FACC15);
}
.fr-quiz-next:hover { transform: translateY(-1px); }
.fr-quiz-badges {
  display: flex;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--fr-gray-500, #71717a);
  font-family: var(--fr-font-mono, 'JetBrains Mono', monospace);
}

/* Résultats */
.fr-quiz-results-head {
  text-align: center;
  margin-bottom: 24px;
}
.fr-quiz-results-head h3 {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
  color: var(--fr-ink, #1A1A1F);
}
.fr-quiz-results-head p {
  color: var(--fr-gray-700, #525252);
  font-size: 0.9375rem;
  margin: 0;
}

.fr-quiz-results-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.fr-quiz-result-card {
  display: grid;
  grid-template-columns: 56px 72px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1.5px solid var(--fr-gray-200, #e4e4e7);
  border-radius: 14px;
  transition: border-color .15s, transform .15s;
}
.fr-quiz-result-card:hover {
  border-color: var(--fr-blue, #FACC15);
  transform: translateY(-2px);
}
.fr-quiz-result-rank-1 {
  border-color: var(--fr-blue-hover, #EAB308);
  background: linear-gradient(180deg, var(--fr-blue-faint, #FFFBEB) 0%, #ffffff 60%);
}
.fr-quiz-result-rank {
  font-family: var(--fr-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fr-gray-500, #71717a);
  text-align: center;
}
.fr-quiz-result-rank-1 .fr-quiz-result-rank {
  color: var(--fr-blue-text, #854D0E);
}
.fr-quiz-result-logo {
  width: 60px;
  height: 60px;
}
.fr-quiz-result-logo svg,
.fr-quiz-result-logo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}
.fr-quiz-result-body h4 {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--fr-ink, #1A1A1F);
}
.fr-quiz-result-body p {
  font-size: 0.875rem;
  color: var(--fr-gray-700, #525252);
  margin: 0 0 8px;
  line-height: 1.45;
}
.fr-quiz-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fr-quiz-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--fr-blue-faint, #FFFBEB);
  color: var(--fr-blue-text, #854D0E);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.fr-quiz-tag-muted {
  display: inline-block;
  padding: 3px 10px;
  background: var(--fr-gray-100, #f4f4f5);
  color: var(--fr-gray-500, #71717a);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.fr-quiz-result-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fr-quiz-results-foot {
  text-align: center;
}

/* Écran de redirection catégorielle */
.fr-quiz-redirect {
  text-align: center;
  padding: 24px 12px;
}
.fr-quiz-redirect-icon {
  font-size: 2rem;
  color: var(--fr-blue-text, #854D0E);
  margin-bottom: 8px;
}
.fr-quiz-redirect h3 {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--fr-ink, #1A1A1F);
  margin: 0 0 8px;
}
.fr-quiz-redirect p {
  color: var(--fr-gray-700, #525252);
  margin: 0 0 20px;
  font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 700px) {
  .fr-quiz-header,
  .fr-quiz-body,
  .fr-quiz-footer { padding-left: 18px; padding-right: 18px; }
  .fr-quiz-body { min-height: 280px; padding-top: 24px; }
  .fr-quiz-progress { gap: 12px; }
  .fr-quiz-timer { display: none; }
  .fr-quiz-question h3 { font-size: 1.25rem; }
  .fr-quiz-opt { padding: 14px 14px; font-size: 0.875rem; }
  .fr-quiz-footer { flex-direction: column-reverse; gap: 12px; align-items: stretch; }
  .fr-quiz-badges { justify-content: center; }
  .fr-quiz-btn { width: 100%; }
  .fr-quiz-result-card {
    grid-template-columns: 44px 56px 1fr;
    grid-template-rows: auto auto;
    row-gap: 12px;
    padding: 16px;
  }
  .fr-quiz-result-actions {
    grid-column: 1 / 4;
    grid-row: 2;
    flex-direction: row;
  }
  .fr-quiz-result-actions .fr-btn { flex: 1; }
  .fr-quiz-result-logo { width: 56px; height: 56px; }
}

/* =========================================================
   LOGOS OFFICIELS — fichiers dans /assets/logos/
   Même rendu que les SVG fait maison (80×80, arrondi, blanc)
   ========================================================= */
.fr-brand-logo-img {
  width: 100%;
  height: 100%;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 6px;
  display: block;
  box-sizing: border-box;
}

/* =========================================================
   STICKY OFFER — widget flottant sur les fiches banques/assurances
   ========================================================= */
.fr-sticky-offer {
  position: fixed;
  top: 88px;
  right: 24px;
  width: 320px;
  z-index: 60;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.fr-sticky-offer.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fr-sticky-offer-inner {
  background: #ffffff;
  border: 1px solid var(--fr-gray-200, #e4e4e7);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 12px 32px rgba(15,15,20,0.10);
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  gap: 10px 12px;
  align-items: center;
}

.fr-sticky-offer-logo {
  width: 48px;
  height: 48px;
  grid-row: 1;
  grid-column: 1;
}
.fr-sticky-offer-logo svg,
.fr-sticky-offer-logo img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  display: block;
}

.fr-sticky-offer-body {
  grid-row: 1;
  grid-column: 2;
  min-width: 0;
}
.fr-sticky-offer-name {
  font-family: var(--fr-font-display, 'Inter Tight', sans-serif);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  color: var(--fr-ink, #1A1A1F);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-sticky-offer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 0.8125rem;
  color: var(--fr-gray-600, #525252);
}
.fr-sticky-offer-score {
  color: var(--fr-blue-text, #854D0E);
  font-weight: 700;
}
.fr-sticky-offer-price {
  color: var(--fr-gray-700, #404040);
  font-weight: 600;
}

.fr-sticky-offer-cta {
  grid-row: 2;
  grid-column: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--fr-blue, #FACC15);
  color: var(--fr-ink, #1A1A1F);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.fr-sticky-offer-cta:hover {
  background: var(--fr-blue-hover, #EAB308);
}
.fr-sticky-offer-cta:active {
  transform: scale(0.98);
}

/* Mobile : bandeau bas full-width */
@media (max-width: 720px) {
  .fr-sticky-offer {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
  }
  .fr-sticky-offer.is-visible {
    transform: translateY(0);
  }
  .fr-sticky-offer-inner {
    border-radius: 14px 14px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 -8px 24px rgba(15,15,20,0.10);
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto;
    padding: 12px 16px;
    align-items: center;
  }
  .fr-sticky-offer-logo { width: 44px; height: 44px; }
  .fr-sticky-offer-cta {
    grid-row: 1;
    grid-column: 3;
    padding: 10px 14px;
    font-size: 0.875rem;
  }
  .fr-sticky-offer-name { font-size: 0.875rem; }
}
