/* Estilos partilhados pela landing, /pricing e /faq (tema navy + dourado). */
:root {
  --bg:        #050D1A;
  --bg-2:      #0A1628;
  --surface:   rgba(15, 28, 48, 0.55);
  --surface-2: rgba(20, 36, 60, 0.75);
  --line:      rgba(90, 138, 170, 0.18);
  --line-2:    rgba(212, 168, 67, 0.30);
  --gold:      #D4A843;
  --gold-2:    #E8C878;
  --steel:     #5A8AAA;
  --text:      #F4F7FB;
  --text-2:    rgba(244, 247, 251, 0.74);
  --text-3:    rgba(244, 247, 251, 0.52);
  --green:     #3FB78A;
  --radius:    16px;
  --container: 1160px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Spectral', Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(28px, 4.4vw, 46px); }
h3 { font-size: clamp(20px, 2.6vw, 27px); }

.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.fx-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(90,138,170,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,138,170,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.fx-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.fx-glow.g1 { width: 620px; height: 620px; top: -220px; left: -120px; background: radial-gradient(circle, rgba(212,168,67,0.16), transparent 65%); }
.fx-glow.g2 { width: 560px; height: 560px; top: 360px; right: -160px; background: radial-gradient(circle, rgba(90,138,170,0.16), transparent 65%); }
.fx-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 4px); opacity: 0.5; }
.wrap { position: relative; z-index: 1; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(212,168,67,0.08); border: 1px solid var(--line-2);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

.accent { color: var(--gold); }
.grad-text { background: linear-gradient(120deg, var(--gold-2), var(--gold) 60%, var(--steel)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15.5px; border-radius: 12px; padding: 15px 26px; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; border: 1px solid transparent; min-height: 52px; }
.btn-primary { color: #07101F; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 8px 30px rgba(212,168,67,0.28), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(212,168,67,0.42), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--line-2); transform: translateY(-2px); }

nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(5,13,26,0.7); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 68px; height: 68px; border-radius: 12px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 17px; }
.brand-name span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--text-2); transition: color 0.15s; }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Language selector */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; cursor: pointer; }
.lang-btn:hover { border-color: var(--line-2); color: var(--text); }
.lang-btn img { width: 20px; height: 14px; border-radius: 2px; display: block; }
.lang-btn .caret { font-size: 10px; opacity: 0.7; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: #0c1a2e; border: 1px solid var(--line); border-radius: 12px; padding: 6px; list-style: none; box-shadow: 0 20px 50px rgba(0,0,0,0.5); z-index: 60; }
.lang-menu[hidden] { display: none; }
.lang-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--text-2); }
.lang-menu li:hover { background: rgba(212,168,67,0.1); color: var(--text); }
.lang-menu li img { width: 22px; height: 15px; border-radius: 2px; }
.lang-menu li[aria-selected="true"] { color: var(--gold); }

