/* ==========================================================================
   INSECT KILL — Controle Integrado de Pragas
   Design tokens
   ========================================================================== */

:root {
  --paper: #F8F5EC;
  --paper-alt: #EFE8D3;
  --ink: #17241C;
  --ink-soft: #445043;
  --moss: #35513C;
  --moss-deep: #1F3226;
  --moss-tint: #E4EADF;
  --rust: #BD4327;
  --rust-deep: #8F3119;
  --rust-tint: #F3E1D8;
  --line: #CBC0A0;
  --line-soft: #DDD5BC;
  --white: #FFFDF8;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --radius: 3px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.015em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hazard stripe — used sparingly as the single bold structural motif */
.stripe {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--rust) 0px, var(--rust) 16px,
    var(--ink) 16px, var(--ink) 32px
  );
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-primary:hover { background: var(--rust-deep); border-color: var(--rust-deep); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-light:hover { background: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.logo-word-kill { color: var(--rust); }

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  color: var(--ink);
  border-color: var(--rust);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.header-phone svg { width: 18px; height: 18px; color: var(--moss); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 16px 24px;
  border-top: 1px solid var(--line-soft);
  font-weight: 500;
}
.mobile-nav a:first-child { border-top: none; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-phone { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 64px 0 72px;
  background: var(--paper);
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.85fr;
    gap: 40px;
  }
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.tag-chip svg { width: 14px; height: 14px; color: var(--moss); flex: none; }

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 14ch;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
}

.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--moss);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Hero graphic: layered inspection tags on a dotted field */
.hero-visual {
  position: relative;
  min-height: 380px;
  background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-tag {
  position: absolute;
  width: 240px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--moss);
  box-shadow: 6px 6px 0 rgba(23, 36, 28, 0.06);
}

.hero-tag h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.hero-tag p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-tag--a { top: 8%; left: 6%; }
.hero-tag--b { top: 42%; left: 30%; border-left-color: var(--rust); }
.hero-tag--c { top: 68%; left: 4%; }

@media (max-width: 700px) {
  .hero-visual { display: none; }
}

/* ==========================================================================
   Where we work
   ========================================================================== */

.where-strip {
  background: var(--moss-deep);
  padding: 34px 0;
}

.where-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 720px) {
  .where-strip .container { grid-template-columns: repeat(4, 1fr); }
}

.where-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}
.where-item svg { width: 26px; height: 26px; flex: none; color: var(--rust); }
.where-item span { font-size: 0.95rem; font-weight: 500; }

/* ==========================================================================
   Section heading pattern
   ========================================================================== */

.section { padding: 88px 0; }
.section--alt { background: var(--paper-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ==========================================================================
   Services grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card.is-prevent { border-left-color: var(--moss); }

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--ink);
}

.service-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--moss);
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.service-link svg { width: 15px; height: 15px; }

/* ==========================================================================
   Process
   ========================================================================== */

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 860px) {
  .process-list { grid-template-columns: repeat(4, 1fr); border-top: none; }
}

.process-step {
  padding: 28px 22px 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

@media (min-width: 860px) {
  .process-step {
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding: 4px 26px;
  }
  .process-step:last-child { border-right: none; }
}

.process-step .step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--moss);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 10px;
}

.process-step h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ==========================================================================
   Differentials
   ========================================================================== */

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 680px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}

.diff-item {
  background: var(--white);
  padding: 26px 24px;
  display: flex;
  gap: 16px;
}

.diff-item svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--rust);
  margin-top: 2px;
}

.diff-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.diff-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   About
   ========================================================================== */

.about .container {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .about .container { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}

.about-panel {
  aspect-ratio: 4 / 3;
  background: var(--moss-deep);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.about-panel svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 56ch;
}

.about-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}
.about-list svg { width: 18px; height: 18px; color: var(--moss); flex: none; margin-top: 2px; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  border-top: 1px solid var(--line);
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex: none;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--rust);
  transition: transform 0.2s ease;
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 4px 22px;
  color: var(--ink-soft);
  max-width: 66ch;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  background: var(--rust);
  color: var(--white);
  padding: 72px 0;
}

.final-cta .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

@media (min-width: 860px) {
  .final-cta .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.final-cta h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 12px;
}

.final-cta p {
  color: rgba(255, 253, 248, 0.85);
  max-width: 42ch;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand .logo { color: var(--paper); margin-bottom: 14px; }
.footer-brand p {
  color: rgba(248, 245, 236, 0.7);
  max-width: 40ch;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(248, 245, 236, 0.3);
  border-radius: var(--radius);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { background: var(--rust); border-color: var(--rust); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--paper);
  margin-bottom: 16px;
}

.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 0.9rem;
  color: rgba(248, 245, 236, 0.75);
}
.footer-col a:hover { color: var(--paper); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--rust); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 245, 236, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(248, 245, 236, 0.55);
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */

.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--moss);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(23, 36, 28, 0.3);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); background: var(--moss-deep); }
.wa-float svg { width: 28px; height: 28px; color: var(--white); }
