/* ============================================================
   ARTHUR RIALLAND — Portfolio CSS
   Style principal — Design System Premium
   ============================================================ */

/* --- GOOGLE FONTS & FONTSHARE — chargés via <link> dans header.php --- */

/* --- CSS VARIABLES --- */
:root {
  /* Couleurs principales */
  --blue-royal: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #3B82F6;
  --blue-pale: #EFF6FF;
  --blue-ultra-pale: #F0F4FF;
  --blue-accent: #1E40AF;

  /* Blancs & Gris */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Textes */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-on-blue: #FFFFFF;

  /* Backgrounds */
  --bg-main: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-blue: #2563EB;

  /* Borders */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-blue: 0 8px 32px rgba(37,99,235,0.20);
  --shadow-blue-lg: 0 16px 48px rgba(37,99,235,0.25);

  /* Typographies */
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body: 'Geologica', 'Inter', sans-serif;

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-spring: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --navbar-height: 72px;
}

/* --- DARK MODE --- */
[data-theme="dark"] {
  --blue-royal: #3B82F6;
  --blue-dark: #2563EB;
  --blue-light: #60A5FA;
  --blue-pale: #1E2A4A;
  --blue-ultra-pale: #1A2440;

  --white: #0F172A;
  --gray-50: #1E293B;
  --gray-100: #1E293B;
  --gray-200: #334155;
  --gray-300: #475569;
  --gray-400: #64748B;
  --gray-500: #94A3B8;
  --gray-600: #CBD5E1;
  --gray-700: #E2E8F0;
  --gray-800: #F1F5F9;
  --gray-900: #F8FAFC;

  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --bg-main: #0F172A;
  --bg-soft: #1E293B;
  --bg-card: #1E293B;

  --border-light: #334155;
  --border-medium: #475569;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.4);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Clash Display chargé via <link rel="stylesheet" href="https://api.fontshare.com/..."> dans header.php */

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

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* --- SECTION --- */
section {
  padding: var(--space-3xl) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-royal);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-royal);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--space-lg);
}

.where_click_hint {
  margin-top: 1.25rem;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-light), var(--shadow-sm);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(15,23,42,0.90);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  position: relative;
}

.navbar-logo span {
  color: var(--blue-royal);
}

.navbar-logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-royal);
  transition: width var(--transition-base);
}

.navbar-logo:hover::after { width: 100%; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-royal);
  background: var(--blue-pale);
}

.nav-link.active {
  font-weight: 600;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Bouton langue */
.btn-lang {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--gray-100);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.05em;
}

.btn-lang:hover {
  background: var(--blue-pale);
  color: var(--blue-royal);
  border-color: var(--blue-royal);
}

/* Bouton dark mode */
.btn-theme {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  font-size: 1rem;
}

.btn-theme:hover {
  background: var(--blue-pale);
  color: var(--blue-royal);
  border-color: var(--blue-royal);
}

/* Menu burger */
.btn-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.btn-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.btn-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.btn-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-main);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 1rem;
  border-radius: var(--radius-md);
  display: block;
}

.mobile-menu-actions {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
}

/* Navbar sur fond bleu (hero dark) */
.navbar--on-dark:not(.scrolled) .navbar-logo {
  color: white;
}

.navbar--on-dark:not(.scrolled) .navbar-logo span {
  color: rgba(255,255,255,0.75);
}

.navbar--on-dark:not(.scrolled) .nav-link {
  color: rgba(255,255,255,0.85);
}

.navbar--on-dark:not(.scrolled) .nav-link:hover,
.navbar--on-dark:not(.scrolled) .nav-link.active {
  color: white;
  background: rgba(255,255,255,0.15);
}

.navbar--on-dark:not(.scrolled) .btn-lang {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: white;
}

.navbar--on-dark:not(.scrolled) .btn-lang:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  color: white;
}

.navbar--on-dark:not(.scrolled) .btn-theme {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: white;
}

