/* DuoConnect — landing
   Tokens idênticos ao app:
   --bg #050505 · --panel #0B0B0B · --cyan #00F3FF · --pink #FF007F
   --green #BCFF00 · --purple #8A2BE2 · --border #1C1C22
*/
:root {
  --bg: #050505;
  --panel: #0B0B0B;
  --cyan: #00F3FF;
  --pink: #FF007F;
  --green: #BCFF00;
  --purple: #8A2BE2;
  --border: #1C1C22;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.7);
  --radius: 14px;
  --radius-lg: 16px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Garante que [hidden] sempre esconda, mesmo em elementos com display custom. */
[hidden] { display: none !important; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--panel);
  color: var(--cyan);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

/* container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

/* topo */
.topo {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
  min-width: 0;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
  min-width: 0;
}
.brand__duo { color: var(--cyan); }
.brand__connect { color: var(--pink); }

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

.topo__menu {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 10px;
  position: relative;
}
.topo__menu span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 4px 0;
}

.menu-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 20px 18px;
  border-top: 1px solid var(--border);
  background: var(--panel);
}
.menu-mobile.is-open { display: flex; }

/* botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  max-width: 100%;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(90deg, var(--pink), var(--purple) 55%, var(--cyan));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 12px 36px rgba(255, 0, 127, 0.22);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset,
  0 16px 40px rgba(255, 0, 127, 0.32); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* typography helpers */
.section__title {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 8px 0 18px;
  overflow-wrap: anywhere;
}
.lead {
  color: var(--text-2);
  font-size: 17px;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.eyebrow--cyan .eyebrow__dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.eyebrow--pink .eyebrow__dot { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.eyebrow--green .eyebrow__dot { background: var(--green); box-shadow: 0 0 8px var(--green); }

/* abertura */
.abertura {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 120px);
  overflow: hidden;
}
.abertura__texto { min-width: 0; }
.abertura__media { min-width: 0; max-width: 100%; }
.abertura::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 360px at 12% 18%, rgba(0, 243, 255, 0.18), transparent 60%),
    radial-gradient(520px 320px at 92% 86%, rgba(255, 0, 127, 0.18), transparent 60%);
  pointer-events: none;
}
.abertura__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 56px);
  align-items: center;
}
.hero__title {
  font-size: clamp(28px, 5.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.grad {
  background: linear-gradient(90deg, var(--cyan), #ffffff 50%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 56ch;
  margin: 0 0 28px;
  overflow-wrap: anywhere;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero__chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.chip--cyan { color: var(--cyan); }
.chip--green { color: var(--green); }
.chip--pink { color: var(--pink); }

/* screenshot placeholder MUITO explícito, sem inventar UI */
.abertura__media { margin: 0; }
.screenshot-placeholder {
  border: 1px dashed rgba(0, 243, 255, 0.45);
  background:
    repeating-linear-gradient(45deg, rgba(0, 243, 255, 0.03) 0 8px, transparent 8px 16px),
    var(--panel);
  border-radius: 16px;
  padding: 12px;
  position: relative;
}
.screenshot-placeholder__bar {
  display: flex;
  gap: 6px;
  padding: 4px 6px 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.screenshot-placeholder__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.screenshot-placeholder__body {
  padding: 24px 16px 28px;
  text-align: center;
}
.screenshot-placeholder__title {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin: 0 0 6px;
  font-size: 13px;
}
.screenshot-placeholder__hint {
  color: var(--text-2);
  font-size: 13px;
  margin: 0 0 18px;
}
.screenshot-placeholder__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.screenshot-placeholder__grid div {
  height: 56px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}
.abertura__media figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-2);
}

/* como funciona */
.como { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--border); }
.passos {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: passo;
}
.passo {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px 24px;
  position: relative;
  min-width: 0;
  overflow-wrap: anywhere;
}
.passo__num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  display: inline-block;
  margin-bottom: 10px;
}
.passo h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.passo p { margin: 0; color: var(--text-2); font-size: 15px; }
.passo:nth-child(2) .passo__num { color: var(--green); }
.passo:nth-child(3) .passo__num { color: var(--pink); }

/* cliente / provider */
.cliente, .provider { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--border); }
.cliente__grid, .provider__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}
.bullets li {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text-2);
  font-size: 15px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.bullets strong { color: var(--text); font-weight: 800; }

.provider .bullets li:nth-child(2) { border-color: rgba(255, 0, 127, 0.35); }
.cliente .bullets li:nth-child(1) { border-color: rgba(0, 243, 255, 0.35); }

/* segurança */
.seguranca { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--border); }
.cards {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 20px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--cyan); }
.card p { margin: 0; color: var(--text-2); font-size: 14px; }

/* faq */
.faq { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--border); }
.faq__list { display: grid; gap: 10px; margin-top: 12px; }
.faq__item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 700;
  color: var(--cyan);
  font-size: 18px;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "−"; color: var(--pink); }
.faq__item p { color: var(--text-2); margin: 10px 0 0; font-size: 15px; }

/* cta final */
.cta-final {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 50% 60%, rgba(138, 43, 226, 0.22), transparent 65%);
  pointer-events: none;
}
.cta-final__inner {
  position: relative;
  text-align: center;
}
.cta-final .lead { max-width: 52ch; margin: 0 auto 22px; }
.cta-final .hero__cta { justify-content: center; }

/* rodape */
.rodape { border-top: 1px solid var(--border); padding: 36px 0 28px; background: #030303; }
.rodape__inner { display: grid; gap: 14px; }
.rodape__brand .brand { font-size: 18px; }
.rodape__tag { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }
.rodape__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}
.rodape__links a { color: var(--text-2); border-bottom: 1px dashed transparent; padding-bottom: 2px; }
.rodape__links a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.rodape__legal { color: var(--text-2); font-size: 12px; margin: 0; max-width: 80ch; }

/* responsivo — 360px sem rolagem horizontal */
@media (max-width: 880px) {
  .abertura__grid { grid-template-columns: minmax(0, 1fr); }
  .cliente__grid, .provider__grid { grid-template-columns: minmax(0, 1fr); }
  .passos { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topo__nav { display: none; }
  .topo__menu { display: inline-block; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
