/* ═══════════════════════════════════════════
   APICULTURE GUIDE — Ultra-Design CSS
   ═══════════════════════════════════════════ */

/* ─── CSS Variables (Light Theme) ─── */
:root {
  --amber: #F5A623;
  --amber-dark: #E8891A;
  --amber-deep: #D4780F;
  --amber-light: #FFF3DC;
  --amber-very-light: #FFFBF0;
  --brown: #4A3728;
  --brown-light: #6B5544;
  --cream: #FFFDF5;
  --green: #5C8A3C;
  --green-dark: #3D6B20;
  --green-light: #EAF5E0;
  --red: #C0392B;
  --red-light: #FDF0F0;

  --text: #2C2C2C;
  --text-light: #666;
  --text-muted: #999;
  --bg: #FAFAF7;
  --bg-alt: #F5F3EE;
  --surface: #fff;
  --surface-glass: rgba(255, 255, 255, 0.65);
  --surface-glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 4px 30px rgba(74, 55, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(74, 55, 40, 0.12);
  --shadow-hover: 0 12px 40px rgba(74, 55, 40, 0.15);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --nav-height: 72px;
  --container: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* ─── Dark Theme ─── */
[data-theme="dark"] {
  --text: #E8E4DF;
  --text-light: #B0A89E;
  --text-muted: #7A7268;
  --bg: #1A1714;
  --bg-alt: #231F1B;
  --surface: #2A2521;
  --surface-glass: rgba(42, 37, 33, 0.75);
  --surface-glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
  --cream: #231F1B;
  --amber-light: #3A2E1A;
  --amber-very-light: #2E2518;
  --green-light: #1E2E18;
  --red-light: #2E1A1A;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { line-height: 1.2; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ─── Scroll Progress Bar ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  z-index: 10000;
  transition: none;
}

/* ═══════════ NAVIGATION ═══════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: all var(--transition);
}

.nav.scrolled {
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--surface-glass-border);
  box-shadow: var(--shadow);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  transition: color var(--transition);
}

.nav.scrolled .nav__logo { color: var(--text); }

.nav__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
}

.nav.scrolled .nav__link { color: var(--text-light); }
.nav__link:hover { color: var(--amber); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav__link:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.nav.scrolled .theme-toggle { background: var(--bg-alt); }

.theme-toggle__icon {
  position: absolute;
  transition: transform 0.5s ease, opacity 0.3s ease;
  font-size: 1.2rem;
}

.theme-toggle__sun { color: #FFD700; }
.theme-toggle__moon { color: #B0A89E; transform: translateY(40px); opacity: 0; }

[data-theme="dark"] .theme-toggle__sun { transform: translateY(-40px); opacity: 0; }
[data-theme="dark"] .theme-toggle__moon { transform: translateY(0); opacity: 1; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav.scrolled .nav__burger span { background: var(--text); }

.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__hexgrid {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(74, 55, 40, 0.95) 0%,
    rgba(212, 120, 15, 0.85) 50%,
    rgba(245, 166, 35, 0.8) 100%
  );
}

[data-theme="dark"] .hero__gradient {
  background: linear-gradient(135deg,
    rgba(20, 16, 12, 0.97) 0%,
    rgba(74, 55, 40, 0.9) 50%,
    rgba(140, 90, 20, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding-top: calc(var(--nav-height) + 2rem);
}

.hero__logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__cern-logo {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.hero__sa-logo {
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero__tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--amber), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--amber);
  color: white;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}
.btn--primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

.btn--glass {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn--glass:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: left;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
}

.hero__stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  max-width: 160px;
  line-height: 1.4;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ═══════════ SECTIONS ═══════════ */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  background: var(--bg);
  transition: background var(--transition);
}

.section--cream { background: var(--cream); }

.section--amber {
  background: linear-gradient(135deg, var(--amber-dark), var(--amber));
}

.section--dark {
  background: linear-gradient(135deg, #1A1714, #2A2521);
}

.section--eco {
  background: var(--green-light);
}

[data-theme="dark"] .section--eco { background: #1A2314; }

.section__header {
  margin-bottom: 3.5rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  background: var(--amber-light);
  transition: background var(--transition);
}

.section__tag--light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  transition: color var(--transition);
}

.section__title--light { color: white; }

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 1.5rem;
}

/* ═══════════ GLASS CARDS ═══════════ */
.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

/* ═══════════ INTRO GRID ═══════════ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.intro-card { position: relative; }

.intro-card--large {
  grid-column: 1 / -1;
}

.intro-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.intro-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.intro-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ═══════════ BENTO GRID ═══════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.bento__item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.bento__item p { color: var(--text-light); font-size: 0.95rem; }

.bento__item--wide { grid-column: span 2; }

.bento__item--highlight {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark)) !important;
  color: white !important;
  border: none !important;
}
.bento__item--highlight h3, .bento__item--highlight p { color: white !important; }

.bento__item-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

/* Lifecycle */
.lifecycle {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.lifecycle__step {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.lifecycle__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.lifecycle__step strong { display: block; font-size: 0.95rem; }
.lifecycle__step span { font-size: 0.8rem; color: var(--text-muted); }

.lifecycle__arrow {
  color: var(--amber);
  font-size: 1.5rem;
}

/* ═══════════ CALLOUTS ═══════════ */
.callout {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  border-left: 4px solid;
  align-items: flex-start;
}

.callout--info {
  background: var(--amber-very-light);
  border-color: var(--amber);
}

.callout--warning {
  background: var(--red-light);
  border-color: var(--red);
}

.callout--eco {
  background: var(--green-light);
  border-color: var(--green);
}

.callout__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout p { color: var(--text-light); font-size: 0.95rem; }
.callout strong { color: var(--text); }

/* ═══════════ COMPARE CARDS ═══════════ */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.compare-card { position: relative; }

.compare-card__badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--amber);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.compare-card p { color: var(--text-light); font-size: 0.9rem; }

/* ═══════════ EQUIPMENT LIST ═══════════ */
.equip-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.equip-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.equip-item__icon { font-size: 2rem; flex-shrink: 0; }
.equip-item strong { display: block; margin-bottom: 0.25rem; color: var(--text); }
.equip-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ═══════════ SPLIT LAYOUT ═══════════ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split-layout h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist--compact { gap: 0.5rem; }

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.checklist__check {
  color: var(--amber);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Steps */
.steps-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.steps { display: flex; flex-direction: column; gap: 1.25rem; }

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--amber);
  flex-shrink: 0;
  width: 28px;
}

.step p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ═══════════ PRICING / PURCHASE CARDS ═══════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card { text-align: center; position: relative; }

.pricing-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 1rem;
}

