/* Gelune Cloud — site institucional. Mesmas cores do sistema. */
:root {
  --green: #267765;
  --green-2: #2f8f79;
  --night: #123f39;
  --night-2: #0d302b;
  --ink: #1f3a35;
  --muted: #61736d;
  --gold: #b88a3e;
  --peach: #ffc78c;
  --peach-2: #ffb36b;
  --cream: #fffaf2;
  --bg: #f6f7f3;
  --border: #e3e9e4;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(18, 63, 57, .06), 0 18px 50px rgba(18, 63, 57, .10);
  --display: "Fraunces", Georgia, serif;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--green); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-peach { background: var(--peach); color: var(--night); box-shadow: 0 8px 24px rgba(255, 179, 107, .35); }
.btn-peach:hover { background: var(--peach-2); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.is-disabled { opacity: .6; pointer-events: none; }

/* Topo */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, box-shadow .2s; }
.nav.scrolled { background: rgba(13, 48, 43, .92); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0, 0, 0, .15); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: flex-end; gap: 6px; text-decoration: none; }
.brand span { color: var(--peach); font-size: 11px; font-weight: 700; letter-spacing: .18em; margin-bottom: 6px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #1f5c50 0%, transparent 60%), linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%); padding: 140px 0 90px; }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -120px; bottom: -220px; background: radial-gradient(circle, rgba(255, 199, 140, .28), transparent 65%); filter: blur(10px); }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--peach); margin-bottom: 14px; }
.eyebrow.dark { color: var(--gold); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); }
.hero h1 em { color: var(--peach); }
.lead { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-actions.center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.hero-proof .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); margin-right: 6px; }

