:root {
  --ink: #0d1410;
  --muted: #4f5d54;
  --green: #22a63f;
  --green-bright: #3fd35c;
  --green-dark: #07130d;
  --orange: #f47b20;
  --yellow: #ffcf2d;
  --gold: #f5a400;
  --line: #dce4dc;
  --pad-x: clamp(20px, 6vw, 96px);
  --font-head: "Barlow", Arial, Helvetica, sans-serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f5f7f2; font-family: var(--font-body); font-size: 18px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.01em; }

/* ---------- Topo ---------- */
.topbar { position: sticky; top: 0; z-index: 40; height: 80px; padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: white; background: rgba(5, 9, 7, .94); backdrop-filter: blur(10px); border-bottom: 3px solid var(--orange); }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 54px; width: auto; max-width: none; }
.top-actions { display: flex; align-items: center; gap: 28px; font-size: 17px; font-weight: 600; }
.top-actions a { text-decoration: none; }
.top-actions > a:not(.button):hover { color: var(--yellow); }

/* ---------- Botões ---------- */
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 0; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--orange), var(--gold)); box-shadow: 0 8px 18px rgba(244, 123, 32, .28); font: inherit; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button svg { width: 24px; height: 24px; fill: currentColor; flex: 0 0 auto; }
.button-small { min-height: 42px; padding: 0 18px; font-size: 16px; }
.button-xl { min-height: 62px; padding: 0 32px; font-size: 20px; }
.button-whatsapp { background: linear-gradient(135deg, #25c04a, #168434); box-shadow: 0 8px 18px rgba(34, 166, 63, .3); }
.button-ghost { color: white; background: transparent; border: 2px solid rgba(255,255,255,.5); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.section-kicker { display: block; margin-bottom: 12px; color: var(--orange); font-size: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 60px); min-height: calc(100vh - 80px); max-height: 880px; padding: clamp(40px, 6vw, 80px) var(--pad-x); color: white; background: #040805; }
.lp-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 10% 20%, rgba(34,166,63,.32), transparent 45%), radial-gradient(ellipse at 85% 55%, rgba(244,123,32,.28), transparent 48%); }
.lp-hero h1 { margin-bottom: 26px; font-size: clamp(44px, 4.8vw, 74px); font-weight: 900; font-style: italic; line-height: .95; text-transform: uppercase; }
.lp-hero h1 em { color: transparent; background: linear-gradient(90deg, var(--yellow), var(--orange)); -webkit-background-clip: text; background-clip: text; }
.lp-lead { max-width: 620px; margin-bottom: 36px; color: #e2eae4; font-size: clamp(21px, 2vw, 27px); font-weight: 500; line-height: 1.4; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lp-hero-art { display: grid; place-items: center; }
.lp-hero-art img { display: block; width: 100%; max-width: 760px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .lp-hero-art img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Números ---------- */
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); color: var(--green-dark); background: linear-gradient(90deg, var(--yellow), var(--gold)); }
.lp-stats div { display: flex; align-items: center; gap: 18px; padding: 30px clamp(18px, 3vw, 48px); border-right: 1px solid rgba(7,19,13,.15); }
.lp-stats div:last-child { border-right: 0; }
.lp-stats strong { font-family: var(--font-head); font-size: clamp(56px, 6vw, 84px); font-weight: 900; font-style: italic; line-height: 1; }
.lp-stats span { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.2; }

/* ---------- Seções ---------- */
.lp-section { padding: clamp(64px, 8vw, 110px) var(--pad-x); }
.lp-head { max-width: 900px; margin-bottom: 44px; }
.lp-head h2, .lp-custom h2 { margin-bottom: 0; font-size: clamp(38px, 4.8vw, 64px); font-weight: 900; line-height: 1.02; }

/* Integrações */
.lp-integrations { background: white; }
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.integration-card { display: flex; flex-direction: column; padding: 36px 32px; color: white; background: linear-gradient(150deg, #0e2a17, #07130d 70%); border-radius: 20px; border-top: 6px solid var(--green); }
.integration-card:nth-child(2) { border-top-color: var(--orange); }
.integration-card-erp { border-top-color: var(--yellow); }
.integration-tag { align-self: flex-start; margin-bottom: 22px; padding: 7px 14px; color: var(--green-dark); background: var(--yellow); border-radius: 999px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.integration-card h3 { margin-bottom: 14px; font-size: clamp(32px, 3vw, 44px); font-weight: 900; line-height: 1.02; }
.integration-card p { margin: 0; color: #c9d7cd; font-size: 20px; line-height: 1.4; }

/* Modelos personalizados */
.lp-custom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; background: #f5f7f2; }
.lp-custom p { max-width: 520px; margin: 22px 0 32px; color: var(--muted); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; }
.lp-custom-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.lp-custom-gallery a { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(8,18,12,.18); transition: transform .2s ease; }
.lp-custom-gallery a:nth-child(odd) { transform: translateY(-18px); }
.lp-custom-gallery a:hover { transform: translateY(-26px); }
.lp-custom-gallery img { display: block; width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; background: #2c2f32; }

/* Como funciona */
.lp-steps { color: white; background: var(--green-dark); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps-grid li { position: relative; display: flex; align-items: center; gap: 20px; padding: 30px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; }
.steps-grid li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -17px; width: 13px; height: 13px; border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: translateY(-50%) rotate(45deg); }
.step-num { width: 64px; height: 64px; flex: 0 0 auto; display: grid; place-items: center; color: var(--green-dark); background: linear-gradient(135deg, var(--yellow), var(--orange)); border-radius: 16px; font-family: var(--font-head); font-size: 36px; font-weight: 900; font-style: italic; }
.steps-grid h3 { margin: 0; font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; line-height: 1.1; }

/* CTA final */
.lp-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(64px, 7vw, 100px) var(--pad-x); color: white; background: radial-gradient(ellipse at 90% 30%, rgba(244,123,32,.45), transparent 50%), linear-gradient(120deg, #0b2a15, #07130d 60%); }
.lp-cta h2 { max-width: 820px; margin: 0; font-size: clamp(38px, 4.8vw, 64px); font-weight: 900; font-style: italic; line-height: 1; text-transform: uppercase; }
.lp-cta .button { flex: 0 0 auto; }

/* ---------- Rodapé ---------- */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px var(--pad-x); color: #a9b8ae; background: #050906; font-size: 16px; }
.footer-logo { display: block; flex: 0 0 auto; height: 38px; width: auto; max-width: none; }
.site-footer a { color: var(--green-bright); font-weight: 700; text-decoration: none; }

/* ---------- Página de modelos ---------- */
.models-page { min-height: calc(100vh - 80px); padding: clamp(40px, 5vw, 70px) var(--pad-x) 90px; }
.models-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.models-intro h1 { margin-bottom: 12px; font-size: clamp(40px, 5vw, 66px); font-weight: 900; line-height: 1; }
.models-intro p { margin: 0; color: var(--muted); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; }
.examples-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.example-card { display: grid; gap: 12px; padding: 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 16px; font: inherit; text-align: center; cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease; }
.example-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(8,18,12,.14); }
.example-card img { display: block; width: 100%; aspect-ratio: 210 / 297; object-fit: contain; background: #2c2f32; border-radius: 10px; }
.example-card span { font-size: 18px; font-weight: 700; }
.examples-empty { color: var(--muted); font-size: 20px; }

.poster-modal { position: fixed; inset: 0; z-index: 50; display: none; }
.poster-modal.is-open { display: grid; place-items: center; }
.poster-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 8, 6, .75); }
.poster-modal-panel { position: relative; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: white; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.4); }
.poster-modal-panel header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.poster-modal-panel h2 { margin: 0; font-size: 22px; }
.poster-preview-stage { display: grid; place-items: center; min-height: 0; background: #2c2f32; }
.poster-preview-stage img { display: block; max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; }
.modal-close { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; color: white; background: var(--orange); border-radius: 10px; font-size: 0; cursor: pointer; }
.modal-close::before { content: "×"; font-size: 30px; line-height: 1; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .lp-hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .lp-hero-art { order: -1; }
  .lp-hero-art img { max-width: 560px; }
  .integration-grid { grid-template-columns: 1fr; }
  .lp-custom { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps-grid li:not(:last-child)::after { top: auto; right: auto; bottom: -23px; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .lp-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .topbar { height: 66px; padding: 0 16px; }
  .brand-logo { height: 38px; }
  .top-actions > a:not(.button) { display: none; }
  .lp-hero { padding: 28px 16px 48px; }
  .lp-hero h1 { font-size: clamp(44px, 12vw, 60px); }
  .lp-actions .button { width: 100%; }
  .lp-stats { grid-template-columns: 1fr; }
  .lp-stats div { padding: 18px 20px; border-right: 0; border-bottom: 1px solid rgba(7,19,13,.15); }
  .lp-stats div:last-child { border-bottom: 0; }
  .lp-section, .lp-cta { padding-left: 16px; padding-right: 16px; }
  .integration-card { padding: 28px 24px; }
  .lp-custom-gallery { grid-template-columns: repeat(2, 1fr); }
  .lp-custom-gallery a:nth-child(odd) { transform: none; }
  .lp-custom .button, .lp-cta .button { width: 100%; }
  .models-intro { flex-direction: column; align-items: stretch; }
  .models-page { padding-left: 16px; padding-right: 16px; }
  .examples-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .example-card span { font-size: 15px; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 24px 16px; }
}

/* ---------- Benefícios ---------- */
.lp-benefits { padding-top: clamp(56px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 80px); background: #f5f7f2; }
.benefit-big-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-big-grid article { padding: 34px 30px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 34px rgba(8,18,12,.06); }
.benefit-big-grid svg { width: 60px; height: 60px; padding: 14px; margin-bottom: 20px; fill: none; stroke: white; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(135deg, var(--green), #13762b); border-radius: 16px; }
.benefit-big-grid article:nth-child(2) svg { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.benefit-big-grid article:nth-child(3) svg { background: linear-gradient(135deg, #1d3a26, var(--green-dark)); stroke: var(--yellow); }
.benefit-big-grid h3 { margin-bottom: 10px; font-size: clamp(28px, 2.6vw, 36px); font-weight: 900; line-height: 1.05; }
.benefit-big-grid p { margin: 0; color: var(--muted); font-size: 20px; line-height: 1.4; }
.lp-cta-actions { display: flex; flex-direction: column; gap: 14px; flex: 0 0 auto; }
.lp-cta-actions .button-ghost { font-size: 18px; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1000px) {
  .benefit-big-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .lp-benefits { padding-left: 16px; padding-right: 16px; }
  .lp-cta-actions, .lp-cta-actions .button { width: 100%; }
  .lp-cta-actions .button-ghost { font-size: 16px; padding: 0 16px; }
  .footer-contacts { flex-direction: column; }
}

/* Benefícios: 4 cartões */
.benefit-big-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-big-grid article { padding: 30px 26px; }
.benefit-big-grid h3 { font-size: clamp(26px, 2.1vw, 32px); }
.benefit-big-grid p { font-size: 18px; }
.benefit-big-grid article:nth-child(4) svg { background: linear-gradient(135deg, #f0b400, var(--yellow)); stroke: var(--green-dark); }
@media (max-width: 1200px) { .benefit-big-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .benefit-big-grid { grid-template-columns: 1fr; } }
