/* ============================================================================
   CAMPING PLAN D'EAU SAINT CHARLES — Design System
   ============================================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Palette */
  --color-primary: #1B4D3E;
  --color-primary-light: #24614E;
  --color-primary-dark: #143B2F;
  --color-secondary: #D4A853;
  --color-secondary-light: #E0BC74;
  --color-secondary-dark: #B8903F;
  --color-accent: #2E8B7A;
  --color-accent-light: #3AA692;
  --color-neutral-50: #F7F4EF;
  --color-neutral-100: #EDE9E1;
  --color-neutral-200: #D5CFC5;
  --color-neutral-300: #B8B0A3;
  --color-neutral-400: #8A8279;
  --color-neutral-500: #6B6560;
  --color-neutral-600: #504B47;
  --color-neutral-700: #3B3835;
  --color-neutral-800: #2D2A26;
  --color-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.25rem;

  /* Spacing (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-neutral-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-primary);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--space-2);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 600;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.section--alt {
  background-color: var(--color-neutral-50);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-7);
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  color: var(--color-neutral-500);
  font-weight: 400;
  margin-top: var(--space-1);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  box-shadow: 0 2px 8px rgba(212, 168, 83, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-secondary-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.4);
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}

.btn--secondary:hover {
  background-color: transparent;
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn__icon {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  margin-right: 4px;
  flex-shrink: 0;
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--font-size-lg);
  border-radius: calc(var(--border-radius) + 4px);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(20, 59, 47, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: var(--header-height);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

/* Header links: white on dark header, dark on scrolled white header */
.site-header .nav-item__link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.scrolled .nav-item__link {
  color: var(--color-neutral-700);
}

.site-header .nav-item__link:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .nav-item__link:hover {
  color: var(--color-primary);
  background-color: var(--color-neutral-50);
}

.nav-item__link strong,
.nav-item__link .on {
  font-family: inherit;
  font-weight: inherit;
}

.site-header .header__lang a {
  color: rgba(255, 255, 255, 0.65);
}

.site-header.scrolled .header__lang a {
  color: var(--color-neutral-500);
}

.site-header .header__lang a:hover,
.site-header .header__lang a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.site-header.scrolled .header__lang a:hover,
.site-header.scrolled .header__lang a.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.site-header .menu-toggle span {
  background-color: var(--color-white);
}

.site-header.scrolled .menu-toggle span {
  background-color: var(--color-neutral-700);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.header__actions {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header__logo {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-35%);
  z-index: 1002;
  transition: transform 0.3s ease;
}

.site-header.scrolled .header__logo {
  transform: translateY(-40%);
}

.header__logo img {
  height: 150px;
  width: auto;
  padding: 10px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  transition: height 0.3s ease, transform var(--transition-base);
}

.site-header.scrolled .header__logo img {
  height: 110px;
}

.header__logo:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .header__logo img {
    height: 110px;
  }
  .site-header.scrolled .header__logo img {
    height: 110px;
  }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Nav item (wrapper for link + dropdown) */
.nav-item {
  position: relative;
}

.nav-item__link {
  display: block;
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}

/* Nav item: static positioned so dropdown can be absolute to header */
.header__nav {
  position: static;
}

.nav-item {
  position: static;
}

/* Dropdown panel — full-width mega-menu bar */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: var(--space-3) 0;
  z-index: 1001;
  border-radius: 0;
}

.nav-item.open > .nav-dropdown {
  display: flex;
  justify-content: center;
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-dropdown__link:last-child {
  border-right: none;
}

.nav-dropdown__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-dropdown__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-secondary) !important;
}

.nav-dropdown__link:hover::after {
  transform: scaleX(1);
}

.header__lang {
  display: flex;
  gap: 4px;
}

.header__lang a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-neutral-500);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.header__lang a:hover,
.header__lang a.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* --- Mega Menu (full-width bar under header) --- */
.nav-dropdown--mega {
  padding: var(--space-4) 0;
  flex-wrap: wrap;
}

.nav-mega__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.nav-mega__card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  position: relative;
  border-radius: var(--border-radius);
  width: 150px;
}

.nav-mega__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 3px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-mega__card:hover::after {
  transform: scaleX(1);
}

.nav-mega__card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.nav-mega__img {
  width: 200px;
  height: 130px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.nav-mega__card {
  width: auto;
}

.nav-mega__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.nav-mega__card:hover .nav-mega__img img {
  transform: scale(1.06);
}

.nav-mega__label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
  text-align: center;
  line-height: 1.3;
}

.nav-mega__card:hover .nav-mega__label {
  color: var(--color-secondary) !important;
}

/* --- Language Dropdown --- */
.lang-dropdown {
  position: relative;
}

.lang-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background var(--transition-fast);
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-body);
}