/* Simulação do PDV */
.mock { background: var(--bg); color: var(--ink); border-radius: 16px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); font-size: 12px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e5e1d8; }
.mock-bar b { margin-left: 10px; font-weight: 500; color: var(--muted); }
.mock-bar .online { margin-left: auto; font-style: normal; color: var(--green); background: #e6f2ee; padding: 2px 8px; border-radius: 99px; font-size: 11px; }
.mock-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; padding: 14px; }
.mock-search { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; color: var(--muted); }
.mock-chips { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; }
.mock-chips b { font-weight: 500; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border); background: #fff; }
.mock-chips b.on { background: var(--night); color: #fff; border-color: var(--night); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.tile strong { font-size: 12px; }
.tile span { font-weight: 700; font-size: 13px; }
.tile small { color: var(--gold); font-size: 10.5px; }
.tile.in { border-color: var(--green); box-shadow: 0 0 0 2px rgba(38, 119, 101, .15); }
.tile em { position: absolute; top: -7px; right: -7px; font-style: normal; background: var(--green); color: #fff; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.tile em.bump { animation: bump 2.4s ease-in-out infinite; }
@keyframes bump { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.25); } }
.mock-cart { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-customer small { display: block; color: var(--muted); font-size: 10.5px; }
.mock-customer { border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.line { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.line b { white-space: nowrap; }
.line small { display: block; color: var(--muted); font-size: 10.5px; }
.mock-gold { background: #fbf3e4; color: #7a5a22; border-radius: 8px; padding: 6px 8px; font-size: 10.5px; font-weight: 600; }
.mock-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 8px; margin-top: auto; }
.mock-total strong { font-size: 20px; }
.mock-pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mock-pay b { font-weight: 500; text-align: center; font-size: 10px; border: 1px solid var(--border); border-radius: 6px; padding: 4px 0; }
.mock-pay b:first-child { border-color: var(--green); color: var(--green); }
.mock-btn { background: var(--green); color: #fff; text-align: center; font-weight: 700; border-radius: 8px; padding: 8px; }

/* Faixa */
.strip { background: var(--peach); color: var(--night); padding: 16px 0; overflow: hidden; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; font-family: var(--display); font-weight: 600; font-size: 19px; }
.strip i { font-style: normal; color: var(--gold); }

/* Seções */
.section { padding: 100px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%); color: #fff; }
.section.dark h2 em { color: var(--peach); }
.section.dark p { color: rgba(255, 255, 255, .8); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head p { color: var(--muted); font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { font-size: 17px; margin-top: 14px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; background: #e6f2ee; display: grid; place-items: center; }
.ico.gold { background: #fbf3e4; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.gold svg { stroke: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checks.light li::before { background-color: var(--peach); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123f39' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* Equação do atacado */
.equation { background: #fff; border-radius: 24px; padding: 36px 30px; box-shadow: var(--shadow); text-align: center; }
.eq-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pop { position: relative; width: 84px; height: 118px; border-radius: 40px 40px 16px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; margin-bottom: 22px; }
.pop b { font-size: 32px; font-family: var(--display); line-height: 1; }
.pop small { font-size: 12px; font-weight: 600; opacity: .95; }
.pop .stick { position: absolute; bottom: -22px; width: 14px; height: 26px; border-radius: 0 0 7px 7px; background: #e9cfa3; }
.pop.coco { background: linear-gradient(180deg, #f3efe6, #d9cdb5); color: var(--night); }
.pop.morango { background: linear-gradient(180deg, #f08aa0, #d4546f); }
.op { font-size: 34px; font-weight: 700; color: var(--muted); }
.eq-result { width: 96px; height: 96px; border-radius: 50%; background: var(--night); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eq-result b { font-family: var(--display); font-size: 38px; line-height: 1; color: var(--peach); }
.eq-result small { font-size: 12px; }
.eq-prices { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.price { border-radius: 14px; padding: 12px 18px; }
.price small { display: block; font-size: 12px; color: var(--muted); }
.price.old s { font-size: 20px; color: var(--muted); }
.price.new { background: #fbf3e4; }
.price.new strong { font-family: var(--display); font-size: 30px; color: var(--gold); }
.arrow { font-size: 24px; color: var(--muted); }
.eq-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* Offline */
.split.reverse > :first-child { order: 0; }
.offline-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 26px; display: grid; gap: 14px; }
.pill { justify-self: start; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 99px; }
.pill.off { background: #4a2f12; color: var(--peach); }
.pill.on { background: #154f45; color: #9fe3cf; }
.queue { display: grid; gap: 8px; }
.queue div { display: flex; justify-content: space-between; background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 16px; }
.queue div:nth-child(2) { opacity: .8; }
.queue div:nth-child(3) { opacity: .6; }

/* Fluxo */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); }
.flow li { position: relative; text-align: center; padding: 0 8px; }
.flow b { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; font-size: 18px; position: relative; box-shadow: 0 0 0 6px var(--bg); }
.flow li:last-child b { background: var(--gold); }
.flow h3 { font-size: 17px; }
.flow p { color: var(--muted); font-size: 14.5px; }

/* Confiança */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--green); }
.trust-item:nth-child(2) { border-top-color: var(--gold); }
.trust-item:nth-child(3) { border-top-color: var(--peach-2); }
.trust-item p { color: var(--muted); margin: 0; }

/* Planos */
.plans { display: flex; justify-content: center; }
.plan { position: relative; width: min(460px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--green); }
.plan .tag { position: absolute; top: -14px; left: 36px; background: var(--peach); color: var(--night); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-family: var(--display); font-size: 28px; margin-bottom: 4px; }
.plan-price { font-size: 22px; font-weight: 700; color: var(--green); margin-bottom: 20px; }
.plan .btn { width: 100%; }

/* Dúvidas */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 28px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--green); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; }

/* Contato */
.cta { background: radial-gradient(700px 300px at 50% 0%, #1f5c50, transparent 70%), var(--night-2); color: #fff; padding: 100px 0; text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.cta p { color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 34em; }
.cta-mail a { color: var(--peach); }

/* Rodapé */
.footer { background: #fff; padding: 36px 0; border-top: 1px solid var(--border); }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.footer nav a:hover { color: var(--green); }
.footer small { color: var(--muted); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1000px) {
  .hero-in, .split, .faq { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow::before { display: none; }
  .trust { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 2; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  .hero { padding: 110px 0 60px; }
  .section { padding: 70px 0; }
  .features { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-cta .btn-ghost { display: none; }
  .eq-row { gap: 8px; }
  .pop { width: 70px; height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile em.bump { animation: none; }
}

/* ===== Páginas legais ===== */
.legal-page { background: #fffdf9; }
.legal-top { border-bottom: 1px solid rgba(0,0,0,.06); background: #fff; }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.btn-ghost-dark { border: 1px solid rgba(0,0,0,.15); color: inherit; background: transparent; }
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 72px; line-height: 1.7; }
.legal h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 4px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 6px; }
.legal p, .legal li { color: #3d4a47; }
.legal ul { padding-left: 20px; }
.legal a { color: #1f6b5c; }
.legal-date { color: #8a948f; font-size: .9rem; margin-bottom: 28px; }

/* ===== 3 planos ===== */
.plans-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plans-3 .plan { width: auto; display: flex; flex-direction: column; padding: 32px 28px; }
.plans-3 .plan .checks { flex: 1; }
.plans-3 .plan h3 { font-size: 24px; }
.plan-for { color: var(--muted, #5f6b67); margin-bottom: 14px; font-size: 15px; }
.plan-price b { font-size: 34px; letter-spacing: -0.02em; }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--muted, #5f6b67); margin-left: 2px; }
.plans-3 .plan.featured { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(18, 63, 57, .18); }
.btn-ghost-green { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn-ghost-green:hover { background: var(--green); color: #fff; }
.plans-note { text-align: center; margin-top: 28px; color: var(--muted, #5f6b67); font-size: 15px; }
@media (max-width: 900px) { .plans-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plans-3 .plan.featured { transform: none; order: -1; } }
