/*
  Maná Diário Landing — CSS
  UI moderna, leve e com microinterações
*/
:root{
  --bg: #0B1020;
  --surface: #0F162E;
  --muted: #9AA4B2;
  --text: #E8ECF1;
  --brand: #8B5CF6;
  --brand-2: #22D3EE;
  --ok: #10B981;
  --danger: #EF4444;
  --card: #111830;
  --ring: rgba(139,92,246,.3);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,.25), transparent),
              radial-gradient(900px 600px at -10% 10%, rgba(139,92,246,.25), transparent),
              var(--bg);
  color:var(--text);
}
img{max-width:100%; display:block}
.container{width:min(1120px, 92%); margin-inline:auto}
.row{display:flex; gap:20px}
.row.center{align-items:center}
.row.between{justify-content:space-between}
.grid{display:grid; gap:28px}
.section{padding:80px 0}
.title{font-size:clamp(32px, 5vw, 54px); line-height:1.05; margin:10px 0 12px}
.subtitle{font-size:18px; color:var(--muted); margin:0 0 20px}

/* Header */
.site-header{position:sticky; top:0; z-index:50; backdrop-filter:saturate(180%) blur(12px); background:rgba(11,16,32,.5); border-bottom:1px solid rgba(255,255,255,.06)}
.site-header .container{padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none}
.brand-icon{width:28px; height:28px; border-radius:8px}
.brand-name{font-weight:700}
.nav{display:flex; gap:18px}
.nav a{color:var(--muted); text-decoration:none; font-weight:500}
.nav a:hover{color:var(--text)}
.hamburger{display:none; width:40px; height:40px; align-items:center; justify-content:center; background:transparent; border:0; cursor:pointer}
.hamburger span{display:block; width:22px; height:2px; background:#d9e1ee; margin:3px 0; transition:.3s}
.hamburger.active span:nth-child(1){transform:translateY(5px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
.mobile-nav{display:none; flex-direction:column; gap:10px; padding:10px 4%; border-bottom:1px solid rgba(255,255,255,.06); background:rgba(11,16,32,.9)}
.mobile-nav a{color:var(--text); text-decoration:none; padding:8px 0}
/* allow toggle via [aria-expanded] */
.mobile-nav[aria-expanded="true"]{display:flex}

/* Buttons */
.btn{--h:48px; height:var(--h); padding:0 18px; border-radius:12px; display:inline-flex; align-items:center; gap:8px; text-decoration:none; color:white; font-weight:600; letter-spacing:.2px; border:1px solid transparent; transition:.2s; position:relative; isolation:isolate}
.btn.small{--h:38px; font-size:14px}
.btn.full{width:100%; justify-content:center}
.btn-ghost{background:transparent; border-color:rgba(255,255,255,.12); color:var(--text)}
.btn-ghost:hover{border-color:rgba(255,255,255,.28)}
.btn-primary{background:linear-gradient(135deg,var(--brand), var(--brand-2)); box-shadow:0 10px 18px rgba(139,92,246,.25)}
.btn-primary::after{content:""; position:absolute; inset:-1px; border-radius:inherit; background:radial-gradient(120px 60px at 10% 10%, rgba(255,255,255,.15), transparent); opacity:.7; pointer-events:none}
.btn-primary:hover{filter:brightness(1.05)}

/* Hero */
.hero{position:relative; overflow:hidden}
.hero-grid{grid-template-columns:1.1fr .9fr; align-items:center}
.pill{display:inline-block; padding:6px 10px; border-radius:999px; background:rgba(34,211,238,.15); color:#a9f0ff; font-weight:700; letter-spacing:.3px; font-size:12px}
.checks{list-style:none; padding:0; margin:16px 0 0; color:var(--muted)}
.checks li{margin:6px 0}
.phone{position:relative; width:min(360px, 90%); margin:0 auto; aspect-ratio:9/19; border-radius:28px; padding:14px; background:linear-gradient(180deg, #0f162e, #0b1020); box-shadow:var(--shadow), 0 0 0 1px rgba(255,255,255,.06) inset}
.phone::before{content:""; position:absolute; top:10px; left:50%; transform:translateX(-50%); width:40%; height:5px; background:#0b1020; border-radius:0 0 8px 8px}
.phone-bg{width:100%; height:100%; object-fit:cover; border-radius:18px; opacity:.85}
.phone-overlay{position:absolute; width:42%; left:50%; top:50%; transform:translate(-50%,-50%); filter:drop-shadow(0 20px 40px rgba(0,0,0,.5))}
.orbs{position:absolute; inset:0; pointer-events:none}
.orb{position:absolute; width:18px; height:18px; border-radius:50%; background:radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,0) 60%); box-shadow:0 0 0 6px rgba(255,255,255,.06)}
.orb:nth-child(1){top:12%; left:6%}
.orb:nth-child(2){top:20%; right:12%}
.orb:nth-child(3){bottom:10%; left:20%}
.wave{position:absolute; left:0; right:0; bottom:-1px; height:140px; background:radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,.04), transparent 60%)}

/* Features */
.features{background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.0))}
.features-grid{grid-template-columns:repeat(4, 1fr)}
.card{background:var(--card); border:1px solid rgba(255,255,255,.06); padding:22px; border-radius:16px; box-shadow:var(--shadow); transition:transform .25s ease, border-color .25s}
.card .icon{font-size:22px; background:linear-gradient(135deg,var(--brand), var(--brand-2)); -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:900; margin-bottom:8px}
.card.pop:hover{transform:translateY(-4px); border-color:rgba(139,92,246,.4)}

/* Testimonials */
.testimonials .carousel{position:relative; overflow:hidden}
.testimonials .track{display:flex; gap:18px; transition:transform .5s ease}
.tcard{min-width:calc(33.33% - 12px); background:var(--card); border:1px solid rgba(255,255,255,.06); border-radius:18px; padding:22px; box-shadow:var(--shadow)}
.tcard p{color:var(--text); font-size:16px; line-height:1.5}
.tcard footer{color:var(--muted); margin-top:10px}
.dots{display:flex; gap:6px; justify-content:center; margin-top:12px}
.dots button{width:8px; height:8px; border-radius:999px; border:0; background:rgba(255,255,255,.2); cursor:pointer}
.dots button.active{background:linear-gradient(135deg,var(--brand), var(--brand-2))}

/* Download */
.download-grid{grid-template-columns:1.1fr .9fr; align-items:center}
.store-badges{display:flex; gap:12px; flex-wrap:wrap; margin:14px 0}
.store img{height:40px; filter:drop-shadow(0 8px 16px rgba(0,0,0,.3))}
.cta-card{background:linear-gradient(180deg, rgba(139,92,246,.12), rgba(34,211,238,.08)); border:1px solid rgba(139,92,246,.35); border-radius:20px; padding:20px; box-shadow:var(--shadow)}
.form{display:grid; gap:12px}
.input-row{display:flex; background:#0b1020; border:1px solid rgba(255,255,255,.12); border-radius:12px; overflow:hidden}
.prefix{display:inline-grid; place-items:center; padding:0 10px; color:#a9f0ff; background:rgba(34,211,238,.1); border-right:1px solid rgba(255,255,255,.08)}
input{flex:1; height:46px; background:transparent; border:0; outline:none; color:var(--text); padding:0 12px}
.form-msg{min-height:18px; font-size:14px}

/* FAQ */
.accordion{background:var(--card); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:14px 16px; margin:10px 0; box-shadow:var(--shadow)}
.accordion summary{cursor:pointer; font-weight:600}
.accordion[open]{border-color:rgba(139,92,246,.4)}

/* Footer */
.site-footer{padding:24px 0; border-top:1px solid rgba(255,255,255,.06); background:rgba(0,0,0,.25)}
.site-footer nav a{color:var(--muted); text-decoration:none; margin-left:14px}
.site-footer nav a:hover{color:var(--text)}
.tiny{font-size:12px; color:var(--muted)}

/* Microinterações / animações */
.glow-in{animation:glowIn .7s ease both}
.float{animation:float 6s ease-in-out infinite}
.card.pop{animation:popIn .6s ease both}
.card.pop:nth-child(2){animation-delay:.06s}
.card.pop:nth-child(3){animation-delay:.12s}
.card.pop:nth-child(4){animation-delay:.18s}

@keyframes glowIn{from{filter:blur(4px); opacity:0; transform:translateY(6px)} to{filter:blur(0); opacity:1; transform:translateY(0)}}
@keyframes float{0%,100%{transform:translate(-50%,-52%)} 50%{transform:translate(-50%,-48%)}}
@keyframes popIn{from{transform:translateY(12px) scale(.98); opacity:0} to{transform:translateY(0) scale(1); opacity:1}}

/* Utilities */
.hero .cta-group{display:flex; gap:10px; flex-wrap:wrap}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0}
.section-sub{color:var(--muted); margin:6px 0 20px}

/* Responsive */
@media (max-width: 980px){
  .hero-grid, .download-grid{grid-template-columns:1fr}
  .tcard{min-width:calc(50% - 10px)}
}
@media (max-width: 720px){
  .nav{display:none}
  .hamburger{display:flex}
  .mobile-nav[aria-expanded="true"], .mobile-nav:not([hidden]){display:flex}
  .tcard{min-width:100%}
}
