:root {
  --blue: #4F6C8A;
  --blue-deep: #2E4560;
  --blue-night: #1F3147;
  --gold: #D9AA6A;
  --gold-light: #EBC88E;
  --gold-dark: #C9954F;
  --cream: #F5EFE4;
  --ink: #1E2A38;
  --muted: #5F6E7E;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(31, 49, 71, .35);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: inline-block; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.7em; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 1.25em; height: 1.25em; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--blue-night);
  box-shadow: 0 10px 30px -10px rgba(217, 170, 106, .8);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(217, 170, 106, .9); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: .6em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); }
.brand-mark { width: 44px; height: 44px; color: var(--gold); flex-shrink: 0; }
.brand-mark.sm { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { font-family: var(--font-head); font-size: .58rem; letter-spacing: .2em; color: var(--gold); margin-top: 4px; font-weight: 600; }

/* Topbar */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.topbar.scrolled { background: rgba(31, 49, 71, .92); backdrop-filter: blur(10px); padding: 8px 0; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--gold); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(1200px 600px at 80% -10%, #5E7DA0 0%, transparent 60%),
              linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 60%, var(--blue-night) 100%);
  padding: 150px 0 110px;
}
.hero-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,170,106,.28), transparent 65%);
  left: -160px; bottom: -220px; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.tag {
  display: inline-block; padding: .4em 1em; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(217,170,106,.15); color: var(--gold-light); border: 1px solid rgba(217,170,106,.4); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero-pills li { display: flex; align-items: center; gap: .4rem; }
.hero-pills svg { width: 18px; height: 18px; color: var(--gold); }

.chat {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: 24px; padding: 1.2rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); transform: rotate(1.5deg);
}
.chat-head { display: flex; align-items: center; gap: .7rem; padding-bottom: .9rem; border-bottom: 1px solid #E8ECF1; margin-bottom: .9rem; }
.chat-head .brand-mark { background: var(--blue); border-radius: 10px; padding: 4px; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.chat-head span { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.dot { width: 8px; height: 8px; background: #2ECC71; border-radius: 50%; display: inline-block; }
.msg { max-width: 85%; padding: .65rem .9rem; border-radius: 16px; font-size: .9rem; margin-bottom: .6rem; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: pop .5s forwards; }
.msg.in { background: #EEF2F6; border-bottom-left-radius: 4px; }
.msg.out { background: var(--blue); color: var(--white); margin-left: auto; border-bottom-right-radius: 4px; }
.msg:nth-of-type(2) { animation-delay: .5s; }
.msg:nth-of-type(3) { animation-delay: 1.4s; }
.msg:nth-of-type(4) { animation-delay: 2.2s; }
.msg:nth-of-type(5) { animation-delay: 3.1s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.chat-foot { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.badge-lead, .badge-time { font-size: .75rem; font-weight: 600; padding: .35em .8em; border-radius: 999px; }
.badge-lead { background: #FFF3E0; color: #B26A00; }
.badge-time { background: #E8F7EE; color: #1E8449; }

/* Sections */
.section { padding: 100px 0; }
.section-dark { background: linear-gradient(170deg, var(--blue-deep), var(--blue-night)); color: var(--white); }
.section-soft { background: var(--cream); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.2rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .8rem;
}
.section-dark .eyebrow { color: var(--gold); }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid #E6EBF0; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.card-ico { font-size: 2rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.2rem; color: var(--blue-deep); }
.card p { color: var(--muted); margin: 0; }

/* Cost */
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.cost-table, .cost-limits { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem; }
.cost-table h3, .cost-limits h3 { font-size: 1.2rem; color: var(--gold-light); }
.cost-table li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(255,255,255,.15); color: rgba(255,255,255,.85); }
.cost-table li.total { border-bottom: 0; font-size: 1.05rem; color: var(--white); }
.cost-table li.total b { color: var(--gold); }
.cost-sum { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem; margin-top: 1rem; }
.cost-sum > div { background: rgba(0,0,0,.18); border-radius: 14px; padding: 1rem 1.2rem; }
.cost-sum small { display: block; color: rgba(255,255,255,.7); font-size: .8rem; }
.cost-sum strong { font-family: var(--font-head); font-size: 1.6rem; }
.cost-sum .big { background: rgba(231, 76, 60, .18); border: 1px solid rgba(231, 76, 60, .45); }
.cost-sum .big strong { color: #FF8A7A; font-size: 2rem; }
.x-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; color: rgba(255,255,255,.88); }
.x-list svg { width: 20px; height: 20px; color: #FF8A7A; flex-shrink: 0; margin-top: 3px; }

.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.vs-col { border-radius: var(--radius); padding: 2rem; }
.vs-col h4 { font-size: 1.25rem; }
.vs-col li { padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.vs-col li:last-child { border-bottom: 0; font-weight: 700; }
.vs-col.human { background: rgba(255,255,255,.05); color: rgba(255,255,255,.75); }
.vs-col.ai { background: linear-gradient(145deg, rgba(217,170,106,.22), rgba(217,170,106,.06)); border: 1px solid rgba(217,170,106,.55); }
.vs-col.ai h4, .vs-col.ai li:last-child { color: var(--gold-light); }
.vs-badge {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--blue-night); font-family: var(--font-head); font-weight: 800;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature { position: relative; padding: 2rem; border-radius: var(--radius); background: var(--white); border: 1px solid #E6EBF0; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.f-num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: rgba(79,108,138,.18); display: block; margin-bottom: .2rem; }
.feature h3 { font-size: 1.12rem; color: var(--blue-deep); }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature-highlight { background: linear-gradient(150deg, var(--blue), var(--blue-deep)); border: 0; }
.feature-highlight .f-num { color: rgba(217,170,106,.5); }
.feature-highlight h3 { color: var(--gold-light); }
.feature-highlight p { color: rgba(255,255,255,.85); }

/* Site / RAG */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--blue-deep); }
.check-list li { display: flex; gap: .8rem; padding: .7rem 0; }
.check-list svg { width: 22px; height: 22px; color: var(--white); background: var(--gold-dark); border-radius: 50%; padding: 4px; flex-shrink: 0; margin-top: 2px; }
.check-list b { color: var(--blue-deep); }
.rag-flow { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.rag-node { width: 100%; text-align: center; background: var(--white); border-radius: 16px; padding: 1.2rem; font-family: var(--font-head); font-weight: 700; color: var(--blue-deep); box-shadow: var(--shadow); }
.rag-node small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .85rem; }
.rag-node.gold-node { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: var(--blue-night); }
.rag-node.gold-node small { color: rgba(31,49,71,.8); }
.rag-arrow { font-size: 1.5rem; color: var(--gold-dark); font-weight: 700; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.benefit { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius); background: linear-gradient(180deg, #F8FAFC, var(--white)); border: 1px solid #E6EBF0; }
.benefit span { font-size: 2.2rem; display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgba(217,170,106,.15); margin-bottom: 1rem; }
.benefit h3 { font-size: 1.15rem; color: var(--blue-deep); }
.benefit p { color: var(--muted); margin: 0; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
.price-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 2.2rem 1.8rem; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.3rem; color: var(--white); }
.price-card .desc { color: rgba(255,255,255,.72); font-size: .94rem; flex-grow: 1; }
.from { color: rgba(255,255,255,.6); font-size: .95rem; }
.from s { color: #FF8A7A; text-decoration-thickness: 2px; }
.to { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; color: var(--gold); line-height: 1.1; margin: .2rem 0; }
.to small { font-size: .9rem; color: rgba(255,255,255,.7); font-weight: 500; }
.to span { font-size: 1.1rem; }
.pay { font-size: .85rem; color: rgba(255,255,255,.65); }
.price-card.featured { background: linear-gradient(160deg, rgba(217,170,106,.25), rgba(217,170,106,.06)); border: 2px solid var(--gold); transform: translateY(-8px); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--gold); color: var(--blue-night); font-weight: 700; font-size: .78rem; padding: .35em 1em; border-radius: 999px;
}
.total-box {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center;
  background: var(--white); color: var(--ink); border-radius: 24px; padding: 2.4rem;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.6);
}
.total-left small { color: var(--muted); font-weight: 600; }
.total-box .from { color: var(--muted); }
.total-box .from s { color: #D64535; }
.total-to { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--blue-deep); }
.installments { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); border-radius: 18px; padding: 1.2rem 1.5rem; text-align: center; color: var(--blue-night); }
.installments small { display: block; font-weight: 600; }
.installments strong { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; display: block; }
.feb { margin-top: 1rem; text-align: center; background: #EEF2F6; border-radius: 12px; padding: .8rem; color: var(--blue-deep); }

/* Bars */
.bars { max-width: 960px; margin: 0 auto 3rem; display: grid; gap: 1.4rem; }
.bar-row { display: grid; grid-template-columns: 260px 1fr; gap: 1.2rem; align-items: center; }
.bar-label { font-family: var(--font-head); font-weight: 700; color: var(--blue-deep); }
.bar-label small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .82rem; }
.bar-track { background: #EEF2F6; border-radius: 12px; height: 56px; overflow: visible; }
.bar { height: 100%; width: 0; border-radius: 12px; position: relative; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.bar span { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--font-head); font-weight: 800; color: var(--blue-deep); }
.bar.human { background: linear-gradient(90deg, #E8796A, #D64535); }
.bar.human span { left: auto; right: 16px; color: var(--white); }
.bar.ai { background: linear-gradient(90deg, var(--gold-light), var(--gold-dark)); }
.bar.ai2 { background: linear-gradient(90deg, var(--blue), var(--blue-deep)); }
.savings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.saving { text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius); background: linear-gradient(150deg, var(--blue), var(--blue-deep)); color: var(--white); }
.saving small { color: rgba(255,255,255,.75); display: block; }
.saving strong { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--gold-light); display: block; margin: .3rem 0; }
.pct { display: inline-block; background: rgba(217,170,106,.2); color: var(--gold-light); padding: .25em .9em; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.footnote { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 2rem; }

/* Timeline */
.timeline { max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), var(--blue)); }
.timeline li { position: relative; display: flex; gap: 1.5rem; padding: 1rem 0; }
.timeline li > span {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--blue-deep); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; border: 3px solid var(--cream);
}
.timeline h3 { font-size: 1.15rem; color: var(--blue-deep); margin-bottom: .3rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Accept */
.accept { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.accept h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; }
.summary { margin: 1.5rem 0; }
.summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary b { color: var(--gold-light); text-align: right; }
.validity { background: rgba(217,170,106,.12); border: 1px solid rgba(217,170,106,.35); border-radius: 12px; padding: .9rem 1.1rem; }
.accept-form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 2.2rem; box-shadow: 0 30px 70px -25px rgba(0,0,0,.6); }
.accept-form h3 { color: var(--blue-deep); font-size: 1.3rem; }
.accept-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--blue-deep); margin-bottom: 1rem; }
.accept-form input[type="text"], .accept-form input[type="email"], .accept-form input[type="tel"] {
  display: block; width: 100%; margin-top: .35rem; padding: .8rem 1rem; border: 1.5px solid #D7DEE6; border-radius: 12px;
  font: inherit; font-weight: 400; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.accept-form input:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 4px rgba(217,170,106,.2); }
.accept-form input.invalid { border-color: #D64535; }
.accept-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.accept-form fieldset { border: 1.5px solid #D7DEE6; border-radius: 12px; padding: .8rem 1rem .2rem; margin: 0 0 1rem; }
.accept-form legend { font-size: .85rem; font-weight: 600; color: var(--blue-deep); padding: 0 .4rem; }
.accept-form .radio { display: flex; align-items: center; gap: .55rem; font-weight: 500; margin-bottom: .7rem; cursor: pointer; }
.accept-form .radio input { accent-color: var(--gold-dark); width: 18px; height: 18px; }
.form-error { color: #D64535; font-size: .88rem; font-weight: 600; }

/* Footer */
.footer { background: var(--blue-night); color: rgba(255,255,255,.75); padding: 3rem 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer p { margin: 0; }
.footer .muted { font-size: .82rem; color: rgba(255,255,255,.5); }

.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .msg { opacity: 1; transform: none; transition: none; animation: none; }
  .bar { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .accept, .cost-grid, .total-box { grid-template-columns: 1fr; }
  .features, .benefits, .prices, .savings, .cards-3 { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 120px 0 80px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .features, .benefits, .prices, .savings, .cards-3 { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs-badge { margin: 0 auto; }
  .bar-row { grid-template-columns: 1fr; gap: .5rem; }
  .accept-form .row { grid-template-columns: 1fr; }
  .cost-sum { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .nav .btn-sm { padding: .55em 1em; font-size: .82rem; }
  .total-box, .accept-form { padding: 1.6rem; }
  .chat { transform: none; }
}