.navbar--on-dark:not(.scrolled) .btn-theme:hover {
  background: rgba(255,255,255,0.25);
}

.navbar--on-dark:not(.scrolled) .btn-burger span {
  background: white;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-spring);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--blue-royal);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: var(--shadow-blue-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--blue-royal);
  border-color: var(--blue-royal);
}

.btn-secondary:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-medium);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--text-primary);
  border-color: var(--gray-400);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 1rem 2.25rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  position: relative;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--blue-royal);
  top: -100px;
  right: -100px;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--blue-light);
  bottom: 0;
  left: -100px;
  animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-light) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}

.hero-text {
  max-width: 620px;
}

.hero-greeting {
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-royal);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-greeting .dot {
  width: 6px;
  height: 6px;
  background: var(--blue-royal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-name {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-name .accent {
  color: var(--blue-royal);
  position: relative;
}

.hero-name .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue-royal);
  border-radius: 2px;
  opacity: 0.3;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-blue {
  background: var(--blue-pale);
  color: var(--blue-royal);
  border: 1px solid rgba(37,99,235,0.15);
}

.badge-gray {
  background: var(--gray-100);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-photo-wrapper {
  position: relative;
  width: 380px;
  height: 460px;
}

.hero-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-royal) 100%);
  box-shadow: var(--shadow-blue-lg);
  position: relative;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 5rem;
}

.hero-photo-placeholder p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
}

.hero-photo-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  z-index: -1;
  border: 2px solid rgba(37,99,235,0.2);
}

.hero-photo-accent-2 {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--blue-royal);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.15;
}

/* Stats card flottante */
.hero-stat-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  animation: cardFloat 4s ease-in-out infinite alternate;
}

.hero-stat-card--left {
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-stat-card--bottom {
  right: -20px;
  bottom: 40px;
  animation-delay: 1s;
  animation-direction: alternate-reverse;
}

.hero-stat-card__number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-royal);
  line-height: 1;
}

.hero-stat-card__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.7s ease, opacity 0.7s ease;
  opacity: 0.7;
}
.hero-scroll:hover {
  color: var(--blue-royal);
  opacity: 1;
}
.hero-scroll:hover .hero-scroll__arrow {
  border-color: var(--blue-royal);
}

.hero-scroll__arrow {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollBounce 1s ease-in-out infinite;
  transition: border-color 0.7s ease;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.about-story p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-story p:last-child { margin-bottom: 0; }

.about-highlight {
  color: var(--blue-royal);
  font-weight: 600;
}

.about-image-stack {
  position: relative;
  height: 500px;
}

.about-img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-royal));
}

.about-img-alt {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-main);
  background: var(--gray-100);
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.5);
}

.about-img-main img,
.about-img-alt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Passions */
.passions-section {
  background: var(--bg-soft);
  padding: var(--space-3xl) 0;
}

.passions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.passion-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.passion-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-royal);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.passion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-royal);
}

.passion-card:hover::before { transform: scaleX(1); }

.passion-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.passion-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.passion-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   QUIZ GÉOGRAPHIE
   ============================================================ */
.quiz-section {
  background: var(--bg-main);
  padding: var(--space-3xl) 0;
}

.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quiz-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-royal));
  padding: 2.5rem 2.5rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.quiz-header::before {
  content: '🌍';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  opacity: 0.15;
}

.quiz-header h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.quiz-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.quiz-body {
  padding: 2.5rem;
}

/* Start screen */
.quiz-start {
  text-align: center;
  padding: 1rem 0;
}

.quiz-start__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

.quiz-start h4 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.quiz-start p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Progress */
.quiz-progress {
  margin-bottom: 2rem;
}

.quiz-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.quiz-progress__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.quiz-progress__score {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-royal);
}

