/* =========================================================
   CALP — Banque universelle moderne et rassurante
   Palette : marine profond · ivoire chaud · or feutré · anthracite
   Typo    : Cormorant Garamond (display) · Inter (UI/body)
   ========================================================= */

:root {
  /* ---------- Couleurs ---------- */
  --navy:         #0B2545;
  --navy-deep:    #061B33;
  --navy-soft:    #143A66;
  --navy-mist:    #E3E8F0;

  --ivory:        #F6F1E6;   /* fond ivoire principal */
  --ivory-light:  #FBF7EE;
  --paper:        #FFFDF7;   /* surface carte */
  --paper-pure:   #FFFFFF;

  --gold:         #B8924A;   /* or feutr\u00e9 mat */
  --gold-deep:    #8E6D2E;
  --gold-light:   #D9BD80;
  --gold-pale:    #ECDFB8;

  --ink:          #14202E;   /* anthracite \u2014 corps de texte */
  --ink-2:        #3A4756;
  --ink-mute:     #6B7686;   /* WCAG AA on --paper ~4.6:1 (borderline kept) */
  --ink-soft:     #6F7A8A;   /* WCAG AA on --paper ~4.5:1 (a11y fix, was #94A0AE / 2.99:1) */

  --line:         #E4DCC8;   /* hairline chaude */
  --line-soft:    #EFE9D8;
  --line-strong:  #C9BFA4;
  --line-cool:    #D5DCE5;   /* hairline sur fond navy */

  --success:      #2F7A53;
  --success-soft: #DFEEDF;
  --warn:         #B0791F;
  --error:        #B23B2A;

  /* ---------- Typographie ---------- */
  --ff-display:   'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --ff-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-mono:      'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Échelle typographique fluide — clamp(min mobile, viewport, max desktop) */
  --fs-display:   clamp(34px, 7.5vw, 84px);
  --fs-h1:        clamp(28px, 5.5vw, 56px);
  --fs-h2:        clamp(24px, 4vw,   40px);
  --fs-h3:        clamp(20px, 2.6vw, 28px);
  --fs-h4:        clamp(18px, 2vw,   22px);
  --fs-lead:      clamp(16px, 1.6vw, 19px);
  --fs-body:      16px;
  --fs-small:     14px;
  --fs-xs:        12.5px;
  --fs-eyebrow:   12px;

  --lh-tight:     1.04;
  --lh-snug:      1.18;
  --lh-base:      1.55;
  --lh-loose:     1.7;

  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-eyebrow: 0.22em;
  --tracking-wordmark:0.18em;

  /* ---------- Spacing ---------- */
  --s-1:   4px;
  --s-2:   8px;
  --s-3:   12px;
  --s-4:   16px;
  --s-5:   24px;
  --s-6:   32px;
  --s-7:   48px;
  --s-8:   64px;
  --s-9:   96px;
  --s-10:  128px;

  /* ---------- Radii \u2014 architecturaux, mesur\u00e9s ---------- */
  --r-xs:    2px;
  --r-sm:    4px;
  --r-md:    8px;
  --r-lg:    12px;
  --r-xl:    18px;
  --r-pill:  9999px;

  /* ---------- Shadows \u2014 chaudes, jamais grises ---------- */
  --sh-sm:   0 1px 2px rgba(20, 32, 46, 0.05);
  --sh-md:   0 4px 14px rgba(20, 32, 46, 0.07);
  --sh-lg:   0 14px 38px rgba(11, 37, 69, 0.10);
  --sh-xl:   0 28px 64px rgba(11, 37, 69, 0.16);
  --sh-gold: 0 6px 18px rgba(184, 146, 74, 0.22);

  /* ---------- Layout ---------- */
  --max:        1280px;
  --max-narrow:  760px;
  --header-h:    76px;

  /* ---------- Motion ---------- */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-quiet:  cubic-bezier(0.32, 0.72, 0, 1);
  --t-fast:      180ms;
  --t-base:      280ms;
}

/* =========================================================
   A11y \u2014 Skip link (WCAG 2.4.1 A)
   Visually hidden until focused; appears top-left, navy bg,
   ivory text, strong contrast, above any sticky header (z-index).
   Lives outside .calp scope on purpose (first body child).
   ========================================================= */
