/* lusomove.pt — Premium teaser (10/10)
   Goals: light trustworthy background + navy premium cards, tight geometry, no dead space,
   radar as premium horizontal rail, APK block integrated (3-B).
*/

:root{
  /* Light background */
  --bg0:#eaf4ff;
  --bg1:#d7ebff;
  --bg2:#c6e1ff;

  /* Navy premium surfaces */
  --navy0:#061b33;
  --navy1:#0a2340;
  --navy2:#0f2f54;

  /* Accents */
  --accent:#56B9FF;
  --accent2:#2B89FF;

  /* Text */
  --text:#0b1220;
  --muted: rgba(11,18,32,.68);
  --wtext: rgba(255,255,255,.94);
  --wmuted: rgba(255,255,255,.72);

  /* Geometry */
  --r: 26px;
  --r2: 18px;

  /* Elevation */
  --shadow: 0 22px 60px rgba(0,28,60,.18);
  --shadow2: 0 12px 30px rgba(0,28,60,.14);
  --strokeW: rgba(255,255,255,.14);
  --strokeD: rgba(0,0,0,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(86,185,255,.28), transparent 60%),
    radial-gradient(900px 620px at 90% 18%, rgba(43,137,255,.20), transparent 65%),
    linear-gradient(180deg, var(--bg2), var(--bg0));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }
b{ font-weight: 760; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ===== Layout container (reduce wasted sides) ===== */
.container{
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 18px 34px;
}

/* ===== Header (kept ultra-compact; no visual “waste”) ===== */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 6px 0 10px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.mark{
  width: 36px; height: 36px;
  border-radius: 14px;
  background:
    radial-gradient(24px 24px at 30% 30%, rgba(86,185,255,.35), transparent 60%),
    linear-gradient(180deg, rgba(15,47,84,.95), rgba(6,27,51,.95));
  box-shadow: var(--shadow2);
  border: 1px solid rgba(255,255,255,.10);
}

.brand-text b{
  display:block;
  letter-spacing: .2px;
  font-size: 14px;
  line-height: 1.1;
}
.small{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
}

.top-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-shrink: 0;
}

.lang{
  display:flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 22px rgba(0,28,60,.08);
}

.lang-btn{
  appearance:none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(11,18,32,.78);
  background: transparent;
}
.lang-btn[aria-pressed="true"]{
  color: rgba(11,18,32,.92);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 18px rgba(0,28,60,.10);
}

.badge{
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(11,18,32,.86);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
}

/* ===== Newsletter (compact height) ===== */
.newsletter{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  align-items:center;
  padding: 12px 14px;
  border-radius: var(--r);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 40px rgba(0,28,60,.12);
  margin-top: 10px;
}

.nl-kicker{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  color: rgba(11,18,32,.70);
}
.nl-title{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 760;
  color: rgba(11,18,32,.92);
  line-height: 1.25;
}
.nl-sub{
  margin-top: 3px;
  font-size: 12px;
  color: rgba(11,18,32,.62);
}

.nl-form{
  display:grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items:center;
}
.nl-form input{
  width: 100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  outline: none;
  font-size: 13px;
}
.nl-form input:focus{
  border-color: rgba(43,137,255,.35);
  box-shadow: 0 0 0 6px rgba(86,185,255,.20);
}
.nl-msg{
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(11,18,32,.72);
  min-height: 16px;
  margin-top: 2px;
}

.btn{
  appearance:none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255,255,255,.94);
  background: linear-gradient(180deg, rgba(43,137,255,.98), rgba(86,185,255,.92));
  box-shadow: 0 16px 30px rgba(43,137,255,.22);
  white-space: nowrap;
}
.btn:hover{ filter: brightness(1.03); }
.btn:active{ transform: translateY(1px); }
.btn.btn-ghost{
  background: rgba(255,255,255,.20);
  color: rgba(11,18,32,.84);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: none;
}

/* ===== Hero geometry (no gaps) ===== */
.hero{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-main{ min-height: 420px; }
.hero-card{
  height: 100%;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(15,47,84,.94), rgba(6,27,51,.94));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(520px 260px at 20% 10%, rgba(86,185,255,.22), transparent 60%),
    radial-gradient(520px 260px at 80% 20%, rgba(43,137,255,.16), transparent 62%);
  pointer-events:none;
}