.quiz-progress__bar-wrap {
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quiz-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-royal), var(--blue-light));
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Question */
.quiz-question {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

/* Options */
.quiz-options {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  width: 100%;
}

.quiz-option__letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quiz-option:hover:not(:disabled) {
  border-color: var(--blue-royal);
  background: var(--blue-pale);
  transform: translateX(4px);
}

.quiz-option:hover:not(:disabled) .quiz-option__letter {
  background: var(--blue-royal);
  color: white;
}

.quiz-option.correct {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #14532d;
  pointer-events: none;
}

.quiz-option.correct .quiz-option__letter {
  background: #16a34a;
  color: white;
}

.quiz-option.wrong {
  border-color: #dc2626;
  background: #fef2f2;
  color: #7f1d1d;
  pointer-events: none;
}

.quiz-option.wrong .quiz-option__letter {
  background: #dc2626;
  color: white;
}

.quiz-option.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Feedback */
.quiz-feedback {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.quiz-feedback.correct {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  display: flex;
}

.quiz-feedback.wrong {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  display: flex;
}

/* Score screen */
.quiz-result {
  text-align: center;
  padding: 1rem 0;
}

.quiz-result__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  animation: scorePopIn 0.5s var(--transition-spring);
}

.quiz-result__score {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--blue-royal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quiz-result__label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.quiz-result__msg {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
}

/* ============================================================
   WHERE WOULD I WORK
   ============================================================ */
.where-section {
  background: var(--bg-soft);
  padding: var(--space-3xl) 0;
}

.where-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.where-header .section-label { justify-content: center; }
.where-header .section-subtitle { margin: 0 auto; text-align: center; }

.where-cities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.city-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.city-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-pale), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.city-btn:hover,
.city-btn.active {
  border-color: var(--blue-royal);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.city-btn:hover::before,
.city-btn.active::before { opacity: 1; }

.city-btn.active {
  background: var(--blue-pale);
}

.city-flag {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
  display: block;
  position: relative;
  z-index: 1;
}

.city-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.city-country {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  margin-left: 0.5rem;
  position: relative;
  z-index: 1;
}

/* City detail panel */
.where-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
  transition: all var(--transition-base);
}

.where-panel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.where-panel-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.where-panel-empty p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.where-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.where-panel-left {
  background-color: var(--blue-dark); /* fallback si l'image n'est pas encore ajoutée */
  background-size: cover;
  background-position: center;
  padding: 2.5rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Overlay sombre pour garantir la lisibilité du texte sur l'image */
.where-panel-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 18, 40, 0.4) 10%,
    rgba(15, 30, 80, 0.4) 50%,
    rgba(24, 57, 149, 0.4) 90%
  );
  z-index: 0;
}

/* Tout le contenu passe au-dessus de l'overlay */
.where-panel-left > * {
  position: relative;
  z-index: 1;
}

.where-city-flag-lg {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.where-city-name-lg {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

.where-city-country-lg {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.where-coords {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.95);
  font-family: monospace;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.15);
}

.where-panel-right {
  padding: 2rem 2rem 2rem 2rem;
  overflow-y: auto;
}

.where-detail-block {
  margin-bottom: 1.5rem;
}

.where-detail-block:last-child { margin-bottom: 0; }

.where-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-royal);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.where-detail-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   ABOUT PREVIEW (index.php)
   ============================================================ */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .about-preview-grid {
    gap: 2rem;
  }
  .about-preview-grid .passions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section {
  background: var(--bg-main);
}

/* Filtres */
.projects-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
}

.filter-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue-royal);
  color: white;
  border-color: var(--blue-royal);
}

/* Grille projets */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  group: true;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-royal);
}

.project-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--gray-100) 100%);
  position: relative;
}

.project-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__thumb img { transform: scale(1.05); }

.project-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--blue-royal);
  font-size: 2.5rem;
}

.project-thumb-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,64,175,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__overlay .btn {
  color: white;
  border-color: rgba(255,255,255,0.4);
}

.project-card__overlay .btn:hover {
  background: var(--blue-light);
  color: white;
  border-color: var(--blue-light);
  box-shadow: 0 4px 16px rgba(59,130,246,0.5);
  transform: translateY(-2px);
}

