/* Olivet Payments — site styles
   Palette: olive + cream + copper. Display: Plus Jakarta Sans. Body: Public Sans. */

:root {
  --ink: #15190f;
  --olive-900: #1d281b;
  --olive-700: #2f3f2b;
  --olive-500: #5a6b4b;
  --olive-300: #9aa98a;
  --cream: #f6f2e9;
  --sand: #ebe4d3;
  --paper: #fffdf8;
  --copper: #b8703a;
  --copper-soft: #e8c9ad;
  --line: rgba(29, 40, 27, 0.14);
  --max: 1160px;
  --radius: 18px;
  --shadow: 0 30px 60px -30px rgba(21, 25, 15, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* fine grain, keeps the cream from looking flat */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.12 0 0 0 0 0.06 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, .display {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin-bottom: 1rem; display: block;
}
.lede { font-size: 1.2rem; color: var(--olive-700); max-width: 56ch; }

/* ---------- header ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--olive-700); }
.nav ul a:hover { color: var(--copper); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; border: 1.5px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--olive-900); color: var(--cream); }
.btn-primary:hover { background: var(--olive-700); }
.btn-ghost { border-color: var(--olive-900); color: var(--olive-900); }
.btn-ghost:hover { background: var(--olive-900); color: var(--cream); }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 56px 0 72px;
}
.hero h1 .accent { color: var(--olive-500); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { font-size: .9rem; color: var(--olive-500); margin-top: 18px; }

/* the "flow card": BRL in, your currency out */
.flow {
  background: var(--olive-900); color: var(--cream);
  border-radius: 26px; padding: 30px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.flow::after {
  content: ""; position: absolute; inset: auto -40% -45% auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(184,112,58,.55), transparent 65%);
}
.flow .row { display: flex; justify-content: space-between; align-items: baseline; position: relative; }
.flow .lbl { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-300); }
.flow .amt { font-family: "Plus Jakarta Sans", sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.flow .mid {
  display: flex; align-items: center; gap: 12px; margin: 22px 0;
  font-size: .85rem; color: var(--olive-300);
}
.flow .mid::before, .flow .mid::after { content: ""; flex: 1; height: 1px; background: rgba(246,242,233,.18); }
.flow .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; position: relative; }
.flow .chip {
  font-size: .78rem; padding: 6px 11px; border-radius: 999px;
  border: 1px solid rgba(246,242,233,.25); color: var(--cream);
}
.flow .chip.on { background: var(--copper); border-color: var(--copper); }

/* ---------- trust strip ---------- */
.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust ul {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.trust li { font-size: .9rem; color: var(--olive-700); display: flex; gap: 10px; align-items: flex-start; }
.trust li svg { flex: none; width: 18px; height: 18px; color: var(--copper); margin-top: 3px; }

/* ---------- partners ---------- */
.partners { padding: 56px 0 24px; }
.partners-head { text-align: center; color: var(--olive-500); font-size: .95rem; margin: 0 0 28px; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.partner {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; text-decoration: none; color: var(--olive-700); font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.partner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.partner img { width: 100%; max-height: 48px; object-fit: contain; display: block; }
.partner strong { color: var(--ink); }
@media (max-width: 960px) { .partner-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; gap: 14px; } .partner img { max-width: 150px; } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.sec-head { max-width: 62ch; margin-bottom: 44px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--olive-700); margin: 0; font-size: 1rem; }
.card .num {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 2.1rem; color: var(--copper); line-height: 1;
  margin-bottom: 14px; font-weight: 700; letter-spacing: -0.03em;
}

/* problem / solution two column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split .col-dark {
  background: var(--olive-900); color: var(--cream); border-radius: var(--radius); padding: 36px;
}
.split .col-dark h3 { color: var(--copper-soft); }
.split ul { list-style: none; padding: 0; margin: 0; }
.split li { padding: 14px 0; border-top: 1px solid rgba(246,242,233,.14); }
.split .col-light li { border-color: var(--line); }
.split li strong { display: block; margin-bottom: 4px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--olive-300), transparent);
}
.step { padding: 0 24px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--olive-300);
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 1rem; font-weight: 600; color: var(--olive-700);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--olive-700); font-size: .98rem; margin: 0; }

/* compare table */
.compare { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .97rem; }
.compare th { font-weight: 600; color: var(--olive-700); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; background: var(--sand); }
.compare td:first-child { font-weight: 500; }
.compare .yes { color: var(--olive-500); font-weight: 600; }
.compare .no { color: #9b5b3a; }
.compare tr:last-child td { border-bottom: 0; }
.compare .hl { background: rgba(184,112,58,.08); }

/* pricing */
.price {
  background: var(--olive-900); color: var(--cream); border-radius: 26px; padding: 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.price h2 { color: var(--cream); }
.price .lede { color: var(--olive-300); }
.price ul { list-style: none; padding: 0; margin: 0; }
.price li { padding: 12px 0; border-top: 1px solid rgba(246,242,233,.14); display: flex; gap: 12px; }
.price li svg { flex: none; width: 18px; height: 18px; color: var(--copper-soft); margin-top: 4px; }

/* regions */
.regions { display: flex; flex-wrap: wrap; gap: 12px; }
.regions span {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font-size: .95rem;
}

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 1.1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-size: 1.5rem; font-family: "Public Sans", sans-serif; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--olive-700); margin: 12px 0 0; max-width: 70ch; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; font-size: .97rem; }
.about dt { color: var(--olive-500); }
.about dd { margin: 0; }

/* contact */
.contact {
  text-align: center; padding: 96px 0;
}
.contact h2 { max-width: 20ch; margin-inline: auto; }
.contact .lede { margin: 18px auto 32px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: .88rem; color: var(--olive-700); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--copper); }
.legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--olive-500); max-width: 90ch; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* legal pages */
.doc { max-width: 76ch; padding: 48px 0 96px; }
.doc h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.doc .meta { color: var(--olive-500); font-size: .9rem; margin-bottom: 36px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc ul { padding-left: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr 1fr; gap: 22px; }
  .steps::before { display: none; }
  .split, .price, .about, .foot { grid-template-columns: 1fr; }
  .price { padding: 36px; }
}
@media (max-width: 640px) {
  .nav ul { display: none; }
  .cards, .steps, .trust ul { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .compare { display: block; overflow-x: auto; }
}
