﻿/* ─── Variables ─────────────────────────────────────── */
:root {
  --bg:            #000000;
  --bg-elevated:   #111111;
  --nav-bg:        rgba(9, 9, 9, 0.92);
  --text:          #f0f0f0;
  --text-muted:    #6a6a6a;
  --text-sub:      #3e3e3e;
  --accent:        #ffffff;
  --accent-glow:   rgba(255, 255, 255, 0.08);
  --border:        rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(255, 255, 255, 0.22);
  --nav-height:    72px;
  --logo-height:   52px;
  --radius:        10px;
}

/* ─── Fonts ──────────────────────────────────────────── */
@font-face {
  font-family: 'DINCondensed';
  src: url('../fonts/DINCondensed.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; background: #000; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'DINCondensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p, li, .app-row__desc, .dm2-intro__desc {
  text-align: justify;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  overflow: visible;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
  background: rgba(9, 9, 9, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ─── Logo ───────────────────────────────────────────── */
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: stretch;
  text-decoration: none;
  gap: 10px;
}

.logo-img {
  height: var(--logo-height);
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-name {
  font-family: 'DINCondensed', sans-serif;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.nav-page-indicator {
  font-family: 'DINCondensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: 2px;
}

/* ─── Nav dropdown btn ───────────────────────────────── */
.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* ─── Nav links ──────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin-left: auto;
}

.nav-links li {
  padding: 0 10px;
  position: relative;
}

.nav-links li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.45);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 44px;
  padding: 0 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.025em;
  border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
  user-select: none;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

/* ─── Nav app links ──────────────────────────────────── */
.nav-app-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 500;
  transition: background 0.2s;
}

.nav-app-link:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.13);
}

.nav-app-logo {
  height: 34px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* ─── Chevron ────────────────────────────────────────── */
.chevron {
  width: 10px;
  height: 7px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-dropdown.open > .nav-link .chevron {
  transform: rotate(180deg);
}

/* ─── Apps dropdown ──────────────────────────────────── */
.nav-item-dropdown {
  position: relative;
}

.apps-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #090909;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.22s;
  pointer-events: none;
}

.nav-item-dropdown.open .apps-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

/* ─── Apps grid ──────────────────────────────────────── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 14px;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s;
  will-change: transform;
}

.app-card:hover {
  background: #111111;
  border-color: var(--border-hover);
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.app-card:hover .app-name {
  color: var(--text);
}

.app-logo-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  overflow: hidden;
  background: #0b0b0b;
  flex-shrink: 0;
}

.app-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-logo-wrap--empty {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.app-logo-wrap--empty svg {
  width: 28px;
  height: 28px;
  color: var(--text-sub);
}

.app-card--soon {
  opacity: 0.35;
  pointer-events: none;
}

.app-name {
  font-size: 11.5px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* ─── Language switcher ──────────────────────────────── */
.nav-lang-switcher {
  position: relative;
}

.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  box-sizing: border-box;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-lang-btn:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.22);
}

.nav-lang-switcher .chevron {
  opacity: 1;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-lang-switcher.open .chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 130px;
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow:
    0 6px 20px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.025);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.2s;
  pointer-events: none;
  z-index: 100;
}

.nav-lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-option:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}

.lang-option.active {
  color: #ffffff;
}

/* ─── Mobile toggle ──────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.25s;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7.25px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.25px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  text-align: center;
  overflow: hidden;
}

/* subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(255, 255, 255, 0.025) 0%, transparent 60%);
  pointer-events: none;
}

/* subtle dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 80%);
}

.hero-bg-waveform {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-bg-waveform svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

/* ─── Banner carousel ────────────────────────────────── */
.banner-section {
  padding-top: var(--nav-height);
}

/* banner — hauteur fixée par le carousel, images s'adaptent */
.banner {
  position: relative;
  width: 100%;
  height: clamp(340px, 55vw, 680px);
  overflow: hidden;
  background: #000;
  cursor: default;
}

.banner-slide { cursor: pointer; }

/* slides */
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: all;
}