.site-header .lang-dropdown__toggle {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.scrolled .lang-dropdown__toggle {
  color: var(--color-neutral-700);
}

.lang-dropdown__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .lang-dropdown__toggle:hover {
  background: var(--color-neutral-50);
}

.lang-dropdown__toggle svg {
  transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-dropdown__toggle svg {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 4px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  display: flex;
  gap: 2px;
}

.lang-dropdown.open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-neutral-500) !important;
  text-decoration: none;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.lang-dropdown__item:hover {
  background: var(--color-neutral-100);
  color: var(--color-primary) !important;
}

.lang-dropdown__item.active {
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-weight: 600;
}

.lang-dropdown__code {
  font-weight: inherit;
  font-size: inherit;
}

/* Mobile: hide mega images, show as simple list */
@media (max-width: 1024px) {
  .nav-dropdown--mega {
    position: static;
    box-shadow: none;
    padding: 0;
    width: auto;
    min-width: 0;
  }

  .nav-mega__grid {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-mega__card {
    flex-direction: row;
    width: 100%;
    padding: 8px 0 8px var(--space-3);
    border-radius: 0;
  }

  .nav-mega__img {
    display: none;
  }

  .nav-mega__label {
    color: var(--color-neutral-500) !important;
    text-align: left;
    font-size: var(--font-size-sm);
  }

  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    min-width: 0;
    background: transparent;
  }

  .nav-item.mobile-open > .nav-dropdown {
    display: block;
  }

  .nav-dropdown__link {
    color: var(--color-neutral-500) !important;
    padding: 8px 0 8px var(--space-3);
    border-right: none;
  }

  .nav-dropdown__link::after {
    display: none;
  }
}

/* Mobile extras inside nav (hidden on desktop) */
.nav-mobile-extras {
  display: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-neutral-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  margin-top: var(--header-height);
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 59, 47, 0.3) 0%, transparent 120px),
    linear-gradient(135deg, rgba(27, 77, 62, 0.32) 0%, rgba(27, 77, 62, 0.18) 50%, rgba(46, 139, 122, 0.12) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-4);
  max-width: 800px;
}

.hero__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.hero__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--color-secondary);
}

.hero__title {
  font-size: var(--font-size-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero__description {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* --- USP Bar --- */
.usp-bar {
  background-color: var(--color-primary);
  padding: var(--space-5) 0;
}

.usp-bar__grid {
  display: flex;
  justify-content: center;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}

.usp-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-item__icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-secondary);
}

.usp-item__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
}

/* --- Cards --- */
.card-grid {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.card-grid--4 .card {
  flex: 1 1 calc(25% - var(--space-4));
  min-width: 260px;
}

.card-grid--3 .card {
  flex: 1 1 calc(33.333% - var(--space-4));
  min-width: 280px;
}

.card-grid--2 .card {
  flex: 1 1 calc(50% - var(--space-4));
  min-width: 300px;
}

.card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-3) var(--space-3) var(--space-4);
}

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.card__text {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-500);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: 10px;
  color: var(--color-primary);
}

