:root {
  --bg: #1e1345;
  --bg-alt: #150e33;
  --bg-deep: #0e0824;
  --bg-card: #281c56;
  --bg-hover: #2f2263;
  --ink: #f5f0ff;
  --ink-soft: rgba(245, 240, 255, 0.72);
  --ink-mute: rgba(245, 240, 255, 0.45);
  --accent: #d4b16a;
  --accent-soft: #eacd85;
  --accent-deep: #b89552;
  --gradient-gold: linear-gradient(135deg, #b89552 0%, #e8d097 45%, #d4b16a 55%, #b89552 100%);
  --border: rgba(212, 177, 106, 0.22);
  --border-strong: rgba(212, 177, 106, 0.45);
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 19, 69, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span {
  font-weight: 400;
  color: var(--accent-soft);
  margin-left: 4px;
}

.nav nav { display: flex; gap: 36px; }
.nav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.25s;
}
.nav nav a:hover { color: var(--accent-soft); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 110px 24px 130px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(72, 45, 163, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(212, 177, 106, 0.08) 0%, transparent 60%),
    var(--bg);
}
.hero-content {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero h1 .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 26px;
  line-height: 1.75;
  font-weight: 400;
}

.cta-line {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 44px;
  font-size: clamp(15px, 1.5vw, 17px);
}
.cta-line .accent { color: var(--accent-soft); font-weight: 600; }

.btn-primary {
  display: inline-block;
  background: var(--gradient-gold);
  color: #1a1030;
  padding: 20px 46px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.25s, box-shadow 0.25s;
  border: none;
  box-shadow: 0 10px 40px rgba(212, 177, 106, 0.28);
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(212, 177, 106, 0.42);
}
.btn-large { padding: 22px 56px; font-size: 15px; }
.btn-full { width: 100%; text-align: center; }

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  flex-wrap: wrap;
  font-weight: 500;
}
.hero-badges span {
  padding: 0 24px;
  position: relative;
}
.hero-badges span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== SECTIONS ===== */
section { padding: 110px 24px; }
.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 58px);
  text-align: center;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1.1;
}
.section-title .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 70px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* ===== GALERIE ===== */
.galerie { background: var(--bg-alt); }

.grid-mixed {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.wm-img {
  position: absolute;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.wm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Watermark overlay */
.wm-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='340' height='140' viewBox='0 0 340 140'><text x='0' y='72' font-family='Georgia,serif' font-style='italic' font-size='28' fill='rgba(232,205,133,0.35)' transform='rotate(-18 170 70)'>Impasto Wallpaper</text></svg>");
  background-repeat: repeat;
  background-size: 340px 140px;
  pointer-events: none;
}

/* Format tag doré */
.wm-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gradient-gold);
  color: #1a1030;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(212, 177, 106, 0.35);
}

/* ===== SHOWCASE MARQUEE ===== */
.hero-marquee {
  margin: 60px -24px 50px;
  width: calc(100% + 48px);
}
.hero-marquee .showcase-track {
  gap: 80px;
  padding: 20px 0;
}
.hero-marquee .mockup-combo { --macbook-w: 420px; --iphone-w: 128px; --iphone-h: 200px; }

.hero-bottom {
  padding-top: 10px;
}

/* Combo Mac + iPhone overlap */
.mockup-combo {
  position: relative;
  flex-shrink: 0;
  width: var(--macbook-w);
  padding-right: calc(var(--iphone-w) * 0.15);
}
.mockup-combo .mockup-macbook {
  width: 100%;
}
.mockup-combo .mockup-iphone {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--iphone-w);
  height: var(--iphone-h, 200px);
  aspect-ratio: auto;
  z-index: 2;
}

.showcase-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.showcase-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: scroll-x 25s linear infinite;
  padding: 30px 0;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.showcase-marquee:hover .showcase-track { animation-play-state: paused; }

