:root{
  --bg: #8b0f4a;        /* fundo vinho/rosa */
  --green: #2f6f0c;     /* verde da tarja e rodapé */
  --text: #ffffff;

  --pill: #ffffff;
  --pillText: #1a1a1a;

  --container: 1080px;

  /* ajuste fino: quanto o celular “sai” para a direita */
  --phone-right-offset: -160px; /* tente -120 / -160 / -220 */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.container{
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero{
  padding: 34px 0 18px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items:start;
}

/* ESQUERDA */
.left{
  padding-top: 10px;
}

.logo{
  width: 420px;
  max-width: 100%;
  height: auto;
  display:block;
  margin: 6px 0 18px;
}

.headline{
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 14px;
}

/* BOTÕES */
.buttons{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn-store{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--pillText);
  text-decoration:none;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
  border: 0;
  transition: transform .12s ease, filter .12s ease;
}

.btn-store svg{
  fill: currentColor;
}

.btn-store:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-disabled{
  opacity: .75;
  cursor: not-allowed;
}

/* FAQ */
.faq{
  margin-top: 6px;
  max-width: 520px;
}

.faq-tag{
  display:inline-block;
  background: var(--green);
  color: #fff;
  padding: 6px 12px;
  border-radius: 2px;
  font-weight: 800;
  font-size: 15px;
  margin: 8px 0 10px;
}

.faq-q{
  font-size: 30px;
  margin: 10px 0 6px;
  line-height: 1.15;
}

.faq-a{
  margin: 0 0 16px;
  font-size: 18px;
  opacity: .95;
}

/* DIREITA: celular colado na lateral direita */
.right{
  position: relative;
  /* dá uma altura mínima para a área do celular não “sumir” */
  min-height: 560px;
}

/*
  A imagem sai do container e “cola” na direita.
  Usamos max-width:none para evitar que ela seja “apertada” e corte.
*/
.phone{
  position: absolute;
  top: 0;
  right: var(--phone-right-offset);
  width: 520px;     /* ajuste se quiser maior/menor */
  max-width: none;  /* MUITO importante */
  height: auto;
  display:block;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.35));
}

/* Screenshots row */
.screens{
  padding: 18px 0 0;
}

.screens-row{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items:end;
  padding-bottom: 18px;
}

.screen-card{
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.06);
  box-shadow: 0 16px 30px rgba(0,0,0,.22);
}

.screen-card img{
  width: 100%;
  height: auto;
  display:block;
}

/* Footer */
.footer{
  margin-top:auto;
  background: var(--green);
}

.footer-inner{
  text-align:center;
  padding: 14px 10px;
  font-weight: 700;
}

/* =========================================================
   RESPONSIVO
   - Em telas menores, o layout vira coluna
   - O celular volta para dentro (centralizado) para não quebrar
   ========================================================= */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
  }

  .right{
    position: static;
    min-height: auto;
    display:flex;
    justify-content:center;
    margin-top: 14px;
  }

  .phone{
    position: static;
    width: 420px;
    max-width: 100%;
  }

  .faq{
    max-width: 100%;
  }

  .screens-row{
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-q{
    font-size: 26px;
  }
}

@media (max-width: 520px){
  .container{
    padding: 0 16px;
  }

  .headline{
    font-size: 18px;
  }

  .faq-a{
    font-size: 16px;
  }

  .screens-row{
    grid-template-columns: 1fr;
  }
}
