/* ============================================================
   IAFood — Veloxis IT
   Padrão visual Veloxis: navy + azul glow + Montserrat/Poppins
   Acento quente (âmbar) reservado para gatilhos de comida/CTA
   ============================================================ */

:root {
  /* Base Veloxis */
  --navy:        #0a1a2e;
  --navy-deep:   #041020;
  --navy-soft:   #0f2542;
  --primary:     #197ccc;
  --glow:        #33a3ff;
  --metallic:    #a7abaf;
  --white:       #ffffff;

  /* Acento IAFood */
  --amber:       #ff9f1c;
  --amber-deep:  #f27a0c;
  --green:       #2fbf71;
  --red:         #e5484d;

  /* Texto */
  --text:        #ffffff;
  --text-muted:  #9fb3c8;
  --text-dim:    #6b8299;

  /* Superfícies */
  --surface:     rgba(255, 255, 255, 0.04);
  --surface-2:   rgba(255, 255, 255, 0.07);
  --border:      rgba(255, 255, 255, 0.10);
  --border-lit:  rgba(51, 163, 255, 0.35);

  --radius:      16px;
  --radius-sm:   10px;
  --maxw:        1180px;

  --shadow-glow: 0 0 40px rgba(51, 163, 255, 0.18);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Utilitários ---------- */
.grad-text {
  background: linear-gradient(135deg, var(--glow), var(--metallic));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-warm {
  background: linear-gradient(135deg, var(--amber), #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--glow));
  color: #fff;
  box-shadow: 0 8px 28px rgba(25, 124, 204, .35);
}
.btn-primary:hover { box-shadow: 0 12px 38px rgba(51, 163, 255, .5); }
.btn-warm {
  background: linear-gradient(135deg, var(--amber-deep), var(--amber));
  color: #1a1000;
  box-shadow: 0 8px 28px rgba(255, 159, 28, .32);
}
.btn-warm:hover { box-shadow: 0 12px 38px rgba(255, 159, 28, .48); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-lit); }
.btn-lg { padding: 17px 38px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 16, 32, .88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; font-size: 19px;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 159, 28, .28);
}
.logo-mark img { width: 100%; height: 100%; display: block; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--text-muted); font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(900px 500px at 78% 10%, rgba(51,163,255,.16), transparent 62%),
    radial-gradient(700px 420px at 12% 78%, rgba(255,159,28,.10), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 62%);
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 42%, transparent 78%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-lit);
  font-size: 13px; font-weight: 600; color: var(--glow);
  margin-bottom: 26px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-note { font-size: 13.5px; color: var(--text-dim); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: flex; align-items: center; gap: 7px; }

/* ---------- Mock WhatsApp ---------- */
.phone {
  position: relative; width: 100%; max-width: 370px; margin: 0 auto;
  background: #0b141a;
  border: 9px solid #1b2b38;
  border-radius: 34px;
  box-shadow: var(--shadow-card), 0 0 70px rgba(51,163,255,.14);
  overflow: hidden;
}
.phone-top {
  background: #1f2c33; padding: 13px 15px;
  display: flex; align-items: center; gap: 11px;
}
.phone-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--glow));
  display: grid; place-items: center; font-size: 17px;
}
.phone-name { font-size: 14.5px; font-weight: 600; font-family: 'Montserrat', sans-serif; }
.phone-status { font-size: 11.5px; color: var(--green); }
.phone-body {
  padding: 16px 13px; min-height: 430px;
  background:
    linear-gradient(rgba(11,20,26,.94), rgba(11,20,26,.94)),
    repeating-linear-gradient(45deg, #12212b 0 12px, #0f1c25 12px 24px);
  display: flex; flex-direction: column; gap: 9px;
  overflow-y: auto;
}
.bubble {
  max-width: 84%; padding: 9px 13px; border-radius: 13px;
  font-size: 13.6px; line-height: 1.5;
  animation: rise .32s ease both;
  white-space: pre-line; word-break: break-word;
}
@keyframes rise { from { opacity: 0; transform: translateY(9px) } to { opacity: 1; transform: none } }
.bubble.me { align-self: flex-end; background: #005c4b; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: #1f2c33; border-bottom-left-radius: 4px; }
.bubble .time { display: block; font-size: 10px; color: rgba(255,255,255,.45); text-align: right; margin-top: 3px; }
.typing { display: flex; gap: 4px; align-self: flex-start; background: #1f2c33; padding: 12px 15px; border-radius: 13px; border-bottom-left-radius: 4px; }
.typing i { width: 6px; height: 6px; background: var(--text-dim); border-radius: 50%; animation: bounce 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s } .typing i:nth-child(3) { animation-delay: .36s }
@keyframes bounce { 0%,60%,100% { transform: none; opacity: .4 } 30% { transform: translateY(-5px); opacity: 1 } }

/* ---------- Seções ---------- */
section { padding: 92px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--glow); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.03rem; }

.alt { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  backdrop-filter: blur(6px);
}
.card:hover { transform: translateY(-5px); border-color: var(--border-lit); background: var(--surface-2); }
.card-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(25,124,204,.28), rgba(51,163,255,.16));
  border: 1px solid var(--border-lit);
  display: grid; place-items: center; font-size: 23px; margin-bottom: 17px;
}
.card-icon.warm { background: linear-gradient(135deg, rgba(255,159,28,.26), rgba(255,209,102,.14)); border-color: rgba(255,159,28,.36); }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.6px; }