/* fond flouté = même image en cover derrière */
.banner-slide::before {
  content: '';
  position: absolute;
  inset: -30px;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  opacity: 0.45;
  z-index: 0;
}


.banner-slide img:not(.banner-slide__logo):not(.banner-slide__machine) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

/* machine centrée sous le logo */
.banner-slide__machine {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 75%;
  object-fit: contain;
  z-index: 2;
}

/* logo superposé sur un slide */
.banner-slide__logo {
  position: absolute;
  inset: auto;
  width: auto;
  height: auto;
  max-width: 55%;
  max-height: 55%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center;
  z-index: 3;
}

/* logo dimensionné par hauteur */
.banner-slide__logo--promo {
  max-width: 120%;
  max-height: 50%;
}

.banner-slide__logo--tall {
  max-width: none;
  max-height: 40%;
  width: auto;
  height: auto;
  top: 12.5%;
  transform: translate(-50%, 0);
}

/* gradient bas pour lisibilité des dots */
.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
  z-index: 2;
}

/* flèches */
.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 9, 9, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.banner-btn svg { width: 22px; height: 22px; }

.banner-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #090909;
}

.banner-prev { left: clamp(24px, 15%, 200px); }
.banner-next { right: clamp(24px, 15%, 200px); }

/* dots */
.banner-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
  background: #fff;
  width: 22px;
}


/* ─── Responsive ─────────────────────────────────────── */
/* ─── Apps section ───────────────────────────────────── */
.apps-section {
  width: 100%;
  background: #000;
  padding: 80px 48px;
}

.apps-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.app-card-box {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 32px 40px;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  scroll-margin-top: var(--nav-height);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.app-card-box:hover {
  border-color: rgba(255,255,255,0.22);
  transform: scale(1.02);
}

.app-card-box--reverse {
  flex-direction: row-reverse;
}

.app-card-box__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-card-box__text--right {
  text-align: right;
  align-items: flex-end;
}

.app-card-box__logo {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-box__logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.app-card-box:hover .app-card-box__logo img {
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

/* Logo à droite : image collée au bord gauche (côté gap/texte) */
.app-card-box:not(.app-card-box--reverse) .app-card-box__logo img {
  object-position: left center;
}

/* Logo à gauche : image collée au bord droit (côté gap/texte) */
.app-card-box--reverse .app-card-box__logo img {
  object-position: right center;
}

#app-drumlabplus .app-card-box__logo img {
  border-radius: 22px;
}

.app-card-box__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  transition: color 0.3s;
}

.app-card-box:hover .app-card-box__title {
  color: #fff;
}

.app-card-box__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: 480px;
  transition: color 0.3s;
}

.app-card-box:hover .app-card-box__desc {
  color: rgba(255,255,255,0.9);
}

.app-row {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
}

.app-row:last-child { border-bottom: none; }

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

.app-row__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-row__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
}

.app-row__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: 480px;
}