.vz-skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10000;
  display: inline-block;
  padding: 12px 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFDF7;                 /* ivory / paper */
  background: #0B2545;            /* navy */
  border: 2px solid #B8924A;      /* gold accent */
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: top 180ms cubic-bezier(.22,.61,.36,1);
}
.vz-skip-link:focus,
.vz-skip-link:focus-visible {
  top: 12px;
  outline: 3px solid #ECDFB8;     /* gold-pale focus ring */
  outline-offset: 2px;
}
/* Avoid focus ring jump on the <main id="main"> target itself */
.main-content:focus { outline: none; }

/* =========================================================
   Base reset (scoped \u00e0 .calp pour vivre dans le canvas)
   ========================================================= */

.calp,
.calp * { box-sizing: border-box; }

.calp {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.calp img { max-width: 100%; display: block; }

.calp a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.calp button { font-family: inherit; }

.calp h1, .calp h2, .calp h3, .calp h4, .calp h5 {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin: 0;
}

.calp p { margin: 0; }

/* =========================================================
   Primitives
   ========================================================= */

.vz-shell { width: 100%; }

.vz-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.vz-section {
  padding: var(--s-9) 0;
}
.vz-section--tight  { padding: var(--s-8) 0; }
.vz-section--loose  { padding: var(--s-10) 0; }
.vz-section--navy {
  background: var(--navy);
  color: rgba(255,255,255,0.86);
}
.vz-section--navy h1,
.vz-section--navy h2,
.vz-section--navy h3,
.vz-section--navy h4 { color: #fff; }
.vz-section--ivory  { background: var(--ivory-light); }
.vz-section--paper  { background: var(--paper-pure); }

/* eyebrow */
.vz-eyebrow {
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.vz-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.vz-eyebrow--center::before,
.vz-eyebrow--center::after { content: ''; width: 28px; height: 1px; background: var(--gold); }
.vz-eyebrow--center::after { display: inline-block; }
.vz-eyebrow--navy { color: var(--gold-light); }
.vz-eyebrow--navy::before { background: var(--gold-light); }

/* Filet or */
.vz-rule {
  border: 0;
  height: 1px;
  background: var(--line);
}
.vz-rule--gold {
  background: linear-gradient(to right, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
}

/* Buttons */
.vz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.vz-btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.vz-btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.vz-btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--sh-gold);
}
.vz-btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.vz-btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.vz-btn--ghost:hover { border-color: var(--navy); background: rgba(11, 37, 69, 0.04); }
.vz-btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.vz-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.vz-btn--link {
  background: transparent;
  border-color: transparent;
  color: var(--navy);
  padding: 0;
  height: auto;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.vz-btn--link:hover { color: var(--gold-deep); }
.vz-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.vz-btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }

/* Card */
.vz-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.vz-card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--line-strong);
}
.vz-card--flat { box-shadow: none; }
.vz-card--elev { box-shadow: var(--sh-md); }
.vz-card--navy {
  background: var(--navy);
  color: rgba(255,255,255,0.86);
  border-color: var(--navy-soft);
}

/* Input */
.vz-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.vz-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.24);
}
.vz-input::placeholder { color: var(--ink-soft); }
.vz-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Badges / chips */
.vz-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  font-size: var(--fs-xs);
  font-weight: 500;
  border-radius: var(--r-pill);
  background: var(--gold-pale);
  color: var(--gold-deep);
  border: 1px solid transparent;
  white-space: nowrap;
}
.vz-tag--navy { background: rgba(11,37,69,0.06); color: var(--navy); }
.vz-tag--success { background: var(--success-soft); color: var(--success); }
.vz-tag--outline { background: transparent; border-color: var(--line-strong); color: var(--ink-2); }
.vz-tag--ghost-light { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.16); }

/* Display number (Cormorant) */
.vz-num {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
  line-height: 1;
}

/* Decorative monogram */
.vz-monogram {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

/* Layout helpers */
.vz-grid { display: grid; gap: var(--s-5); }
.vz-grid-2 { grid-template-columns: repeat(2, 1fr); }
.vz-grid-3 { grid-template-columns: repeat(3, 1fr); }
.vz-grid-4 { grid-template-columns: repeat(4, 1fr); }
.vz-row   { display: flex; align-items: center; }

/* ---------- Header ---------- */
.vz-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.vz-header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-7);
}
.vz-logo {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: var(--tracking-wordmark);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vz-logo__mark {
  width: 32px;
  height: 32px;
  display: inline-block;
}
.vz-nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.vz-nav a:hover { color: var(--navy); }
.vz-nav__item--active { color: var(--navy); position: relative; }
.vz-nav__item--active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 2px; background: var(--gold);
}
.vz-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.vz-header__lang {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2);
  padding: 0 10px; height: 36px;
  border-radius: var(--r-sm);
}

