/* ═══════════════════════════════════════════════════════════
   DARKCITYRP — style.css
   Direction artistique : Miami Sunset — Vice City plage
   Palette : violet nuit profond → rose chaud → orange sunset
   Typo : Bebas Neue (titres) + Poppins (corps)
═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  /* Sunset (rose chaud → orange) */
  --pink:         #ff4fa3;
  --pink-hot:     #ff6ec7;
  --orange:       #ff8c42;
  --peach:        #ffb088;
  --pink-glow:    rgba(255, 79, 163, 0.45);
  --orange-glow:  rgba(255, 140, 66, 0.35);
  --pink-dim:     rgba(255, 110, 199, 0.10);
  --pink-border:  rgba(255, 110, 199, 0.28);

  /* Nuit qui tombe */
  --bg:           #1a0b2e;
  --bg2:          #2a1248;
  --bg-deep:      #120722;
  --purple:       #7b2cbf;

  /* Accents */
  --cyan:         #3ce5d8;
  --gold:         #ffd98a;
  --white:        #fff3e8;
  --sand:         #f9e4d4;

  /* Surfaces glassy */
  --surface:      rgba(255, 236, 220, 0.04);
  --surface-hi:   rgba(255, 236, 220, 0.07);
  --border:       rgba(255, 236, 220, 0.10);
  --muted:        rgba(255, 243, 232, 0.55);

  /* Gradients signature */
  --grad-sunset:  linear-gradient(135deg, #ff4fa3 0%, #ff8c42 100%);
  --grad-night:   linear-gradient(180deg, #120722 0%, #1a0b2e 35%, #3d1155 75%, #6b2a8a 100%);
  --grad-border:  linear-gradient(135deg, #ff4fa3, #ff8c42);

  --radius:       14px;
  --radius-lg:    22px;
  --radius-pill:  999px;
  --container:    1200px;
  --font-title:   'Bebas Neue', sans-serif;
  --font-body:    'Poppins', sans-serif;
}

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

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

body {
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Dégradé sunset global — fixe, toujours derrière le contenu */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 140, 66, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 75%, rgba(255, 79, 163, 0.15) 0%, transparent 65%),
    var(--grad-night);
  z-index: -1;
  pointer-events: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ─── NOISE TEXTURE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.55;
  mix-blend-mode: overlay;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: var(--grad-sunset);
  border-radius: var(--radius-pill);
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pink) 30%, var(--orange) 70%, transparent);
  opacity: 0.4;
}

/* ─── TYPOGRAPHY UTILITIES ─── */
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}


/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

/* Shine qui traverse au hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 243, 232, 0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: var(--grad-sunset);
  color: #1a0b2e;
  box-shadow:
    0 0 30px var(--pink-glow),
    0 8px 24px rgba(255, 140, 66, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 50px var(--pink-glow),
    0 14px 36px rgba(255, 79, 163, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 243, 232, 0.04);
  color: var(--white);
  border: 1px solid rgba(255, 243, 232, 0.22);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: var(--peach);
  background: rgba(255, 176, 136, 0.10);
  color: var(--peach);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: linear-gradient(to bottom, rgba(18, 7, 34, 0.85), transparent);
  backdrop-filter: blur(10px);
  transition: background 0.3s, border-color 0.3s;
}

#navbar.scrolled {
  background: rgba(18, 7, 34, 0.80);
  border-bottom: 1px solid var(--pink-border);
  box-shadow: 0 4px 30px rgba(255, 79, 163, 0.08);
}

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

.nav-logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
}
.nav-logo span {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  color: var(--peach) !important;
  border: 1px solid var(--pink-border);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  background: var(--pink-dim);
  backdrop-filter: blur(8px);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s !important;
}
.nav-cta:hover {
  background: var(--grad-sunset) !important;
  color: #1a0b2e !important;
  box-shadow: 0 0 24px var(--pink-glow);
}

/* Mobile burger — masqué par défaut */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.32) saturate(1.1) hue-rotate(-5deg);
  transform: scale(1.06);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.13); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(255, 140, 66, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(255, 79, 163, 0.22) 0%, transparent 70%),
    linear-gradient(to top, var(--bg-deep) 0%, transparent 50%),
    linear-gradient(to bottom, var(--bg-deep) 0%, transparent 25%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
}