.card__link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cards as links */
a.card {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

/* --- Split Section (50/50) --- */
.split {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.split--reverse {
  flex-direction: row-reverse;
}

.split__media {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split__content {
  flex: 1;
}

.split__content h2 {
  margin-bottom: var(--space-3);
}

.split__content p {
  color: var(--color-neutral-600);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.split__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.split__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.split__feature svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
  margin-top: 2px;
}

.split__feature span {
  font-size: var(--font-size-base);
  color: var(--color-neutral-700);
}

/* --- CTA Band --- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: var(--space-8) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-5);
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-neutral-800);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-8);
}

.footer__grid {
  display: flex;
  gap: var(--space-7);
  flex-wrap: wrap;
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col {
  flex: 1;
  min-width: 200px;
}

.footer__col--logo {
  flex: 0 0 auto;
  min-width: auto;
  display: flex;
  align-items: flex-start;
}

.footer__col--logo img {
  height: 200px;
  width: auto;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.footer__col--logo img:hover {
  opacity: 1;
}

.footer__col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.footer__col p,
.footer__col a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer__col a:hover {
  color: var(--color-secondary);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer__col ul a {
  display: inline-block;
  padding: 2px 0;
  transition: all var(--transition-fast);
}

.footer__col ul a:hover {
  color: var(--color-secondary);
  transform: translateX(4px);
}

.footer__partners {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.footer__partners img {
  height: 36px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.footer__partners img:hover {
  opacity: 1;
}

.footer__icon {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 6px;
  flex-shrink: 0;
}

.footer__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__social-link:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__bottom-social {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.footer__bottom-social a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
}

.footer__bottom-social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom-social a:hover {
  color: var(--color-secondary);
  transform: translateY(-1px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a:hover {
  color: var(--color-secondary);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: var(--space-2) 0;
  margin-top: var(--header-height);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: var(--font-size-sm);
  color: var(--color-neutral-400);
}

.breadcrumb__list a {
  color: var(--color-neutral-500);
}

.breadcrumb__list a:hover {
  color: var(--color-primary);
}

.breadcrumb__separator {
  font-size: var(--font-size-xs);
  color: var(--color-neutral-300);
}

/* --- Article Page --- */
.article-header {
  padding: var(--space-6) 0 var(--space-4);
}

.article-header h1 {
  max-width: var(--max-width-narrow);
}

.article-header .chapo {
  font-size: var(--font-size-xl);
  color: var(--color-neutral-500);
  margin-top: var(--space-2);
  max-width: var(--max-width-narrow);
}

.article-content {
  padding-top: 40px;
  padding-bottom: var(--space-9);
}

.article-content h2 {
  font-size: var(--font-size-2xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-neutral-100);
  position: relative;
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
}

.article-content h3 {
  font-size: var(--font-size-xl);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.article-content h4 {
  font-size: var(--font-size-lg);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.article-content p {
  max-width: none;
  line-height: 1.8;
  color: var(--color-neutral-700);
}

.article-content img {
  border-radius: var(--border-radius-lg);
  margin: var(--space-4) 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.article-content img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-md);
}

.article-content .offer-slider img,
.article-content .offer-slider__slide img,
.article-content .offer-card__gallery img {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.article-content .offer-slider img:hover,
.article-content .offer-slider__slide img:hover,
.article-content .offer-card__gallery img:hover {
  transform: none;
  box-shadow: none;
}

.article-content .spip_documents {
  margin: var(--space-5) 0;
}

.article-content .spip_documents img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.article-content ul,
.article-content ol {
  padding-left: var(--space-3);
  margin-bottom: var(--space-3);
}

.article-content ul {
  list-style: none;
}

.article-content ul li {
  position: relative;
  padding-left: var(--space-3);
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-1);
  line-height: 1.7;
  color: var(--color-neutral-700);
}

.article-content a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--color-primary);
}

.article-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-neutral-200), transparent);
  margin: var(--space-6) 0;
}

.article-content blockquote,
.article-content .red {
  border-left: 4px solid var(--color-secondary);
  padding: var(--space-3) var(--space-4);
  background: var(--color-neutral-50);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin: var(--space-4) 0;
  font-style: italic;
  color: var(--color-neutral-600);
}

.article-content .flex {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: var(--space-5) 0;
}

.article-content .flex > div {
  flex: 1;
  min-width: 200px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.article-content .flex > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

/* --- Article page hero immersif --- */
.article-page-hero {
  position: relative;
  min-height: 420px;
  margin-top: var(--header-height);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.article-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 0;
}

.article-page-hero > img:hover {
  transform: none;
  box-shadow: none;
}

.article-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(20, 59, 47, 0.08) 0%,
    rgba(20, 59, 47, 0.2) 40%,
    rgba(20, 59, 47, 0.42) 100%);
}

.article-page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-5) 0 var(--space-6);
}

.article-page-hero__breadcrumb {
  margin-bottom: var(--space-3);
}

.article-page-hero__breadcrumb .breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.article-page-hero__breadcrumb a,
.article-page-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: var(--font-size-sm);
}

.article-page-hero__breadcrumb a:hover {
  color: var(--color-white) !important;
}

.article-page-hero__breadcrumb .breadcrumb__separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 8px;
}

.article-page-hero__content h1 {
  color: var(--color-white);
  font-size: var(--font-size-4xl);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: var(--space-2);
}

.article-page-hero__chapo {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0;
}

@media (max-width: 768px) {
  .article-page-hero {
    min-height: 320px;
  }

  .article-page-hero__content h1 {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 480px) {
  .article-page-hero {
    min-height: 260px;
  }
}

/* --- Gallery grid (portfolio) --- */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--space-4) 0;
}

.gallery-grid__item {
  flex: 1 1 calc(33.333% - 8px);
  min-width: 200px;
  max-width: calc(33.333% - 8px);
  aspect-ratio: 4/3;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  transition: transform 0.5s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.06);
}

.gallery-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 77, 62, 0.3), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.gallery-grid__item:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-grid__item {
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
}

@media (max-width: 480px) {
  .gallery-grid__item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* --- Pricing Notice (hébergement) --- */
.pricing-notice {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  background: rgba(212, 168, 83, 0.08);
  border-left: 3px solid var(--color-secondary);
  border-radius: var(--border-radius);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
}

.pricing-notice__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
}

.pricing-notice p {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-500);
  line-height: 1.6;
  margin: 0;
}

/* CTV widgets (SecureHoliday) */
.article-content .contain {
  margin: var(--space-4) 0;
}

