/* Mily — landing. Mesma fonte (Poppins) e mesmos rosas do app. */
:root {
  --pink: #ff5ca8;
  --hot: #ff2e86;
  --blush: #ffe3ee;
  --tint: #fff6fa;
  --ink: #1a1320;
  --ink-2: #5a5162;
  --muted: #8e8794;
  --gold: #f2b24c;
  --store: #1d1514;
  --line: #f0e3ea;
  --radius-device: 34px;
  --shell: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { display: block; max-width: 100%; }
a { color: var(--hot); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 6px; }

.shell { width: min(var(--shell), 100% - 40px); margin-inline: auto; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1 Poppins, sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--pink); color: #fff; box-shadow: 0 10px 28px -12px var(--hot); }
.btn-solid:hover { background: var(--hot); }
.btn-line { color: var(--ink); border: 1.5px solid #e6dce2; background: #fff; }
.btn-line:hover { border-color: var(--pink); color: var(--hot); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; }
.brand img { border-radius: 11px; }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.top-nav a:hover { color: var(--hot); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 30%, var(--blush), transparent 70%),
    linear-gradient(#fff, #fff);
  padding: 72px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 40px; }
.hero-logo { border-radius: 24px; margin-bottom: 28px; box-shadow: 0 16px 36px -18px var(--hot); }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; max-width: 12ch; }
.lede { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.facts li { position: relative; padding-left: 16px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }

/* aparelho: moldura simples em volta de uma captura real */
.device {
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-device);
  padding: 9px;
  background: #121015;
  box-shadow: 0 40px 70px -30px rgba(80, 10, 50, .45), 0 0 0 1px rgba(0, 0, 0, .06);
}
.device img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  border-radius: calc(var(--radius-device) - 9px);
  background: var(--tint);
}

.stage { position: relative; height: 640px; }
.stage .device { position: absolute; width: 300px; }
.device-front { left: 50%; top: 10px; transform: translateX(-50%); z-index: 2; width: 320px !important; }
.device-back { top: 70px; opacity: .97; }
.device-left { left: 0; transform: rotate(-7deg); }
.device-right { right: 0; transform: rotate(7deg); }

/* entrada única e discreta do palco */
@media (prefers-reduced-motion: no-preference) {
  .device-front { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .device-left { animation: fan-left 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
  .device-right { animation: fan-right 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translate(-50%, 40px); } }
  @keyframes fan-left { from { opacity: 0; transform: rotate(0) translateX(60px); } }
  @keyframes fan-right { from { opacity: 0; transform: rotate(0) translateX(-60px); } }
}

/* ---------- por dentro ---------- */
.inside { padding: 100px 0 90px; background: var(--tint); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--ink-2); max-width: 56ch; }
.reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 270px; gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  padding: 44px max(20px, calc(50vw - var(--shell) / 2)) 16px;
  scroll-padding-inline: max(20px, calc(50vw - var(--shell) / 2));
}
.reel-item { margin: 0; scroll-snap-align: start; }
.reel-item .device { box-shadow: 0 24px 50px -28px rgba(80, 10, 50, .5); }
.reel-item figcaption { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.reel-item figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

/* ---------- presentes (fundo real da loja do app) ---------- */
.gifts {
  color: #f3e9df;
  background: var(--store) url("/assets/storeBg.png") top right / 720px auto no-repeat;
  padding: 110px 0;
}
.gifts-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.gifts h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: #fff; max-width: 18ch; }
.gifts-copy > p { margin-top: 16px; color: #cdbfb2; max-width: 50ch; }
.gift-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
.gift-shelf li {
  display: grid; justify-items: center; gap: 4px; padding: 16px 8px 14px;
  border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(242, 178, 76, .18);
}
.gift-shelf li > img { width: 72px; height: 72px; object-fit: contain; }
.gift-shelf em img { width: 14px; height: 14px; }
.gift-shelf span { font-size: 14px; color: #fff; text-align: center; }
.gift-shelf em { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 13px; color: var(--gold); font-weight: 600; }

.packs { padding: 30px; border-radius: 26px; background: linear-gradient(160deg, rgba(107, 81, 48, .55), rgba(42, 32, 25, .7)); border: 1px solid rgba(242, 178, 76, .35); }
.packs h3 { font-size: 22px; color: #fff; }
.packs-note { margin-top: 6px; font-size: 14px; color: #cdbfb2; }
.pack-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pack-list li { display: grid; grid-template-columns: 56px auto 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pack-list li:last-child { border-bottom: 0; }
.pack-list img { width: 56px; height: 56px; object-fit: contain; }
.pack-list b { font-size: 20px; color: #fff; }
.pack-list span { color: #cdbfb2; font-size: 14px; }
.pack-list i { font-style: normal; font-size: 13px; font-weight: 600; color: #6a1f45; background: #ff8fc8; border-radius: 6px; padding: 2px 8px; }
.packs-offer { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(242, 178, 76, .4); font-size: 14px; color: var(--gold); }

/* ---------- segurança ---------- */
.safety { padding: 110px 0; }
.safety-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.rules { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.rules div { border-top: 3px solid var(--blush); padding-top: 16px; }
.rules dt { font-weight: 600; font-size: 18px; }
.rules dd { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- baixar ---------- */
.get { padding: 0 0 110px; }
.get-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 36px 40px; border-radius: 30px; background: var(--blush);
}
.get-card > img { border-radius: 24px; }
.get-card h2 { font-size: 28px; font-weight: 800; }
.get-card p { margin-top: 6px; color: var(--ink-2); }

/* ---------- rodapé ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--hot); }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid, .gifts-grid, .safety-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .stage { height: 560px; margin-top: 12px; }
  .stage .device { width: 240px; }
  .device-front { width: 270px !important; }
  .gifts { background-size: 480px auto; }
  .get-card { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  .top-nav { display: none; }
  .top-row { justify-content: space-between; }
  .hero-logo { width: 72px; height: 72px; }
  .stage { height: 470px; }
  .stage .device { width: 190px; top: 60px; }
  .device-front { width: 230px !important; }
  .device-left { left: -18px; }
  .device-right { right: -18px; }
  .gift-shelf { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: 1fr; }
  .reel { grid-auto-columns: 74%; }
  .packs { padding: 22px; }
}

/* ---------- seletor de idioma (rodapé) ---------- */
.lang-pick { display: inline-flex; align-items: center; gap: 8px; }
.lang-pick select {
  font: inherit; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px;
}
[dir="rtl"] .facts li { padding-left: 0; padding-right: 16px; }
[dir="rtl"] .facts li::before { left: auto; right: 0; }
