:root {
  --folha: #0a7947;
  --folha-escura: #065a36;
  --folha-profunda: #043825;
  --lima: #c5d84a;
  --ink: #1a1a1a;
  --muted: #5c6660;
  --paper: #ffffff;
  --mist: #f4f6f4;
  --line: #e2e8e3;
  --header-h: 78px;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--folha);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--folha);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.shell {
  width: min(var(--shell), calc(100% - 2.5rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  max-width: 18ch;
  color: #fff;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  color: var(--folha-escura);
}

h3 {
  font-size: 1.1rem;
  color: var(--folha-escura);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  background: var(--folha);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s var(--ease);
}

.btn:hover {
  background: var(--folha-profunda);
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

/* Header — white bar like live site */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-top: 3px solid var(--folha);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--folha-escura);
}

.brand img {
  width: 72px;
  height: auto;
}

.brand-name {
  display: grid;
  line-height: 1.02;
}

.brand-pacheco {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.brand-line {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--folha);
  letter-spacing: -0.01em;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
}

.nav > a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0;
}

.nav > a:hover,
.nav > a.is-current {
  color: var(--folha);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Consultas dropdown — hover desktop */
.nav-drop {
  position: relative;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  color: var(--ink);
}

.nav-drop-btn:hover,
.nav-drop.is-open .nav-drop-btn {
  color: var(--folha);
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 20;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-panel a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--ink);
}

.nav-drop-panel a:hover {
  background: var(--mist);
  color: var(--folha);
}

/* Hero — full-bleed like live site */
.hero {
  position: relative;
  min-height: min(78vh, 620px);
  display: grid;
  align-items: center;
  overflow: hidden;
  animation: hero-in 0.75s var(--ease) both;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.85s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 7s linear;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(10, 20, 16, 0.72) 0%, rgba(10, 20, 16, 0.45) 48%, rgba(10, 20, 16, 0.35) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  max-width: 40rem;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.25rem);
  margin-right: auto;
  width: min(var(--shell), calc(100% - 2.5rem));
}

.hero-welcome {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero-lede {
  margin: 0 0 1.5rem;
  max-width: 36ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-prev,
.hero-next {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}

.hero-prev:hover,
.hero-next:hover {
  opacity: 1;
}

.hero-prev {
  left: 0.75rem;
}

.hero-next {
  right: 0.75rem;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
  transition: background 0.2s var(--ease);
}

.hero-dots button.is-active {
  background: #fff;
}

@keyframes hero-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* About */
.about {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: var(--paper);
}

.about-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}

.about-head h2 {
  max-width: 16ch;
  margin: 0;
}

.about-since {
  margin: 0;
  font-weight: 600;
  color: var(--folha);
  white-space: nowrap;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.75rem;
}

.about-body p {
  margin: 0;
  font-size: 1.05rem;
  max-width: 42ch;
}

/* Services */
.services {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  background: var(--mist);
}

.section-intro {
  margin-bottom: 1.75rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  background: var(--paper);
}

.service-list h3 {
  margin: 0;
}

.service-list p {
  margin: 0;
  font-size: 0.95rem;
}

.service-list a {
  font-weight: 600;
  color: var(--folha);
  text-decoration: none;
  white-space: nowrap;
}

.service-list a:hover {
  text-decoration: underline;
}

/* Tools */
.tools {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
  background: var(--folha-profunda);
  color: #fff;
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.tools-copy h2 {
  color: #fff;
  max-width: 16ch;
}

.tools-copy p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
  margin: 0;
}

.tools-links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tools-links a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.tools-links a:hover {
  color: var(--lima);
  padding-left: 0.35rem;
}

/* E-commerce */
.commerce {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.commerce-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  margin-bottom: 1.75rem;
}

.commerce-head h2 {
  max-width: 18ch;
}

.commerce-head p {
  max-width: 48ch;
  margin-bottom: 0;
}

.commerce-head .btn {
  flex-shrink: 0;
}

.commerce-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.commerce-points li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1rem 0;
  border-bottom: 1px solid var(--line);
}

.commerce-points li:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 1.5rem;
}

.commerce-points li:nth-child(even) {
  padding-left: 1.5rem;
}

.commerce-points strong {
  color: var(--folha-escura);
  font-size: 1.02rem;
}

.commerce-points span {
  color: var(--muted);
  font-weight: 500;
}

/* Feature */
.feature {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.feature-media {
  margin: 0;
  overflow: hidden;
  background: var(--mist);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 18%;
}

.feature-copy h2 {
  max-width: 18ch;
}

.ticks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ticks li {
  position: relative;
  padding-left: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--folha);
  border-radius: 50%;
}

/* Why us — quatro motivos, sem repetir o texto de quem somos */
.why {
  padding: 2.15rem 0 2.4rem;
  background: var(--folha-profunda);
  color: #fff;
}

.why-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}

