/* ═══════════════════════════════════════════════════
   belghali.fr — style.css
   Premium glassmorphism portfolio · FR/EN bilingual
   ═══════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────── */
:root {
  /* Palette */
  --navy-deep:  #060e1f;
  --navy:       #0a1628;
  --navy-mid:   #0f1f40;
  --navy-light: #162347;
  --blue:       #1e3a6e;
  --slate:      #6b7a99;
  --slate-light:#8a9ab8;
  --silver:     #b8c4d8;
  --silver-l:   #dde4ef;
  --gold:       #c9a84c;
  --gold-light: #e2c76a;
  --white:      #ffffff;
  --off-white:  #f0f4fb;

  /* Glass */
  --glass-bg:   rgba(255,255,255,0.05);
  --glass-bg-h: rgba(255,255,255,0.09);
  --glass-bdr:  rgba(255,255,255,0.10);
  --glass-bdr-h:rgba(201,168,76,0.35);

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --max-w: 1160px;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background-color: var(--navy-deep);
  color: var(--silver-l);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
strong { color: var(--white); font-weight: 600; }

/* ── UTILITY ────────────────────────────────────── */
.hidden { display: none !important; }

/* ── SCROLL PROGRESS ────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ── GLASS CARD ─────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-bdr);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.glass-card:hover,
.glass-card:focus-within {
  background: var(--glass-bg-h);
  border-color: var(--glass-bdr-h);
  transform: translateY(-3px);
}

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  font-weight: 600;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn--ghost {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bdr-h);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: var(--glass-bg-h); transform: translateY(-2px); }
.btn--outline {
  border: 1px solid var(--slate);
  color: var(--silver);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--large { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── LOGO IMAGE ─────────────────────────────────── */
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer__logo { display: block; }
.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer__logo:hover .footer__logo-img { opacity: 1; }

/* ── NAVIGATION ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(6,14,31,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__menu-wrap { flex: 1; }
.nav__menu {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav__link {
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-light);
  border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link.active { color: var(--white); background: rgba(255,255,255,0.07); }
.nav__link.active { color: var(--gold); }

/* Language switcher */
.nav__actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 0.35rem; }
.lang-divider { color: var(--slate); font-size: 0.75rem; }
.lang-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--slate-light);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-btn.active { color: var(--gold); }
.lang-btn:hover { color: var(--white); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.10s; }
.reveal--delay-2 { transition-delay: 0.20s; }
.reveal--delay-3 { transition-delay: 0.30s; }

/* ── SECTION COMMON ─────────────────────────────── */
.section { padding: 7rem 2rem; }
.section--alt { background: rgba(15,31,64,0.5); }
.section--dark { background: var(--navy-mid); }
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__inner--narrow { max-width: 700px; }
.section__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 3rem;
}
.section__intro {
  font-size: 1.05rem;
  color: var(--silver);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-h) 2rem 4rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}
.orb--1 { width: 500px; height: 500px; background: var(--blue); top: -150px; right: -100px; animation-delay: 0s; }
.orb--2 { width: 350px; height: 350px; background: var(--gold); bottom: 50px; left: -100px; animation-delay: -3s; opacity: 0.10; }
.orb--3 { width: 250px; height: 250px; background: #1e6e8a; top: 40%; right: 20%; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

.hero__container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Photo */
.hero__photo-wrap { position: relative; flex-shrink: 0; }
.hero__photo,
.hero__photo-placeholder {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
}
.hero__photo-placeholder {
  background: linear-gradient(135deg, var(--navy-light), var(--blue));
  border: 2px solid var(--glass-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.hero__photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.04); opacity: 1; }
}

