/* ============================================================
   GTB BANK — Design System Global v2.0
   Lead: UX/UI Fintech | Mobile-First | Premium
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Brand — inchangé */
  --ds-navy:      #0D1B2A;
  --ds-navy-dark: #091520;
  --ds-navy-deep: #050B14;
  --ds-gold:      #D4AF37;
  --ds-gold-light:#E8C84A;
  --ds-gold-dim:  rgba(212,175,55,.12);
  --ds-gold-glow: rgba(212,175,55,.35);
  --ds-green:     #22C55E;
  --ds-green-dim: rgba(34,197,94,.1);
  --ds-red:       #EF4444;
  --ds-red-dim:   rgba(239,68,68,.1);
  --ds-blue:      #3B82F6;
  --ds-blue-dim:  rgba(59,130,246,.1);
  --ds-orange:    #F59E0B;

  /* Neutrals */
  --ds-white:  #FFFFFF;
  --ds-g0:     #FAFBFC;
  --ds-g1:     #F4F6F8;
  --ds-g2:     #E8ECF0;
  --ds-g3:     #D1D9E0;
  --ds-g4:     #9AAAB8;
  --ds-g5:     #637282;
  --ds-g6:     #3E4F5F;
  --ds-g7:     #1C2C3A;

  /* Spacing (4pt grid) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px;--sp-16: 64px;--sp-24: 96px;

  /* Radius */
  --r1: 6px;  --r2: 10px; --r3: 14px; --r4: 20px;
  --r5: 28px; --r6: 40px; --rf: 9999px;

  /* Shadows — layered */
  --sh-xs: 0 1px 3px rgba(13,27,42,.07);
  --sh-sm: 0 2px 8px rgba(13,27,42,.08), 0 1px 2px rgba(13,27,42,.05);
  --sh-md: 0 4px 16px rgba(13,27,42,.1), 0 2px 6px rgba(13,27,42,.06);
  --sh-lg: 0 12px 40px rgba(13,27,42,.14), 0 4px 12px rgba(13,27,42,.08);
  --sh-xl: 0 24px 64px rgba(13,27,42,.18), 0 8px 24px rgba(13,27,42,.1);
  --sh-gold: 0 4px 20px rgba(212,175,55,.3);
  --sh-green: 0 4px 20px rgba(34,197,94,.25);

  /* Motion */
  --ease:    cubic-bezier(.25,.46,.45,.94);
  --spring:  cubic-bezier(.34,1.56,.64,1);
  --ease-in: cubic-bezier(.4,0,1,1);
  --t-fast:  150ms; --t-base: 220ms; --t-slow: 380ms;

  /* Typography scale */
  --text-xs:   0.625rem;  /* 10px */
  --text-sm:   0.75rem;   /* 12px */
  --text-base: 0.875rem;  /* 14px */
  --text-md:   1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */

  /* Z-index */
  --z-base:    1;
  --z-nav:   100;
  --z-sticky:200;
  --z-drawer:300;
  --z-modal: 500;
  --z-toast: 900;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ds-g7);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.ds-h1, h1.ds {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(var(--text-2xl), 5vw, var(--text-5xl));
  line-height: 1.08; letter-spacing: -.03em; font-weight: 400;
}
.ds-h2, h2.ds {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(var(--text-xl), 3vw, var(--text-4xl));
  line-height: 1.1; letter-spacing: -.025em;
}
.ds-h3 { font-family: 'Sora', sans-serif; font-size: var(--text-xl); font-weight: 700; }
.ds-h4 { font-family: 'Sora', sans-serif; font-size: var(--text-lg); font-weight: 600; }
.ds-body { font-size: var(--text-base); line-height: 1.7; color: var(--ds-g5); }
.ds-caption { font-size: var(--text-sm); color: var(--ds-g4); line-height: 1.5; }
.ds-overline {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ds-g4);
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.ds-container {
  width: 100%; max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(var(--sp-4), 4vw, var(--sp-10));
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn, button.btn,
.btn-primary, .btn-ghost, .btn-white,
.btn-full, .btn-submit, .faq-cta-btn,
.auth-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: var(--text-base);
  border: none; border-radius: var(--rf); cursor: pointer;
  padding: .65rem 1.5rem;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background var(--t-fast) var(--ease),
              opacity var(--t-fast);
  white-space: nowrap; outline: none; position: relative; overflow: hidden;
  user-select: none; -webkit-user-select: none;
}
/* Ripple effect */
.btn::after, .btn-primary::after, .btn-full::after, .btn-submit::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0; transition: opacity .2s;
}
.btn:active::after, .btn-primary:active::after,
.btn-full:active::after, .btn-submit:active::after { opacity: 1; }