/* Dores */
.pain { display: flex; gap: 15px; padding: 20px; border-radius: var(--radius-sm); background: rgba(229,72,77,.06); border: 1px solid rgba(229,72,77,.18); }
.pain .x { color: var(--red); font-size: 19px; flex-shrink: 0; line-height: 1.4; }
.pain strong { display: block; margin-bottom: 3px; font-family: 'Montserrat', sans-serif; font-size: 14.8px; }
.pain span { font-size: 13.8px; color: var(--text-muted); }

.gain { display: flex; gap: 15px; padding: 20px; border-radius: var(--radius-sm); background: rgba(47,191,113,.06); border: 1px solid rgba(47,191,113,.18); }
.gain .v { color: var(--green); font-size: 19px; flex-shrink: 0; line-height: 1.4; }
.gain strong { display: block; margin-bottom: 3px; font-family: 'Montserrat', sans-serif; font-size: 14.8px; }
.gain span { font-size: 13.8px; color: var(--text-muted); }

/* Passos */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 30px 26px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -18px; left: 26px;
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--glow));
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 17px;
  box-shadow: var(--shadow-glow);
}
.step h3 { margin: 12px 0 9px; font-size: 1.08rem; }
.step p { color: var(--text-muted); font-size: 14.4px; }

/* Integrações */
.integrations { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: 14.5px;
  transition: border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--border-lit); transform: translateY(-2px); }
.chip .em { font-size: 19px; }

/* Fluxo de venda */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-items: stretch; }
.flow-node {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px 18px; text-align: center; position: relative;
}
.flow-node .em { font-size: 27px; display: block; margin-bottom: 9px; }
.flow-node strong { font-family: 'Montserrat', sans-serif; font-size: 14.6px; display: block; margin-bottom: 5px; }
.flow-node span { font-size: 13px; color: var(--text-muted); }
.flow-node.hi { border-color: rgba(255,159,28,.45); background: rgba(255,159,28,.07); }

/* Calculadora */
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.calc-row label { font-size: 14.5px; color: var(--text-muted); font-weight: 500; }
.calc-row output { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 19px; color: var(--glow); }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.12); outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 21px; height: 21px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--glow)); cursor: pointer;
  box-shadow: 0 0 14px rgba(51,163,255,.55);
}
.calc-result {
  margin-top: 26px; padding: 24px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(47,191,113,.12), rgba(51,163,255,.08));
  border: 1px solid rgba(47,191,113,.3); text-align: center;
}
.calc-result .big { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--green); display: block; }
.calc-result small { color: var(--text-muted); font-size: 13.6px; }

