/* ==========================================================
   RÁDIO TÁXI PRUDENTE — PÁGINA /APP
   CSS exclusivo da página do aplicativo.
   O fundo definitivo será substituído depois.
========================================================== */

:root{
  --navy:#001100;
  --blue:#07ff6e;
  --blue-light:#2fff74;
  --red:#d40000;
  --amarelo:#ffd700;
  --verde:#0a7d2c;
  --white:#fff;
  --text:#eef4ff;
  --muted:#cbd5eb;
  --glass:rgba(255,255,255,.09);
  --border:rgba(255,255,255,.14);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Manrope",sans-serif;
  background:var(--navy);
  color:var(--white);
}

.hero-app{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;

  background-image: url("../img/fundo.webp");
  background-repeat: no-repeat;
  background-size: 100%; 
  background-color: var(--navy);
}

/* ESTILOS DO NOVO MENU */
.app-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.app-header .container-app {
  padding: 25px 0 0 0; /* Ajusta a distância apenas no cabeçalho */
}
.app-nav {
  display: flex;
  justify-content: flex-end;
}
.app-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px; 
  padding: 12px 24px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.app-nav a:hover {
  background: #ffffff;
  color: var(--navy);
  text-shadow: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index: 1;

  background: linear-gradient(
    to right,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.48) 38%,
    rgba(0,0,0,.18) 72%,
    transparent 100%
  );
  pointer-events:none;
}

.container-app{
  position:relative;
  z-index:2;
  width:min(1550px,95%); /* Aumentado para puxar bem mais para a esquerda */
  margin:0 auto;
  padding:72px 0;
}

.app-content{
  width:min(680px,100%);
  margin-top: -60px; /* Sobindo todo o conteúdo em relação ao centro */
}

.brand-app{
  display:inline-block;
  margin-bottom:24px;
}

.brand-app img{
  display:block;
  width:220px;
  height:auto;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

h1{
  margin:0;
  max-width:600px;
  font-size:clamp(38px,3.4vw,52px);
  line-height:1.05;
  letter-spacing:-2px;
  font-weight:800;
  text-shadow:0 12px 35px rgba(0,0,0,.38);
}

h1 span{
  display:block;
  margin-top:8px;
  background:linear-gradient(90deg, #ffffff 0%, var(--amarelo) 52%, var(--verde) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  max-width:620px;
  margin:26px 0 22px;
  color:var(--text);
  font-size:18px;
  line-height:1.75;
}

.discount{
  display:flex;
  flex-direction:column;
  width:max-content;
  max-width:100%;
  padding:14px 20px;
  margin:0 0 28px;
  border-left:4px solid var(--red);
  border-radius:0 14px 14px 0;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}

.discount strong{
  font-size:21px;
}

.discount span{
  margin-top:3px;
  color:var(--muted);
  font-size:14px;
}

h2{
  margin:0 0 16px;
  font-size:27px;
}

.stores{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

/* BOTÕES (IGUAIS DA PÁGINA PRINCIPAL) */
.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2px; 
  border-radius: 10px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);

  box-shadow: 
    0 6px 20px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.08);

  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-btn img {
  display: block;
  width: auto; 
  height: 80px; /* Aumentado de 60px para 80px */
  border-radius: 10px;
  object-fit: contain;
}

.store-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.store-btn::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );

  transform: translateX(-100%);
  transition: 0.6s;
}

.store-btn:hover::after {
  transform: translateX(100%);
}

.benefits{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:34px;
}

.benefit{
  display:grid;
  grid-template-columns:42px 1fr;
  grid-template-rows:auto auto;
  column-gap:12px;
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.04);
  backdrop-filter:blur(10px);
  transition:all .3s ease;
}

.benefit:hover{
  transform:translateY(-4px) scale(1.01);
  background:rgba(255,255,255,0.08);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.benefit-icon{
  grid-row:1 / 3;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(10, 125, 44, 0.2); /* verde da logo */
  font-size:20px;
}

.benefit strong{
  font-size:15px;
  color: #fff;
}

.benefit small{
  margin-top:2px;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.qr-area{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:24px;
  padding:16px;
  max-width:520px;
  border:1px dashed rgba(255,255,255,.25);
  border-radius:18px;
  background:rgba(0,0,0,.16);
}

/* RODAPÉ DO APP */
.app-footer {
  background: rgba(0, 15, 0, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 10;
}
.footer-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--amarelo);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: 0.3s;
}
.tel-link {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.tel-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}
.ou-text {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}
.wpp-link {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.wpp-link:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.footer-copy-area {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 90px; /* Tamanho ajustado (não muito grande) */
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.footer-brand-name {
  color: var(--amarelo);
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
}

.footer-copy-text {
  color: #ccc;
  font-size: 14px;
  margin: 0 0 6px 0;
}

.footer-dev-text {
  color: #aaa;
  font-size: 13px;
  margin: 0;
}

.footer-dev-text a {
  color: var(--amarelo);
  text-decoration: none;
  transition: 0.3s;
}

.footer-dev-text a:hover {
  text-decoration: underline;
  color: #fff;
}

.qr-img {
  flex:0 0 80px;
  width:80px;
  height:80px;
  border-radius:8px;
  background:#fff;
  padding: 4px;
  object-fit: contain;
}

.qr-area strong{
  display:block;
  font-size:14px;
}

.qr-area p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

/* Entrada suave */
.app-content > *{
  animation:fadeUp .7s ease both;
}

.app-content > *:nth-child(1){animation-delay:.05s}
.app-content > *:nth-child(2){animation-delay:.12s}
.app-content > *:nth-child(3){animation-delay:.2s}
.app-content > *:nth-child(4){animation-delay:.3s}
.app-content > *:nth-child(5){animation-delay:.38s}
.app-content > *:nth-child(6){animation-delay:.46s}
.app-content > *:nth-child(7){animation-delay:.54s}
.app-content > *:nth-child(8){animation-delay:.62s}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(22px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media(max-width:768px){
  .hero-app{
    min-height:100svh;
    background-size: auto 100vh; /* Altura exata da tela para não dar um zoom bizarro */
    background-position: 70% 0; /* Alinhado ao topo, puxando os celulares pra tela */
  }

  .container-app{
    width:min(92%,620px);
    padding:42px 0;
  }

  .app-content{
    text-align:center;
    margin:0 auto;
  }

  .brand-app img{
    width:180px;
    margin:0 auto;
  }

  h1{
    font-size:clamp(34px,9vw,48px);
    letter-spacing:-1px;
  }

  .lead{
    font-size:16px;
    line-height:1.65;
  }

  .discount{
    width:100%;
    text-align:left;
  }

  h2{
    font-size:24px;
  }

  .stores{
    justify-content:center;
  }

  .store-btn img{
    height: 65px; /* Aumentado proporcionalmente para celular */
  }

  .benefits{
    grid-template-columns:1fr;
    text-align:left;
  }

  .qr-area{
    text-align:left;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .footer-link {
    width: 100%;
    justify-content: center;
  }
}

@media(max-width:430px){
  .container-app{
    padding:30px 0 36px;
  }

  .brand-app img{
    width:160px;
  }

  h1{
    font-size:31px;
  }

  .lead{
    font-size:15px;
  }

  .store-btn img{
    height: 55px; /* Aumentado proporcionalmente para celulares menores */
  }

  .stores{
    gap:10px;
  }
}

@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  .app-content > *{
    animation:none;
  }

  .store-btn,
  .benefit{
    transition:none;
  }
}
