@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@1,500;1,600;1,700&family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
[hidden] { display: none !important; }

:root {
  --primary: #0077B6;
  --primary-dark: #005a8c;
  --primary-light: #E6F4FB;
  --secondary: #90E0EF;
  --accent: #00C896;
  --accent-dark: #00a37a;
  --warn: #FFA94D;
  --danger: #E63946;
  --bg: #FAFBFD;
  --surface: #ffffff;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.1);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 24px; }
.logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.logo-you {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  color: var(--text);
}
.logo-banque {
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, #00aaf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-left: 1px;
}
.logo-tld {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.5em;
  color: var(--text-muted);
  margin-left: 3px;
  letter-spacing: 0.02em;
  transform: translateY(-0.1em);
  display: inline-block;
}
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav > a { color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.main-nav > a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

/* Dropdown nav item */
.nav-item { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
  color: var(--text); font-weight: 500; font-size: 0.95rem;
  cursor: pointer; transition: color .2s; white-space: nowrap;
}
.nav-has-dropdown:hover .nav-dropdown-trigger,
.nav-has-dropdown:focus-within .nav-dropdown-trigger { color: var(--primary); }
.nav-chevron { width: 14px; height: 14px; transition: transform .2s; flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff !important;
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
  font-size: 0.9rem; white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,119,182,.25);
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,119,182,.35); }
.nav-cta-icon { width: 14px; height: 14px; flex-shrink: 0; }
.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  background: white; border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 0 0 1px var(--border);
  min-width: 260px; padding: 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 100;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge covers the 8px gap to prevent hover dead zone */
.nav-dropdown::after {
  content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px;
}
/* Arrow tip */
.nav-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; background: white;
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  rotate: 45deg;
}
.dropdown-section-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-bottom: 8px; padding: 0 4px;
}
.dropdown-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.dropdown-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  color: var(--text); transition: background .15s, color .15s;
}
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-item-icon {
  width: 30px; height: 30px; border-radius: 8px; background: var(--primary-light);
  display: grid; place-items: center; flex-shrink: 0; transition: background .15s;
}
.dropdown-item-icon i { width: 15px; height: 15px; color: var(--primary); }
.dropdown-item:hover .dropdown-item-icon { background: white; }
.dropdown-footer {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}
.dropdown-footer a {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  font-size: 0.88rem; font-weight: 600; color: var(--primary);
  padding: 6px; border-radius: 8px; transition: background .15s;
}
.dropdown-footer a i { width: 14px; height: 14px; }
.dropdown-footer a:hover { background: var(--primary-light); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: white; border-bottom: 1px solid var(--border);
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .main-nav > a { padding: 14px 20px; border-bottom: 1px solid var(--border); }
  body.nav-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  /* Mobile dropdown — toujours visible dans le menu ouvert */
  .nav-dropdown-trigger { padding: 14px 20px; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-chevron { display: none; }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border-radius: 0; min-width: 0;
    padding: 0; border-bottom: 1px solid var(--border);
  }
  .nav-dropdown::before { display: none; }
  .dropdown-section-label { padding: 10px 20px 4px; }
  .dropdown-grid { grid-template-columns: 1fr; gap: 0; }
  .dropdown-item { padding: 12px 28px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .dropdown-footer { margin: 0; padding: 0; border: none; }
  .dropdown-footer a { justify-content: flex-start; padding: 12px 28px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-has-dropdown:hover .nav-chevron,
  .nav-has-dropdown:focus-within .nav-chevron { transform: none; }
  /* neutralise la règle hover desktop qui applique translateX(-50%) */
  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown:focus-within .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
  }
}

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #0077B6 0%, #00aaf0 60%, #90E0EF 100%);
  color: white;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,.12), transparent 45%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.hero-text { min-width: 0; }