.hero-inner{
  position: relative;
  padding: 20px 20px 18px;
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.h1{
  margin:0;
  color: var(--wtext);
  font-weight: 820;
  letter-spacing: -0.5px;
  line-height: 1.03;
  font-size: clamp(34px, 3.2vw, 46px);
}

.lead{
  margin: 8px 0 0;
  color: var(--wmuted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 56ch;
}

.kpis{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kpi{
  font-size: 12px;
  color: rgba(255,255,255,.84);
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.trust{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
}
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(86,185,255,.92);
  box-shadow: 0 0 0 6px rgba(86,185,255,.18);
}

/* ===== Right column cards (smaller / tighter) ===== */
.hero-side{
  display:grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  align-content: stretch;
}

.side-card{
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(15,47,84,.92), rgba(6,27,51,.92));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
  padding: 14px 14px 12px;
}

.h2{
  margin: 0 0 8px;
  color: rgba(255,255,255,.92);
  font-weight: 820;
  font-size: 14px;
  letter-spacing: .1px;
}

.muted{
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.35;
}

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 1.45;
}
.list.compact{ margin-top: 8px; }
.list li{ margin: 6px 0; }

/* ===== APK block (3-B: strong block before Radar, inside main flow) ===== */
.apk{
  margin-top: 16px;
}
.apk-card{
  border-radius: var(--r);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 40px rgba(0,28,60,.12);
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.apk-left{
  min-width: 0;
}
.apk-title{
  font-weight: 880;
  font-size: 14px;
  color: rgba(11,18,32,.92);
}
.apk-sub{
  margin-top: 3px;
  font-size: 12px;
  color: rgba(11,18,32,.66);
}
.apk-actions{
  display:flex;
  gap: 10px;
  flex-shrink: 0;
}
.apk-actions .btn{
  padding: 11px 13px;
  border-radius: 14px;
}
.apk-actions .btn-ghost{
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(255,255,255,.80);
}

/* ===== Radar section (premium rail, no geometry glitches) ===== */
.radar-section{
  margin-top: 18px;
  padding-top: 18px;
}

.radar-shell{
  border-radius: var(--r);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 40px rgba(0,28,60,.12);
  padding: 14px 14px 12px;
}

.radar-kicker{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.radar-meta{
  font-size: 12px;
  color: rgba(11,18,32,.62);
}

/* JS expects radar-wrap container */
.radar-wrap{ width:100%; }

.radar-grid{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 12px;
  overflow-x:auto;
  overflow-y:hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.radar-grid::-webkit-scrollbar{ height: 8px; }
.radar-grid::-webkit-scrollbar-track{ background: rgba(0,0,0,.06); border-radius: 999px; }
.radar-grid::-webkit-scrollbar-thumb{ background: rgba(43,137,255,.22); border-radius: 999px; }

.radar-card{
  scroll-snap-align: start;
  border-radius: 18px;
  overflow:hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(15,47,84,.92), rgba(6,27,51,.92));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
}
.radar-link{
  display:block;
  color: inherit;
}
.radar-media{
  height: 140px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.radar-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.04) contrast(1.02);
}
.radar-body{
  padding: 12px 12px 12px;
}
.radar-title{
  color: rgba(255,255,255,.92);
  font-weight: 820;
  font-size: 13px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.radar-desc{
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.radar-foot{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
}
.radar-pill{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .25px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(86,185,255,.16);
  border: 1px solid rgba(86,185,255,.22);
  color: rgba(255,255,255,.86);
}
.radar-time{
  white-space: nowrap;
}

/* Skeleton */
.radar-skeleton{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.50);
  box-shadow: 0 14px 30px rgba(0,28,60,.10);
}
.radar-skeleton .sk-media{
  height: 140px;
  background: linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,.03), rgba(0,0,0,.06));
  background-size: 240% 100%;
  animation: shimmer 1.2s linear infinite;
}
.radar-skeleton .sk-body{
  padding: 12px;
  display:grid;
  gap: 8px;
}
.radar-skeleton .sk-line{
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,0,0,.07), rgba(0,0,0,.03), rgba(0,0,0,.07));
  background-size: 240% 100%;
  animation: shimmer 1.2s linear infinite;
}
.radar-skeleton .w80{ width: 80%; }
.radar-skeleton .w60{ width: 60%; }
.radar-skeleton .w40{ width: 40%; }

@keyframes shimmer{
  0%{ background-position: 0% 0%; }
  100%{ background-position: 240% 0%; }
}

/* Footer */
.footer{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}
.footer .muted{
  color: rgba(11,18,32,.62);
  font-size: 12px;
}
.link{ text-decoration: none; }
.sep{ margin: 0 8px; opacity:.6; }

/* Responsive */
@media (max-width: 980px){
  .newsletter{ grid-template-columns: 1fr; }
  .nl-form{ grid-template-columns: 1fr 1fr; }
  .nl-form .btn{ grid-column: 1 / -1; }
  .hero{ grid-template-columns: 1fr; }
  .hero-main{ min-height: 380px; }
  .hero-side{ grid-template-rows: auto; }
  .radar-grid{ grid-auto-columns: minmax(240px, 1fr); }
}
@media (max-width: 520px){
  .container{ padding: 14px 14px 28px; }
  .topbar{ gap: 10px; }
  .badge{ display:none; }
  .nl-form{ grid-template-columns: 1fr; }
  .apk-card{ flex-direction: column; align-items: stretch; }
  .apk-actions{ width:100%; }
  .apk-actions .btn, .apk-actions .btn-ghost{ width:100%; }
}