.pricing-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.25rem; }

.pricing-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-dark);
  background: var(--amber-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* ═══════════ ACCORDION ═══════════ */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }

.accordion__item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--surface-glass-border);
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition);
}

.accordion__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  transition: color var(--transition);
}

.accordion__header::-webkit-details-marker { display: none; }

.accordion__icon { font-size: 1.3rem; }

.accordion__chevron {
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform var(--transition);
}

details[open] .accordion__chevron { transform: rotate(180deg); }

.accordion__body {
  padding: 0 1.5rem 1.5rem;
}

.accordion__body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Disease Grid */
.disease-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.disease-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border-left: 3px solid var(--amber);
  transition: background var(--transition);
}

.disease-card--danger { border-color: var(--red); }

.disease-card h5 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.disease-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* Seasons */
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.season-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.season-card h5 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.season-card p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

.season-card--spring { background: #E8F5E9; }
.season-card--summer { background: #FFF8E1; }
.season-card--autumn { background: #FFF3E0; }
.season-card--winter { background: #E3F2FD; }

[data-theme="dark"] .season-card--spring { background: #1A2E14; }
[data-theme="dark"] .season-card--summer { background: #2E2A14; }
[data-theme="dark"] .season-card--autumn { background: #2E2214; }
[data-theme="dark"] .season-card--winter { background: #14222E; }

/* ═══════════ TIMELINE ═══════════ */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 1px;
}

.timeline__item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline__num {
  position: absolute;
  left: -3rem;
  top: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2);
}

.timeline__content {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.15) !important;
}

.timeline__content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: white;
  margin-bottom: 0.5rem;
}

.timeline__content p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

/* ═══════════ PRODUCTS ═══════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card { text-align: center; }

.product-card__emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.product-card p { color: var(--text-light); font-size: 0.88rem; }

/* ═══════════ ERRORS ═══════════ */
.errors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.error-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.error-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--red);
  transform: translateY(-4px);
}

.error-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--red);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}

