/* evencount website — brand tokens from the Evencount brand guidelines (Option B, deep teal) */
:root {
  --teal-700: #14535C;
  --teal-900: #0E3B41;
  --teal-600: #1F6E78;
  --mint-500: #5FAE94;
  --mint-300: #7FD1B5;
  --mint-100: #E3F2EC;
  --ink: #10272B;
  --ink-2: #2D3F3A;
  --ink-muted: #4A5852;
  --on-dark-muted: #D5E6E1;
  --surface: #F6F8F5;
  --surface-raised: #FFFFFF;
  --border: #DCE3DE;
  --positive: #1F7A55;
  --negative: #B4232F;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 24px 48px -32px rgba(16, 39, 43, .35);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); }
a:hover { color: var(--teal-900); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal-700); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint-500); outline-offset: 2px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--white { background: var(--surface-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--teal-900); color: #fff; }
.section--brand { background: var(--teal-700); color: #fff; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.section--dark .eyebrow, .section--brand .eyebrow, .hero--page .eyebrow { color: var(--mint-300); }
.h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 800; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 800; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-muted); }
.section--dark .lead, .section--brand .lead { color: var(--on-dark-muted); }
.muted { color: var(--ink-muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.intro { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-md); font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-900); color: #fff; }
.btn--ghost { background: var(--surface-raised); color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--teal-700); color: var(--teal-700); }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover { background: var(--mint-100); color: var(--teal-900); }
.btn--whatsapp { background: var(--mint-300); color: var(--teal-900); }
.btn--whatsapp:hover { background: #fff; color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.wordmark { font-size: 24px; letter-spacing: -0.03em; line-height: 1; }
.wordmark .l { font-weight: 300; } .wordmark .b { font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-links a:hover { background: var(--mint-100); color: var(--teal-900); }
.nav-links a[aria-current="page"] { color: var(--teal-700); box-shadow: inset 0 -3px 0 var(--mint-500); border-radius: 0; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 24px; }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { width: 100%; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--mint-500); }
  .nav-cta { margin: 8px 0 0; width: 100%; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -180px; width: 640px; height: 640px; border: 56px solid var(--mint-100); border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 80px 0 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 9999px; background: var(--mint-100); color: var(--teal-700); font-size: 13px; font-weight: 700; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding: 56px 0; } }

.hero--page { background: var(--teal-700); color: #fff; position: relative; overflow: hidden; }
.hero--page::after { content: ""; position: absolute; right: -140px; top: -120px; width: 460px; height: 460px; border: 48px solid var(--teal-600); border-radius: 50%; pointer-events: none; }
.hero--page .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero--page .inner { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.hero--page .lead { color: var(--on-dark-muted); }
.breadcrumb { font-size: 14px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--mint-300); }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card--tint { background: var(--surface); border: 0; }
.section--white .card--tint { background: var(--surface); }
.card--mint { background: var(--mint-100); border: 0; }
.card--brand { background: var(--teal-700); color: #fff; border: 0; }
.card--brand p, .card--brand li { color: var(--on-dark-muted); }
.card--deep { background: var(--teal-600); color: #fff; border: 0; }
.card--deep p { color: var(--on-dark-muted); }
.card .icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--mint-100); display: inline-flex; align-items: center; justify-content: center; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--teal-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
.card-link { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card-link::after { content: "→"; transition: transform .15s; }
.card:hover .card-link::after { transform: translateX(3px); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--teal-700); transform: translateY(-2px); }
.step-num { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--teal-700); }
.section--dark .step-num, .card--brand .step-num, .card--deep .step-num { color: var(--mint-300); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--teal-700); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 12px; width: 9px; height: 3px; border-radius: 2px; background: var(--mint-500); }
.section--dark .checklist li::before, .card--brand .checklist li::before { border-color: #fff; }
.section--dark .checklist li::after, .card--brand .checklist li::after { background: var(--mint-300); }

/* Dashboard mock */
.mock { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; margin: 0; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mock-title { font-size: 15px; font-weight: 800; }
.mock-meta { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpi { padding: 12px; border-radius: var(--radius-md); background: var(--surface); }
.kpi p:first-child { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.kpi p:last-child { font-size: 19px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mock-row { display: flex; flex-wrap: wrap; gap: 14px; }
.panel { flex: 2 1 240px; min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.panel--side { flex: 1 1 180px; display: flex; flex-direction: column; gap: 10px; }
.panel-title { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.bars { height: 120px; display: flex; align-items: flex-end; gap: 10px; }
.bar-pair { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 3px; }
.bar { flex: 1; border-radius: 4px 4px 0 0; }
.bar--rev { background: var(--teal-700); } .bar--exp { background: var(--mint-500); }
.legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.watch { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.watch b.pos { color: var(--positive); } .watch b.neg { color: var(--negative); } .watch b.neu { color: var(--ink-muted); }
.caption { font-size: 12px; color: var(--ink-muted); }

/* Currency demo */
.fx { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.fx label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.fx input { min-height: 48px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; background: #fff; }
.fx input:focus { border: 2px solid var(--teal-700); outline: none; }
.fx-rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.fx-note { font-size: 13px; color: var(--ink-muted); }

/* Flow */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: none; }
.flow li { background: var(--teal-700); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.flow li p { color: var(--on-dark-muted); }
.flow li h3 { color: #fff; }

/* Coming soon */
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 24px; border: 1px dashed var(--mint-500); border-radius: var(--radius-lg); }
.badge { padding: 4px 10px; border-radius: 9999px; background: var(--teal-700); color: #fff; font-size: 12px; font-weight: 800; }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--teal-700); color: #fff; }
.cta::before { content: ""; position: absolute; left: -120px; bottom: -220px; width: 460px; height: 460px; border: 44px solid var(--teal-600); border-radius: 50%; pointer-events: none; }
.cta .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.cta h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.cta p { color: var(--on-dark-muted); font-size: 18px; margin-top: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea { min-height: 48px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border: 2px solid var(--teal-700); outline: none; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.form-note { font-size: 13px; color: var(--ink-muted); }
.contact-line { display: flex; align-items: center; gap: 14px; }
.contact-line .icon { flex: none; }
.contact-line a { font-size: 20px; font-weight: 800; text-decoration: none; }

/* FAQ */
.faq details { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--teal-700); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--teal-900); color: var(--on-dark-muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 56px 0 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.footer-bottom { border-top: 1px solid var(--teal-600); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-700); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(16,39,43,.5); }
.wa-float:hover { background: var(--teal-900); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

.prose-list { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.section--dark .prose-list { color: var(--on-dark-muted); }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
