/* =========================================================
   GRINGAS TROCA — HOME (index.html)
   Mobile first: estilos base = celular; @media (min-width) amplia.
   Cores, fontes e espaçamentos vêm de tokens.css.
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--c-text);
  background:
    radial-gradient(ellipse 80% 40% at 85% 0%, rgba(201, 141, 79, .16), transparent 60%),
    radial-gradient(ellipse 70% 30% at 0% 100%, rgba(201, 141, 79, .10), transparent 60%),
    #050505;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-gold-light); outline-offset: 3px; border-radius: 6px; }

.lp-container { width: 100%; max-width: var(--w-content); margin: 0 auto; padding: 0 var(--gutter); }
.lp-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-section { padding-top: var(--sp-12); }

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

/* ---- Ícone em anel dourado (reutilizado em toda a página) ---- */
.lp-ring {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--c-gold-line);
  color: #d8a05c;
  background: radial-gradient(circle, rgba(201, 141, 79, .12), transparent 70%);
}
.lp-ring svg { width: 22px; height: 22px; }

/* ===== HEADER ===== */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  background: rgba(5, 5, 5, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.lp-header-inner {
  max-width: var(--w-content); height: var(--header-h);
  margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}

.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-logo { height: 38px; width: auto; }
.lp-brand-tag {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  font-size: 10px; font-weight: var(--fw-heavy); letter-spacing: .28em;
  color: #d8a05c;
}

.lp-header-actions { display: flex; align-items: center; gap: var(--sp-2); }

.lp-menu-btn {
  width: 44px; height: 44px;
  display: grid; place-content: center; gap: 5px;
  border: 0; border-radius: var(--r-sm);
  background: transparent; cursor: pointer;
}
.lp-menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--t-base), opacity var(--t-fast); }
.lp-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-menu-btn.open span:nth-child(2) { opacity: 0; }
.lp-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lp-menu {
  display: flex; flex-direction: column;
  max-width: var(--w-content); margin: 0 auto;
  padding: var(--sp-2) var(--gutter) var(--sp-5);
}
.lp-menu a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-weight: var(--fw-semibold); }
.lp-menu a:last-child { border-bottom: 0; }
.lp-menu .lp-menu-cta { color: #d8a05c; }

/* ===== ELEMENTOS COMPARTILHADOS ===== */
.lp-kicker {
  font-size: var(--fs-xs); font-weight: var(--fw-medium);
  letter-spacing: .32em; color: #9a9a96;
}

.lp-section-label {
  display: block; margin-bottom: var(--sp-2);
  font-size: var(--fs-2xs); font-weight: var(--fw-bold);
  letter-spacing: .26em; color: #d8a05c;
}

.lp-section h2 {
  font-size: var(--fs-2xl);
  line-height: 1.1; letter-spacing: -.03em;
  font-weight: var(--fw-heavy);
  text-wrap: balance;
}

.lp-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 0 30px;
  border-radius: var(--r-pill);
  background: var(--g-gold-btn);
  color: #1a1006;
  font-size: var(--fs-sm); font-weight: var(--fw-heavy); letter-spacing: .06em;
  box-shadow: 0 14px 40px rgba(201, 141, 79, .35), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .15);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base);
}
.lp-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(201, 141, 79, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.lp-cta span { font-size: 18px; }

.lp-link { display: inline-flex; gap: 8px; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .16em; color: #d8a05c; }
.lp-link:hover { color: var(--c-gold-light); }

/* ===== HERO ===== */
.lp-hero { position: relative; padding: var(--sp-8) 0 0; overflow: hidden; }

/* Feixes de luz dourada */
.lp-hero-light { position: absolute; inset: 0; pointer-events: none; }
.lp-hero-light::before, .lp-hero-light::after {
  content: ""; position: absolute; border-radius: 50%;
  border-top: 2px solid rgba(240, 190, 120, .55);
  filter: blur(.6px) drop-shadow(0 0 10px rgba(230, 160, 80, .7));
}
.lp-hero-light::before { width: 900px; height: 900px; right: -520px; top: -60px; transform: rotate(-28deg); }
.lp-hero-light::after { width: 1300px; height: 1300px; left: -700px; bottom: -1180px; transform: rotate(12deg); opacity: .5; }

.lp-hero-inner { position: relative; display: flex; flex-direction: column; gap: var(--sp-6); }

.lp-hero-copy { display: flex; flex-direction: column; gap: var(--sp-4); }
.lp-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 4.6vw, 4.25rem);
  line-height: .98; letter-spacing: -.01em;
  font-weight: var(--fw-heavy);
  text-transform: uppercase;
  text-wrap: balance;
}
.lp-hero-copy h1 .lp-gold-text { display: inline-block; }
.lp-hero-copy p { font-size: var(--fs-md); color: #c9c9c5; max-width: 400px; }
.lp-hero-copy .lp-cta { margin-top: var(--sp-2); }

.lp-hero-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-3); }
.lp-hero-features li {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  text-align: center; font-size: var(--fs-2xs); line-height: 1.35; color: #b9b9b5;
}

