:root {
  --beige: #fdfbf9;
  --orange: #F59E42;
  --orange-dark: #F07C2A;
  --brown: #C8641A;
  --brown-dark: #8B5A2B;
  --gray: #4A4A5A;
  --green: #3BA58B;
  --bg-card: #fff9f2;
  --shadow: 0 12px 28px rgba(139, 90, 43, 0.12);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray);
  background: var(--beige);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0,0,0,0.04) 1px, transparent 0),
    radial-gradient(circle at 80% 0%, rgba(0,0,0,0.03) 1px, transparent 0);
  opacity: 0.4;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-card);
  backdrop-filter: blur(6px);
  /* border-bottom: 0.5px solid var(--brown-dark); */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateZ(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--brown-dark);
  height: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid transparent;
}

.nav a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--orange);
  color: #2d2d2d;
  font-weight: 700;
  border: 2px solid var(--brown-dark);
  box-shadow: 0 6px 0 var(--brown-dark);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 var(--brown-dark);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 0 var(--brown-dark);
}

.btn-outline {
  background: transparent;
  border: 2px dashed var(--brown-dark);
  box-shadow: 0 6px 0 rgba(139, 90, 43, 0.5);
}

.btn-small {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.btn.full {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--brown-dark);
  background: var(--orange);
  box-shadow: 0 6px 0 var(--brown-dark);
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--brown-dark);
  border-radius: 3px;
}

.hero {
  position: relative;
  padding: 20vh 0;
  overflow: hidden;
  min-height: 100vh;
  /* display: grid; */
  align-items: center;
}

/* .hero::before,
.hero::after {
  content: "";
  position: absolute;
  background: var(--orange);
  opacity: 0.18;
  filter: blur(60px);
}

.hero::before {
  width: 260px;
  height: 260px;
  top: -60px;
  left: -120px;
}

.hero::after {
  width: 220px;
  height: 220px;
  bottom: -40px;
  right: -80px;
} */

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 10px;
}

.hero-copy h1 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(2.0rem, 3vw, 3.0rem);
  letter-spacing: -0.02em;
  color: #2d2d2d;
  margin: 16px 0 14px;
}

.subtitle {
  font-size: 1.05rem;
  max-width: 620px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 2px solid var(--brown-dark);
  border-radius: 999px;
  font-weight: 700;
  color: var(--brown-dark);
  box-shadow: 6px 6px 0 var(--brown-dark);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-visual {
  position: relative;
  justify-self: center;
}

.hero-visual .blob {
  position: absolute;
  inset: 8%;
  background: var(--bg-card);
  border: 3px solid var(--brown-dark);
  border-radius: 35% 45% 40% 50%;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.hero-visual img {
  position: relative;
  width: min(420px, 90vw);
  border: 3px solid var(--brown-dark);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.section {
  padding: 20vh 0;
  min-height: 100vh;
}

.section:last-of-type {
  min-height: auto;
  padding-bottom: 50px;
}

.section-header {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  font-weight: 700;
  background: var(--bg-card);
  border: 2px solid var(--brown-dark);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--brown-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.section h2 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  color: #2d2d2d;
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 3px solid var(--brown-dark);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: #2d2d2d;
}

.card p {
  margin: 0;
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 3px solid var(--brown-dark);
  background: #ffe5c7;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 14px;
  box-shadow: 4px 4px 0 var(--brown-dark);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.steps-section .step-card {
  position: relative;
  padding-top: 32px;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  border: 3px solid var(--brown-dark);
  font-weight: 800;
  color: #2d2d2d;
  box-shadow: 4px 4px 0 var(--brown-dark);
}

.integrations-section .integration-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 12px;
}

.reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.reason-list li {
  padding: 14px 16px;
  border: 2px solid var(--brown-dark);
  border-radius: 14px;
  background: #fff2e1;
  font-weight: 600;
  box-shadow: 5px 5px 0 var(--brown-dark);
}

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: self-end;
}

.contact-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

form {
  display: grid;
  gap: 10px;
}

input,
textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--brown-dark);
  background: #fffdf8;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.05);
}

input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
}

.form-feedback {
  min-height: 22px;
  font-weight: 600;
  color: var(--brown-dark);
}

.site-footer {
  border-top: 2px solid var(--brown-dark);
  padding: 10px 0 10px;
  background: var(--brown-dark);
  color: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brown-dark);
  background: var(--orange);
  box-shadow: 0 8px 0 var(--brown-dark);
  color: #2d2d2d;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:active {
  transform: translateY(2px);
  box-shadow: 0 6px 0 var(--brown-dark);
}

@media (max-width: 820px) {
  .nav-links {
    position: static;
    inset: auto;
    background: transparent;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.4rem;
    transform: none;
    transition: none;
    padding: 0;
    text-align: right;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .nav .btn-small {
    margin-top: 0;
    box-shadow: 0 5px 0 var(--brown-dark);
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    text-align: center;
  }

  .hero-visual .blob {
    inset: 5%;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  /* Esconde imagens decorativas no mobile, mantém logo */
  .hero img,
  .contact-section img {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .card,
  .reason-list li {
    box-shadow: 3px 3px 0 var(--brown-dark);
  }

  .badge {
    box-shadow: 4px 4px 0 var(--brown-dark);
  }
}