/* Google sign-in button */
.nav-signin { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 9px 15px; border-radius: 10px; background: rgba(212,168,67,0.12); border: 1px solid var(--line-2); color: var(--gold-2); }
.nav-signin:hover { background: rgba(212,168,67,0.2); }
.gicon { width: 17px; height: 17px; display: block; background: #fff; border-radius: 3px; padding: 1px; }

.hero { padding: 86px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.6vw, 62px); margin: 22px 0 0; }
.hero-sub { font-size: clamp(16px, 1.7vw, 19px); color: var(--text-2); margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 26px; }
.trust { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.trust .tick { width: 18px; height: 18px; border-radius: 50%; background: rgba(63,183,138,0.16); color: var(--green); display: grid; place-items: center; font-size: 11px; font-weight: 800; }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-art {
  position: absolute; inset: -6% -8%;
  background: url('/landing/hero-pipe.jpg') center/cover no-repeat;
  border-radius: 24px;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(80% 80% at 60% 45%, #000 35%, transparent 78%);
  mask-image: radial-gradient(80% 80% at 60% 45%, #000 35%, transparent 78%);
  filter: saturate(1.05);
}
.hero-art::after { content: ''; position: absolute; inset: 0; border-radius: 24px; box-shadow: inset 0 0 80px rgba(5,13,26,0.6); }

.phone { position: relative; width: 248px; border-radius: 34px; padding: 12px; background: linear-gradient(160deg, #16273f, #0a1424); border: 1px solid rgba(212,168,67,0.22); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(212,168,67,0.12); }
.phone-screen { background: #070f1d; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.ph-status { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--text-3); padding: 9px 16px 4px; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; border-bottom: 1px solid var(--line); }
.ph-ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(212,168,67,0.14); display: grid; place-items: center; color: var(--gold); }
.ph-title { font-size: 13px; font-weight: 700; }
.ph-sub { font-size: 10.5px; color: var(--text-3); }
.ph-body { padding: 12px 14px 16px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: rgba(90,138,170,0.07); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 7px; }
.ph-row .l { font-size: 11px; color: var(--text-3); }
.ph-row .v { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--text); }
.ph-result { margin-top: 8px; padding: 12px; border-radius: 11px; background: linear-gradient(160deg, rgba(212,168,67,0.12), rgba(212,168,67,0.03)); border: 1px solid var(--line-2); }
.ph-result .rt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ph-rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ph-rgrid .rl { font-size: 9.5px; color: var(--text-3); }
.ph-rgrid .rv { font-family: var(--mono); font-size: 15px; font-weight: 800; color: var(--text); }
.ph-offline { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 10px; color: var(--green); }
.ph-offline .od { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(10,22,40,0.5); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 34px 0; }
.stat { text-align: center; }
.stat-num { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--gold); }
.stat-label { font-size: 12.5px; color: var(--text-3); margin-top: 4px; letter-spacing: 0.02em; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--text-2); max-width: 680px; margin-top: 16px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,168,67,0.4), transparent); }

/* Highlights grid (landing, secção compacta) */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.hl { padding: 26px 22px; }
.hl-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 23px; background: rgba(212,168,67,0.1); border: 1px solid var(--line-2); margin-bottom: 16px; }
.hl-title { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.hl-desc { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.price-card { padding: 30px 26px; display: flex; flex-direction: column; }
.price-card.popular { border-color: var(--line-2); box-shadow: 0 0 50px rgba(212,168,67,0.12); }
.popular-badge { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #07101F; background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.price-tier { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.price-amt { font-family: var(--display); font-size: 44px; font-weight: 800; margin: 8px 0 2px; }
.price-per { font-size: 13px; color: var(--text-3); margin-bottom: 20px; min-height: 18px; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-feats li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); align-items: flex-start; }
.price-feats .ic { flex-shrink: 0; width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 800; margin-top: 2px; }
.price-feats .ck { background: rgba(63,183,138,0.14); color: var(--green); }
.price-feats .dh { background: rgba(255,255,255,0.05); color: var(--text-3); }
.price-feats strong { color: var(--text); }
.btn-price { width: 100%; }
.btn-price-2 { width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.btn-price-2:hover { border-color: var(--line-2); }
.price-note { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 12px; }

.faq-list { max-width: 820px; margin: 40px auto 0; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 12px; overflow: hidden; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.sum-ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: rgba(212,168,67,0.12); color: var(--gold); display: grid; place-items: center; font-size: 18px; transition: transform 0.2s; }
details[open] .sum-ic { transform: rotate(45deg); }
.faq-ans { padding: 0 22px 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }

.final { text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(212,168,67,0.1), transparent 60%); border-top: 1px solid var(--line); }
.final h2 { margin-bottom: 16px; }
.guarantee { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 13.5px; color: var(--text-3); }

/* Cabeçalho curto das páginas /pricing e /faq */
.page-head { padding: 64px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(30px, 5vw, 48px); margin-top: 12px; }

footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--text-3); font-size: 14px; margin: 14px 0 18px; max-width: 420px; }
.std-row { display: flex; flex-wrap: wrap; gap: 7px; }
.std { font-family: var(--mono); font-size: 10.5px; color: var(--steel); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.foot-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 14px; color: var(--text-2); }
.foot-links a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }

/* Visível por defeito (sem JS / CSP estrito); só esconde para animar quando o JS externo marca html.js */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } .chip .dot { animation: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 380px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: 1fr; }
  .brand-name { display: none; }
}