.hero h1 { color: white; max-width: 820px; }
.hero .lead { font-size: 1.15rem; max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.92); }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* HERO VISUAL — animated credit cards */
.hero-visual { position: relative; min-height: 380px; }
.hv-stage {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.hv-card {
  position: absolute;
  width: 280px;
  aspect-ratio: 320/200;
  border-radius: 20px;
  box-shadow:
    0 24px 50px -12px rgba(7, 30, 60, .55),
    0 8px 18px -8px rgba(7, 30, 60, .35),
    inset 0 1px 0 rgba(255,255,255,.25);
  overflow: hidden;
  will-change: transform;
}
.hv-card svg { display: block; }
.hv-card-back {
  top: 6%; left: 8%;
  transform: rotate(-14deg);
  animation: hvFloatBack 7s ease-in-out infinite;
}
.hv-card-mid {
  top: 22%; left: 28%;
  transform: rotate(-2deg);
  animation: hvFloatMid 6s ease-in-out infinite;
  z-index: 2;
}
.hv-card-front {
  top: 42%; left: 14%;
  transform: rotate(8deg);
  animation: hvFloatFront 8s ease-in-out infinite;
  z-index: 3;
  box-shadow:
    0 30px 60px -12px rgba(6, 50, 80, .6),
    0 12px 24px -10px rgba(6, 50, 80, .45),
    inset 0 1px 0 rgba(255,255,255,.4);
}

@keyframes hvFloatBack {
  0%,100% { transform: rotate(-14deg) translateY(0); }
  50%     { transform: rotate(-12deg) translateY(-10px); }
}
@keyframes hvFloatMid {
  0%,100% { transform: rotate(-2deg) translateY(0); }
  50%     { transform: rotate(0deg) translateY(-14px); }
}
@keyframes hvFloatFront {
  0%,100% { transform: rotate(8deg) translateY(0); }
  50%     { transform: rotate(6deg) translateY(-8px); }
}

/* Contactless waves pulse */
.hv-wave path {
  opacity: 0;
  animation: hvWave 1.8s ease-out infinite;
}
.hv-wave path:nth-child(1) { animation-delay: 0s; }
.hv-wave path:nth-child(2) { animation-delay: .25s; }
.hv-wave path:nth-child(3) { animation-delay: .5s; }
@keyframes hvWave {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Coins orbit */
.hv-coin {
  position: absolute;
  filter: drop-shadow(0 8px 16px rgba(120, 70, 0, .35));
  z-index: 4;
}
.hv-coin-1 {
  bottom: 6%; right: 6%;
  animation: hvCoinFloat1 5s ease-in-out infinite, hvSpin 9s linear infinite;
}
.hv-coin-2 {
  top: 4%; right: 14%;
  animation: hvCoinFloat2 4.5s ease-in-out infinite, hvSpin 7s linear infinite reverse;
}
@keyframes hvCoinFloat1 {
  0%,100% { transform: translateY(0) rotateY(0deg); }
  50%     { transform: translateY(-14px) rotateY(180deg); }
}
@keyframes hvCoinFloat2 {
  0%,100% { transform: translateY(0) rotateY(0deg); }
  50%     { transform: translateY(-10px) rotateY(180deg); }
}
@keyframes hvSpin {
  to { transform: rotate(360deg); }
}

/* Sparkles */
.hv-spark {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%);
  filter: blur(.3px);
  opacity: 0;
}
.hv-spark-1 { top: 18%; left: 50%; animation: hvSpark 3s ease-in-out infinite; }
.hv-spark-2 { top: 60%; left: 78%; animation: hvSpark 4s ease-in-out infinite .8s; }
.hv-spark-3 { top: 82%; left: 38%; animation: hvSpark 3.5s ease-in-out infinite 1.5s; }
@keyframes hvSpark {
  0%, 100% { opacity: 0; transform: scale(.5); }
  50%      { opacity: .9; transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
  .hv-card, .hv-coin, .hv-wave path, .hv-spark { animation: none !important; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { min-height: 320px; max-width: 480px; margin: 0 auto; width: 100%; }
  .hv-stage { height: 320px; }
  .hv-card { width: 240px; }
}
@media (max-width: 540px) {
  .hero-visual { min-height: 280px; max-width: 360px; }
  .hv-stage { height: 280px; }
  .hv-card { width: 200px; }
  .hv-card-back  { top: 4%;  left: 6%;  }
  .hv-card-mid   { top: 20%; left: 26%; }
  .hv-card-front { top: 42%; left: 12%; }
  .hv-coin-1 { width: 44px; height: 44px; bottom: 4%; right: 6%; }
  .hv-coin-2 { width: 36px; height: 36px; top: 2%;  right: 12%; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 10px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-size: 0.98rem;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,200,150,.35); color: white; }
.btn-secondary { background: rgba(255,255,255,.15); color: white; border-color: rgba(255,255,255,.4); }
.btn-secondary:hover { background: rgba(255,255,255,.25); color: white; }
.btn-ghost { background: white; color: var(--primary); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-tight { padding: 50px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--primary); font-weight: 700; font-size: 0.85rem; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin-top: 10px; }
.section-head p { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; }

/* TRUST STATS */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: white; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-top: -40px; position: relative; z-index: 5;
}
.stat { padding: 24px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2,1fr); } .stat { border-right: 0; border-bottom: 1px solid var(--border); } }

