:root {
  --paper: #f3efe6;
  --white: #fffcf6;
  --ink: #17211c;
  --muted: #44554d;
  --line: #ddd6c8;
  --forest: #143127;
  --forest-2: #0e241c;
  --moss: #0f6a46;
  --brass: #8d6b2f;
  --brass-soft: #e6d3a4;
  --wa: #0f7a45;
  --wa-deep: #0c6237;
  --shadow: 0 16px 40px rgba(20, 33, 28, 0.08);
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header: 68px;
  --radius: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

body.is-locked { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

button,
input,
a { -webkit-tap-highlight-color: transparent; }

button,
input { font: inherit; color: inherit; }

a { color: inherit; }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid #b8893a;
  outline-offset: 3px;
}

[hidden] { display: none !important; }

::selection {
  background: #d7ecdf;
  color: var(--forest);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

h1,
h2,
h3,
.logo__place,
.trust__item strong,
.group__index,
.steps span {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.05rem, 8vw, 4.35rem);
  line-height: 1.08;
}

h2 { font-size: clamp(1.7rem, 4.4vw, 2.55rem); line-height: 1.15; }

h3 { font-size: 1.28rem; line-height: 1.25; }

h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; }

.eyebrow {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section { padding: 56px 0; }

.section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 42rem;
}

.section__lead { color: var(--muted); }

.icon { width: 20px; height: 20px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}

.btn--wa { background: var(--wa); color: #fff; }

.btn--ghost {
  background: transparent;
  color: #f6f1e6;
  border-color: rgba(246, 241, 230, 0.38);
}

.btn--dark { background: var(--forest); color: #f6f1e6; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, 0.94);
  border-bottom: 1px solid rgba(20, 49, 39, 0.08);
  backdrop-filter: blur(14px);
}

.header.is-stuck { box-shadow: 0 10px 28px rgba(20, 33, 28, 0.06); }

.header__bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--forest);
  text-decoration: none;
}

.logo svg { width: 42px; height: 42px; flex: none; }

.logo__word { display: flex; flex-direction: column; line-height: 1; }

.logo__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo__place { font-size: 1.2rem; letter-spacing: -0.03em; }

.header__tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__wa { display: none; width: auto; min-height: 44px; padding-inline: 14px; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--forest);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.header.is-nav-open .nav-toggle__bars { background: transparent; }
.header.is-nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.header.is-nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fffcf6;
  border-bottom: 1px solid var(--line);
  padding: 4px 20px 12px;
  box-shadow: 0 18px 30px rgba(20, 33, 28, 0.06);
}

.header.is-nav-open .nav { display: grid; }

.nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  z-index: 1;
  background: var(--forest);
  color: #f6f1e6;
  padding: 32px 0 40px;
}

.hero .eyebrow { color: var(--brass-soft); }

.hero__layout { display: grid; }

.hero__copy { display: grid; gap: 14px; align-content: start; max-width: 40rem; }

.hero__lead {
  color: rgba(246, 241, 230, 0.84);
  font-size: 1.08rem;
  max-width: 40rem;
}

.hero__actions { display: grid; gap: 10px; }

.trust { position: relative; z-index: 2; padding-top: 20px; }

.trust__grid {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust__item { padding: 16px 18px; display: grid; gap: 2px; }
.trust__item + .trust__item { border-top: 1px solid var(--line); }
.trust__item strong { font-size: 1.5rem; }
.trust__item span { color: var(--muted); }

.jump {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.jump::-webkit-scrollbar { display: none; }

.jump a {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

.search {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.search label { font-weight: 700; }

.search__field { position: relative; }

.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 84px 0 46px;
  font-size: 16px;
}

.search input::placeholder { color: #5d6c65; }

.search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--moss);
  font-weight: 700;
  cursor: pointer;
}

.empty {
  display: grid;
  gap: 12px;
  padding: 18px;
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.empty .btn { width: auto; }

.groups { display: grid; gap: 14px; }

.group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.04);
  overflow: hidden;
}

.group__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 18px 8px;
}