/* --- Gallery Grid --- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: var(--space-4) 0;
}

.gallery img {
  flex: 1 1 180px;
  max-width: 250px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

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

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__nav svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev {
  left: var(--space-3);
}

.lightbox__nav--next {
  right: var(--space-3);
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .lightbox__nav--prev { left: var(--space-1); }
  .lightbox__nav--next { right: var(--space-1); }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-base);
  z-index: 900;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Reviews Widget --- */
.reviews-section iframe {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

/* --- Sitemap / Plan du site --- */
.sitemap__section {
  margin-bottom: var(--space-7);
}

.sitemap__section h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-neutral-100);
}

.sitemap__section h2 a {
  color: var(--color-primary);
}

.sitemap__section h3 {
  font-size: var(--font-size-lg);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-neutral-700);
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
}

.sitemap__section h3 a {
  color: var(--color-neutral-700);
}

.sitemap__section h3 a:hover {
  color: var(--color-primary);
}

.sitemap__section ul {
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
}

.sitemap__section li {
  margin-bottom: var(--space-1);
  line-height: 1.6;
  list-style: disc;
  color: var(--color-neutral-400);
}

.sitemap__section li a {
  color: var(--color-accent);
  font-weight: 500;
}

.sitemap__section li a:hover {
  color: var(--color-primary);
}

.sitemap__desc {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-400);
  font-weight: 400;
}

/* --- Rubrique Page --- */
.rubrique-header {
  padding: var(--space-8) 0 var(--space-4);
  background-color: var(--color-neutral-50);
  margin-top: var(--header-height);
}

.rubrique-header h1 {
  margin-bottom: var(--space-2);
}

.rubrique-header p {
  font-size: var(--font-size-lg);
  color: var(--color-neutral-500);
  max-width: 65ch;
}

/* --- Offer Cards (Accommodation pages) — vertical layout --- */
.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-5);
}

.offer-card__gallery {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.offer-slider {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  height: 100%;
}

.offer-slider::-webkit-scrollbar {
  display: none;
}

.offer-slider__slide {
  flex: 0 0 50%;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .offer-slider__slide {
    flex: 0 0 100%;
  }
}

/* Force SPIP document wrappers to fill slides */
.offer-slider__slide .spip_documents,
.offer-slider__slide .spip_document,
.offer-slider__slide span[class*="spip_document"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.offer-slider__slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  max-width: none !important;
  border-radius: 0 !important;
}

/* Slider navigation arrows */
.offer-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
  padding: 0;
}

.offer-slider-arrow:hover {
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.offer-slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--color-neutral-700);
}

.offer-slider-arrow--prev {
  left: var(--space-2);
}

.offer-slider-arrow--next {
  right: var(--space-2);
}

/* Slide counter */
.offer-slider-counter {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 3;
}

/* Badge positioned over the gallery */
.offer-card__gallery .offer-badge {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.offer-card__content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}

.offer-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.offer-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.offer-badge--lake {
  background-color: #0B6E7F;
  color: #FFFFFF;
  font-size: var(--font-size-sm);
  padding: 6px 16px;
  letter-spacing: 0.06em;
}

.offer-badge--new {
  background-color: #FFF3E0;
  color: #E65100;
}

.offer-badge--promo {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.offer-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-neutral-100);
}

.offer-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  color: var(--color-neutral-600);
}