/* COMPARATIF TABLEAU */
.compare-wrap { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th, .compare-table td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare-table thead th { background: var(--primary-light); color: var(--text); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .05em; }
.compare-table tbody tr:hover { background: #f8fafd; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.bank-cell { display: flex; align-items: center; gap: 12px; }
.bank-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800; color: white; font-size: 0.85rem;
  flex-shrink: 0;
}
.bank-cell-name { font-weight: 700; color: var(--text); }
.bank-cell-tag { font-size: 0.78rem; color: var(--text-muted); }
.note-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  background: #FEF3C7; color: #92400E;
  font-weight: 700; font-size: 0.85rem;
}
.note-pill.high { background: #D1FAE5; color: #065F46; }
.scroll-x { overflow-x: auto; }

/* CARDS GRID */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }

/* CATÉGORIES */
.cat-card {
  display: block; padding: 28px;
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: var(--text);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); color: var(--text); }
.cat-card h3 { color: var(--text); }
.cat-card .arrow { color: var(--primary); font-weight: 700; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }

/* PROFILS GRID */
.profil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.profil-card {
  background: linear-gradient(135deg, var(--primary-light), white);
  border: 1px solid var(--border); padding: 24px; border-radius: var(--radius);
  transition: transform .2s;
  display: block; color: var(--text);
}
.profil-card:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--text); }
.profil-card .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: white; display: grid; place-items: center; margin-bottom: 14px; }
.profil-card h3 { font-size: 1.05rem; }
.profil-card p { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

/* FICHE BANQUE */
.bank-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #00aaf0 100%);
  color: white; padding: 60px 0;
}
.bank-hero .breadcrumbs { color: rgba(255,255,255,.85); margin-bottom: 24px; font-size: 0.88rem; }
.bank-hero .breadcrumbs a { color: white; }
.bank-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
@media (max-width: 920px) { .bank-hero-grid { grid-template-columns: 1fr; } }
.bank-title-row { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.bank-avatar-lg { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; color: white; font-weight: 800; font-size: 1.4rem; }
.bank-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: rgba(255,255,255,.92); font-size: 0.92rem; }
.bank-meta b { color: white; }

.score-card {
  background: white; color: var(--text);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-lg);
}
.score-big { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.score-stars { color: #F59E0B; font-size: 1.2rem; letter-spacing: 2px; margin: 6px 0; }
.score-detail { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.score-detail:last-child { border-bottom: 0; }
.score-detail b { color: var(--primary); }

.fiche-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-top: 40px; }
@media (max-width: 920px) { .fiche-grid { grid-template-columns: 1fr; } }

.fiche-section { margin-bottom: 40px; }
.fiche-section h2 { margin-bottom: 16px; }

.spec-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th { text-align: left; padding: 14px 18px; font-weight: 600; color: var(--text-muted); width: 40%; font-size: 0.92rem; background: #f8fafd; }
.spec-table td { padding: 14px 18px; font-weight: 600; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons { background: white; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
.pros h3 { color: var(--accent-dark); }
.cons h3 { color: var(--danger); }
.pros ul, .cons ul { list-style: none; margin-top: 14px; }
.pros li, .cons li { padding: 8px 0 8px 28px; position: relative; font-size: 0.95rem; }
.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 800; }
.cons li::before { content: '✕'; position: absolute; left: 0; color: var(--danger); font-weight: 800; }

.sticky-side { position: sticky; top: 100px; }
.cta-box {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--accent);
}
.cta-box h3 { margin-bottom: 8px; }
.cta-box p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }

/* COMPARATEUR — filter bar */
.filter-bar {
  background: white; border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 14px;
}
.filter-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 7px; }
.filter-group--toggle { margin-left: auto; }
.filter-group--search { flex: 1; min-width: 180px; }
.filter-label { font-size: 0.76rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

/* Pills */
.pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--border);
  background: white; font-size: 0.88rem; font-weight: 500; cursor: pointer;
  color: var(--text-muted); transition: all .15s; line-height: 1.4; white-space: nowrap;
}
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active { background: var(--primary); border-color: var(--primary); color: white; font-weight: 600; }