/* Hero text */
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.hero__name {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.hero__title {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.hero__statement {
  font-size: 1rem;
  color: var(--slate-light);
  margin-bottom: 2.25rem;
  letter-spacing: 0.02em;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-card__num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-card__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.scroll-arrow {
  width: 22px; height: 22px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  animation: bounce-down 1.8s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ── PROFILE SUMMARY ────────────────────────────── */
.summary__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.summary__text { font-size: 1.02rem; color: var(--silver); }
.info-card { padding: 1.75rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.info-item:last-child { border-bottom: none; }
.info-item__icon { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.info-item__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.2rem;
}
.info-item__value {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

/* ── EXPERIENCE ─────────────────────────────────── */
.exp-list { display: flex; flex-direction: column; gap: 1.5rem; }
.exp-card { padding: 2rem; }
.exp-card__header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.exp-card__logo-wrap { flex-shrink: 0; }
.exp-card__logo {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-light), var(--blue));
  border: 1px solid var(--glass-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.exp-card__meta-wrap { flex: 1; }
.exp-card__role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.exp-card__company { font-size: 0.95rem; color: var(--gold-light); font-weight: 500; }
.exp-card__meta { font-size: 0.8rem; color: var(--slate); margin-top: 0.2rem; }
.exp-card__badge {
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.exp-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1.25rem;
}
.exp-card__bullets li {
  position: relative;
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.55;
  list-style: disc;
}

/* ── TIMELINE ───────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.timeline__item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline__item--right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}
.timeline__dot {
  position: absolute;
  left: calc(50% - 7px);
  top: 1.5rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
  flex-shrink: 0;
}
.timeline__card { padding: 1.5rem; width: 100%; }
.timeline__year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.timeline__card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.timeline__org { font-size: 0.82rem; color: var(--slate-light); margin-bottom: 0.5rem; }
.timeline__desc { font-size: 0.87rem; color: var(--silver); }

/* ── EXPERTISE GRID ─────────────────────────────── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.expertise-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  cursor: default;
  outline-offset: 4px;
}
.expertise-card__icon {
  width: 44px; height: 44px;
  padding: 0.7rem;
  border-radius: 10px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
}
.expertise-card__icon svg { width: 100%; height: 100%; }
.expertise-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.expertise-card p { font-size: 0.87rem; color: var(--silver); line-height: 1.6; }

/* ── BANKING TAGS ───────────────────────────────── */
.banking-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.banking-tag {
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver-l);
  border-radius: 50px;
  transition: all 0.3s var(--ease);
  cursor: default;
}
.banking-tag:hover {
  color: var(--gold);
  border-color: var(--glass-bdr-h);
  transform: translateY(-2px);
}

/* ── ACHIEVEMENTS ───────────────────────────────── */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ach-card {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.ach-card__num {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.ach-card__title { font-size: 0.95rem; font-weight: 700; color: var(--white); }
.ach-card p { font-size: 0.82rem; color: var(--silver); line-height: 1.55; }

/* ── GOVERNANCE PLACEHOLDER ─────────────────────── */
.gov-placeholder {
  padding: 2.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--slate);
  font-style: italic;
}

/* ── EDUCATION ──────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.edu-card {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.edu-card__badge {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.edu-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.edu-card__school { font-size: 0.88rem; color: var(--gold-light); font-weight: 500; }
.edu-card__location { font-size: 0.8rem; color: var(--slate); }
.edu-card__dates { font-size: 0.78rem; color: var(--slate); margin-top: 0.25rem; margin-bottom: 0.6rem; }
.edu-card__desc { font-size: 0.87rem; color: var(--silver); line-height: 1.55; }

/* ── LANGUAGES ──────────────────────────────────── */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lang-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}
.lang-card__flag { font-size: 2.25rem; }
.lang-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.lang-card__level { font-size: 0.82rem; color: var(--slate-light); }
.lang-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.lang-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  transition: width 1.2s var(--ease);
}

/* ── DOWNLOAD BLOCK ─────────────────────────────── */
.dl-block {
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.dl-block__icon {
  width: 60px; height: 60px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  padding: 1rem;
  color: var(--gold);
}
.dl-block__icon svg { width: 100%; height: 100%; }
.dl-block h2 { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.dl-block p { font-size: 0.95rem; color: var(--silver); }

/* ── CONTACT ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.contact-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  transition: all 0.3s var(--ease);
  outline-offset: 4px;
}
.contact-card__icon {
  width: 46px; height: 46px;
  padding: 0.7rem;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
}
.contact-card__icon svg { width: 100%; height: 100%; }
.contact-card--li .contact-card__icon {
  background: rgba(10,102,194,0.15);
  border-color: rgba(10,102,194,0.3);
  color: #5aafe8;
}
.contact-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-card__value { font-size: 0.9rem; font-weight: 500; color: var(--white); }

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 2rem;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.footer__logo {
  /* image logo — styled in LOGO IMAGE section above */
  margin-bottom: 0.25rem;
}
.footer__copy { font-size: 0.85rem; color: var(--slate-light); }
.footer__sub { font-size: 0.75rem; color: var(--slate); }

/* ── BACK TO TOP ────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  z-index: 800;
  padding: 0;
}
.back-to-top:hover {
  background: rgba(201,168,76,0.25);
  transform: translateY(-3px);
}
.back-to-top svg { width: 18px; height: 18px; }

/* ── RESPONSIVE ─────────────────────────────────── */

/* Tablet landscape & below (≤1024px) */
@media (max-width: 1024px) {
  .ach-grid { grid-template-columns: repeat(2, 1fr); }
  .summary__grid { grid-template-columns: 1fr; }
  .summary__info { max-width: 480px; }
}

/* Tablet portrait (≤768px) */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__hamburger { display: flex; }
  .nav__menu-wrap {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,14,31,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 2rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav__menu-wrap.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .nav__link { font-size: 1rem; padding: 0.65rem 1rem; width: 100%; }

  .hero__container { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero__photo-wrap { justify-self: center; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }

  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .edu-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 1rem; }
  .timeline__item,
  .timeline__item--right {
    padding: 0 0 0 3.5rem;
    justify-content: flex-start;
  }
  .timeline__dot { left: calc(1rem - 7px); }
}

/* Mobile portrait (≤480px) */
@media (max-width: 480px) {
  .section { padding: 5rem 1.25rem; }
  .hero { padding: var(--nav-h) 1.25rem 3rem; }

  .hero__photo-placeholder,
  .hero__photo { width: 160px; height: 160px; }
  .hero__photo-placeholder { font-size: 2.5rem; }

  .expertise-grid { grid-template-columns: 1fr; }
  .ach-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr; }
  .banking-grid { gap: 0.75rem; }
  .banking-tag { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

  .btn { padding: 0.65rem 1.4rem; font-size: 0.85rem; }
  .btn--large { padding: 0.85rem 2rem; }

  .hero__ctas { flex-direction: column; align-items: center; }

  .dl-block { padding: 2rem 1.5rem; }
  .section__title { margin-bottom: 2rem; }
}

/* Ultra-wide (≥1400px) */
@media (min-width: 1400px) {
  :root { --max-w: 1320px; }
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── PRINT STYLES ───────────────────────────────── */
@media print {
  .nav, .scroll-progress, .back-to-top,
  .hero__bg, .orb, .hero__scroll-cue,
  .hero__ctas .btn--ghost, .hero__ctas .btn--outline { display: none !important; }

  body { background: white; color: #111; font-size: 11pt; }
  .hero { min-height: auto; padding: 2rem; }
  .hero__name { font-size: 2rem; color: #000; }
  .hero__title { color: #444; }
  .glass-card { border: 1px solid #ddd; background: none; }
  .section--dark { background: #f5f5f5; }
  .section--alt { background: #fafafa; }
  .section__title, .exp-card__role, .edu-card h3 { color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  .lang-en { display: none !important; }
  .lang-fr { display: block !important; }
}