/* ---- Palco dos iPhones (decorativo, imagens reais WebP) ---- */
.lp-stage {
  --pw: clamp(74px, 24vw, 104px); /* acompanha a largura do celular */
  position: relative;
  height: calc(var(--pw) * 2.75);
  margin: var(--sp-12) calc(var(--gutter) * -1) 0;
  display: flex; align-items: flex-end; justify-content: center; gap: 0;
  padding-bottom: calc(var(--pw) * .28);
}
.lp-device { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; flex: 0 0 auto; }
.lp-device figcaption {
  text-align: center; line-height: 1.15; white-space: nowrap;
  font-size: clamp(9px, 2.6vw, 11px); font-weight: var(--fw-medium); color: #e6e2da;
}
.lp-device figcaption b { display: block; font-size: 1.1em; font-weight: var(--fw-heavy); letter-spacing: .02em; }

.lp-device img {
  width: auto; max-width: none; height: calc(var(--pw) * 2.07);
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .75)) drop-shadow(0 0 22px rgba(230, 160, 80, .16));
}
.lp-device-1 img, .lp-device-3 img { height: calc(var(--pw) * 2.2); }  /* Pro Max é maior que o Pro */
.lp-device-1 { transform: translateY(-4%) rotate(-4deg); }
.lp-device-2 { transform: translateY(-9%); z-index: 2; margin: 0 calc(var(--pw) * -.08); }
.lp-device-3 { transform: translateY(-5%) rotate(4deg); }

.lp-script {
  position: absolute; right: 6%; bottom: 14%; z-index: 3;
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: .95;
  color: #f2ece2; transform: rotate(-12deg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.lp-floor {
  position: absolute; left: 10%; right: 10%; bottom: 0; height: 40%;
  background: radial-gradient(ellipse at 50% 85%, rgba(230, 150, 70, .45), rgba(230, 150, 70, .1) 40%, transparent 70%);
  filter: blur(14px); z-index: 0;
}

/* ===== BENEFÍCIOS ===== */
.lp-benefits-card {
  display: grid; gap: var(--sp-6);
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(22, 22, 22, .95), rgba(10, 10, 10, .95));
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.lp-benefits-intro p { margin: var(--sp-2) 0 var(--sp-4); font-size: var(--fs-sm); color: #b9b9b5; max-width: 300px; }
.lp-benefits { display: grid; gap: var(--sp-5); }
.lp-benefits li { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--sp-4); row-gap: 2px; align-items: start; }
.lp-benefits .lp-ring { grid-row: span 2; }
.lp-benefits h3 { font-size: var(--fs-xs); font-weight: var(--fw-heavy); letter-spacing: .12em; text-transform: uppercase; }
.lp-benefits p { font-size: var(--fs-sm); color: #a9a9a5; line-height: 1.45; }

/* ===== MODELOS (seção clara) ===== */
.lp-models-card {
  padding: var(--sp-8) var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-cream);
  color: var(--c-cream-text);
  text-align: center;
}
.lp-models-card h2 { color: var(--c-cream-text); }
.lp-models-card > p { margin: var(--sp-2) auto 0; max-width: 560px; font-size: var(--fs-sm); color: var(--c-cream-muted); }

.lp-model-row {
  display: flex; gap: var(--sp-4);
  margin: var(--sp-6) calc(var(--sp-5) * -1) 0;
  padding: 0 var(--sp-5) var(--sp-2);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lp-model-row::-webkit-scrollbar { display: none; }
.lp-model-row li {
  flex: 0 0 72px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold); white-space: nowrap;
}
.lp-model-row img { width: 52px; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .22)); }