[data-theme="dark"] .project-card__overlay .btn:hover {
  background: #60A5FA;
  border-color: #60A5FA;
}

.project-card__body {
  padding: 1.5rem;
}

.project-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project-card__year {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-bottom: 0.4rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.project-card__desc {
  font-size: 0.88rem;
  color: var(--blue-royal);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  background: var(--gray-100);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
}

/* ============================================================
   PROJECT SINGLE PAGE
   ============================================================ */
.project-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-royal) 100%);
  padding: calc(var(--navbar-height) + 4rem) 0 4rem;
  color: white;
}

.project-hero__back {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.project-hero__back:hover { color: white; }

.project-hero__cat {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}

.project-hero__title {
  color: white;
  margin-bottom: 1.5rem;
}

.project-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-meta-item {
  background: rgba(255,255,255,0.1);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.project-content {
  padding: var(--space-3xl) 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.project-section-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-royal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.project-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--blue-royal);
  border-radius: 2px;
  flex-shrink: 0;
}

.project-block {
  margin-bottom: 2.5rem;
}

.project-block p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Sidebar projet */
.project-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 2rem);
}

.project-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.project-info-card h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.project-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.project-info-item:last-child { margin-bottom: 0; }

.project-info-label {
  font-weight: 600;
  color: var(--text-muted);
  min-width: 60px;
  font-size: 0.8rem;
}

.project-info-value {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Compétences tags */
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  background: var(--blue-pale);
  color: var(--blue-royal);
  border-radius: var(--radius-full);
  border: 1px solid rgba(37,99,235,0.15);
}

/* ============================================================
   GALLERY SYSTÈME FLEXIBLE (1–12 images)
   ============================================================ */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

/* Moins de 4 images */
.gallery-grid--1 { grid-template-columns: 1fr; }
.gallery-grid--2,
.gallery-grid--3 { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-placeholder-icon { font-size: 2rem; }

/* Responsive galerie */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--1 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid,
  .gallery-grid--2,
  .gallery-grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   LECTEUR VIDÉO PROJET
   ============================================================ */
.project-video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-video-wrapper iframe,
.project-video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.project-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-royal));
  color: white;
}

.project-video-placeholder__icon { font-size: 3.5rem; }
.project-video-placeholder__text { font-size: 0.9rem; opacity: 0.75; }

/* ============================================================
   PARCOURS / TIMELINE
   ============================================================ */
.parcours-section {
  background: var(--bg-main);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-royal), var(--blue-pale));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-royal);
  transform: translateY(-2px);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  width: 20px;
  height: 2px;
  background: var(--border-light);
  transition: background var(--transition-fast);
}

.timeline-content:hover::before { background: var(--blue-royal); }

/* Position gauche/droite */
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
}

.timeline-dot {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  padding-top: 1.75rem;
}

.timeline-dot__inner {
  width: 48px;
  height: 48px;
  background: var(--bg-main);
  border: 3px solid var(--blue-royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 1;
  transition: all var(--transition-spring);
}

.timeline-item:hover .timeline-dot__inner {
  background: var(--blue-royal);
  transform: scale(1.1);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-royal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-school {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.timeline-spec {
  font-size: 0.82rem;
  color: var(--blue-royal);
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Empty placeholders for alternating layout */
.timeline-empty {
  grid-column: auto;
}

/* Expériences */
.experiences-section {
  background: var(--bg-soft);
  padding: var(--space-3xl) 0;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Adaptation selon le nombre d'expériences (1 à 6) */
.exp-grid--1 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
.exp-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 840px; margin-inline: auto; }
.exp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.exp-grid--4 { grid-template-columns: repeat(2, 1fr); }
.exp-grid--5,
.exp-grid--6 { grid-template-columns: repeat(3, 1fr); }

.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.exp-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-royal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.exp-card:hover::after { transform: scaleX(1); }

.exp-card__year {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-royal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.exp-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.exp-card__company {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.exp-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.skills-section {
  background: var(--bg-main);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: all var(--transition-base);
}

.skill-category:hover {
  border-color: var(--blue-royal);
  box-shadow: var(--shadow-md);
}

.skill-cat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blue-pale);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.skill-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-item__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skill-item__level {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.skill-bar {
  height: 5px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-royal), var(--blue-light));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1s ease 0.3s;
}

/* Tags logiciels */
.software-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-lg);
}

.software-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.software-tag:hover {
  border-color: var(--blue-royal);
  color: var(--blue-royal);
  background: var(--blue-pale);
}

/* Langues */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: var(--space-lg);
}

.language-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-flag { font-size: 2rem; }

.language-info__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.language-info__level {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  padding-top: 1rem;
}

.contact-info__tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.contact-link:hover {
  border-color: var(--blue-royal);
  background: var(--blue-pale);
  color: var(--blue-royal);
  transform: translateX(4px);
}

.contact-link__icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.contact-link:hover .contact-link__icon {
  background: var(--blue-royal);
}

.contact-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.85rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Formulaire */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--gray-50);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue-royal);
  background: var(--blue-pale);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Form states */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: none;
}

