:root {
  --green: #228800;          /* Clover primário (CTA) */
  --green-dark: #196600;     /* hover */
  --green-deep: #004400;     /* verde profundo da marca */
  --green-2: #188c4a;        /* verde secundário */
  --green-light: #e9f5e2;
  --purple: #5b2a86;
  --purple-light: #7a3fb0;
  --ink: #0d1f12;
  --muted: #566a5c;
  --bg: #ffffff;
  --bg-alt: #f4f9f0;
  --border: #e1ebdd;
  --radius: 2px;
  --btn-radius: 2px;
  --shadow: 0 10px 30px rgba(0, 68, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 31, 18, 0.16);
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .subhead, .brand-text, .fnum, .fbadge-text {
  font-family: var(--font-head);
  letter-spacing: -0.01em;
}
.container { width: min(1140px, 92%); margin: 0 auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: var(--btn-radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(34,136,0,.3); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; flex-shrink: 0; }
.brand-logo { height: 24px; width: auto; }
.brand-text { font-weight: 500; white-space: nowrap; }
.brand-text strong { color: var(--green-dark); font-weight: 700; }
.brand-div { color: #c8d6cd; font-weight: 300; font-size: 1.4rem; line-height: 1; }
.nav { display: flex; gap: 1.15rem; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: .9rem; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--green-dark); }
.header-partners {
  display: flex; align-items: center; gap: .85rem;
  padding: 0 .95rem; margin-left: .95rem;
  border-left: 1px solid var(--border); flex-shrink: 0;
}
.header-partners .hp-bin { height: 15px; width: auto; opacity: .85; }
.header-partners .hp-fiserv { height: 14px; width: auto; }
.header-inner .btn-sm { flex-shrink: 0; white-space: nowrap; }

/* Hero carousel */
.hero-carousel { position: relative; overflow: hidden; }
.hero-carousel .slides { display: grid; }
.hero-carousel .slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .6s ease; pointer-events: none;
}
.hero-carousel .slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-carousel .hero { padding-bottom: 5.2rem; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s; z-index: 5;
  backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: rgba(255,255,255,.32); }
.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }
.carousel-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: .6rem; z-index: 5;
}
.carousel-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.4); padding: 0; transition: background .2s, width .2s;
}
.carousel-dots button.is-active { background: #fff; width: 28px; border-radius: 2px; }

/* Hero */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(91,42,134,.5), transparent 60%),
    linear-gradient(135deg, var(--green-deep), var(--green) 70%, #2ba300);
  color: #fff; padding: 4rem 0 4.5rem; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-block; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: .4rem .9rem; border-radius: 2px; font-size: .8rem; font-weight: 500;
  margin-bottom: 1.3rem;
}
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.08; font-weight: 800; margin-bottom: .6rem; }
.hero .hl { color: #ffe27a; }
.subhead { font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 600; color: #fff; margin-bottom: 1.1rem; }
.lead { font-size: 1.08rem; color: rgba(255,255,255,.92); max-width: 36rem; margin-bottom: 1.7rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.hero-points { list-style: none; display: grid; gap: .4rem; font-size: .96rem; color: rgba(255,255,255,.92); }

.hero-art { position: relative; min-height: 340px; }
.hero-photo {
  width: 100%; height: 100%; max-height: 420px; object-fit: cover;
  border-radius: 2px; box-shadow: var(--shadow-lg);
}
.hero-device {
  position: absolute; bottom: -28px; left: -34px; width: 62%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.35));
}
.hero-device-tall { width: 40%; bottom: -20px; left: -20px; }

/* Trust bar + parceria */
.trustbar { background: var(--ink); color: #cfe3d6; padding: 1.6rem 0 1.1rem; }
.partners { text-align: center; padding-bottom: 1.3rem; margin-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.partners-label {
  display: block; color: #8fa79a; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: .9rem;
}
.partner-logos { display: flex; align-items: center; justify-content: center; gap: 1.8rem; flex-wrap: wrap; }
.partner-logos img, .partner-logos svg { height: 30px; width: auto; opacity: .95; }
.partner-logos .pl-bin { height: 26px; }
.partner-logos .pl-fiserv { height: 26px; }
.pl-sep { width: 1px; height: 26px; background: rgba(255,255,255,.18); }
.trust-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .6rem 1rem; font-size: .88rem; text-align: center;
}
.trustbar strong { color: #fff; }
.trust-inner .dot { color: var(--green); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.eyebrow-light { color: #ffe27a; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin: .5rem 0 .7rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-featured { border-color: var(--green); box-shadow: 0 20px 45px rgba(46,157,79,.22); }
.card-media {
  height: 190px; margin: -.4rem 0 1.1rem; border-radius: 2px;
  background: linear-gradient(160deg, #f3faf5, #eaf5ee);
  display: grid; place-items: center; overflow: hidden;
}
.card-media img { max-height: 170px; width: auto; object-fit: contain; }
.ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: #fff; font-size: .74rem; font-weight: 600;
  padding: .3rem .9rem; border-radius: 2px; white-space: nowrap; z-index: 2;
}
.ribbon-new { background: #e8792b; }
.card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .3rem; }
.card-tag { color: var(--green-dark); font-weight: 600; font-size: .92rem; margin-bottom: .7rem; }
.card > p { color: var(--muted); font-size: .95rem; }
.card-list { list-style: none; margin: 1rem 0 1.4rem; display: grid; gap: .45rem; }
.card-list li { position: relative; padding-left: 1.5rem; font-size: .9rem; }
.card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.card .btn { margin-top: auto; }

/* Highlight (Kiosk) */
.highlight { background: linear-gradient(135deg, #241238, #3a1c5c 55%, var(--purple)); color: #fff; }
.highlight-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center;
  padding: 3.5rem 0;
}
.highlight-media img { border-radius: 2px; box-shadow: var(--shadow-lg); width: 100%; }
.highlight-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; margin: .5rem 0 .8rem; }
.highlight-copy > p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.2rem; }
.highlight-list { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.highlight-list li { position: relative; padding-left: 1.7rem; color: rgba(255,255,255,.92); }
.highlight-list li::before { content: "✓"; position: absolute; left: 0; color: #ffe27a; font-weight: 700; }
.highlight-list strong { color: #fff; }

/* Botão claro */
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: #f0f7f2; }

/* Novidade: Fábrica no Brasil */
.factory { background: linear-gradient(135deg, #f4f9f5, #eaf5ee); }
.factory-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.pill-new {
  display: inline-block; background: #e8792b; color: #fff; font-weight: 600;
  font-size: .82rem; padding: .35rem .9rem; border-radius: 2px; margin-bottom: 1rem;
}
.factory-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: .8rem; }
.hl-green { color: var(--green); }
.factory-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 40rem; margin-bottom: 1.6rem; }
.factory-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.fstat { display: flex; flex-direction: column; }
.fnum { font-size: 1.7rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.flabel { font-size: .85rem; color: var(--muted); max-width: 12rem; }
.factory-badge { display: grid; place-items: center; }
.fbadge-ring {
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, #eaf5ee);
  border: 3px dashed var(--green); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .3rem; box-shadow: var(--shadow);
}
.fbadge-flag { font-size: 2.6rem; }
.fbadge-text { font-weight: 800; color: var(--green-dark); text-align: center; line-height: 1.15; }

/* Principais clientes */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.client-logo {
  height: 110px; background: #fff; border: 1px solid var(--border); border-radius: 2px;
  display: grid; place-items: center; padding: 1.1rem;
  transition: transform .15s, box-shadow .2s;
}
.client-logo img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: grayscale(100%); opacity: .75; transition: filter .2s, opacity .2s;
}
.client-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.clients-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.2rem; font-style: italic; }

/* Representante autorizado */
.rep-band { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; }
.rep-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.8rem 0; }
.rep-copy { max-width: 40rem; }
.rep-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .5rem; }
.rep-copy p { color: rgba(255,255,255,.92); font-size: 1.02rem; }
.rep-copy strong { color: #ffe27a; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.benefit { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.benefit-ico { font-size: 1.9rem; margin-bottom: .5rem; }
.benefit h4 { font-size: 1.02rem; margin-bottom: .35rem; }
.benefit p { color: var(--muted); font-size: .89rem; }

/* Comparativo */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 620px; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; font-size: .94rem; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; }
.compare thead th.col-clover { background: var(--green-dark); }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .col-clover { background: var(--green-light); color: var(--green-dark); font-weight: 500; }
.compare tbody tr:last-child td { border-bottom: none; }

/* Segmentos */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.segment {
  background: #fff; border: 1px solid var(--border); border-radius: 2px;
  padding: 1rem 1.2rem; font-weight: 500; font-size: .95rem;
  transition: transform .15s, box-shadow .2s;
}
.segment:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.form-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; margin: .5rem 0 .8rem; }
.form-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.form-benefits { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.6rem; }
.form-benefits li { font-weight: 500; }
.contact-direct { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.contact-link {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600;
  color: var(--green-dark); font-size: .95rem; transition: color .2s;
}
.contact-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.lead-form {
  padding: 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
}
/* Tela de sucesso */
.form-success { padding: 2.6rem 2rem; text-align: center; }
.success-icon {
  width: 68px; height: 68px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: grid; place-items: center; font-size: 2rem; font-weight: 700;
  animation: pop .4s ease;
}
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.form-success h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .6rem; }
.form-success > p { color: var(--muted); max-width: 30rem; margin: 0 auto 1.6rem; }
.form-success .btn { gap: .6rem; }
.wa-ico { display: inline-grid; place-items: center; }
.success-back {
  display: block; margin: 1rem auto 0; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: .9rem; text-decoration: underline; font-family: inherit;
}
.success-back:hover { color: var(--green-dark); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.lead-form button { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--border); border-radius: 2px;
  background: #fbfdfb; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,157,79,.15);
}
.field input.invalid, .field select.invalid { border-color: #d9484b; box-shadow: 0 0 0 3px rgba(217,72,75,.12); }
.field textarea { resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); text-align: center; margin-top: -.2rem; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd8d2; padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { max-width: 26rem; }
.footer-brand .brand-text { color: #fff; font-size: 1.2rem; }
.footer-brand p { margin-top: .6rem; font-size: .92rem; color: #9fb0a7; }
.footer-partners { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.2rem; }
.footer-partners img { height: 24px; width: auto; opacity: .85; }
.footer-partners .footer-fiserv { height: 21px; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-title { color: #fff; font-weight: 600; font-size: .92rem; margin-bottom: .2rem; }
.footer-links a { color: #cfd8d2; font-size: .93rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 1.5rem; font-size: .82rem; }
.footer-bottom p { color: #8b9a91; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-top: 1rem; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .highlight-inner { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .segments { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .factory-inner { grid-template-columns: 1fr; }
  .factory-badge { order: -1; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .rep-inner { flex-direction: column; align-items: flex-start; }
  .nav { display: none; }
  .header-partners { display: none; }
}
@media (max-width: 560px) {
  .lead-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .benefits { grid-template-columns: 1fr; }
  .hero-device { width: 55%; left: -10px; }
  .header-inner .btn-sm { display: none; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .factory-stats { gap: 1.3rem; }
}

/* ===== LGPD: banner de consentimento + checkbox ===== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(0,0,0,.08);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: 1120px; margin: 0 auto; padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: space-between;
}
.cookie-text { margin: 0; font-size: .9rem; color: var(--ink); max-width: 720px; }
.cookie-text a { color: var(--green-dark); text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-banner .btn-ghost { background: #f3f6f4; color: var(--ink); border-color: var(--border); }
.cookie-banner .btn-ghost:hover { background: #e9efe9; }
.consent-check {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .82rem; color: var(--muted); margin: -.2rem 0 .2rem; line-height: 1.4;
}
.consent-check input { margin-top: .15rem; flex-shrink: 0; }
.consent-check a { color: var(--green-dark); text-decoration: underline; }
.consent-check.invalid span { color: #c0392b; }
.footer-legal { margin-top: .4rem; font-size: .82rem; }
.footer-legal a { color: inherit; text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}