/* Preço */
.price-card {
  max-width: 520px; margin: 0 auto;
  background: linear-gradient(160deg, rgba(51,163,255,.10), rgba(255,255,255,.03));
  border: 1px solid var(--border-lit);
  border-radius: 22px; padding: 42px 36px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(51,163,255,.13);
  position: relative;
}
.price-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber-deep), var(--amber));
  color: #1a1000; font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 20px; border-radius: 999px; white-space: nowrap;
}
.price-val { display: flex; align-items: flex-start; justify-content: center; gap: 5px; margin: 8px 0 4px; }
.price-val .cur { font-size: 21px; font-weight: 700; margin-top: 12px; color: var(--text-muted); }
.price-val .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 4.2rem; line-height: 1; }
.price-val .per { font-size: 15px; color: var(--text-muted); align-self: flex-end; margin-bottom: 12px; }
.price-list { list-style: none; margin: 28px 0; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 11px; font-size: 14.6px; align-items: flex-start; }
.price-list .v { color: var(--green); font-weight: 800; flex-shrink: 0; }
.price-foot { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 16px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  padding: 20px 24px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15.2px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .caret { color: var(--glow); font-size: 20px; transition: transform .22s; flex-shrink: 0; }
.faq-item.open .faq-q .caret { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 420px; padding: 0 24px 20px; }
.faq-a p { color: var(--text-muted); font-size: 14.5px; }

/* CTA final */
.cta-final {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(51,163,255,.18), transparent 66%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  text-align: center;
}
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 18px; }
.cta-final p { color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; }

/* Footer */
footer { background: var(--navy-deep); border-top: 1px solid var(--border); padding: 52px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 36px; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 14px; }
.foot-grid a, .foot-grid p { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 9px; transition: color .18s; }
.foot-grid a:hover { color: var(--glow); }
.foot-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim);
}

/* WhatsApp flutuante */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  font-size: 27px; transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }

/* ---------- Auth (login/cadastro) ---------- */
.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  background: var(--navy);
}
.auth-side {
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(51,163,255,.18), transparent 62%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  padding: 56px 52px; display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border);
}
.auth-side h2 { font-size: 2.1rem; margin: 22px 0 16px; }
.auth-side p { color: var(--text-muted); margin-bottom: 30px; max-width: 440px; }
.auth-side ul { list-style: none; display: grid; gap: 13px; }
.auth-side li { display: flex; gap: 11px; font-size: 14.6px; color: var(--text-muted); }
.auth-side li .v { color: var(--green); font-weight: 800; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 1.75rem; margin-bottom: 8px; }
.auth-box > p.sub { color: var(--text-muted); font-size: 14.5px; margin-bottom: 28px; }

.tabs { display: flex; gap: 6px; background: var(--surface); padding: 5px; border-radius: 12px; margin-bottom: 26px; border: 1px solid var(--border); }
.tabs button {
  flex: 1; padding: 10px; border: 0; border-radius: 9px; background: none; color: var(--text-muted);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s;
}
.tabs button.active { background: linear-gradient(135deg, var(--primary), var(--glow)); color: #fff; }

.field { margin-bottom: 17px; }
.field label { display: block; font-size: 13.2px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: 11px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: 14.6px;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--glow); background: rgba(255,255,255,.08); }
.field input::placeholder { color: var(--text-dim); }
.field .hint { font-size: 12.2px; color: var(--text-dim); margin-top: 6px; }

.field-pw { position: relative; }
.field-pw button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--text-dim); cursor: pointer; font-size: 16px; padding: 4px;
}

.auth-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 13.4px; }
.auth-row label { display: flex; align-items: center; gap: 8px; color: var(--text-muted); cursor: pointer; }
.auth-row a { color: var(--glow); }

.alert { padding: 12px 15px; border-radius: 10px; font-size: 13.8px; margin-bottom: 18px; display: none; }
.alert.show { display: block; animation: rise .25s ease both; }
.alert.err { background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.35); color: #ffb4b6; }
.alert.ok  { background: rgba(47,191,113,.12); border: 1px solid rgba(47,191,113,.35); color: #9be8bf; }
.alert.info{ background: rgba(51,163,255,.10); border: 1px solid rgba(51,163,255,.32); color: #a9d6ff; }

.auth-foot { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--text-dim); }
.auth-foot a { color: var(--glow); }

.strength { height: 4px; border-radius: 999px; background: rgba(255,255,255,.09); margin-top: 8px; overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 16px; right: 16px;
    background: rgba(4,16,32,.97); backdrop-filter: blur(14px);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; gap: 16px;
  }
  /* Os dois botões da nav somam ~359px e não cabem em 375px — o CTA longo
     vai para dentro do menu e só o "Entrar" compacto fica na barra. */
  .nav-cta .btn-primary { display: none; }
  .nav-cta .btn-ghost { padding: 9px 16px; font-size: 13.2px; }
  .nav-cta { gap: 8px; }
  .nav-mobile-cta { display: block !important; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 66px 0; }
  .hero { padding: 124px 0 66px; }
  .foot-grid { grid-template-columns: 1fr; }
  .price-card { padding: 34px 24px; }
  .calc { padding: 24px; }
}