.offer-spec svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.offer-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-600);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.offer-card__arrival {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.offer-card__arrival svg {
  width: 16px;
  height: 16px;
  fill: var(--color-secondary);
}

/* --- Offer Tabs (widget switcher) --- */
.offer-tabs {
  border-top: 1px solid var(--color-neutral-100);
  padding-top: var(--space-3);
}

.offer-tabs__nav {
  display: flex;
  gap: 2px;
  background: var(--color-neutral-50);
  border-radius: var(--border-radius);
  padding: 3px;
  margin-bottom: var(--space-3);
}

.offer-tabs__btn {
  flex: 1;
  padding: 10px var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-neutral-500);
  background: transparent;
  border: none;
  border-radius: calc(var(--border-radius) - 2px);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.offer-tabs__btn:hover {
  color: var(--color-neutral-700);
}

.offer-tabs__btn.active {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.offer-tabs__panel {
  display: none;
}

.offer-tabs__panel.active {
  display: block;
}

/* Section separator between offer groups */
.offers-group {
  margin-bottom: var(--space-8);
}

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

@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    gap: 0;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .header__nav.open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--color-neutral-100);
  }

  .nav-item__link {
    padding: var(--space-2) var(--space-3) !important;
    font-size: var(--font-size-lg) !important;
    color: var(--color-neutral-800) !important;
    border-radius: 0 !important;
  }

  .nav-item__link:hover {
    color: var(--color-primary) !important;
    background-color: var(--color-neutral-50) !important;
  }

  /* Dropdown en mobile : caché par défaut, toggle au clic */
  .nav-dropdown {
    display: none;
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    padding: 0 0 var(--space-1) 0;
    margin-top: 0;
    background: var(--color-neutral-50);
    border-radius: var(--border-radius);
  }

  .nav-item.mobile-open > .nav-dropdown {
    display: block;
  }

  .nav-dropdown__link {
    padding-left: var(--space-5) !important;
    font-size: var(--font-size-base) !important;
    color: var(--color-neutral-600) !important;
  }

  /* Mega-menu links en mobile */
  .nav-dropdown--mega .nav-mega__grid {
    flex-direction: column;
    gap: 0;
  }

  .nav-dropdown--mega .nav-mega__card {
    flex-direction: row;
    padding: var(--space-1) var(--space-3);
    gap: var(--space-2);
  }

  .nav-dropdown--mega .nav-mega__img {
    display: none;
  }

  .nav-dropdown--mega .nav-mega__label {
    font-size: var(--font-size-base);
    color: var(--color-neutral-600);
  }

  /* Chevron indicateur de dropdown */
  .nav-item__link {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .nav-item__link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-neutral-400);
    border-bottom: 2px solid var(--color-neutral-400);
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
  }

  .nav-item.mobile-open > .nav-item__link::after {
    transform: rotate(-135deg);
  }

  /* Hamburger dans header__actions */
  .menu-toggle {
    display: flex;
  }

  .nav-mobile-extras {
    display: block;
    padding-top: var(--space-3);
    margin-top: var(--space-3);
    border-top: 1px solid var(--color-neutral-100);
  }

  .split {
    flex-direction: column;
    gap: var(--space-5);
  }

  .split--reverse {
    flex-direction: column;
  }

  .usp-bar__grid {
    gap: var(--space-4);
  }

  .footer__grid {
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --space-9: 4rem;
    --space-8: 3.5rem;
    --space-7: 3rem;
  }

  .hero {
    min-height: 70vh;
  }

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

  .card-grid--4 .card,
  .card-grid--3 .card {
    flex: 1 1 100%;
    min-width: 0;
  }

  .usp-bar__grid {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .usp-item {
    flex-direction: row;
    gap: var(--space-2);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .header__actions .btn {
    display: none;
  }

  .header__actions .lang-dropdown {
    display: flex;
  }

  .offer-card__gallery {
    height: 220px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 1.75rem;
    --font-size-4xl: 1.5rem;
    --space-3: 1rem;
  }

  .hero {
    min-height: 60vh;
  }

  .hero__description {
    font-size: var(--font-size-base);
  }

  .btn--lg {
    padding: 1rem 1.5rem;
    font-size: var(--font-size-base);
  }
}

/* ============================================================================
   ANIMATIONS & SCROLL REVEAL
   ============================================================================ */

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(25px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for cards */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 120ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 360ms; }

/* --- Hero Slider (homepage) --- */
.hero-slider {
  position: relative;
  min-height: 85vh;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero-slider .rub-slider__showcase {
  height: 85vh;
}

.hero-slider .rub-slider__overlay {
  background: linear-gradient(to right,
    rgba(20, 59, 47, 0.44) 0%,
    rgba(20, 59, 47, 0.3) 45%,
    rgba(20, 59, 47, 0.08) 100%),
  linear-gradient(to top,
    rgba(20, 59, 47, 0.35) 0%,
    transparent 40%);
}

.hero-slider .rub-slider__content {
  max-width: 600px;
  padding: var(--space-7) var(--space-7);
  padding-bottom: 100px;
  justify-content: center;
}

/* Center slide — content centered */
.hero-slider .rub-slider__slide--center .rub-slider__content {
  left: 0;
  right: 0;
  max-width: 700px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.hero-slider .rub-slider__slide--center .rub-slider__overlay {
  background: linear-gradient(to top,
    rgba(20, 59, 47, 0.42) 0%,
    rgba(20, 59, 47, 0.2) 50%,
    rgba(20, 59, 47, 0.1) 100%);
}

/* Mirror slides — content on the right */
.hero-slider .rub-slider__slide--mirror .rub-slider__content {
  left: auto;
  right: 0;
  align-items: flex-end;
  text-align: right;
}

.hero-slider .rub-slider__slide--mirror .rub-slider__overlay {
  background: linear-gradient(to left,
    rgba(20, 59, 47, 0.44) 0%,
    rgba(20, 59, 47, 0.3) 45%,
    rgba(20, 59, 47, 0.08) 100%),
  linear-gradient(to top,
    rgba(20, 59, 47, 0.35) 0%,
    transparent 40%);
}

.hero-slider .rub-slider__badge {
  background: rgba(212, 168, 83, 0.25);
}

.hero-slider .rub-slider__title {
  font-size: var(--font-size-4xl);
  line-height: 1.15;
}

.hero-slider .rub-slider__text {
  font-size: var(--font-size-lg);
  -webkit-line-clamp: 4;
}

.hero-slider .rub-slider__cta {
  padding: 14px 32px;
  font-size: var(--font-size-base);
}

.rub-slider__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.rub-slider__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.rub-slider__social a:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.rub-slider__social svg {
  width: 22px;
  height: 22px;
}

/* Slide content entrance animations */
.hero-slider .rub-slider__slide .rub-slider__badge,
.hero-slider .rub-slider__slide .rub-slider__title,
.hero-slider .rub-slider__slide .rub-slider__text,
.hero-slider .rub-slider__slide .rub-slider__cta,
.hero-slider .rub-slider__slide .rub-slider__social {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slider .rub-slider__slide.active .rub-slider__badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero-slider .rub-slider__slide.active .rub-slider__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.hero-slider .rub-slider__slide.active .rub-slider__text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero-slider .rub-slider__slide.active .rub-slider__cta,
.hero-slider .rub-slider__slide.active .rub-slider__social {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

/* Mirror slides — content enters from the right */
.hero-slider .rub-slider__slide--mirror .rub-slider__badge,
.hero-slider .rub-slider__slide--mirror .rub-slider__title,
.hero-slider .rub-slider__slide--mirror .rub-slider__text,
.hero-slider .rub-slider__slide--mirror .rub-slider__cta {
  transform: translateX(30px);
}

.hero-slider .rub-slider__slide--mirror.active .rub-slider__badge,
.hero-slider .rub-slider__slide--mirror.active .rub-slider__title,
.hero-slider .rub-slider__slide--mirror.active .rub-slider__text,
.hero-slider .rub-slider__slide--mirror.active .rub-slider__cta {
  transform: translateX(0);
}

.hero-slider .rub-slider__tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: rgba(20, 59, 47, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slider .rub-slider__progress {
  z-index: 5;
}

@media (max-width: 768px) {
  .hero-slider .rub-slider__showcase {
    height: 80vh;
  }

  .hero-slider .rub-slider__content {
    max-width: 100%;
    padding: var(--space-4);
  }

  .hero-slider .rub-slider__title {
    font-size: var(--font-size-3xl);
  }

  .hero-slider .rub-slider__overlay {
    background: linear-gradient(to top,
      rgba(20, 59, 47, 0.45) 0%,
      rgba(20, 59, 47, 0.25) 50%,
      rgba(20, 59, 47, 0.1) 100%);
  }
}

/* --- Reviews Slider --- */
.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: flex-start;
}

.review-card {
  flex: 0 0 100%;
  padding: 0 var(--space-2);
}

.review-card__inner {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.review-card__meta {
  min-width: 0;
}

.review-card__name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--font-size-base);
}

.review-card__date {
  font-size: var(--font-size-xs);
  color: var(--color-neutral-400);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-2);
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-secondary);
}

.review-card__text {
  color: var(--color-neutral-600);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__text.expanded {
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  display: block;
  overflow: visible;
  position: relative;
  z-index: 5;
  background: var(--color-white);
  padding-bottom: var(--space-3);
}

.review-card__more {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  cursor: pointer;
  padding: var(--space-1) 0 0;
  transition: color var(--transition-fast);
}

.review-card__more:hover {
  color: var(--color-secondary);
}

.review-card__more.visible {
  display: inline-block;
}

.review-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-neutral-100);
  font-size: var(--font-size-xs);
  color: var(--color-neutral-400);
  font-weight: 500;
}

.reviews-slider__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.reviews-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-neutral-200);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  padding: 0;
}

