/* NuvemFront — hotsite. Mesma identidade do app (cores, fontes e logo). */
:root {
  --night: #070b1a;
  --night-2: #0e1530;
  --brand: #1fd1a5;
  --brand-hover: #3fe0b8;
  --accent: #0b8f6e;
  --accent-ink: #04150f;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --ink: #0b1020;
  --ink-2: #414862;
  --muted: #6b728c;
  --line: #e2e5ef;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 16, 32, .06), 0 18px 48px rgba(11, 16, 32, .12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--brand); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.section { padding: 96px 0; }
.alt { background: var(--bg-alt); }
.section-lead { color: var(--ink-2); font-size: 1.08rem; max-width: 720px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.35rem; border-radius: 11px; border: 1px solid transparent; font: 600 1rem/1 var(--font); text-decoration: none; transition: background .15s, transform .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--accent-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; }
.btn-soft { background: var(--bg-alt); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { border-color: var(--muted); }
.btn-sm { padding: .55rem .95rem; font-size: .92rem; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* topo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 26, .86); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-in { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: #fff; text-decoration: none; }
.brand svg { width: 28px; height: 28px; color: var(--brand); }
.brand span { color: var(--brand); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a, .link-login { color: #d7dcf2; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .link-login:hover { color: #fff; }
.top-cta { display: flex; align-items: center; gap: 1.1rem; }

/* hero */
.hero { color: #fff; background: radial-gradient(1000px 520px at 85% 10%, rgba(31, 209, 165, .18), transparent 60%), linear-gradient(180deg, var(--night), var(--night-2)); padding: 80px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .eyebrow { color: var(--brand); }
.lead { font-size: 1.12rem; color: #c3c9e2; }
.lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: #aab2d2; font-size: .92rem; }
.hero-facts li::before { content: '✓ '; color: var(--brand); font-weight: 700; }

/* prints */
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot figcaption { margin-top: .7rem; font-size: .9rem; color: var(--muted); }
.shot-hero { position: relative; }
.shot-hero .frame { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1b2340; border-radius: 12px 12px 0 0; }
.shot-hero .frame i { width: 10px; height: 10px; border-radius: 50%; background: #3a4468; }
.shot-hero .frame span { margin-left: 12px; font-size: .75rem; color: #8b93b4; }
.shot-hero img { border-radius: 0 0 12px 12px; border: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.shot-hero figcaption { color: #8b93b4; }
.shot-card { display: grid; place-items: center; }
.shot-card img { max-width: 440px; width: 100%; border: 0; }
.shot-wide { margin: 2rem 0 2.5rem; }

/* resposta direta */
.answer-box { font-size: 1.15rem; padding: 1.4rem 1.6rem; border-left: 4px solid var(--brand); background: var(--bg-alt); border-radius: 0 12px 12px 0; }
.answer p:last-child { color: var(--ink-2); }

/* passos */
.step { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-top: 72px; }
.step.reverse .step-copy { order: 2; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--accent-ink); font-weight: 700; margin-bottom: 1rem; }
.step-copy p { color: var(--ink-2); }
.step-copy p strong { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li { padding-left: 1.6rem; position: relative; color: var(--ink-2); }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* galeria */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.shot-phone { display: flex; flex-direction: column; align-items: center; }
.shot-phone img { width: 240px; aspect-ratio: 1170 / 2532; border-radius: 28px; border: 8px solid var(--night); }
.features { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features li { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .3rem; }
.features strong { font-family: var(--display); font-size: 1.15rem; }
.features span { color: var(--ink-2); font-size: .95rem; }

/* tabela */
.table-wrap { overflow-x: auto; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td:last-child { color: var(--ink); font-weight: 500; }

/* planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.5rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 2rem; margin: 0; padding: .2rem .7rem; border-radius: 99px; background: var(--brand); color: var(--accent-ink); font-size: .78rem; font-weight: 700; }
.price { font-family: var(--display); font-size: 2.4rem; font-weight: 700; margin: .2rem 0 1rem; }
.price small { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; flex: 1; }
.plan li { padding-left: 1.5rem; position: relative; color: var(--ink-2); }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: .8rem; margin-top: 1.8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--ink-2); padding-bottom: 1.1rem; margin: 0; }

/* CTA e rodapé */
.cta { background: linear-gradient(135deg, var(--night), #102a3a); color: #fff; padding: 88px 0; text-align: center; }
.cta-in { max-width: 760px; }
.cta p { color: #c3c9e2; font-size: 1.1rem; }
.foot { background: var(--night); color: #aab2d2; padding: 56px 0 40px; font-size: .95rem; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-in > div { max-width: 520px; }
.foot .brand { margin-bottom: 1rem; }
.foot .small { font-size: .85rem; color: #7e86a8; }
.foot a { color: #d7dcf2; }
.foot nav { display: grid; gap: .6rem; align-content: start; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--brand); }

/* responsivo */
@media (max-width: 980px) {
  .hero-grid, .step { grid-template-columns: 1fr; gap: 36px; }
  .step.reverse .step-copy { order: 0; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .link-login { display: none; }
  .top-cta { margin-left: auto; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .step { margin-top: 48px; }
  .gallery { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .shot-phone img { width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