/* Toggle switch */
.toggle-switch { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 7px 0; }
.toggle-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track { width: 38px; height: 21px; border-radius: 99px; background: var(--border); position: relative; transition: background .2s; flex-shrink: 0; }
.toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.toggle-switch input:checked + .toggle-track { background: var(--primary); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(17px); }
.toggle-text { font-size: 0.9rem; font-weight: 500; color: var(--text); user-select: none; }

/* Select stylé */
.select-wrap { position: relative; }
.select-wrap .select-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-muted); pointer-events: none; }
.select-wrap select { width: 100%; padding: 8px 28px 8px 32px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.92rem; font-family: inherit; background: white; appearance: none; cursor: pointer; min-width: 190px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: border-color .15s; }
.select-wrap select:focus { outline: none; border-color: var(--primary); }

/* Recherche */
.search-wrap { position: relative; }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-muted); pointer-events: none; }
.search-wrap input { width: 100%; padding: 8px 32px 8px 32px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.92rem; font-family: inherit; background: white; transition: border-color .15s; box-sizing: border-box; }
.search-wrap input:focus { outline: none; border-color: var(--primary); }
.search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: none; cursor: pointer; padding: 2px; color: var(--text-muted); display: flex; align-items: center; }
.search-clear i { width: 14px; height: 14px; }
.search-clear:hover { color: var(--text); }