/* ===== COMO FUNCIONA ===== */
#como-funciona h2 { margin-bottom: var(--sp-6); }
.lp-steps { display: grid; gap: var(--sp-3); width: 100%; margin-bottom: var(--sp-8); text-align: left; }
.lp-step { display: flex; align-items: center; gap: var(--sp-3); }
.lp-step-num {
  flex: none; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--g-gold-btn);
  color: #1a1006; font-size: var(--fs-xs); font-weight: var(--fw-black);
  box-shadow: 0 6px 18px rgba(201, 141, 79, .3);
}
.lp-step-card {
  flex: 1; display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(18, 18, 18, .9);
}
.lp-step h3 { font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.lp-step p { font-size: var(--fs-xs); color: #a9a9a5; line-height: 1.45; }

.lp-legal { margin-top: var(--sp-4); max-width: 420px; font-size: var(--fs-2xs); color: var(--c-text-subtle); line-height: 1.5; }

/* ===== FOOTER ===== */
.lp-footer { margin-top: var(--sp-12); border-top: 1px solid rgba(255, 255, 255, .06); padding: var(--sp-6) 0 calc(var(--sp-16) + env(safe-area-inset-bottom)); }
.lp-footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; }
.lp-logo-sm { height: 28px; opacity: .85; }
.lp-footer p { font-size: var(--fs-xs); color: var(--c-text-subtle); }

/* ===== WHATSAPP FLUTUANTE ===== */
.lp-wa-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--c-whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.lp-wa-fab:hover { transform: scale(1.08) translateY(-2px); }

/* =========================================================
   ≥ 480px — celulares grandes
   ========================================================= */
@media (min-width: 480px) {
  .lp-cta { width: auto; align-self: flex-start; }
  .lp-center .lp-cta { align-self: center; }
  .lp-stage { --pw: 112px; }
  .lp-hero-features { max-width: 420px; }
}

/* =========================================================
   600–819px — tablet em pé: hero centralizado
   ========================================================= */
@media (min-width: 600px) and (max-width: 819px) {
  .lp-hero-copy { align-items: center; text-align: center; margin: 0 auto; max-width: 560px; }
  .lp-hero-copy p { margin: 0 auto; }
  .lp-hero-copy .lp-cta { align-self: center; }
  .lp-hero-features { margin-left: auto; margin-right: auto; width: 100%; }
}

/* =========================================================
   ≥ 768px — tablets
   ========================================================= */
@media (min-width: 768px) {
  .lp-section { padding-top: var(--sp-16); }
  .lp-logo { height: 40px; }
  .lp-stage { --pw: 132px; margin: var(--sp-6) 0 0; }
  .lp-device figcaption { font-size: 13px; }

  .lp-benefits-card { grid-template-columns: 1fr 2fr; align-items: center; padding: var(--sp-10) var(--sp-8); gap: var(--sp-8); }
  .lp-benefits { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .lp-benefits li { grid-template-columns: 1fr; row-gap: var(--sp-2); }
  .lp-benefits .lp-ring { grid-row: auto; margin-bottom: var(--sp-2); }

  .lp-models-card { padding: var(--sp-10) var(--sp-8); }
  .lp-model-row { justify-content: space-between; overflow: visible; margin: var(--sp-8) 0 0; padding: 0; gap: var(--sp-2); }
  .lp-model-row li { flex: 1 1 0; font-size: var(--fs-sm); }
  .lp-model-row img { width: 100%; max-width: 64px; }

  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
  .lp-step { flex-direction: column; align-items: stretch; }
  .lp-step-num { align-self: center; }
  .lp-step-card { flex-direction: column; align-items: flex-start; }

  .lp-footer { padding-bottom: var(--sp-6); }
  .lp-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .lp-wa-fab { right: 24px; bottom: 24px; width: 58px; height: 58px; }
}

/* =========================================================
   ≥ 820px — hero em duas colunas (inclui tablet e celular deitados)
   ========================================================= */
@media (min-width: 820px) {
  .lp-menu { align-items: flex-end; }
  .lp-hero { padding: var(--sp-10) 0 var(--sp-4); }
  .lp-hero-inner { flex-direction: row; align-items: center; gap: var(--sp-6); }
  .lp-hero-copy { flex: 0 0 50%; }
  .lp-hero-copy h1 { font-size: clamp(2.5rem, .6rem + 3.9vw, 4.25rem); }
  .lp-stage { --pw: clamp(96px, 10.5vw, 150px); flex: 1; height: calc(var(--pw) * 3); margin: 0; }
}

/* Celular deitado: pouca altura, compacta o hero */
@media (min-width: 640px) and (max-height: 500px) and (orientation: landscape) {
  .lp-hero { padding-top: var(--sp-6); }
  .lp-hero-copy { gap: var(--sp-3); }
  .lp-hero-features { margin-top: 0; }
}

/* =========================================================
   ≥ 1024px — desktop
   ========================================================= */
@media (min-width: 1024px) {
  .lp-hero { padding-top: var(--sp-12); }
  .lp-hero-inner { gap: var(--sp-8); }
  .lp-model-row img { max-width: 76px; }
  .lp-step { flex-direction: row; align-items: center; }
  .lp-step-card { flex-direction: row; align-items: center; }
}

@media (min-width: 1280px) {
  .lp-stage { --pw: 160px; }
}

/* Telas grandes: conteúdo mais largo */
@media (min-width: 1440px) {
  :root { --w-content: 1240px; }
  .lp-stage { --pw: 175px; }
  .lp-hero-copy h1 { font-size: 4.75rem; }
}