.reviews-slider__dot.active {
  background: var(--color-secondary);
  transform: scale(1.3);
}

/* Desktop: show 3 cards */
@media (min-width: 769px) {
  .review-card {
    flex: 0 0 33.333%;
  }
}

/* Tablet: show 2 cards */
@media (max-width: 768px) and (min-width: 481px) {
  .review-card {
    flex: 0 0 50%;
  }
}

/* --- Lagon Parallax Section --- */
.lagon-parallax {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.lagon-parallax__bg {
  position: absolute;
  inset: -80px 0;
  z-index: 0;
}

.lagon-parallax__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.lagon-parallax__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lagon-parallax__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-9) 0;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.lagon-parallax__content .floating-badge {
  margin-left: auto;
  margin-right: auto;
}

.lagon-parallax__overlay {
  background: rgba(20, 59, 47, 0.28);
}

.lagon-parallax__content h2 {
  color: var(--color-white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.lagon-parallax__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  line-height: 1.7;
  max-width: none;
}

@media (max-width: 768px) {
  .lagon-parallax {
    min-height: 400px;
  }

  .lagon-parallax__content h2 {
    font-size: var(--font-size-3xl);
  }
}

/* --- Hero Parallax --- */
.hero__bg img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- Hero entrance animations --- */
.hero__stars {
  animation: fadeSlideDown 0.8s 0.2s both;
}

.hero__title {
  animation: fadeSlideDown 0.9s 0.4s both;
}

.hero__description {
  animation: fadeSlideDown 0.9s 0.6s both;
}

.hero__actions {
  animation: fadeSlideDown 0.9s 0.8s both;
}

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

/* --- USP Bar pulse icon animation --- */
.usp-item__icon {
  transition: transform var(--transition-base);
}

.usp-item:hover .usp-item__icon {
  transform: scale(1.15);
}

/* --- Animated Counter --- */
.stat-counter {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding: var(--space-7) 0;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-item__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Stats Band (dark bg) --- */
.stats-band {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Enhanced Split Section --- */
.split__media {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.split__media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
}

.split__media img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split:hover .split__media img {
  transform: scale(1.03);
}

/* --- Enhanced Card with badge --- */
.card__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 4px 12px;
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

/* --- Section divider ornament --- */
.section__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-3);
}

.section__ornament::before,
.section__ornament::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--color-secondary);
}