/* Gold / primary */
.btn-primary, .btn-full.gold, .faq-cta-btn.primary {
  background: linear-gradient(135deg, var(--ds-gold), #C9A227);
  color: var(--ds-navy-deep);
  box-shadow: var(--sh-gold);
}
.btn-primary:hover, .btn-full.gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,175,55,.45); }
.btn-primary:active, .btn-full.gold:active { transform: translateY(0); }

/* Navy / submit */
.btn-submit, .btn-full:not(.gold):not(.outline) {
  background: linear-gradient(135deg, var(--ds-navy), var(--ds-navy-dark));
  color: var(--ds-white);
  box-shadow: 0 4px 18px rgba(13,27,42,.25);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,27,42,.35); }

/* Ghost */
.btn-ghost, .faq-cta-btn.ghost {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); color: white; border-color: rgba(255,255,255,.25); }

/* Sizes */
.btn-sm { padding: .4rem 1rem; font-size: var(--text-sm); }
.btn-lg { padding: .82rem 2rem; font-size: var(--text-md); }
.btn-xl { padding: 1rem 2.5rem; font-size: var(--text-md); }

/* Disabled */
.btn:disabled, .btn-primary:disabled, .btn-submit:disabled {
  opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card, .contact-form-card, .modal-box,
.contact-method, .legal-nav, .faq-cats,
.faq-item, .plan-card {
  background: var(--ds-white);
  border-radius: var(--r3);
  border: 1px solid var(--ds-g2);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              border-color var(--t-base);
}
.card:hover, .contact-method:hover, .plan-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--ds-g3);
  transform: translateY(-1px);
}
.card-pad { padding: var(--sp-6); }
.card-pad-lg { padding: var(--sp-8); }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--ds-g1);
}
.card-title {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: var(--text-base); color: var(--ds-g7);
}
.card-sub { font-size: var(--text-sm); color: var(--ds-g4); margin-top: 2px; }

/* Dark / navy cards */
.card-dark {
  background: linear-gradient(135deg, var(--ds-navy) 0%, var(--ds-navy-dark) 100%);
  border: 1px solid rgba(255,255,255,.07);
  color: white;
}

