:root {
  --bg: #07090d;
  --panel: #0d121a;
  --panel-2: #111926;
  --text: #edf2f7;
  --muted: #98a6b8;
  --line: rgba(255,255,255,.11);
  --accent: #ffcc33;
  --accent-2: #ff6b00;
  --danger: #ff335f;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,204,51,.16), transparent 35rem),
    radial-gradient(circle at top right, rgba(255,107,0,.12), transparent 32rem),
    var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  padding: 16px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(18px);
  background: rgba(7,9,13,.72);
  border-bottom: 1px solid var(--line);
  transition: transform .24s ease;
}
.header-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.site-header.header-hidden {
  transform: translateY(-110%);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .06em; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 14px;
  color: #090909; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 30px rgba(255,204,51,.22);
}
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav-cta { color: #111 !important; background: var(--accent); padding: 10px 14px; border-radius: 999px; font-weight: 800; }
.mobile-quick-nav { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 8px 12px; }
.section-pad { padding: clamp(68px, 8vw, 120px) clamp(18px, 4vw, 56px); }
.hero { padding-top: clamp(70px, 9vw, 132px); }
.hero-grid, .contact-card { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: .95; letter-spacing: -.06em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
h3 { font-size: 21px; margin-bottom: 8px; }
.hero-lead, .section-head p, .contact-card p { color: var(--muted); font-size: 18px; max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 900; cursor: pointer; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #101010; border: 0; }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--text); }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 660px; }
.trust-strip div { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: rgba(255,255,255,.035); }
.trust-strip strong { display: block; font-size: 26px; color: var(--accent); }
.trust-strip span { display: block; color: var(--muted); font-size: 13px; }
.lab-card { position: relative; overflow: hidden; min-height: 520px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); box-shadow: var(--shadow); }
.lab-card::before { content: ""; position: absolute; inset: 18px; border-radius: 18px; border: 1px dashed rgba(255,204,51,.22); pointer-events: none; }
.scanline { position: absolute; left: -20%; right: -20%; top: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 4s infinite; opacity: .85; }
@keyframes scan { 0%,100% { transform: translateY(0); } 50% { transform: translateY(310px); } }
.card-label { color: var(--accent); font-weight: 900; margin-top: 120px; }
.lab-card ul { color: var(--muted); padding-left: 20px; }
.notice { max-width: 1180px; margin: -40px auto 0; padding: 22px 26px; border: 1px solid rgba(255,204,51,.25); border-radius: 18px; background: rgba(255,204,51,.07); color: #f7e6a4; }
.section-head { max-width: 1180px; margin: 0 auto 34px; }
.cards-grid, .reviews-grid, .proof-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reviews-grid {
  align-items: start;
}

/* v10 — masonry real para avaliações: evita buracos quando há cartões com foto */
.reviews-grid.masonry-ready {
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
}
.reviews-grid.masonry-ready .review-card {
  transition: transform .18s ease, border-color .18s ease;
}

.service-card, .review-card, .step, .proof-box, .faq-list details { border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 22px; padding: 24px; }
.service-card p, .review-card p, .step p, .faq-list p { color: var(--muted); }
.icon { color: var(--accent); font-size: 28px; }
.process-section, .reviews-section { background: rgba(255,255,255,.018); border-block: 1px solid var(--line); }
.timeline { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,204,51,.12); color: var(--accent); font-weight: 900; margin-bottom: 18px; }
.stars { color: var(--accent); letter-spacing: .15em; margin-bottom: 16px; }
.review-card footer { color: var(--muted); font-size: 14px; }
.proof-grid { margin-top: 18px; }
.proof-box { min-height: 180px; display: grid; place-items: center; color: var(--muted); border-style: dashed; }
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list summary { cursor: pointer; font-weight: 900; }
.contact-card { align-items: start; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,4vw,44px); background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.28); color: var(--text); padding: 14px 16px; font: inherit; outline: none; }
input:focus, textarea:focus { border-color: rgba(255,204,51,.65); box-shadow: 0 0 0 4px rgba(255,204,51,.08); }
.form-note { font-size: 13px !important; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px clamp(18px,4vw,56px); border-top: 1px solid var(--line); color: var(--muted); }
.toast { position: fixed; right: 18px; bottom: 18px; max-width: 420px; padding: 16px; border-radius: 16px; background: #111926; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s ease; white-space: pre-wrap; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 860px) {
  .site-header {
    padding: 10px 12px 11px;
  }
  .header-main {
    gap: 10px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .brand-text {
    font-size: 14px;
  }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 102px 12px auto; display: none; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,18,26,.98); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .mobile-quick-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 8px;
    margin-top: 10px;
  }
  .mobile-quick-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.045);
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
  }
  .mobile-quick-nav .quick-primary {
    color: #101010;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
  }
  .hero {
    padding-top: clamp(46px, 9vw, 88px);
  }
  .hero-grid, .contact-card { grid-template-columns: 1fr; }
  .trust-strip, .cards-grid, .reviews-grid, .proof-grid, .timeline { grid-template-columns: 1fr; }
  .lab-card { min-height: 380px; }
  .site-footer { flex-direction: column; }
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
}
select:focus { border-color: rgba(255,204,51,.65); box-shadow: 0 0 0 4px rgba(255,204,51,.08); }
.hidden-field { display: none; }
.checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: var(--muted);
}
.checkbox-label input { width: auto; margin-top: 4px; }
.review-submit-section { background: rgba(255,255,255,.012); }
.trust-list { display: grid; gap: 10px; margin-top: 22px; color: var(--text); }
.trust-list span { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.035); }
.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 22px;
  padding: 28px;
}
.empty-state p { color: var(--muted); max-width: 760px; }
.proof-help {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  text-align: center;
}
.proof-help code {
  color: var(--accent);
  background: rgba(0,0,0,.28);
  padding: 2px 6px;
  border-radius: 8px;
}
.proof-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 22px;
}
.proof-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  background: rgba(0,0,0,.25);
}
.proof-card figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}
button[disabled] { opacity: .62; cursor: wait; }