/* ---------- Footer ---------- */
.vz-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding: var(--s-9) 0 var(--s-6);
  font-size: 14px;
}
.vz-footer h3,
.vz-footer h5,
.vz-footer__col > h3,
.vz-footer__col > h5 {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--gold-light);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 var(--s-4);
}
.vz-footer a { color: rgba(255,255,255,0.74); }
.vz-footer a:hover { color: #fff; }
.vz-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: var(--s-7);
}
.vz-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vz-footer__bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ---------- Lucide icon sizing helpers ---------- */
.vz-i  { width: 16px; height: 16px; flex: 0 0 auto; }
.vz-i-sm { width: 14px; height: 14px; }
.vz-i-md { width: 20px; height: 20px; }
.vz-i-lg { width: 24px; height: 24px; }
.vz-i-xl { width: 28px; height: 28px; }

/* Gold rule decoration above a section heading */
.vz-section__head {
  text-align: center;
  margin-bottom: var(--s-7);
}
.vz-section__head .vz-eyebrow { justify-content: center; }
.vz-section__head h2 {
  font-size: var(--fs-h2);
  margin-top: var(--s-3);
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.vz-section__head p {
  margin-top: var(--s-3);
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  line-height: var(--lh-base);
}


/* =========================================================
   Calp — Nav picker (interactive prototype overlay)
   ========================================================= */
.vz-viewport { min-height: 100vh; background: var(--ivory, #FAF6EE); }

.vz-navpicker {
  position: fixed; left: 20px; bottom: 20px;
  z-index: 9000;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: stretch; gap: 0;
}
.vz-navpicker__pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0B2545; color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 18px 10px 14px;
  border-radius: 999px 0 0 999px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(11,37,69,0.25), 0 2px 6px rgba(11,37,69,0.18);
  transition: background 180ms ease;
}
.vz-navpicker__pill:hover { background: #061B33; }
.vz-navpicker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold, #B8924A);
  box-shadow: 0 0 0 3px rgba(184,146,74,0.22);
}
.vz-navpicker__index {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.62);
}
.vz-navpicker__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px; font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
}
.vz-navpicker__caret {
  font-size: 9px; color: rgba(255,255,255,0.5);
  margin-left: 2px;
}
.vz-navpicker__arrows {
  display: flex; align-items: stretch;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.vz-navpicker__arrows button {
  background: #0B2545; color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 0;
  width: 38px;
  font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
  box-shadow: 0 12px 40px rgba(11,37,69,0.25), 0 2px 6px rgba(11,37,69,0.18);
}
.vz-navpicker__arrows button:hover:not(:disabled) {
  background: var(--gold, #B8924A); color: #fff;
}
.vz-navpicker__arrows button:disabled { opacity: 0.35; cursor: default; }
.vz-navpicker__arrows button:last-child {
  border-radius: 0 999px 999px 0;
}

.vz-navpicker__scrim {
  position: fixed; inset: 0;
  background: rgba(11,27,51,0.18);
  z-index: 8999;
}

.vz-navpicker__menu {
  position: absolute; left: 0; bottom: calc(100% + 12px);
  width: 360px;
  background: #FAF6EE;
  border: 1px solid rgba(11,37,69,0.1);
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(11,37,69,0.22), 0 8px 18px rgba(11,37,69,0.14);
  padding: 6px;
  overflow: hidden;
}
.vz-navpicker__menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(11,37,69,0.08);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(11,37,69,0.55);
}
.vz-navpicker__menu-head kbd {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; font-weight: 500;
  background: rgba(11,37,69,0.06);
  color: rgba(11,37,69,0.6);
  padding: 3px 7px; border-radius: 4px;
  letter-spacing: 0;
}
.vz-navpicker__group { padding: 8px 4px; }
.vz-navpicker__group + .vz-navpicker__group { border-top: 1px solid rgba(11,37,69,0.06); }
.vz-navpicker__group-title {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(184,146,74,0.95);
  padding: 4px 10px 8px;
}
.vz-navpicker__item {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  background: transparent; border: 0;
  padding: 9px 10px;
  font: inherit; color: #0B2545;
  cursor: pointer;
  border-radius: 4px;
  text-align: left;
  transition: background 140ms ease;
}
.vz-navpicker__item:hover { background: rgba(11,37,69,0.05); }
.vz-navpicker__item--active { background: rgba(184,146,74,0.12); }
.vz-navpicker__item--active:hover { background: rgba(184,146,74,0.16); }
.vz-navpicker__item-idx {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: rgba(11,37,69,0.42);
  min-width: 22px;
}
.vz-navpicker__item-label {
  flex: 1;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px; font-weight: 500;
  color: #0B2545;
}
.vz-navpicker__item--active .vz-navpicker__item-label {
  color: var(--gold-deep, #8E6D2E);
}
.vz-navpicker__item-active {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep, #8E6D2E);
  background: rgba(184,146,74,0.18);
  padding: 3px 8px; border-radius: 999px;
}
.vz-navpicker__menu-foot {
  padding: 10px 14px 8px;
  border-top: 1px solid rgba(11,37,69,0.06);
  font-size: 11.5px; font-style: italic;
  color: rgba(11,37,69,0.55);
}

/* Subtle page-enter animation */
.vz-viewport { animation: vz-fade 220ms ease both; }
@keyframes vz-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .vz-viewport { animation: none; }
}

/* ============================================================================
   OVERRIDES — fix specificity (.calp a overriding .vz-btn--variant colors)
   + hide mobile drawer/burger on desktop
   ============================================================================ */

/* Button text colors override .calp a { color: inherit; } cascade win */
.calp .vz-btn--primary       { color: #fff !important; }
.calp .vz-btn--gold          { color: #fff !important; }
.calp .vz-btn--ghost         { color: var(--navy) !important; }
.calp .vz-btn--ghost-light   { color: #fff !important; }
.calp .vz-btn--link          { color: var(--navy) !important; }

/* ============================================================================
   MOBILE BURGER + DRAWER — base styles
   ============================================================================ */
.vz-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--navy);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.vz-header__burger:hover {
  background: rgba(11, 37, 69, 0.06);
  border-color: var(--navy);
}
.vz-header__burger .icon {
  width: 22px;
  height: 22px;
}

.vz-header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 51, 0.55);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease);
}
.vz-header__overlay.is-open,
.vz-header__overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.vz-header__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--ivory);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(11, 37, 69, 0.18);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.vz-header__drawer.is-open,
.vz-header__drawer.active {
  transform: translateX(0);
}