/* ── FORMS ──────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--sp-1); margin-bottom: var(--sp-4); }
.form-label, label.form-label {
  font-size: var(--text-sm); font-weight: 600;
  color: var(--ds-g5); letter-spacing: .04em;
  text-transform: uppercase;
}

.form-input, .input-field, .form-select, .form-textarea,
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: var(--text-base);
  color: var(--ds-g7);
  background: var(--ds-g0);
  border: 1.5px solid var(--ds-g2);
  border-radius: var(--r2);
  outline: none;
  transition: border-color var(--t-fast),
              box-shadow var(--t-fast),
              background var(--t-fast);
  -webkit-appearance: none;
}
.form-input:hover, .input-field:hover, .form-select:hover { border-color: var(--ds-g3); }
.form-input:focus, .input-field:focus, .form-select:focus, .form-textarea:focus,
input:focus, select:focus, textarea:focus {
  border-color: var(--ds-gold);
  background: var(--ds-white);
  box-shadow: 0 0 0 3px var(--ds-gold-dim);
}
.form-input::placeholder, .input-field::placeholder { color: var(--ds-g4); }
.form-input.error, input.error { border-color: var(--ds-red); box-shadow: 0 0 0 3px var(--ds-red-dim); }
.form-input.success, input.success { border-color: var(--ds-green); box-shadow: 0 0 0 3px var(--ds-green-dim); }
.form-hint { font-size: var(--text-xs); color: var(--ds-g4); margin-top: var(--sp-1); }
.form-error { font-size: var(--text-xs); color: var(--ds-red); margin-top: var(--sp-1); font-weight: 500; }

/* ── BADGES / CHIPS ─────────────────────────────────────────── */
.badge, .chip, .filter-chip {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: .25rem .75rem;
  border-radius: var(--rf);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: all var(--t-fast);
}
.badge-success, .chip-success { background: var(--ds-green-dim); color: #15803D; }
.badge-danger,  .chip-danger  { background: var(--ds-red-dim);   color: #B91C1C; }
.badge-warning, .chip-warning { background: rgba(245,158,11,.1); color: #92400E; }
.badge-gold                   { background: var(--ds-gold-dim);  color: #92701A; border: 1px solid rgba(212,175,55,.25); }
.badge-navy                   { background: rgba(13,27,42,.08);  color: var(--ds-navy); }
.badge-blue                   { background: var(--ds-blue-dim);  color: #1D4ED8; }

/* ── TABLES ─────────────────────────────────────────────────── */
.tbl-wrap {
  overflow-x: auto;
  border-radius: var(--r3);
  border: 1px solid var(--ds-g2);
  box-shadow: var(--sh-xs);
  -webkit-overflow-scrolling: touch;
}
.tbl, .cookie-table {
  width: 100%; border-collapse: collapse;
  font-size: var(--text-base);
  min-width: 520px;
}
.tbl thead th, .cookie-table th {
  padding: .75rem 1.1rem;
  font-family: 'Sora', sans-serif;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ds-g4);
  text-align: left;
  background: var(--ds-g0);
  border-bottom: 1.5px solid var(--ds-g2);
  white-space: nowrap;
}
.tbl thead th:first-child, .cookie-table th:first-child { border-radius: var(--r3) 0 0 0; }
.tbl thead th:last-child,  .cookie-table th:last-child  { border-radius: 0 var(--r3) 0 0; }
.tbl tbody td, .cookie-table td {
  padding: .85rem 1.1rem;
  font-size: var(--text-base); color: var(--ds-g6);
  border-bottom: 1px solid var(--ds-g1);
  transition: background var(--t-fast);
}
.tbl tbody tr:hover td { background: rgba(212,175,55,.025); }
.tbl tbody tr:last-child td { border-bottom: none; }

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(5,11,20,.6);
  backdrop-filter: blur(6px) saturate(1.3);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-4);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--ds-white);
  border-radius: var(--r4);
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--sh-xl);
  transform: scale(.96) translateY(16px);
  transition: transform var(--t-slow) var(--spring);
  border: 1px solid var(--ds-g2);
}
.modal-overlay.open .modal-box { transform: none; }
.modal-head {
  padding: var(--sp-6) var(--sp-6) 0;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.modal-title {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: var(--text-lg); color: var(--ds-g7);
}
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ds-g1); border: 1px solid var(--ds-g2);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-md); color: var(--ds-g5);
  cursor: pointer; transition: background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--ds-g2); color: var(--ds-g7); }
.modal-body { padding: 0 var(--sp-6) var(--sp-4); }
.modal-foot {
  padding: var(--sp-2) var(--sp-6) var(--sp-6);
  display: flex; gap: var(--sp-3);
}
.modal-foot .btn { flex: 1; }

/* ── SIDEBAR (Dashboard & Admin) ───────────────────────────── */
.sidebar {
  background: linear-gradient(180deg, var(--ds-navy-deep) 0%, var(--ds-navy-dark) 100%);
  border-right: 1px solid rgba(255,255,255,.05);
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
}
.sidebar-link {
  border-radius: var(--r2);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  position: relative;
}
.sidebar-link:hover { background: rgba(255,255,255,.07); transform: translateX(2px); }
.sidebar-link.active {
  background: rgba(212,175,55,.12);
  color: var(--ds-gold) !important;
}
.sidebar-link.active::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 20px;
  background: var(--ds-gold);
  border-radius: 0 var(--rf) var(--rf) 0;
}

