:root {
  --bg: #f7f5ef;
  --bg-alt: #efece3;
  --surface: #ffffff;
  --ink: #0d1f1a;
  --muted: #5b6762;
  --line: #e2ddd0;
  --accent: #1f6f5c;
  --accent-ink: #ffffff;
  --accent-tint: #e3efe9;
  --lime: #d6f26b;
  --panel: #0f2a23;
  --panel-ink: #eef3ee;
  --panel-muted: #a9bdb4;
  --shadow: 0 1px 2px rgb(13 31 26 / .05), 0 12px 32px -12px rgb(13 31 26 / .14);
  --radius: 20px;
  --max: 1180px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1512;
    --bg-alt: #0f1c18;
    --surface: #12211d;
    --ink: #edf1ec;
    --muted: #9aa8a2;
    --line: #213530;
    --accent: #5cc4a6;
    --accent-ink: #06120e;
    --accent-tint: #15322a;
    --panel: #143a30;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.03em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--lime); color: #0d1f1a; }
.btn-outline-light { border-color: rgb(255 255 255 / .25); color: var(--panel-ink); }
.btn-outline-light:hover { border-color: rgb(255 255 255 / .6); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.wa-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Navbar: floating pill */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 12px 12px 0; }
.nav {
  max-width: var(--max); margin: 0 auto; height: 60px; padding: 0 8px 0 18px;
  display: flex; align-items: center; gap: 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  transition: box-shadow .3s var(--ease);
}
.nav-wrap.scrolled .nav { box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand img { border-radius: 9px; }
.brand em { font-family: var(--serif); font-weight: 400; font-size: 1.15em; color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-right { margin-left: 0; }
.lang { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 3px; }
.lang button {
  background: none; border: 0; color: var(--muted); font: 600 .75rem/1 var(--sans);
  letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }

.nav-toggle { display: none; background: var(--bg-alt); border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; padding: 0; }
.nav-toggle .bar { display: block; width: 16px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav { padding: 0 6px 0 14px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 80px; left: 12px; right: 12px; margin: 0;
    flex-direction: column; gap: 2px; padding: 10px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; color: var(--ink); }
}
@media (max-width: 380px) { .brand span { display: none; } }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 85% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(30% 40% at 10% 10%, color-mix(in srgb, var(--lime) 30%, transparent), transparent 70%);
}
@media (min-width: 720px) { .hero { padding: 88px 0 104px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }

.badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 500; color: var(--muted);
}
.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; }
.dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); max-width: 13ch; }
.hero h1 em { color: var(--accent); position: relative; white-space: nowrap; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 44ch; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }

/* Hero quote card */
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 24px;
  box-shadow: var(--shadow); display: grid; gap: 20px; position: relative;
}
@media (min-width: 720px) { .quote { padding: 32px; } }
.quote-step { margin: 0 0 6px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.quote h2 { font-size: 1.6rem; }
.quote fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote legend { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; padding: 0; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.options-row { grid-template-columns: repeat(3, 1fr); }
.options label { position: relative; cursor: pointer; }
.options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.options span {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px; height: 100%;
  border: 1px solid var(--line); border-radius: 14px; font-size: .92rem; font-weight: 500; line-height: 1.25;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.options-row span { justify-content: center; }
.options label:hover span { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.options input:checked + span { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quote-note { margin: -6px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }

/* Marquee */
.marquee-band { padding: 28px 0 40px; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-label { margin-top: 0; margin-bottom: 20px; font-size: .9rem; color: var(--muted); text-align: center; }
.marquee {
  display: flex; overflow: hidden; gap: 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 12px; padding-right: 12px;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  white-space: nowrap; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em;
  padding: 10px 20px; border-radius: 999px; background: var(--bg-alt);
}
.marquee-track li:nth-child(3n+2) { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; background: var(--accent-tint); color: var(--accent); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Sections */
.section { padding: 88px 0; }
@media (min-width: 720px) { .section { padding: 120px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.kicker {
  display: inline-block; margin: 0 0 16px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent);
}

.icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 14px; flex: none;
  background: var(--accent-tint); fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* Bento */
.bento { display: grid; gap: 14px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile-feature, .tile-cta { grid-column: span 2; } }
@media (min-width: 980px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile-feature { grid-column: span 2; grid-row: span 2; }
  .tile-cta { grid-column: span 2; }
}
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 180px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 639px) {
  .tile:not(.tile-feature):not(.tile-cta) { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 0; padding: 18px; }
  .tile h3 { font-size: 1.1rem; }
}
.tile h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.tile-feature { background: var(--panel); color: var(--panel-ink); border-color: transparent; position: relative; overflow: hidden; justify-content: flex-end; gap: 12px; min-height: 300px; padding: 32px; }
.tile-feature::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lime) 45%, transparent), transparent 65%);
}
.tile-big { position: relative; margin: 0 0 auto; font-family: var(--serif); font-size: clamp(6rem, 14vw, 10rem); line-height: .9; color: var(--lime); letter-spacing: -0.03em; }
.tile-feature h3 { position: relative; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tile-feature p:last-child { position: relative; margin: 0; color: var(--panel-muted); max-width: 38ch; }
.tile-cta { text-decoration: none; background: var(--accent); color: var(--accent-ink); border-color: transparent; min-height: 140px; }
.tile-cta h3 { font-size: 1.6rem; }
.tile-cta p { margin: 0; font-weight: 600; display: flex; gap: 8px; }
.tile-cta p span:last-child { transition: transform .3s var(--ease); }
.tile-cta:hover p span:last-child { transform: translateX(6px); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 40px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: .95rem;
}
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 800px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; left: 92px; right: -14px; height: 1px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  }
}

/* About */
.about-lede { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin: 20px 0 0; }
.values { display: grid; gap: 14px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { border-top: 1px solid var(--ink); padding: 28px 4px 0; }
.value h3 { font-size: 1.5rem; margin: 24px 0 10px; }
.value p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; } .faq-grid .section-head { margin: 0; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); font-weight: 400; font-size: 1.2rem; transition: rotate .25s var(--ease), background .2s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--accent); color: var(--accent-ink); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* CTA panel */
.cta-section { padding-top: 0; }
.section-alt + .cta-section { padding-top: 88px; }
@media (min-width: 720px) { .section-alt + .cta-section { padding-top: 120px; } }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--panel); color: var(--panel-ink); border-radius: 32px; padding: 56px 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 720px) { .cta-panel { padding: 96px 48px; } }
.cta-glow {
  position: absolute; inset: auto -20% -70% -20%; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--lime) 35%, transparent), transparent 70%);
}
.cta-panel .kicker { color: var(--lime); }
.cta-panel h2 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 14ch; }
.cta-lede { color: var(--panel-muted); max-width: 52ch; margin: 20px 0 36px; font-size: 1.08rem; }
.cta-panel .hero-actions { justify-content: center; }
.cta-email { margin-top: 28px; color: var(--panel-muted); font-size: .95rem; overflow-wrap: anywhere; text-underline-offset: 4px; }
.cta-email:hover { color: var(--panel-ink); }

/* Footer */
.site-footer { padding: 72px 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1.3fr; } }
.footer-brand p { color: var(--muted); margin: 14px 0 0; max-width: 32ch; }
.footer-grid nav, .footer-grid > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.footer-title { margin: 0 0 4px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-grid a:not(.brand) { text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.footer-grid a:not(.brand):hover { color: var(--accent); }
.footer-mark {
  margin: 56px 0 0; font-weight: 700; letter-spacing: -0.05em; line-height: .8; white-space: nowrap;
  font-size: clamp(3rem, 13.5vw, 11.5rem); text-align: center; user-select: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 14%, transparent), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgb(0 0 0 / .35);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(6rem, 22vw, 12rem); color: var(--accent); line-height: 1; }
.notfound p { color: var(--muted); margin: 12px 0 28px; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .dot::after { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; }
  .marquee-track { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 16px; }
  .marquee-track[aria-hidden] { display: none; }
}