.error-card h4 { color: white; font-size: 1rem; margin-bottom: 0.5rem; }
.error-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin: 0; }

/* ═══════════ ECO CARDS ═══════════ */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.eco-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }

.eco-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.eco-card p { color: var(--text-light); font-size: 0.9rem; }

/* ═══════════ GLOSSARY ═══════════ */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0;
}

.glossary-item {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--surface-glass-border);
  transition: background var(--transition);
}

.glossary-item:hover { background: var(--amber-very-light); }

.glossary-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

.glossary-item span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ═══════════ CALENDAR ═══════════ */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.calendar-card { overflow: hidden; }

.calendar-card__season {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.calendar-card__months {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid;
}

.calendar-card--spring .calendar-card__months { border-color: #4CAF50; }
.calendar-card--summer .calendar-card__months { border-color: var(--amber); }
.calendar-card--autumn .calendar-card__months { border-color: #FF7043; }
.calendar-card--winter .calendar-card__months { border-color: #5B7FA5; }

.calendar-card li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.calendar-card li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--amber);
}

/* ═══════════ CERN SECTION ═══════════ */
.section--cern {
  background: linear-gradient(135deg, var(--bg) 0%, var(--amber-very-light) 100%);
}

[data-theme="dark"] .section--cern {
  background: linear-gradient(135deg, #1A1714 0%, #2A2218 100%);
}

.cern-subtitle {
  font-family: var(--font-body);
  font-size: 0.45em;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.05em;
  display: block;
  margin-top: 0.3rem;
}

.cern-hero {
  position: relative;
  padding: 2.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-glass), rgba(245, 166, 35, 0.08)) !important;
}

.cern-hero__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #004C99, #0066CC);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  letter-spacing: 0.15em;
  box-shadow: 0 4px 15px rgba(0, 76, 153, 0.3);
}

.cern-hero__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 700px;
  margin-bottom: 2rem;
}

.cern-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.cern-stat { text-align: left; }

.cern-stat__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
}

.cern-stat__unit {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber-dark);
}

.cern-stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.4;
}

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

.cern-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cern-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.cern-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.cern-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cern-detail-card {
  border-top: 3px solid var(--amber) !important;
}

.cern-detail-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.cern-detail-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.cern-access {
  margin-top: 0;
}