.metrics-grid {
  max-width: 1180px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.metric-card {
  border: 1px solid rgba(255,204,51,.22);
  background: linear-gradient(180deg, rgba(255,204,51,.08), rgba(255,255,255,.025));
  border-radius: 22px;
  padding: 22px;
}
.metric-card strong {
  display: block;
  color: var(--accent);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}
.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}
.review-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.review-topline .stars { margin-bottom: 0; }
.review-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #111;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.case-card {
  background: linear-gradient(180deg, rgba(255,255,255,.048), rgba(255,255,255,.024));
}
.proof-grid[hidden] { display: none !important; }
@media (max-width: 860px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .review-topline { align-items: flex-start; flex-direction: column; }
}

/* v9 — cartões de avaliação compactos; imagem dentro do cartão sem esticar a linha */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  height: auto;
}
.review-card .review-quote {
  margin-bottom: 0;
}
.review-image {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.26);
  margin: 2px 0 4px;
}
.review-image img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
  opacity: .92;
  transition: transform .25s ease, opacity .25s ease;
}
.review-image span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.review-image:hover img {
  transform: scale(1.035);
  opacity: 1;
}
body.lightbox-open {
  overflow: hidden;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
}
.image-lightbox.open {
  display: grid;
}
.image-lightbox figure {
  width: min(100%, 980px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.image-lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  background: #05070a;
}
.image-lightbox figcaption {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 14px;
}
.image-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13,18,26,.92);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 860px) {
  .review-image img { height: 168px; }
}


/* v10 — suporte ao algoritmo masonry calculado em JS */
.review-card {
  min-width: 0;
}
@media (max-width: 860px) {
  .reviews-grid.masonry-ready {
    grid-auto-rows: 8px;
  }
}


/* v12 — Admin helper */
.admin-body {
  min-height: 100vh;
}
.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) 0;
}
.admin-login-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow);
}
.admin-login-card {
  max-width: 560px;
  margin: 9vh auto 0;
  padding: clamp(24px, 4vw, 42px);
}
.admin-login-card h1,
.admin-panel h1 {
  font-size: clamp(34px, 5vw, 58px);
}
.admin-muted {
  color: var(--muted);
}
.admin-panel {
  padding: clamp(20px, 4vw, 38px);
}
.admin-panel-head,
.admin-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 22px;
  align-items: start;
}
.admin-form,
.admin-preview,
.admin-output {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0,0,0,.16);
  padding: 20px;
}
.admin-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admin-review-card {
  padding: 18px;
}
.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.btn.danger,
.btn.ghost.danger {
  border-color: rgba(255,51,95,.4);
  color: #ff8ca4;
}
.admin-output {
  margin-top: 22px;
}
.admin-output textarea {
  min-height: 340px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.admin-panel code,
.admin-login-card code {
  color: var(--accent);
}
#adminLoginError {
  color: #ff8ca4;
  min-height: 1.4em;
}
@media (max-width: 980px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-review-list {
    grid-template-columns: 1fr;
  }
  .admin-panel-head,
  .admin-preview-head {
    flex-direction: column;
  }
}


.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a:last-child {
  color: rgba(152,166,184,.55);
  font-size: 13px;
}
.footer-links a:last-child:hover {
  color: var(--text);
}


/* v13 — admin de contactos e convites */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.admin-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.admin-tab.active {
  background: var(--accent);
  color: #111;
  border-color: transparent;
}
.admin-tab-panel {
  display: none;
}
.admin-tab-panel.active {
  display: block;
}
.admin-export-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.admin-contact-list,
.admin-token-list {
  display: grid;
  gap: 12px;
}
.admin-small-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  padding: 16px;
}
.admin-small-card strong {
  display: block;
  margin-bottom: 4px;
}
.admin-small-card p {
  color: var(--muted);
  margin-bottom: 8px;
}
.admin-small-card code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-bottom: 10px;
}
.verification-notice {
  border: 1px solid rgba(255,204,51,.32);
  background: rgba(255,204,51,.08);
  color: var(--text);
  border-radius: 16px;
  padding: 13px 15px;
  margin: 0;
}
@media (max-width: 980px) {
  .admin-export-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) { .site-header.header-hidden { transform: none; } }


/* v14 — contador no admin e UX móvel */
.admin-counter-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.admin-stat-preview {
  display: grid;
  place-items: start;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  padding: 24px;
}
.admin-stat-preview strong {
  display: block;
  color: var(--accent);
  font-size: clamp(48px, 7vw, 84px);
  line-height: .9;
  letter-spacing: -.06em;
}
.admin-stat-preview span {
  color: var(--muted);
  font-weight: 800;
}
@media (max-width: 420px) {
  .mobile-quick-nav {
    gap: 6px;
  }
  .mobile-quick-nav a {
    font-size: 12px;
    padding: 0 8px;
  }
}


.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: -2px;
}