.section__ornament svg {
  width: 20px;
  height: 20px;
  fill: var(--color-secondary);
}

/* --- Image gallery mosaic --- */
.mosaic {
  display: flex;
  gap: 8px;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.mosaic__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mosaic__col--large {
  flex: 1.5;
}

.mosaic__item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

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

.mosaic__item:hover img {
  transform: scale(1.06);
}

.mosaic__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 77, 62, 0.3), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

/* --- CTA Band enhanced --- */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 60%);
  animation: ctaGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

@keyframes ctaGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, -5%); }
}

/* --- Floating badge for sections --- */
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(27, 77, 62, 0.08);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.floating-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

/* --- Article hero with image background --- */
.article-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  margin-top: var(--header-height);
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  inset: 0;
}

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

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 59, 47, 0.42) 0%, rgba(20, 59, 47, 0.15) 60%, transparent 100%);
}

.article-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-6) 0 var(--space-5);
  width: 100%;
}

.article-hero__content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.article-hero__content .chapo {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
}

/* --- Rubrique hero immersif --- */
.rubrique-hero {
  position: relative;
  min-height: 400px;
  margin-top: var(--header-height);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

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

.rubrique-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(20, 59, 47, 0.08) 0%,
    rgba(20, 59, 47, 0.2) 40%,
    rgba(20, 59, 47, 0.44) 100%);
}

.rubrique-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-5) 0 var(--space-6);
  color: var(--color-white);
}

.rubrique-hero__content p {
  color: rgba(255, 255, 255, 0.85);
}

.rubrique-hero__breadcrumb a,
.rubrique-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: var(--font-size-sm);
}

.rubrique-hero__breadcrumb a:hover {
  color: var(--color-white) !important;
}

.rubrique-hero__breadcrumb .breadcrumb__separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 8px;
}

.rubrique-hero h1 {
  font-size: var(--font-size-4xl);
  color: var(--color-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: var(--space-2);
}

.rubrique-hero__desc {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0;
}

/* --- Rubrique Article Slider --- */
.rub-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  background: var(--color-primary-dark);
}

.rub-slider__showcase {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.rub-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.rub-slider__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.rub-slider__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

.rub-slider__slide img:hover {
  transform: none;
  box-shadow: none;
}

.rub-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(20, 59, 47, 0.46) 0%,
    rgba(20, 59, 47, 0.35) 40%,
    rgba(20, 59, 47, 0.1) 100%);
}

.rub-slider__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) var(--space-7);
  max-width: 550px;
  z-index: 2;
}

.rub-slider__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(212, 168, 83, 0.2);
  border: 1px solid rgba(212, 168, 83, 0.4);
  color: var(--color-secondary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
  width: fit-content;
}