@media (max-width: 768px) {
  .cern-grid { grid-template-columns: 1fr; }
  .cern-details { grid-template-columns: 1fr; }
  .cern-stats { flex-direction: column; gap: 1.5rem; }
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer__inner { position: relative; z-index: 1; }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand-col { display: flex; flex-direction: column; gap: 1rem; }

.footer__logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo--cern {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer__logo--sa {
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  padding: 2px;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer__brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: white;
}

.footer__brand-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer__links-col h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: white;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer__links-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer__links-col li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer__links-col a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links-col a:hover { color: var(--amber); }

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ═══════════ IMAGE COMPONENTS ═══════════ */

/* Intro card with image (large card) */
.intro-card--image {
  display: flex;
  gap: 2rem;
  padding: 0;
  overflow: hidden;
}

.intro-card__img {
  width: 45%;
  object-fit: cover;
  border-radius: var(--radius) 0 0 var(--radius);
  min-height: 200px;
}

.intro-card__body {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Bento item with background image */
.bento__item--img {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  min-height: 220px;
}

.bento__item-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bento__item-overlay {
  position: relative;
  z-index: 1;
  padding: 2rem;
  height: 100%;
  background: linear-gradient(135deg, rgba(232, 137, 26, 0.85), rgba(212, 120, 15, 0.75));
}

/* Section banner (full-width image with overlay) */
.section__banner {
  position: relative;
  height: 340px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.section__banner--short { height: 260px; }

.section__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 23, 20, 0.85) 0%, rgba(26, 23, 20, 0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

/* Image strip (horizontal banner inside content) */
.section__img-strip {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 240px;
}

.section__img-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.section__img-strip--rounded { border-radius: var(--radius-lg); }

/* Header with image beside title */
.section__header--with-img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.section__header-img {
  width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

/* Section with background image */
.section--has-bg {
  position: relative;
  overflow: hidden;
}

.section__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.15;
  filter: blur(2px);
}

.section--amber.section--has-bg {
  background: linear-gradient(135deg, rgba(212, 120, 15, 0.93), rgba(245, 166, 35, 0.9));
}

/* Responsive images */
@media (max-width: 768px) {
  .intro-card--image {
    flex-direction: column;
  }

  .intro-card__img {
    width: 100%;
    height: 200px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .intro-card__body { padding: 1.5rem; }

  .section__header--with-img {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__header-img {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
  }

  .section__banner { height: 240px; }
  .section__banner--short { height: 180px; }
}

/* ═══════════ HIVE ═══════════ */
.hive {
  position: fixed;
  bottom: 24px;
  right: 32px;
  z-index: 9998;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.25));
}

.hive__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  position: relative;
}

.hive__roof {
  width: 90px;
  height: 16px;
  background: linear-gradient(135deg, #8B6914, #6B4F10);
  border-radius: 5px 5px 0 0;
  position: relative;
  z-index: 2;
}

.hive__roof::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 12px solid #8B6914;
}

.hive__box {
  width: 80px;
  height: 20px;
  border-radius: 2px;
  position: relative;
}

.hive__box--1 {
  background: linear-gradient(90deg, #F5C842, #E8B430);
  border: 1px solid #D4A020;
}

.hive__box--2 {
  background: linear-gradient(90deg, #E8B430, #D4A020);
  border: 1px solid #C09018;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hive__box--3 {
  background: linear-gradient(90deg, #D4A020, #C09018);
  border: 1px solid #A07810;
}

.hive__box--1::after, .hive__box--3::after {
  content: '';
  position: absolute;
  inset: 3px 10px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 7px,
    rgba(0,0,0,0.06) 7px,
    rgba(0,0,0,0.06) 8px
  );
}

.hive__cern-logo {
  height: 14px;
  width: auto;
  opacity: 0.55;
  filter: sepia(1) saturate(3) hue-rotate(-10deg) brightness(0.6);
  position: relative;
  z-index: 1;
}

.hive__entrance {
  width: 16px;
  height: 7px;
  background: #3A2510;
  border-radius: 0 0 4px 4px;
  margin-top: -1px;
}

.hive__base {
  width: 88px;
  height: 7px;
  background: linear-gradient(135deg, #6B4F10, #5A4010);
  border-radius: 0 0 4px 4px;
  margin-top: 1px;
}

.hive__label {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.65;
  white-space: nowrap;
}

[data-theme="dark"] .hive__label { color: rgba(255,255,255,0.4); }

/* Hive glow */
.hive__body::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 16px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.18), transparent 70%);
  z-index: -1;
  animation: hiveGlow 3s ease-in-out infinite alternate;
}

@keyframes hiveGlow {
  0%   { opacity: 0.4; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* ═══════════ FLYING BEES ═══════════ */
.bees-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.bee {
  position: absolute;
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  will-change: transform;
}

.bee__body {
  display: inline-block;
  animation: beeWobble 0.3s ease-in-out infinite alternate;
}

.bee--flip .bee__body {
  transform: scaleX(-1);
}

.bee--at-hive {
  opacity: 0 !important;
  transition: opacity 0.2s;
}

@keyframes beeWobble {
  0%   { transform: rotate(-6deg) translateY(-1px); }
  100% { transform: rotate(6deg) translateY(1px); }
}

.bee__wings {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  opacity: 0.5;
  animation: beeWings 0.08s linear infinite alternate;
}

@keyframes beeWings {
  0%   { opacity: 0.3; transform: translateX(-50%) scaleY(0.6); }
  100% { opacity: 0.6; transform: translateX(-50%) scaleY(1); }
}

@media (max-width: 600px) {
  .hive { right: 15px; bottom: 15px; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .bees-container, .hive { display: none; }
}

/* ═══════════ ANIMATIONS ═══════════ */
[data-anim] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-anim="fade-up"] { transform: translateY(40px); }
[data-anim="fade-left"] { transform: translateX(40px); }
[data-anim="fade-right"] { transform: translateX(-40px); }

[data-anim].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════ LANGUAGE TOGGLE ═══════════ */
.lang-toggle {
  height: 40px;
  min-width: 48px;
  padding: 0 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.lang-toggle:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: white;
}

.nav.scrolled .lang-toggle {
  background: var(--bg-alt);
  border-color: transparent;
  color: var(--text);
}

.nav.scrolled .lang-toggle:hover {
  background: var(--amber);
  color: white;
}

/* ═══════════ MINI BUTTONS (links inside cards) ═══════════ */
.btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.btn-mini:hover {
  background: var(--amber-light);
  color: var(--amber-deep);
  transform: translateY(-1px);
}

.btn-mini--amber {
  background: var(--amber);
  color: white;
}

.btn-mini--amber:hover {
  background: var(--amber-dark);
  color: white;
}

.btn-mini code {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
}

.cern-card__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ═══════════ AGENDA SECTION ═══════════ */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.agenda-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.agenda-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: white;
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  text-align: center;
}

.agenda-card__day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-card__month {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.3rem;
  opacity: 0.95;
}

.agenda-card__body { display: flex; flex-direction: column; gap: 0.5rem; }

.agenda-card__type {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.25rem;
}

.agenda-card__type--visit { background: var(--green-light); color: var(--green-dark); }
.agenda-card__type--sale { background: var(--amber-light); color: var(--amber-deep); }
.agenda-card__type--forum { background: #E8E0F0; color: #5D3F8F; }

[data-theme="dark"] .agenda-card__type--forum { background: rgba(93,63,143,0.25); color: #B8A0E0; }

.agenda-card__body h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.agenda-card__body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.agenda-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.callout code {
  background: var(--bg-alt);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  color: var(--amber-deep);
}

/* ═══════════ INFOS PRATIQUES ═══════════ */
.infos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

.info-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.info-card:hover { transform: translateY(-3px); }

.info-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.info-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.info-card p {
  font-size: 0.94rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ═══════════ ALBUMS ═══════════ */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.album-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--bg-alt);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

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

.album-card:hover img { transform: scale(1.08); }

.album-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  color: white;
  text-align: left;
}

.album-card__overlay h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.album-card__count {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  margin-top: 0.2rem;
}

/* ═══════════ LIGHTBOX ═══════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active { display: flex; opacity: 1; }

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox__info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.lightbox__caption {
  color: white;
  font-size: 0.95rem;
  text-align: center;
  opacity: 0.9;
  max-width: 80vw;
}

.lightbox__counter {
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}

.lightbox__close:hover { background: rgba(255,255,255,0.3); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  border: none;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
  padding-bottom: 4px;
}

.lightbox__nav:hover {
  background: var(--amber);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.albums-lead {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ═══════════ VIDEO FEATURE ═══════════ */
.video-feature {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1rem 0 3rem;
  box-shadow: var(--shadow-lg);
  background: var(--brown);
}

.video-feature__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-feature__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
    rgba(74, 55, 40, 0.55) 0%,
    rgba(74, 55, 40, 0.25) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  pointer-events: none;
}

.video-feature__content {
  color: white;
  max-width: 60ch;
  pointer-events: auto;
}

.video-feature__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  margin-bottom: 0.85rem;
}

.video-feature__tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5252;
  box-shadow: 0 0 8px rgba(255, 82, 82, 0.8);
  animation: liveDot 1.6s ease-in-out infinite;
}

@keyframes liveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.video-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.video-feature__text {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  opacity: 0.92;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.video-feature__sound {
  pointer-events: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  color: white;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.video-feature__sound:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.video-feature__sound-icon { font-size: 1rem; }

@media (max-width: 768px) {
  .video-feature { aspect-ratio: 4 / 5; }
  .video-feature__overlay { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .video-feature__sound { align-self: flex-start; }
}

@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}

/* ═══════════ CONTACT ═══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-form-wrap {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-form-wrap__lead {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field select,
[data-theme="dark"] .form-field textarea {
  background: var(--bg-alt);
  border-color: rgba(255,255,255,0.1);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.25rem;
}

.contact-form .btn { align-self: flex-start; margin-top: 0.4rem; }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-channel__icon { font-size: 1.6rem; }

.contact-channel h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}

.contact-channel p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

.contact-channel a { align-self: flex-start; margin-top: 0.4rem; }

/* ═══════════ ADHESION ═══════════ */
.adhesion {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  margin-top: 2.5rem;
}

.adhesion__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--surface-glass-border);
}

.adhesion__icon { font-size: 1.6rem; }

.adhesion__header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text);
}