.hero-logo {
  width: min(420px, 78vw);
  margin-bottom: 20px;
  filter:
    drop-shadow(0 0 40px var(--pink-glow))
    drop-shadow(0 0 80px var(--orange-glow));
  animation:
    heroLogoIn 1.1s 0.1s cubic-bezier(0.2, 0.9, 0.3, 1.2) both,
    logoBreath 4.5s 1.2s ease-in-out infinite;
}

@keyframes heroLogoIn {
  0%   { opacity: 0; transform: scale(0.8) translateY(30px); filter: blur(10px) drop-shadow(0 0 0 var(--pink-glow)); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0) drop-shadow(0 0 40px var(--pink-glow)) drop-shadow(0 0 80px var(--orange-glow)); }
}

@keyframes logoBreath {
  0%, 100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 40px var(--pink-glow))
      drop-shadow(0 0 80px var(--orange-glow));
  }
  50% {
    transform: scale(1.025);
    filter:
      drop-shadow(0 0 60px var(--pink-glow))
      drop-shadow(0 0 120px var(--orange-glow));
  }
}

.hero-sub {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 44px;
}
.hero-sub strong { color: var(--white); font-weight: 500; }

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  z-index: 2;
  animation: scrollBounce 2s ease infinite;
}
.hero-scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--white), transparent);
}

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

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
#about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-desc {
  max-width: 460px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: saturate(1) contrast(1.02);
  box-shadow: 0 30px 60px rgba(18, 7, 34, 0.6);
}

/* Bordure dégradée sunset sur l'image */
.about-image::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: var(--radius-lg);
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

/* Halo sunset derrière l'image */
.about-image::after {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 50% 50%, var(--pink-glow) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
  filter: blur(30px);
}

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
#features {
  padding: 100px 0;
}

.features-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.features-header .section-title { margin-bottom: 0; }

.features-header-sub {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 280px;
  text-align: right;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-border);
  background: var(--surface-hi);
  box-shadow:
    0 20px 40px rgba(18, 7, 34, 0.4),
    0 0 40px rgba(255, 110, 199, 0.08);
}

/* Glow sunset qui apparaît au hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse, var(--pink-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  filter: blur(30px);
}
.feature-card:hover::before { opacity: 0.6; }

/* Trait sunset en haut */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: var(--grad-sunset);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  font-size: 1.7rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 79, 163, 0.3));
}

.feature-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--white);
  position: relative;
}

.feature-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  position: relative;
}

/* ════════════════════════════════════════
   SCREENSHOTS
════════════════════════════════════════ */
#screenshots {
  padding: 100px 0 80px;
}

.screens-header {
  margin-bottom: 48px;
}

.screens-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fade des bords pour effet "continu" */
.screens-wrap::before,
.screens-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 20px;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.screens-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep), transparent);
}
.screens-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep), transparent);
}

.screens-track {
  display: flex;
  gap: 20px;
  padding: 10px 80px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 80px;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) transparent;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.screens-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}
.screens-track.is-dragging img,
.screens-track.is-dragging a { pointer-events: none; }
.screens-track::-webkit-scrollbar { height: 4px; }
.screens-track::-webkit-scrollbar-track { background: transparent; }
.screens-track::-webkit-scrollbar-thumb {
  background: var(--grad-sunset);
  border-radius: var(--radius-pill);
}

.screen-item {
  flex: 0 0 auto;
  width: clamp(280px, 42vw, 540px);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  transition: transform 0.4s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.screen-item:hover {
  transform: translateY(-6px);
  border-color: var(--pink-border);
  box-shadow: 0 20px 40px rgba(18, 7, 34, 0.5), 0 0 30px rgba(255, 79, 163, 0.15);
}

.screen-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: filter 0.4s, transform 0.7s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.screen-item:hover img {
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.04);
}

.screen-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(to top, rgba(18, 7, 34, 0.92), transparent);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

/* Flèches de nav */
.screens-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--pink-border);
  background: rgba(26, 11, 46, 0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}
.screens-nav:hover {
  background: var(--grad-sunset);
  color: #1a0b2e;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 30px var(--pink-glow);
}
.screens-nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.screens-prev { left: 24px; }
.screens-next { right: 24px; }

/* ════════════════════════════════════════
   JOIN CTA
════════════════════════════════════════ */
#join {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.join-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(255, 140, 66, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(255, 79, 163, 0.16) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.join-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.join-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 30px var(--pink-glow));
}

.join-content .section-desc {
  max-width: 440px;
  margin: 0 auto 40px;
}

.join-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
#footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.footer-logo span {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-copy {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer-badge {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.footer-badge span {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ════════════════════════════════════════
   SCROLL REVEAL — animations à l'apparition