.form-alert.success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-alert.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-2xl) 0 var(--space-lg);
}

[data-theme="dark"] .footer {
  background: #060d1b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-brand__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-brand__logo span { color: var(--blue-light); }

.footer-brand__desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col__title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-link:hover { color: var(--blue-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-800);
  font-size: 0.82rem;
  color: var(--gray-600);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--blue-light);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover { color: var(--blue-light); opacity: 0.8; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-blue { color: var(--blue-royal); }
.text-muted { color: var(--text-muted); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.hidden { display: none !important; }

/* Scroll animations — initial state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.4s; }

/* ============================================================
   ANIMATIONS KEYFRAMES
   ============================================================ */
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -30px) scale(1.05); }
}

@keyframes cardFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes scorePopIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 6rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { display: none; }

  .hero-badges { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-greeting { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-stack { height: 340px; }
  .about-img-main { position: relative; width: 100%; height: 100%; top: auto; right: auto; border-radius: var(--radius-xl); overflow: hidden; }

  .passions-grid { grid-template-columns: repeat(2, 1fr); }

  .where-cities { grid-template-columns: repeat(3, 1fr); }
  .where-panel-content { grid-template-columns: 1fr; }
  .where-panel-left { min-height: 200px; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline-container::before { left: 32px; }

  .timeline-item {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-dot {
    grid-column: 1;
    grid-row: 1;
    padding-top: 1.75rem;
    justify-content: center;
  }

  .timeline-content::before { display: none; }
  .timeline-empty { display: none; }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid--1 { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .project-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .navbar-nav { display: none; }
  .navbar-actions .btn-lang { display: none; }
  .btn-burger { display: flex; }
  .mobile-menu { display: flex; }

  section { padding: var(--space-2xl) 0; }

  .hero-name { font-size: clamp(2.5rem, 10vw, 4rem); }

  .hero-stat-card { display: none; }

  .passions-grid { grid-template-columns: repeat(2, 1fr); }

  .quiz-body { padding: 1.75rem 1.25rem; }
  .quiz-header { padding: 2rem 1.5rem 1.5rem; }

  .where-cities { grid-template-columns: repeat(2, 1fr); }
  .where-panel-content { grid-template-columns: 1fr; }

  .projects-grid { grid-template-columns: 1fr; }
  .projects-filters { gap: 0.5rem; }
  .filter-btn { font-size: 0.75rem; padding: 0.4rem 0.8rem; }

  .skills-grid { grid-template-columns: 1fr; }
  .exp-grid,
  .exp-grid--1,
  .exp-grid--2 { grid-template-columns: 1fr; }

  .languages-grid { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .project-hero__meta { flex-direction: column; gap: 0.5rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-sidebar { position: relative; top: auto; }

  .timeline-container::before { left: 20px; }
  .timeline-dot__inner { width: 40px; height: 40px; font-size: 1rem; }

  .hero-scroll { display: none; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .passions-grid { grid-template-columns: 1fr; }
  .where-cities { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .quiz-options { gap: 0.5rem; }
  .quiz-option { padding: 0.85rem 1rem; }
  .about-image-stack { height: 260px; }
}

/* ============================================================
   LARGE SCREENS (≥ 1400px)
   ============================================================ */
@media (min-width: 1400px) {
  :root { --max-width: 1320px; }
  .hero-photo-wrapper { width: 440px; height: 520px; }
}


/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .navbar, .hero-bg, .hero-scroll, .btn-theme, .btn-lang { display: none; }
  body { background: white; color: black; }
  .hero { min-height: auto; padding-top: 2rem; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 10, 25, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-img-wrapper img.transitioning {
  opacity: 0;
  transform: scale(0.97);
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 9001;
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), opacity var(--transition-fast);
  z-index: 9001;
  line-height: 1;
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev:disabled,
.lightbox-next:disabled { opacity: 0.25; cursor: default; }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  z-index: 9001;
}

.gallery-item {
  cursor: pointer;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.4rem; }
}

/* ============================================================
   iOS & SAFARI — Correctifs et adaptations
   ============================================================ */

/* Lissage du texte & suppression du flash de tap */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* Hero — correctif du bug 100vh sur iOS Safari
   La barre d'adresse est comptée dans 100vh → le bas du hero déborde.
   svh (small viewport height) exclut l'UI du navigateur — iOS 16+ / Safari 16+ */
.hero {
  min-height: 100svh;
}

/* Lightbox — même correctif pour les hauteurs max */
.lightbox-img-wrapper,
.lightbox-img-wrapper img {
  max-height: 85svh;
}

/* Suppression du style natif iOS sur les formulaires
   (iOS impose ses propres arrondis, couleurs et aspect visuel) */
.form-input,
.form-textarea,
.form-select {
  -webkit-appearance: none;
  appearance: none;
  font-size: 1rem; /* iOS zoome automatiquement si font-size < 16px */
  border-radius: var(--radius-md); /* iOS peut l'écraser sans appearance: none */
}

/* Suppression du style natif iOS sur les boutons */
button,
.btn,
.btn-lang,
.btn-theme,
.btn-burger,
.filter-btn,
.city-btn,
.quiz-option {
  -webkit-appearance: none;
  appearance: none;
}

/* Suppression de la sélection de texte au long-press */
.btn,
.btn-lang,
.btn-theme,
.btn-burger,
.nav-link,
.filter-btn,
.city-btn {
  -webkit-user-select: none;
  user-select: none;
}

/* Suppression du délai de 300ms au tap (iOS < 13) */
a,
button,
[role="button"] {
  touch-action: manipulation;
}

/* GPU acceleration sur la navbar fixe — évite le clignotement au scroll iOS */
.navbar {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Défilement momentum dans le menu mobile et le panneau ville */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.where-panel-right {
  -webkit-overflow-scrolling: touch;
}

/* Overlay projets — toujours visible sur écrans tactiles (pas de :hover natif sur iOS) */
@media (hover: none) and (pointer: coarse) {
  .project-card__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(30,64,175,0.55) 0%, transparent 75%);
  }
}

/* Safe area — encoches et home indicator (iPhone X et modèles récents)
   Nécessite viewport-fit=cover dans la balise <meta name="viewport"> pour être actif */
@supports (padding: env(safe-area-inset-top)) {
  .navbar {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .mobile-menu {
    padding-left: calc(2rem + env(safe-area-inset-left));
    padding-right: calc(2rem + env(safe-area-inset-right));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }

  .footer {
    padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
  }
}

/* Préférence de mouvement réduit — respecte le réglage iOS "Réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-blob-1,
  .hero-blob-2,
  .hero-stat-card,
  .hero-scroll__arrow,
  .hero-greeting .dot,
  .status-dot {
    animation: none !important;
  }
}
