/* Okopha Microcrédito: estilos partilhados por todas as páginas */
:root {
  --white: #ffffff;
  --paper: #f3f7f4;
  --ink: #10201a;
  --muted: #54655c;
  --line: #dfe8e2;
  --green: #0b5d3b;
  --green-deep: #06432d;
  --green-night: #042a1c;
  --green-soft: #e5f1ea;
  --gold: #f2a900;
  --gold-soft: #fff4d6;
  --font-display: 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 28px 60px -32px rgba(4,42,28,.35), 0 2px 8px rgba(4,42,28,.06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 100px; }
.section.paper { background: var(--paper); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 6px 13px; border-radius: 999px; }
.kicker.on-dark { background: rgba(255,255,255,.1); color: #ffd56b; }
.head { max-width: 680px; display: grid; gap: 16px; margin-bottom: 52px; justify-items: start; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.head p { color: var(--muted); font-size: 18px; }
.ico { width: 22px; height: 22px; flex: none; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 12px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #1b1300; }
.btn-gold:hover { background: #ffb81f; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* Barra superior */
.topbar { background: var(--green-night); color: #b9d3c6; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topbar .grp { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }

/* Cabeçalho */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
footer .brand img { height: 52px; }
.links { display: flex; align-items: center; gap: 28px; }
.links a { white-space: nowrap; }
.links a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 15px; color: #3f5148; }
.links a:not(.btn):hover { color: var(--green); }
.links .btn { padding: 11px 20px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; background: var(--green-deep); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 600px; }
.hero-copy { padding: 80px 56px 120px max(20px, calc((100vw - 1200px) / 2 + 20px)); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.hero-copy::before { content: ""; position: absolute; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(255,255,255,.035); pointer-events: none; }
.hero-copy .kicker { align-self: flex-start; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; margin-top: 22px; max-width: 620px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-top: 22px; font-size: 19px; color: #cfe3d8; max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-photo { position: relative; min-height: 100%; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--green-deep) 0%, rgba(6,67,45,.35) 22%, rgba(6,67,45,0) 45%); }
.badge { position: absolute; z-index: 2; left: 28px; bottom: 120px; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); max-width: 280px; }
.badge .bi { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: #9a6a00; display: grid; place-items: center; flex: none; }
.badge b { display: block; font-family: var(--font-display); font-size: 15px; line-height: 1.25; }
.badge small { color: var(--muted); font-size: 13px; }

/* Faixa de factos sobre o hero */
.facts { position: relative; z-index: 5; margin-top: -64px; }
.facts .box { background: #fff; border-radius: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 28px; display: flex; gap: 14px; align-items: center; min-width: 0; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .fi { width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(17px, 1.5vw, 20px); white-space: nowrap; font-weight: 700; color: var(--ink); line-height: 1.2; }
.fact span { color: var(--muted); font-size: 14.5px; }

/* Produtos */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; min-width: 0; }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-soft); }
.prod figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod:hover figure img { transform: scale(1.05); }
.prod .chip { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--green-deep); font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.prod .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prod h3 { font-size: 20px; font-weight: 600; }
.prod p { color: var(--muted); font-size: 15.5px; }
.prod dl { margin: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.prod dt { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.prod dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.prod .more { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--green); text-decoration: none; background: none; border: 0; padding: 4px 0 0; cursor: pointer; }
.prod .more svg { width: 18px; height: 18px; transition: transform .15s ease; }
.prod .more:hover svg { transform: translateX(4px); }

/* Simulador */
.sim-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 56px; align-items: start; }
.sim-info h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin-top: 16px; }
.sim-info > p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.sim { background: #fff; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--green-deep); padding: 8px; gap: 6px; }
.tab { font: 600 14px var(--font-display); color: #cfe3d8; background: transparent; border: 0; border-radius: 12px; padding: 12px 8px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.tab[aria-selected="true"] { background: #fff; color: var(--green-deep); }
.sim-body { padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.field + .field { margin-top: 28px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field label { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.amount-in { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; border: 2px solid var(--line); border-radius: 12px; padding: 4px 14px; background: #fff; transition: border-color .15s ease; }
.amount-in:focus-within { border-color: var(--green); }
.amount-in input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; padding: 6px 0; }
.amount-in span { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--muted); }
.field .help { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.field .help.warn { color: #b4540a; font-weight: 700; }
.quote { min-width: 0; }
.quote .r > span, .quote .r b { white-space: nowrap; }
.quote .pay > span, .quote .pay small { white-space: nowrap; }
.quote .r.tot { color: var(--ink); font-weight: 700; }
.quote .r.tot b { font-size: 17px; }
.field output {font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; display: block; margin-top: 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 18px 0 10px; border-radius: 99px; background: linear-gradient(var(--green), var(--green)) 0 / var(--p, 50%) 100% no-repeat, var(--line); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 7px solid var(--green); box-shadow: 0 4px 10px rgba(4,42,28,.25); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 7px solid var(--green); box-shadow: 0 4px 10px rgba(4,42,28,.25); }
.scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.quote { background: var(--paper); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.quote .lbl { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quote .pay { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); color: var(--green); line-height: 1.1; font-variant-numeric: tabular-nums; }
.quote .pay small { font-size: 16px; color: var(--muted); font-weight: 600; }
.quote .r { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.quote .r b { color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.quote .btn { margin-top: 6px; }
.sim-foot { padding: 0 32px 28px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.sim-foot .fine { font-size: 13px; color: var(--muted); max-width: 420px; }
.linkbtn { font: 600 14.5px var(--font-display); color: var(--green); background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 6px 0; }
.linkbtn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.linkbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.plan { padding: 0 32px 32px; }
.plan[hidden] { display: none; }
.plan-scroll { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 14px; text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { position: sticky; top: 0; background: var(--green-soft); color: var(--green-deep); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:nth-child(even) { background: var(--paper); }

/* Requisitos */
.req { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 22px; align-items: stretch; }
.req-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; min-width: 0; }
.req-card .ri { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.req-card h3 { font-size: 20px; font-weight: 600; margin: 18px 0 16px; }
.req-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.req-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; }
.req-card li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.req-aside { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; color: #fff; display: flex; align-items: flex-end; }
.req-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.req-aside::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,42,28,0) 35%, rgba(4,42,28,.92) 100%); }
.req-aside div { position: relative; z-index: 2; padding: 26px; display: grid; gap: 10px; }
.req-aside h3 { font-size: 20px; font-weight: 600; }
.req-aside p { color: #d5e7dd; font-size: 15px; }
.req-aside a { color: var(--gold); font-weight: 700; text-decoration: none; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); }
.step { position: relative; text-align: center; display: grid; justify-items: center; align-content: start; gap: 10px; min-width: 0; }
.step .si { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line); }
.step .si svg { width: 28px; height: 28px; }
.step h3 { font-size: 18px; font-weight: 600; margin-top: 12px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 250px; }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; }
.about-photo .stamp { position: absolute; right: -18px; bottom: -22px; background: var(--gold); color: #1b1300; border-radius: 18px; padding: 18px 22px; max-width: 230px; box-shadow: var(--shadow); }
.about-photo .stamp b { font-family: var(--font-display); font-size: 17px; display: block; line-height: 1.3; }
.about h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 16px 0 20px; }
.about-copy > p { color: var(--muted); }
.about-copy > p + p { margin-top: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.value { background: var(--paper); border-radius: 16px; padding: 20px; min-width: 0; }
.value .vi { width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--green); display: grid; place-items: center; }
.value h3 { font-size: 16px; font-weight: 600; margin: 12px 0 4px; }
.value p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* Perguntas frequentes */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s ease; }
.faq details[open] { border-color: #bfd6c9; box-shadow: 0 16px 34px -26px rgba(4,42,28,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; transition: transform .2s ease; }
.faq summary i svg { width: 18px; height: 18px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq .ans { padding: 0 24px 22px; color: var(--muted); }

/* Faixa CTA */
.band { position: relative; color: #fff; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4,42,28,.96) 0%, rgba(6,67,45,.88) 50%, rgba(6,67,45,.55) 100%); }
.band .wrap { position: relative; z-index: 2; padding-block: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 700; max-width: 640px; }
.band p { margin-top: 12px; color: #cfe3d8; max-width: 560px; font-size: 18px; }
.band .cta { margin-top: 0; }

/* Contactos */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 16px 0 14px; }
.contact-copy > p { color: var(--muted); margin-bottom: 28px; }
.clist { display: grid; gap: 14px; }
.ci { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--paper); border-radius: 14px; padding: 14px 16px; text-decoration: none; }
a.ci:hover { background: var(--green-soft); }
.ci .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--green); display: grid; place-items: center; }
.ci b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.ci span { font-size: 16.5px; font-weight: 700; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: grid; gap: 16px; min-width: 0; box-shadow: var(--shadow); }
.form h3 { font-size: 22px; font-weight: 600; }
.form > p { color: var(--muted); font-size: 15px; margin-top: -8px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; width: 100%; padding: 13px 14px; border: 1px solid #cfdcd4; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(11,107,69,.22); border-color: var(--green); }
.form textarea { min-height: 100px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.msg { font-size: 14px; font-weight: 700; color: var(--green); min-height: 20px; }
.msg.err { color: #b4540a; }
.msg a { color: inherit; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.form-btns .btn { flex: 1 1 200px; justify-content: center; }
.form-btns .btn:disabled { opacity: .6; cursor: wait; }

/* Rodapé */
footer { background: var(--green-night); color: #a9c2b6; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 68px 48px; }
.foot-about p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.license { margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; color: #d9e8e0; background: rgba(255,255,255,.06); padding: 8px 12px; border-radius: 10px; }
.license[hidden] { display: none; }
.social { margin-top: 18px; display: flex; width: fit-content; gap: 8px; align-items: center; color: #d9e8e0; font-weight: 600; }
.social svg { width: 20px; height: 20px; }
footer h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; }

/* WhatsApp flutuante */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .15s ease; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; }

/* Entrada suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Marca de água de demonstração (ligada em CONFIG) */
.watermark { display: none; }
body.demo .watermark { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='380' height='230'><g transform='rotate(-24 190 115)' font-family='Arial,Helvetica,sans-serif' text-anchor='middle'><text x='190' y='112' font-size='30' font-weight='700' letter-spacing='4' fill='rgba(110,110,110,0.17)'>DEMO · AGIPROC</text><text x='190' y='138' font-size='14' font-weight='700' letter-spacing='3' fill='rgba(110,110,110,0.15)'>NÃO COPIAR</text></g></svg>"); }

@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .sim-grid { grid-template-columns: 1fr; gap: 40px; }
  .req { grid-template-columns: 1fr 1fr; }
  .req-aside { grid-column: 1 / -1; min-height: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* Menu recolhido: com 6 ligações o menu não cabe numa linha abaixo de 1080px */
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .links { position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 14px; padding: 14px 20px; }
}
@media (max-width: 900px) {
  .section { padding-block: 72px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 20px 48px; }
  .hero-photo { min-height: 360px; }
  .hero-photo::before { background: linear-gradient(180deg, var(--green-deep) 0%, rgba(6,67,45,0) 30%); }
  .badge { bottom: 92px; left: 20px; }
  .facts .box { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .about, .contact { grid-template-columns: 1fr; gap: 56px; }
  .about-photo .stamp { right: 14px; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .products, .req, .values { grid-template-columns: 1fr; }
  .sim-body { grid-template-columns: 1fr; padding: 24px; gap: 26px; }
  .sim-foot, .plan { padding-inline: 24px; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .fact { padding: 18px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .fact .fi { width: 40px; height: 40px; }
  .fact b { font-size: 17px; white-space: normal; }
  .fact span { font-size: 13.5px; }
  .form { padding: 24px; }
  .row2 { grid-template-columns: 1fr; }
  .band .cta, .band .btn, .hero .cta .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar .grp:last-child { display: none; }
  .badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .prod, .prod figure img, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Modalidades de pagamento (página inicial e /modalidades) ===== */
.modes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mode { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; min-width: 0; }
.mode:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfd6c9; }
.mode .mi { width: 46px; height: 46px; border-radius: 13px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.mode h3 { font-size: 18px; font-weight: 600; }
.mode p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.mode .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--green); }
.mode .go svg { width: 16px; height: 16px; transition: transform .15s ease; }
.mode:hover .go svg { transform: translateX(3px); }
.section.paper .mode { border-color: transparent; }

/* Cabeçalho das páginas interiores */
.page-hero { background: var(--green-deep); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -140px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 56px solid rgba(255,255,255,.04); pointer-events: none; }
.page-hero .wrap { padding-block: 64px 72px; position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #a9c9b8; margin-bottom: 22px; }
.crumbs a { color: #d9ece2; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; max-width: 820px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead { margin-top: 20px; font-size: 19px; color: #cfe3d8; max-width: 680px; }
.page-hero .cta { margin-top: 30px; }
.page-hero + .modes-strip { margin-top: -36px; position: relative; z-index: 3; }

/* Detalhe de cada modalidade */
.mdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mdetail + .mdetail { margin-top: 96px; }
.mdetail:nth-child(even) .mphoto { order: 2; }
.mphoto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.mcopy h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; margin: 14px 0 16px; }
.mcopy > p { color: var(--muted); }
.mcopy > p + p { margin-top: 12px; }
.mcopy h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); margin: 26px 0 12px; font-weight: 700; }
.mcopy .ticks { margin-top: 0; }
.mcopy .cta { margin-top: 28px; }
.btn-line { background: #fff; color: var(--green); border-color: var(--green); }
.btn-line:hover { background: var(--green-soft); transform: translateY(-2px); }

/* Tabela comparativa */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.compare { font-size: 15.5px; font-variant-numeric: normal; }
.compare th, .compare td { text-align: left; white-space: normal; padding: 16px 18px; vertical-align: top; }
.compare thead th { position: static; }
.compare td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--green-deep); white-space: nowrap; }
.compare td:first-child a { text-decoration: none; }
.compare td:first-child a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .modes { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .mdetail { grid-template-columns: 1fr; gap: 28px; }
  .mdetail:nth-child(even) .mphoto { order: 0; }
  .mdetail + .mdetail { margin-top: 72px; }
  .page-hero .wrap { padding-block: 48px 64px; }
}
@media (max-width: 640px) {
  .modes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mode { padding: 18px 16px; }
  .page-hero .cta .btn { width: 100%; }
}