/* Página de apresentação (index.html). O app usa css/style.css. */
:root {
  --accent: #1f5f8b;
  --accent-dark: #174a6d;
  --accent-soft: #e6f0f7;
  --text: #1d2329;
  --muted: #5d6873;
  --border: #dde2e6;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --green: #1fa855;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: background .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-big { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { color: var(--accent); border-color: var(--border); background: #fff; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--accent);
  padding-top: env(safe-area-inset-top);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; }
.logo img { height: 34px; width: auto; }
.site-header .btn { min-height: 40px; padding: 8px 14px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--accent-soft), #fff); padding: 48px 0 56px; overflow: hidden; }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.1rem); letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 16px; max-width: 34em; }
.lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.hero-checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

/* Ilustração: orçamento de exemplo */
.hero-visual { position: relative; max-width: 420px; width: 100%; margin: 0 auto; padding-bottom: 40px; }
.doc {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(18, 52, 77, .18), 0 2px 6px rgba(18, 52, 77, .08);
  padding: 22px;
  font-size: .8rem;
  transform: rotate(-2deg);
}
.doc-head { display: flex; justify-content: space-between; gap: 10px; border-bottom: 3px solid var(--accent); padding-bottom: 12px; }
.doc-name { font-weight: 800; font-size: .95rem; }
.doc-sub { color: var(--muted); font-size: .72rem; }
.doc-type { text-align: right; }
.doc-type p { color: var(--accent); font-weight: 800; font-size: 1rem; }
.doc-type span { font-weight: 700; font-size: .72rem; }
.doc-client { background: var(--bg-alt); border-radius: 6px; padding: 8px 10px; margin: 12px 0; font-weight: 700; }
.doc-client span { display: block; font-size: .6rem; color: var(--muted); letter-spacing: .05em; }
.doc-row { display: flex; justify-content: space-between; padding: 6px 8px; }
.doc-row:nth-child(odd):not(.doc-row-head) { background: var(--bg-alt); }
.doc-row-head { background: var(--accent); color: #fff; font-weight: 700; border-radius: 4px 4px 0 0; }
.doc-total { display: flex; justify-content: space-between; align-items: center; background: var(--accent); color: #fff; border-radius: 8px; padding: 9px 12px; margin: 12px 0 0 auto; width: 70%; font-weight: 700; }
.doc-total strong { font-size: 1.05rem; }
.doc-pix { display: flex; gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: 8px; padding: 10px; margin-top: 14px; }
.doc-qr { width: 54px; height: 54px; flex: none; }
.doc-pix-title { color: var(--accent); font-weight: 800; }
.hero-orca { position: absolute; width: 170px; right: -14px; bottom: -6px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }

/* ---------- Seções ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); text-align: center; letter-spacing: -.01em; }
.section-lead { text-align: center; color: var(--muted); margin: 12px auto 0; max-width: 36em; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.steps h3, .feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p, .feature p { color: var(--muted); }

.features { display: grid; gap: 18px; margin-top: 36px; }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.feature svg {
  width: 44px; height: 44px; padding: 9px; border-radius: 12px;
  background: var(--accent-soft); stroke: var(--accent); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px;
}

.pills { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; }
.pills li { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; padding: 8px 16px; border-radius: 999px; font-size: .95rem; }

/* ---------- Perguntas ---------- */
details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-top: 12px; }
details:first-of-type { margin-top: 32px; }
summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Chamada final ---------- */
.cta { background: var(--accent); color: #fff; text-align: center; padding: 56px 0 64px; }
.cta-orca { width: 150px; }
.cta h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin: 10px auto 24px; max-width: 18em; }

/* ---------- Rodapé ---------- */
.site-footer { background: #13324a; color: #b9c9d6; text-align: center; padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); font-size: .9rem; }
.site-footer p + p { margin-top: 6px; }
.site-footer a { color: #fff; }

/* ---------- Telas maiores ---------- */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .features { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
