/* Visual da MinhaSuite. A página principal tem paleta própria (coral, sálvia e
   marinho); cada página de produto troca para a cor do app pela classe do body.
   a = destaque, oa = texto sobre o destaque, b/b2 = faixas claras, bi = texto
   sobre a faixa, d = fundo escuro, ad = destaque no tema escuro. */
:root {
  --a: #E5735A; --oa: #15212A; --b: #DCE8E2; --b2: #B9D2C8; --bi: #3F6F66; --d: #1F3441; --ad: #EE8A72;
  --cream: #F7F2EA;
  --paper: #FFFDF9;
  --ink: #1D1B2E;
  --muted: #5F5E70;
  --line: #E6DFD3;
  --mint: #E3F0E9;
  --sky: #DDEBF3;
  --shadow: 0 1px 2px rgba(29, 27, 46, .06), 0 12px 32px rgba(29, 27, 46, .08);
  color-scheme: light;
}
.p-financeiro, .p-personal, .p-vendas { --a: #5A45E8; --oa: #FFFFFF; --b: #ECE9FF; --b2: #D9D3FF; --bi: #4433C4; --d: #18162B; --ad: #9C8CFF; }
.p-cultivo { --a: #A9532F; --oa: #FFFFFF; --b: #E4EDE3; --b2: #C6D8C4; --bi: #3E6B4A; --d: #1F2A22; --ad: #E0916C; }
.p-compras { --a: #2563EB; --oa: #FFFFFF; --b: #E3ECFD; --b2: #C5D7FB; --bi: #1E40AF; --d: #12204A; --ad: #6E9BFF; }
.p-viagens { --a: #0E7C86; --oa: #FFFFFF; --b: #DDF2F3; --b2: #B4E1E4; --bi: #0B5F67; --d: #0B2F3A; --ad: #3CC7D2; }
body {
  --accent: var(--a);
  --on-accent: var(--oa);
  --accent-soft: color-mix(in srgb, var(--a) 14%, var(--cream));
  --band: var(--b);
  --band-2: var(--b2);
  --band-ink: var(--bi);
  --deep: var(--d);
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #121320;
    --paper: #1A1B2A;
    --ink: #EEEEF4;
    --muted: #A6A7B8;
    --line: #2A2B3C;
    --mint: #1B2C29;
    --sky: #1A2A35;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .04);
    color-scheme: dark;
  }
  body {
    --accent: var(--ad);
    --on-accent: #121320;
    --accent-soft: color-mix(in srgb, var(--ad) 18%, var(--cream));
    --band: color-mix(in srgb, var(--bi) 22%, var(--cream));
    --band-2: color-mix(in srgb, var(--bi) 40%, var(--cream));
    --band-ink: color-mix(in srgb, var(--bi) 40%, #FFFFFF);
    --deep: color-mix(in srgb, var(--d) 55%, #000000);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { display: block; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.hand { font-family: "Caveat", cursive; font-size: 26px; line-height: 1.05; color: var(--deep); transform: rotate(-6deg); }
@media (prefers-color-scheme: dark) { .hand { color: var(--band-ink); } }

/* ── Navegação ── */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 85%, transparent); backdrop-filter: blur(14px); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand b { font-size: 20px; font-weight: 800; letter-spacing: .08em; }
.brand small { margin-top: 3px; font-size: 9px; font-weight: 700; letter-spacing: .38em; color: var(--muted); }
.nav nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav nav a { text-decoration: none; }
.nav nav a:hover { color: var(--accent); }
.nav .btn { margin-left: auto; }
@media (max-width: 760px) { .nav nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-accent:hover { box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-dark { background: var(--deep); color: #FFFFFF; }
@media (prefers-color-scheme: dark) { .btn-dark { background: var(--paper); border: 1px solid var(--line); } }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* ── Herói ── */
.hero { position: relative; overflow: hidden; padding: 48px 0 0; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 10px 0 0; font-size: clamp(2.6rem, 6.4vw, 4.4rem); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.hero p.lead { margin: 18px 0 0; max-width: 32rem; font-size: 19px; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tagline { margin: 40px 0 88px; font-size: 12px; font-weight: 700; letter-spacing: .22em; line-height: 1.9; color: var(--muted); }
.hero-art { position: relative; display: flex; justify-content: center; padding-bottom: 40px; }
.hero-art .hand { position: absolute; top: 4%; right: 0; font-size: 30px; }
.hero-art .hand svg { width: 70px; margin: 6px 0 0 30px; }
.hills { position: absolute; inset: auto 0 0 0; z-index: 0; width: 100%; height: 260px; }
@media (max-width: 899px) {
  .hero { text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .tagline { display: none; }
  .hero-art .hand { display: none; }
}

/* ── Celular com captura real do app ── */
.ph { position: relative; display: flex; flex-direction: column; width: 270px; margin: 0; padding: 7px; border-radius: 42px; background: #1D1B2E; box-shadow: 0 30px 60px rgba(29, 27, 46, .28); flex: none; container-type: inline-size; }
.ph img { display: block; width: 100%; height: auto; }
/* Barra de status com a câmera e barra de gestos: deixam o aparelho no formato
   dos celulares atuais sem esticar a captura (que é 9:16, o limite da Play). */
.ph::before { content: "9:41"; display: flex; align-items: center; aspect-ratio: 9 / 1.25; padding-left: 9%; border-radius: 35px 35px 0 0; font-size: 4.6cqw; font-weight: 700; color: var(--sb, #1D1B2E); background: radial-gradient(circle at 50% 50%, #0B0B12 2.4cqw, transparent 2.7cqw), var(--top, #FFFFFF); }
.ph::after { content: ""; aspect-ratio: 9 / .75; border-radius: 0 0 35px 35px; background: linear-gradient(rgba(29, 27, 46, .45), rgba(29, 27, 46, .45)) center / 36% 1.2cqw no-repeat, var(--bot, #FFFFFF); }
.duo { position: relative; width: 420px; height: 640px; }
.duo .ph { position: absolute; width: 265px; }
.duo .back { left: 0; top: 60px; transform: rotate(-8deg); }
.duo .front { right: 0; top: 0; transform: rotate(6deg); z-index: 1; }
@media (max-width: 599px) {
  .duo { width: 320px; height: 520px; }
  .duo .ph { width: 205px; }
}

/* ── Seções ── */
section { padding: 72px 0; }
.head { max-width: 40rem; margin: 0 auto 40px; text-align: center; }
h2 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.head p { margin: 8px 0 0; color: var(--muted); }

/* Ferramentas (apps) */
.tools { background: var(--paper); }
.tool-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
.tool { display: flex; gap: 16px; padding: 20px; border-radius: 20px; text-decoration: none; transition: background .2s ease; }
.tool:hover { background: var(--cream); }
.circle { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--band); color: var(--band-ink); flex: none; }
.circle svg { width: 24px; height: 24px; }
.tool:nth-child(odd) .circle { background: var(--accent); color: var(--on-accent); }
.tool h3 { margin: 4px 0 0; font-size: 17px; }
.tool p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* Como funciona */
.how { position: relative; overflow: hidden; background: var(--band); }
.how-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .how-grid { grid-template-columns: .9fr 1.1fr; } }
.stack { position: relative; height: 500px; display: flex; justify-content: center; }
.stack .ph { width: 230px; position: absolute; top: 0; }
.stack .ph:first-child { transform: translateX(-70px) rotate(-10deg); opacity: .95; }
.stack .ph:last-child { transform: translateX(60px) rotate(4deg); }
.steps { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-size: 14px; background: var(--paper); }
.step svg { width: 26px; height: 26px; margin-top: 16px; color: var(--ink); }
.step h3 { margin: 10px 0 0; font-size: 17px; }
.step p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.how .head { text-align: left; margin: 0; }
@media (max-width: 899px) { .stack { display: none; } }

/* Números */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.stat { display: grid; place-content: center; width: 150px; height: 150px; border-radius: 50%; text-align: center; }
.stat strong { font-size: 38px; font-weight: 800; line-height: 1; }
.stat span { margin-top: 6px; font-size: 13px; color: var(--muted); }
.stat:nth-child(1) { background: var(--accent-soft); }
.stat:nth-child(2) { background: var(--mint); }
.stat:nth-child(3) { background: var(--sky); }
.stat:nth-child(4) { background: var(--band); }
.stats-note { display: flex; justify-content: center; margin-top: 28px; }

/* Leque de celulares */
.fan { position: relative; display: flex; justify-content: center; align-items: center; height: 640px; }
.fan .ph { position: absolute; width: 270px; }
.fan .f2 { transform: translateX(-250px) scale(.9); z-index: 1; }
.fan .f3 { z-index: 2; }
.fan .f4 { transform: translateX(250px) scale(.9); z-index: 1; }
.leaf { position: absolute; width: 180px; color: var(--band-2); }
.leaf.l { left: 0; bottom: 30px; }
.leaf.r { right: 0; bottom: 60px; transform: scaleX(-1); }
.fan .hand { position: absolute; right: 4%; bottom: 0; z-index: 3; }
@media (max-width: 999px) {
  .fan { height: 480px; }
  .fan .ph { width: 205px; }
  .leaf, .fan .hand { display: none; }
  .fan .f2 { transform: translateX(-140px) scale(.88); }
  .fan .f4 { transform: translateX(140px) scale(.88); }
}

/* Dúvidas */
.faq { display: grid; gap: 12px; }
@media (min-width: 800px) { .faq { grid-template-columns: repeat(2, 1fr); } }
details { padding: 18px 20px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }

/* Chamada final */
.final { position: relative; overflow: hidden; padding: 0; background: var(--deep); color: #FFFFFF; }
.final .wrap { display: grid; gap: 24px; align-items: center; padding-block: 64px; }
@media (min-width: 900px) { .final .wrap { grid-template-columns: 1fr auto; } }
.final p { margin: 10px 0 0; opacity: .75; }
.final .btn { margin-top: 24px; }
.final .hand { color: #FFFFFF; }
@media (max-width: 899px) { .final .wrap { text-align: center; } .final .hand { display: none; } }

footer { padding: 28px 0; background: var(--paper); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer nav a { text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 8s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-8px) rotate(6deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Ícones do sprite /icons.svg (traço, sem preenchimento). */
.circle svg, .step svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Ajustes: anotação ao lado do celular, borda no escuro, leque no celular. */
@media (min-width: 900px) {
  .hero-art { justify-content: flex-end; }
  .hero-art .hand { top: auto; right: auto; bottom: 2%; left: -4%; z-index: 2; font-size: 26px; }
  .hero-art .hand svg { transform: rotate(180deg); }
}
@media (prefers-color-scheme: dark) { .ph { box-shadow: 0 0 0 1px #3A3B4E, 0 30px 60px rgba(0, 0, 0, .45); } }
@media (max-width: 599px) {
  .fan { height: 470px; }
  .fan .f2, .fan .f4 { display: none; }
}

/* Páginas de produto */
.fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.fine a { color: var(--accent); font-weight: 700; }
.btn[aria-disabled="true"] { opacity: .7; cursor: default; }
.how > .wrap > .head { margin: 0 auto; text-align: center; }
.plans { display: grid; gap: 16px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { margin: 12px 0 0; color: var(--muted); }
.plan .price strong { font-size: 34px; font-weight: 800; color: var(--ink); }
.plan small { color: var(--muted); }
.plan ul { flex: 1; margin: 16px 0 20px; padding: 0; list-style: none; font-size: 14px; }
.plan li { padding: 4px 0 4px 22px; background: radial-gradient(circle at 7px 15px, var(--accent) 3.5px, transparent 4px); }
.plan.hi { background: var(--deep); color: #FFFFFF; }
.plan.hi h3, .plan.hi .price strong { color: #FFFFFF; }
.plan.hi .price, .plan.hi small { color: rgba(255, 255, 255, .7); }
.btn-line { border: 1.5px solid var(--line); background: transparent; color: var(--ink); }

/* Meu ERP: janela de desktop no lugar do celular, formulário de assinatura. */
.win { margin: 0; overflow: hidden; border-radius: 14px; background: var(--paper); box-shadow: 0 30px 60px rgba(29, 27, 46, .22); border: 1px solid var(--line); }
.win::before { content: ""; display: block; height: 26px; border-bottom: 1px solid var(--line); background: radial-gradient(circle, #E5735A 4px, transparent 4.5px) 14px 50% / 14px 14px no-repeat, radial-gradient(circle, #E9B949 4px, transparent 4.5px) 32px 50% / 14px 14px no-repeat, radial-gradient(circle, #4CB782 4px, transparent 4.5px) 50px 50% / 14px 14px no-repeat, var(--cream); }
.win img { display: block; width: 100%; height: auto; }
.win figcaption { padding: 10px 16px; font-size: 14px; font-weight: 700; color: var(--muted); border-top: 1px solid var(--line); }
.p-vendas .hero-art { padding-bottom: 72px; }
@media (min-width: 900px) { .p-vendas .hero-art { padding-bottom: 130px; } }
.p-vendas .hero-art .win { width: min(100%, 620px); transform: rotate(1.5deg); }
.wins { display: grid; gap: 24px; }
@media (min-width: 900px) { .wins { grid-template-columns: 1fr 1fr; } }
@media (prefers-color-scheme: dark) { .win { box-shadow: 0 0 0 1px #3A3B4E, 0 30px 60px rgba(0, 0, 0, .45); } }

.buy { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .buy { grid-template-columns: 1.1fr .9fr; } }
.buy-plan, .buy-data { padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.buy-data h3 { margin: 0 0 16px; font-size: 18px; }
.field { margin-bottom: 16px; }
.field label, .mods legend { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.opt { font-weight: 500; color: var(--muted); }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); font: inherit; }
.field input:focus-visible, .mod input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; border-color: var(--accent); }
.field input[aria-invalid] { border-color: #C2412D; }
#caixas { max-width: 140px; }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.err, .form-err { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #B3361F; }
.form-err { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, #C2412D 12%, var(--paper)); }
@media (prefers-color-scheme: dark) { .err, .form-err { color: #FF9B85; } }
.mods { margin: 8px 0 0; padding: 0; border: 0; }
.mod { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); cursor: pointer; }
.mod input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.mod span { flex: 1; }
.mod b { display: block; font-size: 15px; }
.mod small { display: block; font-size: 13px; color: var(--muted); }
.mod em { font-style: normal; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sum { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 16px 20px; border-radius: 18px; background: var(--deep); color: #FFFFFF; }
.sum strong { font-size: 28px; font-weight: 800; }
.buy-data .btn { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

.thanks { min-height: 70vh; }
.thanks .wrap { max-width: 44rem; }
.thanks .lead { font-size: 19px; color: var(--muted); }
.code { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0; padding: 20px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.code > span { width: 100%; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.code output { flex: 1 1 16rem; font: 600 17px/1.4 ui-monospace, "DM Mono", monospace; word-break: break-all; user-select: all; }
.code .fine { width: 100%; margin: 0; }
.next { padding-left: 20px; }
.next li { margin: 10px 0; }

.badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.download { max-width: 40rem; margin: 0 auto; padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.download .btn { width: 100%; }
.download ul { margin: 16px 0 0; padding-left: 20px; text-align: left; }
.download li { margin: 6px 0; }
