/* ===== COMMON.CSS - Shared across all Abenex pages ===== */

/* ===== FONTS ===== */
@font-face {
  font-family: 'Plaax Ney';
  src: url('../fonts/Plaax-36-Ney-Regular-205TF.woff2') format('woff2'),
       url('../fonts/Plaax-36-Ney-Regular-205TF.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plaax Ney';
  src: url('../fonts/Plaax-46-Ney-Bold-205TF.woff2') format('woff2'),
       url('../fonts/Plaax-46-Ney-Bold-205TF.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
  --bg-dark: #0A1628;
  --bg-navy: #0F1E36;
  --bg-cream: #F7F5F2;
  --bg-warm: #EDE8E0;
  --text-dark: #0A1628;
  --text-light: #FFFFFF;
  --text-muted: rgba(255,255,255,0.6);
  --text-muted-dark: #6B7280;
  --abenex-blue: #0372FF;
  --abenex-orange: #ff7d01;
  --accent: #0372FF;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  overflow-x: clip;
}

body {
  font-family: 'Plaax Ney', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: clip;
  padding-right: 60px;
}

/* ===== TYPOGRAPHY ===== */
.display-massive {
  font-family: 'Plaax Ney', sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.display-xl {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-orange { color: var(--abenex-orange); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 60px;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: transparent;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0 3rem;
  height: 60px;
}

.header__logo {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.header__logo img {
  height: 28px;
  display: block;
}

.header__nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex: 1 1 0%;
}

.header__nav a {
  color: var(--text-light);
  text-decoration: none;
  font-family: 'Plaax Ney', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.7;
  transition: opacity 0.3s;
  position: relative;
  padding-bottom: 0.5rem;
  white-space: nowrap;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--accent);
  transition: transform 0.3s ease;
}

/* Logo is 1st child — nav links start at 2nd, so even=orange, odd=blue */
.header__nav a:nth-child(even)::after { background: var(--abenex-orange); }
.header__nav a:nth-child(odd)::after { background: var(--accent); }

.header__nav a:hover { opacity: 1; }
.header__nav a:hover::after { transform: translateX(-50%) scaleX(1); }
.header__nav a.nav-active { opacity: 1; }
.header__nav a.nav-active::after { transform: translateX(-50%) scaleX(1); }

.header__cta {
  --cta-height: 40px;
  --cta-chevron-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--cta-height);
  padding: 0 1.25rem;
  padding-right: calc(0.75rem + var(--cta-chevron-width));
  background: transparent;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: visible;
  white-space: nowrap;
  font-family: 'Plaax Ney', sans-serif;
  transition: color 0.4s ease;
}

.header__cta .cta-shape { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.header__cta .cta-shape svg { width: 100%; height: 100%; }
.header__cta .cta-shape path { fill: var(--text-light); stroke: var(--text-light); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill 0.4s ease, stroke 0.4s ease; }
.header__cta .cta-fill { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.header__cta .cta-fill svg { width: 100%; height: 100%; }
.header__cta .cta-fill path { fill: var(--abenex-orange); clip-path: inset(0 100% 0 0); transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.25s; }
.header__cta .cta-text { position: relative; z-index: 2; }
.header__cta .cta-chevron { position: absolute; right: 0; top: 0; width: var(--cta-chevron-width); height: var(--cta-height); opacity: 0; transform: translateX(0); transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; z-index: 3; }
.header__cta .cta-chevron svg { width: 100%; height: 100%; }
.header__cta .cta-chevron path { fill: var(--abenex-orange); }
.header__cta:hover { color: var(--text-light); }
.header__cta:hover .cta-shape path { fill: var(--abenex-orange); stroke: var(--abenex-orange); }
.header__cta:hover .cta-fill path { clip-path: inset(0 0 0 0); transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.header__cta:hover .cta-chevron { opacity: 1; transform: translateX(100%); transition: opacity 0.2s ease 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.35s; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* ===== LANG SELECTOR ===== */
.lang-selector { position: relative; }

.lang-selector__current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.lang-selector__current svg { transition: transform 0.3s ease; }
.lang-selector:hover .lang-selector__current svg { transform: rotate(180deg); }

.lang-selector__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-navy);
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 70px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.lang-selector:hover .lang-selector__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.lang-selector__option {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}

.lang-selector__option:hover { background: rgba(255,255,255,0.05); color: var(--text-light); }
.lang-selector__option.active { color: var(--accent); }

/* ===== MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

/* Logo mobile (hidden in desktop) */
.header__nav-logo { display: none; }
.header__nav-logo::after { display: none !important; }

/* ===== SECTION NAV ===== */
.section-nav {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--bg-navy);
  width: 60px;
}

.section-nav__item {
  width: 60px; height: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0.5px solid rgba(3, 114, 255, 0.3);
  cursor: pointer;
  transition: flex 0.4s ease, background 0.3s ease;
  overflow: visible; position: relative;
}

.section-nav__item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transition: transform 0.3s ease;
}

.section-nav__item:hover::before { transform: scaleY(1); }

.section-nav__item.active {
  height: auto; flex: 1; flex-shrink: 1;
  background: var(--accent);
  flex-direction: column; justify-content: space-between;
  align-items: center; padding: 20px 0; overflow: hidden;
}

.section-nav__item.active::before { display: none; }

.section-nav__number {
  font-size: 12px; font-weight: 400;
  color: var(--text-muted); opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.section-nav__item:hover .section-nav__number { color: var(--text-light); opacity: 1; }

.section-nav__item.active .section-nav__number {
  font-size: 20px; font-weight: 700;
  color: var(--text-light); opacity: 1; order: 2;
}

.section-nav__title {
  font-size: 14px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.6em;
  color: var(--text-light);
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg);
  display: none; white-space: nowrap;
}

.section-nav__item.active .section-nav__title { display: block; order: 1; }

.section-nav__item::after {
  content: attr(data-tooltip);
  position: absolute; right: 100%; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--bg-navy);
  border: 1px solid rgba(3, 114, 255, 0.3);
  color: var(--text-light);
  font-size: 9px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 10px; white-space: nowrap;
  pointer-events: none; opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.section-nav__item:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.section-nav__item.active::after { display: none; }

.section-nav__scroll-top {
  width: 60px; height: 60px; flex-shrink: 0;
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  border: 0.5px solid rgba(3, 114, 255, 0.3);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
}

.section-nav__scroll-top:hover { color: var(--text-light); background: rgba(3, 114, 255, 0.15); }

.section-nav__scroll-top::after {
  content: attr(data-tooltip);
  position: absolute; right: 100%; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--bg-navy);
  border: 1px solid rgba(3, 114, 255, 0.3);
  color: var(--text-light);
  font-size: 9px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 10px; white-space: nowrap;
  pointer-events: none; opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-nav__scroll-top:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Hauteur écran limitée (ex: 1280×720, laptops 1366×768) :
   réduire la typo de la nav latérale pour éviter que le titre vertical
   de l'item actif soit coupé. */
@media (max-height: 800px) {
  .section-nav__number { font-size: 10px; }
  .section-nav__item.active .section-nav__number { font-size: 16px; }
  .section-nav__title { font-size: 11px; letter-spacing: 0.35em; }
}

/* ===== MOBILE SCROLL TOP ===== */
.mobile-scroll-top {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--bg-navy);
  border: 0.5px solid rgba(3, 114, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, color 0.3s, background 0.3s;
}
.mobile-scroll-top.visible { opacity: 1; visibility: visible; }
.mobile-scroll-top:active { background: rgba(3, 114, 255, 0.15); color: var(--text-light); }

/* ===== ANIMATIONS ===== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

.no-animations .animate-in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-navy);
  padding: 5rem 4rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer__brand img { height: 26px; margin-bottom: 1.5rem; }
.footer__brand p { font-size: 1.05rem; font-weight: 700; color: var(--text-light); line-height: 1.6; margin-bottom: 2rem; }
.footer__title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 1.5rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.75rem; }
.footer__links a, .footer__links span { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--text-light); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal { display: inline-flex; gap: 2rem; }
.footer__legal a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer__legal a:hover { color: var(--accent); }
.footer__credit { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer__credit:hover { color: var(--accent); }

/* ===== RESPONSIVE: 1520px ===== */
@media (max-width: 1520px) {
  .header { gap: 1.5rem; }
  .header__nav { gap: 1.5rem; }
}

/* ===== RESPONSIVE: 1440px — CTA → icône cadenas ===== */
@media (max-width: 1440px) {
  .header { padding: 1.25rem 2.5rem; gap: 1.25rem; }
  .header.scrolled { padding: 0 2.5rem; }
  .header__nav { gap: 1rem; }
  /* CTA icône — bouton carré avec cadenas SVG */
  .header__cta { --cta-height: 36px; --cta-chevron-width: 0px; padding: 0; width: 42px; font-size: 0; }
  .header__cta .cta-text { font-size: 0; line-height: 0; }
  .header__cta .cta-text::before { content: ''; display: none; }
  .header__cta .cta-text::after {
    content: '';
    display: block;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
  }
  .header__cta:hover .cta-text::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  }
  .header__cta .cta-chevron { display: none; }
}

/* ===== RESPONSIVE: 1280px (zoom 125%) ===== */
@media (max-width: 1280px) {
  .header { padding: 1rem 1.5rem; gap: 1rem; }
  .header.scrolled { padding: 0 1.5rem; }
  .header__nav { gap: 0.75rem; }
  .lang-selector__current { padding: 0.5rem 1.25rem 0.5rem 0.75rem; font-size: 0.65rem; }
  .header__actions { gap: 0.75rem; }
  .section-nav { width: 40px; }
  .section-nav__item { width: 40px; height: 40px; }
  .section-nav__number { font-size: 0.65rem; }
  .section-nav__title { display: none; }
  body { padding-right: 40px; }
  .header { right: 40px; }
}

/* ===== RESPONSIVE: 1200px ===== */
@media (max-width: 1200px) {
  .header { padding: 1rem 1rem; gap: 0.75rem; right: 32px; }
  .header__nav { gap: 1rem; }
  .header__nav a { font-size: 0.75rem; padding-bottom: 0.4rem; }
  .section-nav { width: 32px; }
  .section-nav__item { width: 32px; height: 32px; }
  .section-nav__item.active { padding: 12px 0; }
  .section-nav__number { font-size: 0.6rem; }
  .section-nav__item.active .section-nav__number { font-size: 14px; }
  body { padding-right: 32px; }
}

/* ===== RESPONSIVE: 1024px ===== */
@media (max-width: 1024px) {
  body { padding-right: 0; }
  .header { right: 0; }
  .section-nav { display: none; }
  .mobile-scroll-top { display: flex; }
  .header__actions {
    display: none;
  }
  .menu-toggle { display: flex; }

  /* Nav mobile : volet pleine page, hors-écran par défaut */
  .header__nav {
    display: flex;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: rgba(15, 30, 54, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-top: 5rem;
    padding-bottom: 6rem;
    z-index: 10000;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.45s;
  }

  /* Menu ouvert : neutraliser le stacking context du header pour que le nav fixed fonctionne */
  .header.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
  }

  /* Menu ouvert : slide down */
  .header.menu-open .header__nav {
    transform: translateY(0);
    visibility: visible;
  }

  /* Logo centré en haut */
  .header.menu-open .header__nav-logo {
    display: block;
    position: absolute;
    top: 2rem; left: 50%;
    transform: translateX(-50%);
    opacity: 1;
  }
  .header.menu-open .header__nav-logo img { height: 28px; }

  /* Liens centrés */
  .header.menu-open .header__nav a:not(.header__nav-logo) {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.7;
    padding-bottom: 0;
    text-align: center;
  }
  .header.menu-open .header__nav a::after { display: none; }
  .header.menu-open .header__nav a:hover { opacity: 1; }

  /* ---- Actions dans le flux du volet (déplacées par JS) ---- */
  .header.menu-open .header__actions {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: auto;
  }

  /* Lang selector → cases horizontales alignées sur la largeur du CTA */
  .header.menu-open .lang-selector { width: 100%; }
  .header.menu-open .lang-selector__current { display: none !important; }
  .header.menu-open .lang-selector__dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0;
    background: transparent;
    border: none;
    min-width: auto;
    display: flex !important;
    flex-direction: row;
    gap: 0;
  }
  .header.menu-open .lang-selector__option {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 40px;
    padding: 0 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    color: var(--text-muted) !important;
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: transparent;
  }
  /* Pas de double bordure entre les carrés */
  .header.menu-open .lang-selector__option + .lang-selector__option {
    border-left: none;
  }
  .header.menu-open .lang-selector__option.active {
    color: var(--text-dark) !important;
    border-color: var(--text-light);
    background: var(--text-light);
  }
  .header.menu-open .lang-selector__option:hover {
    color: var(--text-light) !important;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
  }

  /* CTA rectangle simple — même largeur que les langues */
  .header.menu-open .header__cta {
    --cta-height: auto;
    --cta-chevron-width: 0px;
    height: auto !important;
    padding: 0.85rem 1.5rem !important;
    width: 100%;
    font-size: 0.65rem !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-light);
    justify-content: center;
  }
  .header.menu-open .header__cta .cta-shape { display: none; }
  .header.menu-open .header__cta .cta-fill { display: none; }
  .header.menu-open .header__cta .cta-text {
    font-size: 0.65rem !important;
    line-height: normal;
    color: var(--text-light);
  }
  .header.menu-open .header__cta .cta-text::after { display: none; }
  .header.menu-open .header__cta .cta-chevron { display: none; }

  /* ---- Croix de fermeture en bas du volet ---- */
  .header.menu-open .menu-toggle {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    top: auto;
    right: auto;
    z-index: 10001;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    transform: translateX(-50%);
  }
  .header.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Désactiver le header scrolled (pas de réduction sur mobile) */
  .header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 3rem;
    height: auto;
  }
}

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
  .header { padding: 1rem 1.5rem; }
  .header.scrolled { padding: 1rem 1.5rem; }
  .footer { padding: 3rem 1.5rem 2rem; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > :nth-child(2) { display: none; } /* Hide Navigation column on mobile */
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer__legal { display: flex; flex-direction: column; gap: 0.5rem; }
  .footer__legal a { margin-left: 0; }

}

/* ===== RESPONSIVE: 480px ===== */
@media (max-width: 480px) {
  .header { padding: 0.75rem 1rem; }
  .header.scrolled { padding: 0.75rem 1rem; }
  .footer { padding: 2rem 1rem 1.5rem; }
  .header.menu-open .header__nav { gap: 1.2rem; }
  .header.menu-open .header__nav a:not(.header__nav-logo) { font-size: 1.25rem; }
  .header.menu-open .header__nav-logo { top: 1.25rem; }
}