.why h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 14ch;
  margin: 0;
}

.why-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
}

.why-points li {
  padding-top: 0.95rem;
  border-top: 2px solid var(--lima);
}

.why-points h3 {
  color: #fff;
  font-size: 1.15rem;
  max-width: none;
  margin: 0 0 0.45rem;
}

.why-points p {
  margin: 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.7);
}

.why-cta {
  background: var(--lima);
  color: var(--folha-profunda);
}

.why-cta:hover {
  background: #fff;
  color: var(--folha-profunda);
}

/* Partners — dois logos visíveis, um texto por vez */
.partners {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: var(--mist);
  text-align: center;
}

.partners h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  max-width: 16ch;
  margin: 0 auto 1.5rem;
}

.partner-board {
  max-width: 34rem;
  margin-inline: auto;
}

.partner-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.partner-picks button {
  display: grid;
  place-items: center;
  height: 104px;
  padding: 0.85rem 1.1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.partner-picks button:hover img,
.partner-picks button[aria-selected="true"] img {
  opacity: 1;
}

.partner-picks button[aria-selected="true"] {
  border-bottom-color: var(--lima);
}

.partner-picks img {
  width: auto;
  height: 44px;
  max-width: 170px;
  object-fit: contain;
  opacity: 0.38;
  transition: opacity 0.2s var(--ease);
}

.partner-picks img.is-emblem {
  height: 62px;
  width: 62px;
}

.partner-panel {
  display: none;
  padding: 1.25rem 0.25rem 0;
  min-height: 7.5rem;
}

.partner-panel.is-active {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
}

.partner-panel strong {
  font-size: 1.08rem;
  color: var(--folha-escura);
}

.partner-panel p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
  color: var(--muted);
}

.partner-panel a {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--folha);
  text-decoration: none;
}

.partner-panel a:hover {
  text-decoration: underline;
}

/* Contact */
.contact {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
  background: var(--folha-profunda);
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.contact-intro h2 {
  color: #fff;
  margin-bottom: 1.15rem;
  max-width: 16ch;
}

.contact-whats {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: #fff;
  max-width: 22rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-whats:hover {
  border-color: rgba(197, 216, 74, 0.55);
  background: rgba(197, 216, 74, 0.1);
}

.contact-whats span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lima);
}

.contact-whats strong {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-ledger li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-ledger a {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 0;
  text-decoration: none;
  color: #fff;
  transition: padding-left 0.2s var(--ease);
}

.contact-ledger a:hover {
  padding-left: 0.35rem;
}

.contact-ledger span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.contact-ledger strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.contact-ledger a:hover strong {
  color: var(--lima);
}

/* Footer */
.site-footer {
  padding: 1.35rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  color: inherit;
  font-size: 0.88rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-inner a:hover {
  color: var(--lima);
}

.back-top {
  position: fixed;
  right: 1.1rem;
  bottom: 5.6rem;
  z-index: 60;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--folha);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s, background 0.2s var(--ease);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  background: var(--folha-profunda);
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .brand img {
    width: 58px;
  }

  .brand-pacheco {
    font-size: 1.12rem;
  }

  .brand-line {
    font-size: 0.84rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.15rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .nav .btn,
  .nav-drop-btn {
    padding: 0.75rem 0.15rem;
  }

  .nav-drop-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--folha);
    margin: 0 0 0.35rem 0.35rem;
    padding: 0;
    min-width: 0;
  }

  .nav-drop.is-open .nav-drop-panel {
    display: block;
    transform: none;
  }

  .nav-drop:hover .nav-drop-panel {
    display: none;
  }

  .nav-drop.is-open:hover .nav-drop-panel,
  .nav-drop.is-open .nav-drop-panel {
    display: block;
  }

  .about-head,
  .about-body,
  .commerce-head,
  .commerce-points,
  .why-head,
  .tools-grid,
  .feature-grid,
  .why-points,
  .contact-layout,
  .service-list li {
    grid-template-columns: 1fr;
  }

  .why-points {
    gap: 1.75rem;
  }

  .about-head,
  .commerce-head,
  .why-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-since {
    white-space: normal;
  }

  .commerce-points li:nth-child(odd),
  .commerce-points li:nth-child(even) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    min-height: min(70vh, 520px);
  }

  .hero-copy {
    margin-left: 1.25rem;
    width: calc(100% - 2.5rem);
  }

  .hero-prev,
  .hero-next {
    display: none;
  }

  .contact-whats {
    max-width: none;
  }

  h1 {
    max-width: 16ch;
  }
}

/* Scroll reveal — leve, uma vez */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .service-list .reveal:nth-child(2) {
  transition-delay: 0.07s;
}

.js .service-list .reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.js .why-points .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .hero-slide,
  .hero-slide img,
  .btn,
  .whatsapp-float,
  .js .reveal {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide img {
    transform: none;
  }
}