════════════════════════════════════════ */

[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.9s ease;
  will-change: opacity, transform;
}

[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="down"]  { transform: translateY(-40px); }
[data-reveal="left"]  { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"]  { transform: scale(0.92); filter: blur(6px); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Stagger enfants */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.00s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.06s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.12s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.18s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.24s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.30s; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 0.36s; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 0.42s; }
[data-reveal-stagger].is-visible > *:nth-child(9) { transition-delay: 0.48s; }

/* ════════════════════════════════════════
   PALM TREES — silhouettes décoratives
════════════════════════════════════════ */

/* Palmier SVG — appliqué en background à des décorations */
.palm {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
  opacity: 0.55;
  filter: drop-shadow(0 0 20px rgba(255, 79, 163, 0.2));
}

/* Palmier gauche — sombre, silhouette */
.palm-left {
  left: -20px;
  bottom: 0;
  width: 180px;
  height: 360px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 400'%3E%3Cg fill='%23120722'%3E%3Cpath d='M95 400 Q92 320 96 250 Q100 180 98 110 Q96 80 100 60 L104 60 Q108 90 106 120 Q104 190 108 260 Q112 330 109 400 Z'/%3E%3Cpath d='M100 60 Q60 35 15 25 Q40 45 75 70 Q50 55 20 65 Q55 75 95 75 Q60 85 25 110 Q65 95 100 90 Z'/%3E%3Cpath d='M104 60 Q144 35 190 25 Q164 45 130 70 Q155 55 185 65 Q150 75 109 75 Q145 85 180 110 Q140 95 105 90 Z'/%3E%3Cpath d='M100 58 Q85 25 55 5 Q80 40 98 60 Z'/%3E%3Cpath d='M104 58 Q120 25 150 5 Q125 40 106 60 Z'/%3E%3Cpath d='M102 62 Q105 30 115 0 Q108 35 103 62 Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Palmier droit — miroir */
.palm-right {
  right: -20px;
  bottom: 0;
  width: 180px;
  height: 360px;
  transform: scaleX(-1);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 400'%3E%3Cg fill='%23120722'%3E%3Cpath d='M95 400 Q92 320 96 250 Q100 180 98 110 Q96 80 100 60 L104 60 Q108 90 106 120 Q104 190 108 260 Q112 330 109 400 Z'/%3E%3Cpath d='M100 60 Q60 35 15 25 Q40 45 75 70 Q50 55 20 65 Q55 75 95 75 Q60 85 25 110 Q65 95 100 90 Z'/%3E%3Cpath d='M104 60 Q144 35 190 25 Q164 45 130 70 Q155 55 185 65 Q150 75 109 75 Q145 85 180 110 Q140 95 105 90 Z'/%3E%3Cpath d='M100 58 Q85 25 55 5 Q80 40 98 60 Z'/%3E%3Cpath d='M104 58 Q120 25 150 5 Q125 40 106 60 Z'/%3E%3Cpath d='M102 62 Q105 30 115 0 Q108 35 103 62 Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Variante petite pour join */
.palm-sm {
  width: 130px;
  height: 260px;
  opacity: 0.4;
}

/* Animation douce de balancement */
.palm-left {
  transform-origin: bottom center;
  animation: palmSwayLeft 7s ease-in-out infinite;
}
.palm-right {
  transform-origin: bottom center;
  animation: palmSwayRight 8s ease-in-out -2s infinite;
}
@keyframes palmSwayLeft {
  0%, 100% { transform: rotate(-1.5deg); }
  50%       { transform: rotate(1.5deg); }
}
@keyframes palmSwayRight {
  0%, 100% { transform: scaleX(-1) rotate(-1.5deg); }
  50%       { transform: scaleX(-1) rotate(1.5deg); }
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Nav mobile ouverte */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(8,6,14,0.98);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .features-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .features-header-sub { text-align: left; max-width: 100%; }

  .screens-wrap { padding: 0; }
  .screens-wrap::before,
  .screens-wrap::after { width: 40px; }
  .screens-track {
    padding: 10px 24px 24px;
    scroll-padding-left: 24px;
  }
  .screens-nav { display: none; }

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

@media (max-width: 900px) {
  .palm { width: 120px; height: 240px; opacity: 0.35; }
  .palm-sm { width: 90px; height: 180px; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .join-buttons { flex-direction: column; align-items: center; }
  .palm { display: none; }
}

/* Respect de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