/* ── TOPBAR ─────────────────────────────────────────────────── */
.topbar {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid var(--ds-g2);
  box-shadow: 0 1px 0 var(--ds-g2), var(--sh-xs);
}

/* ── STAT CARDS ─────────────────────────────────────────────── */
.stat-card, [class*="stat-"] > .card {
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.08) 0%, transparent 70%);
  pointer-events: none;
}
.stat-value {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  color: var(--ds-navy); line-height: 1;
}
.stat-label {
  font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ds-g4); margin-bottom: var(--sp-2);
}
.stat-diff {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: var(--text-xs); font-weight: 700;
  padding: 2px 8px; border-radius: var(--rf);
}
.stat-diff.up   { background: var(--ds-green-dim); color: #15803D; }
.stat-diff.down { background: var(--ds-red-dim);   color: #B91C1C; }

/* ── INFO / HIGHLIGHT BOXES ─────────────────────────────────── */
.info-box {
  background: rgba(13,27,42,.04);
  border-left: 3px solid var(--ds-gold);
  border-radius: 0 var(--r2) var(--r2) 0;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--text-base); color: var(--ds-g6);
  line-height: 1.65;
}
.highlight-box {
  background: linear-gradient(135deg, rgba(212,175,55,.07), rgba(212,175,55,.03));
  border: 1px solid rgba(212,175,55,.2);
  border-radius: var(--r2);
  padding: var(--sp-4) var(--sp-5);
  display: flex; gap: var(--sp-3); align-items: flex-start;
}
.success-box {
  background: var(--ds-green-dim);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: var(--r2);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-base); color: #15803D;
}
.error-box {
  background: var(--ds-red-dim);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--r2);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-base); color: #B91C1C;
}

/* ── TOGGLE ─────────────────────────────────────────────────── */
.toggle, .switch {
  width: 44px; height: 24px; border-radius: var(--rf);
  background: var(--ds-g3); cursor: pointer;
  position: relative; flex-shrink: 0;
  transition: background var(--t-base) var(--ease);
  border: none;
}
.toggle::after, .switch::after {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: white; box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--spring);
}
.toggle.on, .switch.active {
  background: var(--ds-green);
  box-shadow: 0 0 0 2px rgba(34,197,94,.2);
}
.toggle.on::after, .switch.active::after { transform: translateX(20px); }

/* ── SECTION TITLES ─────────────────────────────────────────── */
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  color: var(--ds-navy); line-height: 1.12; letter-spacing: -.025em;
}
.section-label {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ds-gold); margin-bottom: var(--sp-3);
}
.section-label::before {
  content: ''; display: block; width: 18px; height: 1.5px;
  background: var(--ds-gold); opacity: .5;
}

/* ── SKELETON LOADERS ───────────────────────────────────────── */
@keyframes ds-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton, .ds-skel {
  background: linear-gradient(90deg,
    var(--ds-g1) 25%,
    var(--ds-g2) 50%,
    var(--ds-g1) 75%
  );
  background-size: 800px 100%;
  animation: ds-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r1);
}
.skel-text  { height: 14px; border-radius: var(--rf); }
.skel-title { height: 22px; border-radius: var(--rf); width: 60%; }
.skel-card  { height: 120px; border-radius: var(--r3); }
.skel-avatar{ width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }

/* ── PAGE HEADER (public pages) ─────────────────────────────── */
.contactpage-header,
.secupage-header,
.mentionpage-header,
.cookiespage-header,
.confidentialitespage-header,
.page-header {
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(135deg, var(--ds-navy) 0%, var(--ds-navy-dark) 55%, #0a1420 100%);
  position: relative; overflow: hidden; text-align: center;
}
.contactpage-header::after,
.secupage-header::after,
.mentionpage-header::after,
.cookiespage-header::after,
.confidentialitespage-header::after {
  content: ''; position: absolute;
  bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 160px;
  background: radial-gradient(ellipse, rgba(212,175,55,.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── TOAST / NOTIFICATIONS ──────────────────────────────────── */
.gtb-toast {
  position: fixed; bottom: var(--sp-5); right: var(--sp-5);
  z-index: var(--z-toast);
  background: var(--ds-navy);
  color: white;
  border-left: 3px solid var(--ds-gold);
  padding: .82rem 1.2rem;
  border-radius: var(--r2);
  font-size: var(--text-base); font-weight: 500;
  box-shadow: var(--sh-lg);
  opacity: 0; transform: translateX(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  pointer-events: none; max-width: 320px;
}
.gtb-toast.show { opacity: 1; transform: translateX(0); }

/* ── BOTTOM NAV (public pages) ──────────────────────────────── */
.gtb-pub-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: rgba(9,21,32,.96);
  backdrop-filter: blur(20px) saturate(1.8);
  border-top: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 -4px 32px rgba(0,0,0,.25);
  padding-bottom: env(safe-area-inset-bottom);
}
.gtb-pub-bottom-nav__inner {
  display: flex; height: 62px;
  align-items: center; justify-content: space-around;
  padding: 0 var(--sp-2);
}
.gtb-pbn-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; flex: 1;
  padding: .4rem .2rem;
  text-decoration: none;
  color: rgba(255,255,255,.3);
  border-radius: var(--r2);
  transition: color var(--t-base), transform var(--t-fast);
  min-height: 52px;
}
.gtb-pbn-item:active { transform: scale(.92); }
.gtb-pbn-item.active { color: var(--ds-gold); }
.gtb-pbn-icon { font-size: 1.25rem; line-height: 1; display: block; }
.gtb-pbn-label {
  font-size: .55rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; line-height: 1;
}

/* ── BOTTOM NAV (dashboard) ─────────────────────────────────── */
.gtb-app-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: white;
  border-top: 1px solid var(--ds-g2);
  box-shadow: 0 -4px 24px rgba(13,27,42,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.gtb-app-bottom-nav__inner {
  display: flex; height: 62px;
  align-items: center; justify-content: space-around;
  padding: 0 var(--sp-2);
}
.gtb-abn-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; flex: 1;
  padding: .4rem .2rem;
  text-decoration: none;
  color: var(--ds-g4);
  border-radius: var(--r2);
  position: relative;
  transition: color var(--t-base), transform var(--t-fast);
  min-height: 52px;
}
.gtb-abn-item:active { transform: scale(.9); }
.gtb-abn-item.active { color: var(--ds-navy); }
.gtb-abn-icon { font-size: 1.3rem; line-height: 1; display: block; }
.gtb-abn-label {
  font-size: .55rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; line-height: 1;
}
.gtb-abn-dot {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ds-gold);
}

/* ── TRANSITIONS GLOBALES ───────────────────────────────────── */
a, button, input, select, textarea,
.card, .contact-method, .sidebar-link,
.faq-item, .faq-cat-btn, .plan-card,
.chip, .badge, .toggle, .switch,
[class*="btn"] {
  transition-property: color, background, border-color, box-shadow, transform, opacity;
  transition-duration: var(--t-base);
  transition-timing-function: var(--ease);
}

/* ── SCROLL BAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ds-g3); border-radius: var(--rf); }
::-webkit-scrollbar-thumb:hover { background: var(--ds-g4); }

/* ── FOCUS VISIBLE (accessibilité) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--ds-gold);
  outline-offset: 3px;
  border-radius: var(--r1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Desktop large (≥1440px) ───────────────────────────────── */
@media(min-width:1440px) {
  .ds-container { max-width: 1360px; }
  .card-pad-lg { padding: var(--sp-10); }
}

/* ── Tablet (640px–1024px) ─────────────────────────────────── */
@media(max-width:1024px) {
  .modal-box { max-width: 92vw; }
}

/* ── Mobile (≤768px) ───────────────────────────────────────── */
@media(max-width:768px) {
  .gtb-pub-bottom-nav  { display: block; }
  .gtb-app-bottom-nav  { display: block; }

  .modal-box {
    border-radius: var(--r4) var(--r4) 0 0;
    max-width: 100%; margin: auto 0 0 0;
    align-self: flex-end;
  }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .tbl-wrap { border-radius: var(--r2); }
  .card-pad-lg { padding: var(--sp-5); }
}

/* ── Small Mobile (≤480px) ─────────────────────────────────── */
@media(max-width:480px) {
  :root {
    --text-base: 0.8125rem; /* 13px */
    --text-md:   0.9375rem; /* 15px */
  }
  .card-pad, .card-pad-lg { padding: var(--sp-4); }
  .btn, .btn-primary, .btn-submit, .btn-full { padding: .62rem 1.25rem; font-size: var(--text-sm); }
  .btn-xl { padding: .82rem 1.6rem; }
  .stat-value { font-size: var(--text-2xl) !important; }
  .modal-head { padding: var(--sp-4) var(--sp-4) 0; }
  .modal-body { padding: 0 var(--sp-4) var(--sp-4); }
  .modal-foot { padding: var(--sp-2) var(--sp-4) var(--sp-4); flex-direction: column; }
  .modal-foot .btn { width: 100%; }
  .tbl thead th { font-size: 10px !important; padding: var(--sp-2) var(--sp-3) !important; }
  .tbl tbody td { font-size: var(--text-sm) !important; padding: var(--sp-2) var(--sp-3) !important; }

  /* Page headers compact */
  .contactpage-header,
  .secupage-header,
  .mentionpage-header,
  .cookiespage-header,
  .confidentialitespage-header { padding: 4.5rem 0 2rem; }
  .contactpage-header-content h1,
  .secupage-header-content h1,
  .mentionpage-header-content h1,
  .cookiespage-header-content h1,
  .confidentialitespage-header-content h1 {
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* ============================================================
   GTB ICON SYSTEM — Micro-interactions v1.0
   Classes créées :
     .gtb-icon          Base SVG (line-art, currentColor, 1.5px)
     .gtb-icon-wrap     Conteneur parent avec hover context
     .gtb-icon-bounce   Rebond organique au hover  ↕
     .gtb-icon-spin     Rotation douce au hover    ↻
     .gtb-icon-pulse    Battement continu          ♡
     .gtb-icon-shake    Secousse d'alerte          ≈
     .gtb-icon-pop      Scale pop au hover         ◉
     .gtb-icon-glow     Halo doré au hover         ✦
   ============================================================ */

/* ── Base icône SVG ─────────────────────────────────────────── */
.gtb-icon {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    color     0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter    0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity   0.22s ease;
}

/* ── Conteneur parent hover ─────────────────────────────────── */
.gtb-icon-wrap {
  transition: color 0.22s ease;
}
.gtb-icon-wrap:hover > .gtb-icon,
.gtb-icon-wrap:focus-within > .gtb-icon {
  color: var(--ds-gold, #D4AF37);
}

/* ── .gtb-icon-bounce — rebond ↕ ───────────────────────────── */
.gtb-icon-bounce {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gtb-icon-wrap:hover .gtb-icon-bounce,
a:hover .gtb-icon-bounce,
button:hover .gtb-icon-bounce,
.btn:hover .gtb-icon-bounce {
  transform: translateY(-3px) scale(1.12);
}
.gtb-icon-wrap:active .gtb-icon-bounce,
a:active .gtb-icon-bounce,
button:active .gtb-icon-bounce,
.btn:active .gtb-icon-bounce {
  transform: translateY(1px) scale(0.94);
  transition-duration: 0.12s;
}

/* ── .gtb-icon-spin — rotation ↻ ───────────────────────────── */
.gtb-icon-spin {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gtb-icon-wrap:hover .gtb-icon-spin {
  transform: rotate(15deg) scale(1.1);
}
.gtb-icon-wrap:active .gtb-icon-spin {
  transform: rotate(-10deg) scale(0.95);
  transition-duration: 0.15s;
}

/* ── .gtb-icon-pulse — battement continu ♡ ─────────────────── */
@keyframes gtb-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.18); opacity: 0.8; }
}
.gtb-icon-pulse {
  animation: gtb-pulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.gtb-icon-wrap:hover .gtb-icon-pulse {
  animation-duration: 0.9s;
}

/* ── .gtb-icon-shake — alerte ≈ ────────────────────────────── */
@keyframes gtb-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  15%       { transform: translateX(-3px) rotate(-4deg); }
  30%       { transform: translateX(3px)  rotate(4deg); }
  45%       { transform: translateX(-2px) rotate(-2deg); }
  60%       { transform: translateX(2px)  rotate(2deg); }
  75%       { transform: translateX(-1px) rotate(-1deg); }
}
.gtb-icon-shake {
  animation: gtb-shake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
.gtb-icon-shake:hover {
  animation-iteration-count: infinite;
  animation-duration: 0.7s;
}

/* ── .gtb-icon-pop — scale pop ◉ ───────────────────────────── */
.gtb-icon-pop {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}
.gtb-icon-wrap:hover .gtb-icon-pop,
.feat-card:hover .gtb-icon-pop,
.saving-card:hover .gtb-icon-pop,
.rate-card:hover .gtb-icon-pop {
  transform: scale(1.22) rotate(-4deg);
}
.gtb-icon-wrap:active .gtb-icon-pop {
  transform: scale(0.92);
  transition-duration: 0.1s;
}

/* ── .gtb-icon-glow — halo doré ✦ ─────────────────────────── */
@keyframes gtb-glow {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(212,175,55,0)); }
  50%       { filter: drop-shadow(0 0 6px rgba(212,175,55,0.7)); }
}
.gtb-icon-glow {
  animation: gtb-glow 3s ease-in-out infinite;
}
.gtb-icon-wrap:hover .gtb-icon-glow {
  animation-duration: 0.8s;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.9));
}

/* ── Icône dans les feat-card / step ────────────────────────── */
.feat-icon,
.step-num {
  transition:
    transform   0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow  0.28s ease,
    background  0.28s ease;
}
.feat-card:hover .feat-icon {
  transform: scale(1.15) rotate(-5deg);
}
.step:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

/* ── Icône dans les boutons ─────────────────────────────────── */
.btn .gtb-icon,
a .gtb-icon {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn:hover .gtb-icon,
a:hover .gtb-icon {
  transform: translateX(3px);
}
.btn:active .gtb-icon,
a:active .gtb-icon {
  transform: translateX(-1px);
  transition-duration: 0.1s;
}

/* ── Icône dans les listes footer ───────────────────────────── */
.footer-col li a .gtb-icon {
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity   0.22s ease,
    transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.footer-col li a:hover .gtb-icon {
  opacity: 1;
  transform: translateX(0);
}

/* ── Entrée staggered pour grilles d'icônes ─────────────────── */
@keyframes gtb-icon-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.feat-card.visible .gtb-icon,
.step.visible .gtb-icon {
  animation: gtb-icon-enter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.feat-card:nth-child(1).visible .gtb-icon { animation-delay: 0.05s; }
.feat-card:nth-child(2).visible .gtb-icon { animation-delay: 0.12s; }
.feat-card:nth-child(3).visible .gtb-icon { animation-delay: 0.19s; }
.feat-card:nth-child(4).visible .gtb-icon { animation-delay: 0.26s; }
.feat-card:nth-child(5).visible .gtb-icon { animation-delay: 0.33s; }
.feat-card:nth-child(6).visible .gtb-icon { animation-delay: 0.40s; }
.step:nth-child(1).visible .gtb-icon { animation-delay: 0.08s; }
.step:nth-child(2).visible .gtb-icon { animation-delay: 0.16s; }
.step:nth-child(3).visible .gtb-icon { animation-delay: 0.24s; }
.step:nth-child(4).visible .gtb-icon { animation-delay: 0.32s; }

/* ── Prefers reduced motion ─────────────────────────────────── */
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
