:root {
  box-sizing: border-box;
  color-scheme: light;
  --navy: #264A83;
  --teal: #2CB38B;
  --teal-dark: #24996F;
  --white: #FFFFFF;
  --navy-soft: rgba(38,74,131,.8);
  --line: rgba(38,74,131,.16);
  --bg: #FFFFFF;
  --bg-alt: rgba(38,74,131,.05);
  --body: #E5EFFF;
  --teal-soft: rgba(44,179,139,.13);
}

html {
  scroll-padding-top: 85px; /* Compensa o menu fixo ao clicar nas âncoras */
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--body);
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  line-height: 1.55;
}

/* Containers base */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
}

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

/* Botões Globais */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(44,179,139,.55);
}

.pill-teal:hover { background: var(--teal-dark); }

.pill-outline {
  border: 1.5px solid var(--line);
  color: #000000;
  background: transparent;
}

.client-btn {
  padding: 10px 20px;
  font-size: .78rem;
  letter-spacing: .03em;
  border-color: var(--navy);
  color: var(--navy);
}

.client-btn:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.nav-client-link { display: none; }

.whatsapp-btn { margin-top: 18px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 20px;
  padding-bottom: 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; align-items: center; }
.logo picture { display: block; }

.logo-img { height: 40px; width: auto; display: block; }
.logo-img-footer { height: 38px; width: auto; display: block; }

nav {
  display: flex;
  gap: 26px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
}

nav a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  nav { display: none; }
  .nav-toggle { display: flex; }
  .client-btn { display: none; }

  nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 6px 28px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px -18px rgba(38,74,131,.3);
  }
  nav.nav-open a {
    padding: 13px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  nav.nav-open a:last-child { border-bottom: none; }
  nav.nav-open .nav-client-link {
    display: block;
    color: var(--teal-dark);
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  nav.nav-open { padding: 6px 16px 18px; }
}

@media (max-width: 400px) {
  .logo-img { height: 32px; }
}

/* Hero Section */
.hero { position: relative; overflow: hidden; padding: 60px 0 76px; }

.corner-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 220px;
  background: var(--white);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .95;
  z-index: 0;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
  z-index: 1;
}

.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--teal);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  max-width: 15ch;
  color: var(--navy);
}

.lede { font-size: 1.02rem; color: var(--navy); max-width: 40ch; margin: 0 0 28px; }

/* Benefícios (Hero) */
.benefits { display: flex; gap: 22px; margin-bottom: 32px; flex-wrap: wrap; }
.benefit { text-align: left; max-width: 130px; }
.benefit .ic {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.6px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; color: var(--navy);
}
.benefit .ic svg { width: 24px; height: 24px; }
.benefit strong { display: block; font-size: .8rem; font-weight: 700; color: var(--navy); }

@media (max-width: 480px) {
  .benefits { flex-direction: column; gap: 16px; }
  .benefit { max-width: 100%; display: flex; align-items: center; gap: 12px; }
  .benefit .ic { margin-bottom: 0; width: 44px; height: 44px; }
}

/* Device / mockups (hero + funcionalidades) */
.hero-art { position: relative; }

.device .screen img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}

.device.phone { max-width: 260px; margin: 0 auto; }


.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Seções e Grid de Recursos */
section { padding: 60px 0; }

.section-alt { background: var(--body); }

#contato { background: var(--white); }

h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 34px;
  max-width: 24ch;
  color: var(--teal);
}

.contact-title { margin-bottom: 14px; }

#produtos { background: var(--white); }

.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat { text-align: center; }
.feat .ic {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  background: transparent;
  border: 1.6px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.feat .ic svg { width: 30px; height: 30px; }
.feat strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.feat p { margin: 0; font-size: .8rem; color: var(--navy-soft); }
.mini-cta { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--teal-dark); }
.mini-cta:hover { text-decoration: underline; }

@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 480px) {
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feat {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: center;
    text-align: left;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
  }
  .feat .ic {
    grid-row: 1 / span 3;
    margin: 0;
    width: 48px;
    height: 48px;
  }
  .feat .ic svg {
    width: 22px;
    height: 22px;
  }
  .feat strong {
    font-size: .85rem;
    margin-bottom: 2px;
  }
  .feat p {
    font-size: .74rem;
    line-height: 1.4;
    margin: 0;
  }
  .mini-cta {
    display: inline-block;
    margin-top: 5px;
    font-size: .74rem;
    font-weight: 700;
    color: var(--teal-dark);
  }
}

/* Funcionalidades (texto + mockup) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row .mock { order: 2; text-align: center; }
.feature-row.reverse .mock { order: -1; }
.feature-title { display: block; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-row p { color: var(--navy-soft); margin: 0; }
.mock-tag { display: block; margin-top: 10px; font-size: .72rem; color: var(--navy-soft); font-style: italic; }

@media (max-width: 760px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 20px; }
  .feature-row .mock, .feature-row.reverse .mock { order: -1; }
}

/* Contato & Formulário */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact p { color: var(--navy-soft); max-width: 38ch; }

.channel { font-size: .85rem; font-weight: 600; color: var(--navy-soft); }
.channel:hover { color: var(--teal-dark); }

form { display: grid; gap: 12px; max-width: 380px; width: 100%;}
form button {justify-content: center;}
label { font-size: .82rem; color: var(--navy-soft); font-weight: 500; }
input {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--body); color: var(--navy);
  font-family: "Poppins", sans-serif; font-size: .92rem;
}
input:focus-visible, .pill:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.form-note { font-size: .78rem; color: var(--navy-soft); margin: 2px 0 0; }
.form-ok { display: none; font-size: .85rem; color: var(--teal-dark); font-weight: 600; margin-top: 4px; }

@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; }
  form { max-width: 100%; }
}

/* Rodapé */
footer { padding: 44px 0; border-top: 1px solid var(--line); background: var(--body); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }

/* Organiza a logo e o CNPJ em coluna */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Estilo do texto do CNPJ */
.footer-cnpj {
  font-size: 0.75rem;
  color: var(--navy-soft);
  font-weight: 500;
}

.footer-right { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }

.footer-contact {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px;}
.footer-contact .hours { display: block; width: 100%; font-size: .82rem; color: var(--navy-soft); margin-top: 2px; }
.footer-mails { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 760px) {
  footer .wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  footer .logo {
    justify-content: center;
    width: 100%;
  }

  footer .logo-img-footer {
    margin: 0 auto;
  }
}

.social { display: flex; gap: 10px; align-items: center; }
.social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.social svg { width: 16px; height: 16px; }
.handle { font-size: .85rem; font-weight: 600; color: var(--navy-soft); }

/* Ajustes Finais para Hero em Mobile */
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
  .corner-accent { width: 70%; height: 160px; }
}
