/* ============================================================
   HEDGER International — página Hedger App
   Complementa assets/css/styles.css (mesmas variáveis e fontes).
   ============================================================ */

.app-section { padding: 72px 0; background: #fff; }
.app-section-alt { background: var(--bg); }
.app-section h3 { font-size: 20px; color: var(--navy); margin: 0 0 14px; }

/* ---------- Hero ---------- */
.app-hero { padding: 120px 0 56px; }
.app-hero .container { display: block; }
.app-hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.app-brand { display: flex; align-items: center; gap: 16px; margin: 8px 0 14px; }
.app-logo svg { width: 56px; height: 56px; display: block; }
.app-brand h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; margin: 0; color: var(--navy); }
.app-tagline { font-size: 20px; line-height: 1.45; color: var(--text); margin: 0 0 14px; }
.app-hero-p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 0 24px; }
.app-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-facts li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.fact-k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.fact-v { display: block; font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.3; }

/* ---------- Cards ---------- */
.who-grid, .feat-grid { gap: 20px; }
.feat-card .pillar-icon { margin-bottom: 14px; }
.feat-data { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 12px; margin-top: auto; }

/* ---------- Analítico ---------- */
.app-analytics { background: var(--navy); color: #fff; }
.app-analytics .section-head h2, .app-analytics h3 { color: #fff; }
.app-analytics .section-lead { color: rgba(255,255,255,.78); }
.an-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.an-col { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; }
.an-col-rules { border-color: rgba(245,184,46,.55); }
.an-list { list-style: none; margin: 0; padding: 0; }
.an-list li { position: relative; padding-left: 26px; margin-bottom: 12px; line-height: 1.55; font-size: 15px; }
.an-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }
.app-analytics .an-list li strong { color: #fff; }

/* ---------- Telas (mockups com dados fictícios) ---------- */
.shots-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.shot { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.shot-dot { width: 10px; height: 10px; border-radius: 50%; background: #CBD0DA; }
.shot-url { margin-left: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-body { padding: 18px; }
.shot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.shot-head strong { color: var(--navy); font-size: 15px; }
.shot-head span { font-size: 12px; color: var(--muted); }
.shot-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.shot-table td:first-child, .shot-table th:first-child { white-space: nowrap; }
.shot-table th { text-align: left; font-weight: 700; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 6px; border-bottom: 2px solid var(--border); }
.shot-table td { padding: 10px 6px; border-bottom: 1px solid var(--border); color: var(--text); font-variant-numeric: tabular-nums; }
.shot-table tr:last-child td { border-bottom: 0; }
.shot figcaption { font-size: 12px; color: var(--muted); padding: 10px 18px 14px; }
.funnel-row { display: grid; grid-template-columns: 96px 1fr 64px; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13.5px; }
.funnel-label { color: var(--muted); }
.funnel-bar { display: block; height: 18px; background: var(--bg-soft); border-radius: 9px; overflow: hidden; }
.funnel-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--navy-80)); border-radius: 9px; }
.funnel-val { text-align: right; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ---------- Tabela de permissões ---------- */
.roles-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.roles-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.roles-table th { text-align: left; background: var(--navy); color: #fff; padding: 14px 16px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.roles-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.roles-table tr:last-child td { border-bottom: 0; }
.roles-table tr:nth-child(even) td { background: #FAFBFC; }
.roles-table td strong { color: var(--navy); }
.roles-note { max-width: 760px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Preço + cotação ---------- */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.price-how .an-list li::before { background: var(--amber); }
.scen-title { margin-top: 28px; }
.scen-note { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.scen-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.scen-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--amber); border-radius: var(--radius-sm); padding: 18px 20px; }
.scen-card h4 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.scen-scope { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.scen-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.final-cta-form-wrap { scroll-margin-top: 96px; }
.app-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-strong); }
.app-pricing .form-title { color: var(--navy); }
.app-wa { display: inline-flex; margin-top: 14px; }

/* ---------- Dados e segurança ---------- */
.sec-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.sec-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.sec-item h3 { font-size: 16px; margin-bottom: 8px; }
.sec-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.sec-link { text-align: center; margin: 24px auto 0; color: var(--muted); font-size: 15px; }

/* ---------- Suporte + FAQ ---------- */
.sup-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.sup-box h2, .faq-box h2 { font-size: 28px; margin: 6px 0 18px; }
.sup-list { list-style: none; margin: 0 0 16px; padding: 0; }
.sup-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.sup-k { min-width: 84px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.sup-hours { color: var(--muted); font-size: 14px; margin: 6px 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--amber-dark); line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--text); line-height: 1.6; font-size: 15px; }

/* ---------- CTA final ---------- */
.app-final { background: linear-gradient(135deg, var(--navy), var(--navy-80)); color: #fff; padding: 64px 0; text-align: center; }
.app-final h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
.app-final p { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 24px; font-size: 16px; }

/* ---------- Rodapé ---------- */
.footer-trademark { font-size: 12px; opacity: .75; margin-top: 10px; }

/* ---------- Menu mobile (esta página) ---------- */
@media (max-width: 959px) {
  .main-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 12px 20px 16px; }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a { display: block; padding: 10px 0; }
}

/* ---------- Responsivo ---------- */
@media (min-width: 720px) {
  .shots-grid { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .scen-grid { grid-template-columns: 1fr; }
}
@media (min-width: 960px) {
  .app-section { padding: 96px 0; }
  .app-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; }
  .an-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .sup-grid { grid-template-columns: 1fr 1.4fr; gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .pillar-card, .feat-card { transition: none; }
}

@media (min-width: 1200px) {
  .shots-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Faixa "Hedger App" na Home ---------- */
.app-band { background: var(--navy); color: #fff; padding: 72px 0; }
.app-band-inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.app-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin: 10px 0 14px; }
.app-band p { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.65; margin: 0 0 18px; }
.app-band-chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.app-band-chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(245,184,46,.6); color: #fff; }
.app-band-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-strong); font-size: 14px; }
.abc-head, .abc-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 8px; padding: 8px 0; }
.abc-head { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--border); }
.abc-row { border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.abc-row span:first-child { font-weight: 700; color: var(--navy); }
.abc-foot { font-size: 11px; color: var(--muted); padding-top: 10px; }
@media (min-width: 960px) {
  .app-band { padding: 96px 0; }
  .app-band-inner { grid-template-columns: 1.2fr 1fr; gap: 56px; }
}