/* Barre meta (résultats + filtres actifs + reset) */
.filter-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 28px; margin-bottom: 20px; }
.results-count { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.active-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--primary-light); color: var(--primary); border-radius: 99px; padding: 3px 8px 3px 12px; font-size: 0.82rem; font-weight: 600; }
.filter-tag button { border: none; background: none; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--primary); padding: 0 2px; }
.filter-tag button:hover { color: #ef4444; }
.reset-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 99px; border: 1.5px solid var(--border); background: white; font-size: 0.82rem; font-weight: 600; cursor: pointer; color: var(--text-muted); transition: all .15s; }
.reset-btn i { width: 12px; height: 12px; }
.reset-btn:hover { border-color: #ef4444; color: #ef4444; }

/* Card animation */
@keyframes cardAppear { from { opacity: 0; transform: scale(0.97) translateY(6px); } to { opacity: 1; transform: none; } }
.card-appear { animation: cardAppear .18s ease forwards; }
.bank-card.card-hidden { display: none !important; }

/* BANK CARDS GRID */
.bank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.bank-card {
  background: white; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.bank-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bank-card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.bank-card h3 a { color: var(--text); }
.bank-card h3 a:hover { color: var(--primary); }
.bank-card .tagline { font-size: 0.88rem; color: var(--text-muted); }
.bank-card-body { flex: 1; }
.bank-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.bank-mini { background: var(--primary-light); padding: 10px 12px; border-radius: 8px; }
.bank-mini b { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.bank-mini span { font-weight: 700; font-size: 0.9rem; }
.bank-card-foot { display: flex; gap: 10px; margin-top: 16px; }
.bank-card-foot .btn { flex: 1; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: 0.72rem; padding: 4px 10px; background: #f1f5f9; color: var(--text-muted); border-radius: 20px; }

/* ARTICLES */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 22px; }
.article-card { background: white; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .2s; display: block; color: var(--text); }
.article-card:hover { transform: translateY(-3px); color: var(--text); }
.article-card .meta { display: flex; gap: 12px; align-items: center; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.article-card .badge { padding: 3px 10px; background: var(--primary-light); color: var(--primary); border-radius: 14px; font-weight: 600; font-size: 0.75rem; }
.article-card h3 { font-size: 1.1rem; line-height: 1.35; }
.article-card p { color: var(--text-muted); font-size: 0.92rem; margin-top: 10px; }

/* CONTENU LONG */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin: 18px 0; font-size: 1.05rem; line-height: 1.75; color: #1e293b; }
.prose h2 { margin-top: 50px; margin-bottom: 18px; }
.prose h3 { margin-top: 30px; margin-bottom: 12px; }
.prose ul, .prose ol { margin: 18px 0 18px 24px; }
.prose li { margin: 8px 0; line-height: 1.7; }
.prose blockquote { border-left: 4px solid var(--primary); background: var(--primary-light); padding: 18px 22px; border-radius: 8px; margin: 24px 0; font-style: italic; }

/* FAQ */
.faq details { background: white; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 22px 22px; color: var(--text-muted); }

/* WIDGET CALCULATEUR */
.widget {
  background: linear-gradient(135deg, #f8fafd, white);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.widget h3 { margin-bottom: 8px; }
.widget-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
@media (max-width: 600px) { .widget-row { grid-template-columns: 1fr; } }
.widget label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.widget input, .widget select { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; margin-top: 6px; }
.widget-result { background: var(--primary); color: white; padding: 22px; border-radius: 10px; margin-top: 20px; text-align: center; }
.widget-result .num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.4rem; font-weight: 800; display: block; }
.widget-result .lbl { opacity: .9; font-size: 0.9rem; }

/* BREADCRUMBS */
.breadcrumbs { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs span { margin: 0 6px; }

/* PROFIL HERO */
.profil-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-light), white);
  border-bottom: 1px solid var(--border);
}

/* SEO CONTENT BLOCK */
.section--seo { background: var(--surface, #f8fafc); border-top: 1px solid var(--border); }
.seo-content { max-width: 860px; margin: 0 auto; color: var(--text); line-height: 1.75; }
.seo-content h2 { font-size: 1.55rem; font-weight: 700; color: var(--heading, #0f172a); margin: 0 0 18px; }
.seo-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--heading, #0f172a); margin: 32px 0 10px; }
.seo-content p { margin: 0 0 16px; color: var(--text-muted, #475569); }
.seo-content strong { color: var(--text); }
.seo-content ul { padding-left: 22px; margin: 0 0 16px; }
.seo-content li { margin-bottom: 6px; color: var(--text-muted, #475569); }
.seo-content a { color: var(--primary); text-decoration: underline; }

/* FOOTER */
.site-footer { background: #0F172A; color: #cbd5e1; padding: 60px 0 30px; }
.site-footer h4 { color: white; margin-bottom: 18px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; font-size: 0.92rem; }
.site-footer a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e293b; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-tag { color: #94a3b8; font-size: 0.92rem; margin-top: 16px; }
.logo-light .logo-you { color: #ffffff; }
.logo-light .logo-banque {
  background: linear-gradient(135deg, #90E0EF 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo-light .logo-tld { color: rgba(255,255,255,0.55); }
.footer-bottom { padding-top: 24px; font-size: 0.85rem; border-top: 1px solid #1e293b; }
.footer-bottom p { color: #f1f5f9; }
.footer-bottom .disclaimer { margin-top: 8px; font-size: 0.78rem; color: #94a3b8; }

/* REVEAL */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* UTILS */
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mt-6 { margin-top: 40px; }
.mb-4 { margin-bottom: 24px; }
.flex-center { display: flex; justify-content: center; }

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 48px 0 0;
}
.pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .15s ease;
}
.pg:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.pg-current {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  cursor: default;
}
.pg-current:hover { transform: none; }
.pg-gap {
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: default;
}
.pg-nav { padding: 0 16px; }
@media (max-width: 540px) {
  .pg { min-width: 36px; height: 36px; padding: 0 10px; font-size: 0.9rem; }
  .pg-nav { padding: 0 12px; }
}
.gap-3 { gap: 16px; }