.adhesion__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.adhesion__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.adhesion__check {
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.adhesion__footer {
  padding: 1rem 1.25rem;
  background: var(--amber-very-light);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-light);
  border-left: 3px solid var(--amber);
}

[data-theme="dark"] .adhesion__footer { background: rgba(245,166,35,0.08); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--wide { grid-column: span 2; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .seasons-grid { grid-template-columns: 1fr 1fr; }
  .agenda-grid { grid-template-columns: 1fr; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
  }

  .nav__links.active { display: flex; }
  .nav__links .nav__link { color: var(--text); font-size: 1.1rem; }
  .nav__burger { display: flex; }

  .intro-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: span 1; }
  .compare-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: 1fr; }
  .disease-grid { grid-template-columns: 1fr; }
  .seasons-grid { grid-template-columns: 1fr 1fr; }
  .errors-grid { grid-template-columns: 1fr; }
  .infos-grid { grid-template-columns: 1fr; }
  .agenda-card { grid-template-columns: 80px 1fr; gap: 1rem; padding: 1.25rem; }
  .agenda-card__day { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .adhesion { padding: 1.5rem; }

  .hero__stats { flex-direction: column; gap: 1.5rem; }
  .lifecycle { justify-content: center; }

  .lang-toggle { min-width: 42px; padding: 0 0.6rem; height: 36px; font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .seasons-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .albums-grid { grid-template-columns: 1fr; }
  .agenda-card { grid-template-columns: 1fr; }
  .agenda-card__date { flex-direction: row; gap: 0.75rem; padding: 0.6rem 1rem; }
  .agenda-card__day { font-size: 1.6rem; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-anim] { opacity: 1; transform: none; }
  .hero__scroll-line { animation: none; }
}