.vz-header__drawer-inner {
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vz-header__drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.vz-header__drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--navy);
  cursor: pointer;
}
.vz-header__drawer-close:hover { background: rgba(11, 37, 69, 0.06); }

.vz-header__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vz-header__drawer-link {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease);
}
.vz-header__drawer-link:hover {
  background: rgba(184, 146, 74, 0.08);
}
.vz-header__drawer-link--active {
  color: var(--gold-deep);
  background: rgba(184, 146, 74, 0.12);
}

.vz-header__drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Mobile drawer + burger: hidden on desktop, visible only ≤ 768px */
@media (min-width: 769px) {
  .vz-header__burger,
  .vz-header__overlay,
  .vz-header__drawer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .vz-header__nav,
  .vz-header__actions > .vz-btn--ghost,
  .vz-header__actions > .vz-btn--primary,
  .vz-header__lang {
    display: none;
  }
  .vz-header__burger {
    display: inline-flex !important;
  }
}

/* Topbar tighter on desktop, hide on mobile to avoid clutter */
@media (max-width: 768px) {
  .vz-topbar { display: none; }
}
.vz-topbar__inner .vz-svg { width: 12px; height: 12px; }

/* ============================================================================
   ICON SIZING — for heroicons rendered via ux_icon('heroicons:X', {'class': 'icon icon--SIZE'})
   Required because the SVG has class only, no width/height attrs.
   ============================================================================ */
.icon { width: 1rem; height: 1rem; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon--xs { width: 0.75rem; height: 0.75rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

/* Inline SVGs in topbar/header always limited */
.vz-topbar svg,
.vz-header svg {
  max-width: 1rem;
  max-height: 1rem;
}
.vz-topbar__item svg,
.vz-topbar__item .icon { width: 12px; height: 12px; }

/* Topbar item line tightening (was wrapping) */
.vz-topbar__item { white-space: nowrap; }
.vz-topbar__inner { flex-wrap: nowrap; overflow: hidden; }