.group__index {
  color: var(--brass);
  font-size: 1.7rem;
  line-height: 1;
}

.group__head p:last-child { color: var(--muted); margin-top: 4px; }

.service-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.service-item p { color: var(--muted); font-size: 1rem; }

.link-wa {
  justify-self: start;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #cfe0d6;
  background: #eef6f1;
  color: #114c36;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.pendencia__note { margin-top: 12px; color: var(--muted); }

.steps,
.regions {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
}

.steps li,
.region,
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.steps li,
.region { padding: 18px; display: grid; gap: 6px; align-content: start; }

.steps span {
  color: var(--brass);
  font-size: 1.35rem;
}

.steps p,
.region p,
.faq__item p { color: var(--muted); }

.region h3 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }

.faq { display: grid; gap: 10px; }

.faq__item summary {
  min-height: 58px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: rotate(45deg);
  flex: none;
  margin-top: -4px;
}

.faq__item[open] summary::after { transform: rotate(225deg); margin-top: 4px; }

.faq__item p { padding: 0 16px 16px; }

.contact {
  background: var(--forest);
  color: #f6f1e6;
}

.contact .eyebrow { color: var(--brass-soft); }
.contact .section__lead { color: rgba(246, 241, 230, 0.8); }

.contact .btn,
.footer .btn--wa { width: min(100%, 320px); }

.footer {
  background: var(--forest-2);
  color: rgba(246, 241, 230, 0.78);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
}

.footer a { color: #f6f1e6; text-decoration: none; }

.footer__grid { display: grid; gap: 22px; }

.footer .logo { color: #f6f1e6; }
.footer .logo__kicker,
.footer__grid > div > .logo__kicker { color: var(--brass-soft); }
.footer__about { margin-top: 12px; max-width: 32rem; }

.footer__links,
.footer__was {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin-top: 8px;
}

.footer__links a,
.footer__was a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer__fine {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 241, 230, 0.12);
  font-size: 0.92rem;
}

.fab {
  position: fixed;
  z-index: 45;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(15, 122, 69, 0.35);
}

[id] { scroll-margin-top: 80px; }

@media (hover: hover) {
  .btn--wa:hover,
  .fab:hover { background: var(--wa-deep); }
  .btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
  .btn--dark:hover { background: #1d4034; }
  .link-wa:hover,
  .chip:hover,
  .jump a:hover { border-color: #b7d0c4; }
  .service-item:hover { background: #fbfaf6; }
  .nav a:hover { color: var(--moss); }
}

.btn:active,
.fab:active,
.chip:active,
.link-wa:active { transform: translateY(1px); }

@media (min-width: 700px) {
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__item + .trust__item { border-top: 0; border-left: 1px solid var(--line); }
  .service-item {
    grid-template-columns: 1fr auto;
    grid-template-areas: "title action" "text action";
    align-items: center;
  }
  .service-item h4 { grid-area: title; }
  .service-item p { grid-area: text; }
  .service-item .link-wa { grid-area: action; align-self: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
}

@media (min-width: 800px) {
  .regions { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; min-width: 220px; }
  .empty .btn { width: auto; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .container { width: min(1120px, calc(100% - 64px)); }
  .section { padding: 88px 0; }
  .nav-toggle { display: none; }
  .header__wa { display: inline-flex; }
  .header__tools { margin-left: 12px; }
  .nav {
    display: flex;
    position: static;
    margin-left: auto;
    gap: 4px 18px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    align-items: center;
  }
  .nav a { min-height: 44px; border: 0; }
  .nav a[href="#contato"] { display: none; }
  .hero { padding: 64px 0 72px; }
  .groups { grid-template-columns: 1fr 1fr; gap: 18px; }
  .regions { grid-template-columns: repeat(6, 1fr); }
  .region:nth-child(1),
  .region:nth-child(2) { grid-column: span 3; }
  .region:nth-child(n + 3) { grid-column: span 2; }
  .fab { display: none; }
}

.section--next { padding-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