.app-row__cta {
  display: inline-block;
  align-self: flex-start;
  padding: 12px 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.app-row__cta:hover { opacity: 0.82; }

.app-row__text--right {
  text-align: right;
  align-items: flex-end;
}

.app-row__text--right .app-row__cta {
  align-self: flex-end;
}

.app-row__logo {
  flex-shrink: 0;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-row__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

img[src*="dm2_logo"]     { border-radius: 22%; }
img[src*="Logo_Drumlab"] { border-radius: 22%; }
img[src*="dm2plus_logo"] { border-radius: 22%; }

.app-row__logo img {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-row__logo a:hover img {
  transform: translateY(-10px);
}

.app-row__title-link,
.app-row__desc-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-row__title-link .app-row__title {
  transition: color 0.2s;
}

.app-row__title-link:hover .app-row__title {
  color: #fff;
}

.app-row__desc-link .app-row__desc {
  transition: color 0.2s;
}

.app-row__desc-link:hover .app-row__desc {
  color: rgba(255,255,255,0.85);
}

/* ─── Tablet (≤ 1024px) ──────────────────────────────── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 28px; }

  .logo-link { margin-right: 28px; }

  .app-row {
    gap: 48px;
    padding: 72px 32px;
  }

  .app-row__logo { width: 120px; }

  .app-row__desc { max-width: 100%; }
}

/* ─── Mobile (≤ 768px) ───────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-height: 54px; --logo-height: 32px; }

  .banner-slide__logo--tall { max-height: 20%; }
  .logo-name { font-size: 16px; }

  .nav-inner { padding: 0 20px; }

  .logo-link { margin-right: auto; }

  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #0b0b0b;
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
  }

  .nav-links.open { display: flex; }

  /* dropdown inline on mobile */
  .apps-dropdown {
    position: static;
    width: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 0 4px 16px;
    box-shadow: none;
    border-left: 1px solid var(--border);
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transform: none;
    transition: opacity 0.2s, max-height 0.25s ease, visibility 0.2s, margin 0.25s ease;
  }

  .nav-item-dropdown.open .apps-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
    margin: 4px 0 4px 16px;
    transform: none;
  }

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

  /* ─ Alignement items navbar mobile ─ */
  .nav-links li { padding: 0; }
  .nav-links li + li::before { display: none; }

  .nav-links .nav-link,
  .nav-links .nav-app-link,
  .nav-links .nav-dropdown-btn {
    width: 100%;
    height: auto;
    padding: 10px 14px;
    justify-content: flex-start;
  }

  /* ─ Switcher langue inline sur mobile ─ */
  .nav-lang-btn {
    width: 100%;
    height: auto;
    justify-content: space-between;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
  }

  .lang-dropdown {
    display: none;
    position: static;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 4px 16px;
    margin: 4px 0 4px 16px;
    min-width: unset;
    z-index: auto;
    flex-direction: column;
    gap: 4px;
  }

  .nav-lang-switcher.open .lang-dropdown {
    display: flex;
    transform: none;
    pointer-events: all;
  }

  .banner { height: clamp(240px, 56vw, 440px); }

  .banner-btn {
    width: 32px;
    height: 32px;
  }

  .banner-btn svg { width: 14px; height: 14px; }

  .banner-prev { left: 18px; }
  .banner-next { right: 18px; }


  .app-row {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
    padding: 56px 24px;
  }

  .app-row__logo { width: 100px; }

  .app-row__text {
    text-align: center;
    align-items: center;
  }

  .app-row__text--right {
    text-align: center;
    align-items: center;
  }

  .app-row__cta { align-self: center; }

  .app-row__text--right .app-row__cta { align-self: center; }

  .apps-section { padding: 60px 24px; }

  .app-card-box {
    flex-direction: row;
    text-align: left;
    padding: 8px 12px;
    gap: 10px;
    align-items: center;
  }

  .app-card-box--reverse { flex-direction: row-reverse; }

  .app-card-box__logo {
    width: 68px;
    flex-shrink: 0;
  }

  .app-card-box__logo img {
    width: 68px;
    height: 68px;
    object-fit: contain;
  }

  .app-card-box__title { font-size: 1.15rem; }

  .app-card-box__desc { font-size: 0.68rem; line-height: 1.3; }

  .app-card-box__text { gap: 4px; }
}

/* ─── Footer ─────────────────────────────────────────── */
.dm2-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dm2-footer__logo {
  height: 56px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.dm2-footer a:hover .dm2-footer__logo {
  opacity: 0.8;
}

.dm2-footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── Small mobile (≤ 480px) ────────────────────────── */
@media (max-width: 480px) {
  :root { --nav-height: 48px; --logo-height: 28px; }

  .banner-slide__logo--tall { max-height: 14%; }

  .nav-inner { padding: 0 16px; }

  .app-row {
    padding: 40px 16px;
    gap: 24px;
  }

  .app-row__logo { width: 80px; }

  .app-row__title { font-size: 1.75rem; }

  .app-row__desc { font-size: 0.95rem; }

  .banner-dots { bottom: 16px; }

  .app-card-box { padding: 32px 20px; gap: 20px; }

  .app-card-box__logo { width: 80px; }
  .app-card-box__logo img { width: 80px; height: 80px; }
}

/* ─── Scroll animations (désactivées) ───────────────── */
[data-panel] {
  opacity: 1;
  transform: none;
}


