/* iPhone mockup */
.mockup-iphone {
  position: relative;
  flex-shrink: 0;
  width: 180px;
  aspect-ratio: 9/19.5;
  background: #0a0620;
  border-radius: 26px;
  padding: 3px 4px 4px;
  box-shadow:
    0 0 0 2px #1a1030,
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(212, 177, 106, 0.08);
}
.mockup-iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-card);
}
.mockup-iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mockup-iphone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 14px;
  background: #0a0620;
  border-radius: 10px;
  z-index: 2;
}
/* Watermark inside mockup */
.mockup-iphone-screen::after,
.mockup-macbook-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='120' viewBox='0 0 280 120'><text x='0' y='60' font-family='Georgia,serif' font-style='italic' font-size='22' fill='rgba(232,205,133,0.32)' transform='rotate(-18 140 60)'>Impasto Wallpaper</text></svg>");
  background-repeat: repeat;
  background-size: 280px 120px;
  pointer-events: none;
}

/* MacBook mockup */
.mockup-macbook {
  position: relative;
  flex-shrink: 0;
  width: 460px;
}
.mockup-macbook-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #0a0620;
  border: 10px solid #1a1030;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(212, 177, 106, 0.08);
}
.mockup-macbook-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mockup-macbook-base {
  width: 108%;
  margin-left: -4%;
  height: 12px;
  background: linear-gradient(180deg, #1a1030 0%, #0a0620 100%);
  border-radius: 0 0 18px 18px;
  position: relative;
}
.mockup-macbook-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #06031a;
  border-radius: 0 0 8px 8px;
}

/* ===== MANIFESTE ===== */
.manifeste {
  background: var(--bg-deep);
  padding: 140px 24px;
}
.manifeste-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.manifeste h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 44px;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.manifeste h2 .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.manifeste p {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-weight: 400;
}
.manifeste .highlight {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--accent-soft);
  padding: 28px 0;
  line-height: 1.4;
}

/* ===== PACK ===== */
.pack {
  background: var(--bg);
  padding: 130px 24px;
  position: relative;
  overflow: hidden;
}
.pack::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 177, 106, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.pack-card {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 60px 48px 48px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.pack-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #1a1030;
  padding: 9px 28px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(212, 177, 106, 0.4);
}
.pack-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.pack-thumbs img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.pack-thumb-count {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: var(--gradient-gold);
  color: #1a1030;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}
.pack-card h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 26px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.pack-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-weight: 500;
}
.pack-price {
  margin-bottom: 34px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.price-old {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(212, 177, 106, 0.6);
  letter-spacing: -0.5px;
}
.price {
  font-family: var(--sans);
  font-size: 68px;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -2px;
}
.price-note {
  font-size: 13px;
  color: var(--ink-soft);
}

.pack-features {
  list-style: none;
  margin: 0 0 36px 0;
}
.pack-features li {
  padding: 12px 0;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.55;
  font-weight: 400;
}
.pack-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pack-cta-wrap { text-align: center; }
.pack-guarantee {
  margin-top: 20px;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq { background: var(--bg-alt); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq .section-title { margin-bottom: 60px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 26px 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-soft); }
.faq-q span {
  font-size: 26px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { padding-bottom: 26px; max-height: 400px; }
.faq-a p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-deep);
  color: var(--ink);
  padding: 32px 24px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 720px; margin: 0 auto; }
.footer-logo {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.footer-logo span {
  font-weight: 400;
  color: var(--accent-soft);
  margin-left: 3px;
}
.footer-links {
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-soft); }
.footer-copy {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .nav-inner { padding: 16px 20px; }
  .nav nav { gap: 20px; }
  .nav nav a { font-size: 13px; }
  .logo { font-size: 18px; }
  .hero { padding: 70px 20px 90px; }
  section { padding: 80px 20px; }
  .hero-badges { gap: 6px; font-size: 10px; }
  .hero-badges span { padding: 4px 14px; }
  .pack-card { padding: 50px 26px 36px; }
  .price { font-size: 54px; }
  .manifeste { padding: 90px 20px; }
  .showcase-track { animation-duration: 18s; }
  .mockup-macbook { width: 340px; }
  .mockup-iphone { width: 130px; }
  .hero-marquee .mockup-combo { --macbook-w: 340px; --iphone-w: 102px; --iphone-h: 160px; }
  .hero-marquee .showcase-track { gap: 50px; padding: 16px 0; }
  .hero-marquee { margin: 44px -20px 34px; width: calc(100% + 40px); }
  .btn-primary { padding: 15px 28px; font-size: 12px; letter-spacing: 1px; }
  .btn-large { padding: 16px 32px; font-size: 13px; }
  .btn-full { padding: 16px 24px; font-size: 12px; }
}
