:root{
  --bg:#070A0F;
  --panel:#0B0F14;
  --panel2:#101826;
  --text:#EAF0FF;
  --muted:#A9B6D3;
  --muted2:#7E8AA6;
  --border:rgba(255,255,255,.10);
  --shadow: 0 18px 45px rgba(0,0,0,.42);
  --grad: linear-gradient(135deg, #7CFFB2 0%, #5BB7FF 100%);
  --focus: rgba(124,255,178,.25);
  --max: 1140px;
  --r: 20px;
}

/* --- Guard rails (ESSENCIAL para mobile) --- */
*,
*::before,
*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  width:100%;
  max-width:100%;
}

body{
  margin:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(91,183,255,.14), transparent 55%),
    radial-gradient(800px 450px at 85% 25%, rgba(124,255,178,.12), transparent 55%),
    radial-gradient(900px 700px at 45% 110%, rgba(124,255,178,.08), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

/* media nunca pode estourar o ecrã */
img, svg, video, canvas{
  max-width:100%;
  height:auto;
}

a{color:inherit}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 22px;
  width:100%;
}

.section{padding:86px 0}
.section-topline{border-top:1px solid var(--border)}

.kicker{
  font-weight:600;
  color:var(--muted);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
}

h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height:1.05;
  letter-spacing:-.02em;
}

h2{
  margin:0 0 14px;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing:-.01em;
  line-height:1.2;
}

h3{
  margin:0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
}

p{margin:0 0 14px; color:var(--muted)}
.lead{font-size:18px; color:var(--muted); max-width: 70ch}
.small{font-size:14px; color:var(--muted2)}
hr{border:0; border-top:1px solid var(--border); margin:24px 0}

/* --- Nav --- */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,10,15,.62);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  min-width:0;
}

.brand img{width:34px; height:34px}
.brand .name{font-weight:700; letter-spacing:-.01em}
.brand .tag{display:block; font-size:12px; color:var(--muted2); margin-top:1px}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
  min-width:0;
}

.nav-links a{
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid transparent;
  white-space:nowrap;
}

.nav-links a:hover{
  color:var(--text);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.nav-cta{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius: 999px;
  background: var(--grad);
  color:#071018;
  font-weight:700;
  border:0;
  box-shadow: 0 10px 30px rgba(91,183,255,.15);
  transition: color .2s ease, filter .2s ease;
}

.nav-cta:hover{
  color:#ffffff;
  filter:saturate(1.1) brightness(1.03);
}

/* CTA no header: garantir contraste */
.nav-links a.nav-cta{ color:#071018 !important; }
.nav-links a.nav-cta:hover{ color:#ffffff !important; }

.menu-btn{display:none}

/* --- Hero / Cards --- */
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:stretch;
}

.card{
  background: rgba(11,15,20,.66);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  max-width:100%;
}

.hero-card{padding:30px}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:700;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
}

.btn:hover{background: rgba(255,255,255,.07)}

.btn.primary{
  background: var(--grad);
  color:#071018;
  border:0;
}

.btn.primary:hover{filter:saturate(1.1) brightness(1.03)}

.pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.pill{
  padding:8px 10px;
  font-size:12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  background: rgba(255,255,255,.03);
}

.hero-side{padding:26px}

.metric{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px 12px;
  align-items:center;
  padding:14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}

.metric strong{font-size:14px}

.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(124,255,178,.10);
  border: 1px solid rgba(124,255,178,.22);
  color: #BFFFE0;
}

.badge.blue{
  background: rgba(91,183,255,.10);
  border: 1px solid rgba(91,183,255,.22);
  color: #CFE6FF;
}

.badge.gray{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
}

.side-stack{display:grid; gap:12px}

.quote{
  padding:16px 16px 16px 14px;
  border-left: 3px solid rgba(124,255,178,.65);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  color: var(--muted);
}

.quote b{color:var(--text)}

/* --- Layout grids --- */
.grid-2{display:grid; grid-template-columns: 1fr 1fr; gap:18px}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:18px}

.box{padding:22px}

.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:8px 0}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:start;
}

.pricing{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}

.price-card{padding:24px}

.price{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin:10px 0 6px;
}

.price .num{
  font-size:40px;
  font-weight:800;
  letter-spacing:-.02em;
}

.price .cur{font-size:18px; color:var(--muted)}
.tagline{color:var(--muted)}

.notice{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px;
  border-radius: 16px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  margin-top:6px;
  background: #7CFFB2;
  box-shadow: 0 0 0 6px rgba(124,255,178,.10);
}

/* --- Form --- */
.form{ padding:22px; }
.form-row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}

label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin:12px 0 8px;
}

input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}

textarea{min-height:120px; resize: vertical}

input:focus, textarea:focus{
  border-color: rgba(124,255,178,.35);
  box-shadow: 0 0 0 6px var(--focus);
}

.help{font-size:12px; color:var(--muted2); margin-top:10px}
.form-actions{display:flex; gap:12px; align-items:center; margin-top:14px; flex-wrap:wrap}

/* --- Footer --- */
.footer{
  padding:34px 0 50px;
  border-top:1px solid rgba(255,255,255,.08);
  color: var(--muted2);
  font-size:14px;
}