.rub-slider__title {
  font-size: var(--font-size-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.rub-slider__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rub-slider__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: var(--font-size-sm);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  width: fit-content;
  text-decoration: none;
}

.rub-slider__cta:hover {
  background: var(--color-secondary-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.4);
}

.rub-slider__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Slider Tabs (bottom thumbnails) --- */
.rub-slider__tabs {
  display: flex;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rub-slider__tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background var(--transition-base);
  border: none;
  background: transparent;
  text-align: left;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

.rub-slider__tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.rub-slider__tab.active::before {
  transform: scaleX(1);
}

.rub-slider__tab:hover {
  background: rgba(255, 255, 255, 0.05);
}

.rub-slider__tab.active {
  background: rgba(255, 255, 255, 0.08);
}

.rub-slider__tab-img {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.rub-slider__tab-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

.rub-slider__tab-img img:hover {
  transform: none;
  box-shadow: none;
}

.rub-slider__tab-info {
  min-width: 0;
}

.rub-slider__tab-title {
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rub-slider__tab.active .rub-slider__tab-title {
  color: var(--color-secondary);
}

.rub-slider__tab-sub {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Progress bar auto-slide */
.rub-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-secondary);
  z-index: 3;
  transition: width linear;
}

/* Tabs scroll wrapper for many items */
.rub-slider__tabs {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rub-slider__tabs::-webkit-scrollbar {
  display: none;
}

/* When many tabs, compact mode */
.rub-slider__tabs--compact .rub-slider__tab {
  flex: 0 0 auto;
  min-width: 160px;
  padding: 12px 16px;
  gap: 10px;
}

.rub-slider__tabs--compact .rub-slider__tab-img {
  width: 40px;
  height: 40px;
}

.rub-slider__tabs--compact .rub-slider__tab-sub {
  display: none;
}

.rub-slider__tabs--compact .rub-slider__tab-title {
  font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
  .rub-slider__showcase {
    height: 380px;
  }

  .rub-slider__content {
    padding: var(--space-4);
    max-width: 100%;
  }

  .rub-slider__title {
    font-size: var(--font-size-2xl);
  }

  .rub-slider__overlay {
    background: linear-gradient(to top,
      rgba(20, 59, 47, 0.46) 0%,
      rgba(20, 59, 47, 0.3) 50%,
      rgba(20, 59, 47, 0.15) 100%);
  }

  .rub-slider__tabs {
    flex-wrap: nowrap;
  }

  .rub-slider__tab {
    flex: 0 0 auto;
    min-width: 150px;
  }

  .rub-slider__tab-img {
    width: 40px;
    height: 40px;
  }

  .rub-slider__tab-sub {
    display: none;
  }
}

@media (max-width: 480px) {
  .rub-slider__showcase {
    height: 320px;
  }

  .rub-slider__tab {
    min-width: 130px;
    padding: 10px 12px;
  }
}

/* --- Rubrique alternating blocks --- */
.rub-blocks {
  margin-top: var(--space-6);
}

.rub-block {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-neutral-100);
}

.rub-block:last-child {
  border-bottom: none;
}

.rub-block:nth-child(even) {
  flex-direction: row-reverse;
}

.rub-block__image {
  flex: 0 0 45%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.rub-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

.rub-block__image img:hover {
  transform: scale(1.04);
  box-shadow: none;
}

.rub-block__content {
  flex: 1;
}

.rub-block__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.rub-block__text {
  color: var(--color-neutral-600);
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.rub-block__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
  font-size: var(--font-size-base);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.rub-block__link:hover {
  gap: 12px;
  color: var(--color-primary);
}

.rub-block__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .rub-block,
  .rub-block:nth-child(even) {
    flex-direction: column;
  }

  .rub-block__image {
    flex: none;
    width: 100%;
  }
}

/* --- Rubrique featured article (first article, large) --- */
.rubrique-featured {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  margin-bottom: var(--space-5);
}

.rubrique-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.rubrique-featured__image {
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}

.rubrique-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rubrique-featured:hover .rubrique-featured__image img {
  transform: scale(1.04);
}

.rubrique-featured__body {
  flex: 1;
  padding: var(--space-5);
}

.rubrique-featured__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(27, 77, 62, 0.08);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.rubrique-featured__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.rubrique-featured__text {
  color: var(--color-neutral-500);
  font-size: var(--font-size-base);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.rubrique-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
  font-size: var(--font-size-base);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.rubrique-featured__link:hover {
  gap: 12px;
  color: var(--color-primary);
}

.rubrique-featured__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .rubrique-hero {
    min-height: 300px;
  }

  .rubrique-featured {
    flex-direction: column;
  }

  .rubrique-featured__image {
    min-height: 220px;
    width: 100%;
  }

  .rubrique-featured__body {
    padding: var(--space-4);
  }
}

/* --- Responsive for new components --- */
@media (max-width: 768px) {
  .stat-counter {
    gap: var(--space-4);
  }

  .stat-item__number {
    font-size: var(--font-size-3xl);
  }

  .mosaic {
    height: 300px;
    flex-direction: column;
  }

  .mosaic__col--large {
    flex: 1;
  }

  .article-hero {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .mosaic {
    height: auto;
  }

  .mosaic__col {
    flex-direction: row;
  }

  .mosaic__item {
    height: 150px;
  }
}

/* --- SPIP Admin Float --- */
#spip-admin-float,
.spip-admin-bloc,
.spip-admin-float {
  z-index: 1000 !important;
}

/* --- Print --- */
@media print {
  .site-header,
  .back-to-top,
  .menu-toggle,
  .cta-band {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }
}