/* ---------- Instalação do aplicativo (PWA / APK) ---------- */
.instalar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }

.instalar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: transform .22s ease, border-color .22s ease;
}
.instalar-card:hover { transform: translateY(-4px); border-color: var(--border-lit); }
.instalar-card .plataforma { font-size: 34px; margin-bottom: 14px; }
.instalar-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.instalar-card p { color: var(--text-muted); font-size: 13.6px; margin-bottom: 18px; min-height: 44px; }
.instalar-card .btn { width: 100%; }
.instalar-card .selo {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}

.instalar-preview {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  margin-bottom: 8px;
}
.instalar-preview img {
  width: 84px; height: 84px; border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.instalar-preview .rotulo { text-align: left; }
.instalar-preview .rotulo strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 15px; }
.instalar-preview .rotulo small { color: var(--text-dim); font-size: 12.5px; }

/* faixa flutuante no mobile */
.faixa-instalar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(15, 37, 66, .97); backdrop-filter: blur(14px);
  border: 1px solid var(--border-lit);
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  animation: rise .32s ease both;
}
.faixa-instalar img { border-radius: 11px; flex-shrink: 0; }
.faixa-txt { flex: 1; min-width: 0; }
.faixa-txt strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 14px; }
.faixa-txt small { color: var(--text-muted); font-size: 12px; }
.faixa-instalar .btn { padding: 10px 18px; font-size: 13.5px; flex-shrink: 0; }
.faixa-x {
  background: none; border: 0; color: var(--text-dim); font-size: 22px;
  cursor: pointer; padding: 0 4px; line-height: 1; flex-shrink: 0;
}

/* modal de instruções */
.modal-instalar {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 16, 32, .82); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  animation: rise .2s ease both;
}
.modal-caixa {
  position: relative; width: 100%; max-width: 430px;
  background: var(--navy-soft, #0f2542); border: 1px solid var(--border-lit);
  border-radius: 20px; padding: 34px 30px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.modal-fechar {
  position: absolute; top: 12px; right: 14px;
  background: none; border: 0; color: var(--text-dim);
  font-size: 26px; cursor: pointer; line-height: 1; padding: 4px 8px;
}
.modal-fechar:hover { color: var(--white); }
.modal-icone img { border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.modal-caixa h3 { font-size: 1.15rem; margin: 16px 0 18px; }
.modal-passos { list-style: none; counter-reset: mp; text-align: left; margin: 0 0 18px; }
.modal-passos li {
  counter-increment: mp; position: relative;
  padding: 10px 0 10px 40px; font-size: 14.2px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.modal-passos li:last-child { border-bottom: 0; }
.modal-passos li::before {
  content: counter(mp); position: absolute; left: 0; top: 9px;
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--glow));
  display: grid; place-items: center; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px;
}
.modal-nota {
  font-size: 12.6px; color: var(--text-dim); line-height: 1.55;
  background: rgba(255,255,255,.04); border-radius: 10px; padding: 12px 14px;
}

/* barra de atualização do service worker */
.barra-atualizacao {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 96;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 999px;
  background: rgba(15, 37, 66, .97); backdrop-filter: blur(12px);
  border: 1px solid var(--border-lit); box-shadow: 0 12px 34px rgba(0,0,0,.5);
  font-size: 13.6px; animation: rise .3s ease both;
}

@media (max-width: 900px) { .instalar-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .instalar-preview { flex-direction: column; text-align: center; }
  .instalar-preview .rotulo { text-align: center; }
  .faixa-instalar { gap: 9px; padding: 10px 12px; }
  .faixa-txt small { display: none; }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