.footer a{color:var(--muted); text-decoration:none}
.footer a:hover{color:var(--text); text-decoration:underline}
.footer-grid{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap}
.footer small{color:var(--muted2)}

/* --- Toast --- */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background: rgba(11,15,20,.92);
  border:1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding:10px 14px;
  display:none;
  gap:10px;
  align-items:center;
  color: var(--muted);
  box-shadow: var(--shadow);
  z-index: 999;
}

.toast.show{display:inline-flex}

/* --- Cookie banner --- */
.cookie-banner{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100% - 32px));
  z-index: 9999;
  display:none;
  opacity:0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}

.cookie-banner.show{ opacity:1; transform: translateY(0); }

.cookie-box{
  background: rgba(9,12,16,.92);
  border:1px solid rgba(124,255,178,.22);
  box-shadow: 0 0 0 6px rgba(124,255,178,.06), var(--shadow);
  border-radius: var(--r);
  padding:14px 14px 12px;
}

.cookie-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}

.cookie-title{ margin:0; font-weight:800; }

.cookie-more{
  font-size:.86rem;
  color: rgba(191,255,224,.9);
  text-decoration:none;
  border-bottom:1px solid rgba(191,255,224,.25);
}

.cookie-text{
  margin:0;
  font-size:.92rem;
  color: var(--muted);
  line-height:1.4;
}

.cookie-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.cookie-btn{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 999px;
  padding:10px 12px;
  font-weight:700;
  cursor:pointer;
}

.cookie-btn.primary{
  background: rgba(124,255,178,.14);
  border-color: rgba(124,255,178,.28);
}

.cookie-btn.link{
  background: transparent;
  border-color: transparent;
  color: rgba(191,255,224,.92);
  text-decoration: underline;
  text-decoration-color: rgba(191,255,224,.35);
}

/* Cookie modal */
.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display:none;
  opacity:0;
  transition: opacity .18s ease;
  background: rgba(0,0,0,.55);
}

.cookie-modal.show{ opacity:1; }

.cookie-modal-card{
  position:absolute;
  right: 16px;
  bottom: 86px;
  width: min(420px, calc(100% - 32px));
  background: rgba(9,12,16,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding:14px;
}

.cookie-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.cookie-x{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  width:34px;
  height:34px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 20px;
  line-height: 1;
}

.cookie-pref{
  margin-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:12px;
  display:grid;
  gap:10px;
}

.cookie-pref-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.cookie-pill{
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:.82rem;
  background: rgba(124,255,178,.14);
  border:1px solid rgba(124,255,178,.25);
}

.cookie-pill.off{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}

/* --- FAQ (accordion) --- */
.faq{
  margin-top:18px;
  display:grid;
  gap:12px;
}

.faq-item{
  background: rgba(11,15,20,.66);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  font-weight:700;
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item summary::after{
  content:"+";
  font-weight:900;
  color:var(--muted);
  border:1px solid rgba(255,255,255,.12);
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  flex:0 0 auto;
}

.faq-item[open] summary::after{
  content:"–";
  color:var(--text);
}

.faq-content{ padding:0 18px 16px; }
.faq-content p{ margin:0; }

/* Neon box */
.box-neon{
  border:1px solid rgba(124,255,178,.35) !important;
  box-shadow: 0 0 0 6px rgba(124,255,178,.08), var(--shadow) !important;
}

/* Trust badges (corrigido) */
.trust-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin: 14px auto 0; /* <-- corrigido */
  max-width: 900px;
}

.trust-badge{
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:.86rem;
  border:1px solid rgba(124,255,178,.25);
  background: rgba(124,255,178,.08);
  box-shadow: 0 0 0 4px rgba(124,255,178,.05);
}

/* --- Responsive --- */
@media (max-width: 980px){
  .container{ padding-left:16px; padding-right:16px; }

  /* garantir que nada força largura */
  body, main, header, section, .section{
    min-width:0 !important;
    max-width:100% !important;
  }

  /* Header */
  .nav-inner{ flex-wrap:wrap; justify-content:center; }
  .nav-links{ flex-wrap:wrap; gap:10px; justify-content:center; }

  /* Layout em 1 coluna */
  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .pricing{
    grid-template-columns: 1fr !important;
  }

  .section{ padding:42px 0; }
}

@media (max-width: 600px){
  h1{ font-size:2.05rem; line-height:1.05; }
  .lead{ font-size:1rem; }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-actions .btn{
    width:100%;
    justify-content:center;
  }

  .pills, .trust-badges{ justify-content:center; }

  .cookie-banner{
    right:12px;
    left:12px;
    width:auto;
  }

  .cookie-modal-card{
    right:12px;
    left:12px;
    width:auto;
  }
}

.footer-contact-icons {
  margin-top: 12px;
  display: flex;
  gap: 14px;
}

.footer-icon {
  width: 22px;
  height: 22px;
  color: var(--color-text, #ffffff);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.cert-badge {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cert-badge img {
  max-width: 80px;
  height: auto;
  opacity: 0.9;
}

.cert-badge span {
  font-size: 13px;
  line-height: 1.4;
}
