:root {
  --green: #009734;
  --green-600: #1b5e20;
  --blue: #0a47a3;
  --blue-600: #0a3d8a;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --wrap: 1200px;

  /* visuais adicionais */
  --brand-blue: #0a47a3;
  --brand-green: #4CAF50;
  --page-ivory: #f3f8ff;
  --page-mint: #eefaf0;
  --section-pad: 64px;
}

/* base */
* {
  box-sizing: border-box;
}
section[id] { scroll-margin-top: 80px; } /* ajuste 80px ao seu header */

html,
body {
   scroll-behavior: smooth;
  background: var(--page-ivory);
  color: #0b1430;
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== HEADER =================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* acima de todo o conteúdo */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}



.site-header.scrolled {
  background: #f5f7fb;
  border-color: var(--line);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

.header-wrap {
  height: 74px;
  /* referência para o menu mobile */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* nav desktop */
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 600;
}

.nav a {
  position: relative;
  color: #0B1430;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color .25s ease;
  white-space: nowrap;
}

/* underline animado apenas nos links comuns, não no botão */
.nav a:not(.btn--pill)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #0A47A3;
  transition: width .3s ease;
}

.nav a:not(.btn--pill):hover {
  color: #0a47a3;
}

.nav a:not(.btn--pill):hover::after {
  width: 100%;
}

/* BOTÃO DO HEADER */
.nav a.btn--pill {
  background: transparent;
  color: #0a7a4f;
  border: 2px solid #0a7a4f;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 16px;
  transition: all .3s ease;
}

.nav a.btn--pill:hover {
  background: #0a7a4f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

/* Botão hambúrguer (fora do <nav>) */
.nav-toggle {
  display: none;
  /* aparece no mobile */
  position: relative;
  z-index: 1100;
  /* acima do menu */
  width: 40px;
  height: 40px;
  /* área de toque real */
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink, #0f172a);
  transition: transform .2s ease, opacity .2s ease;
}

/* ====== MOBILE NAV ====== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  /* menu vira um drop abaixo do header */
  .nav {
    position: fixed;
    top: 74px;
    /* mesma altura do header */
    left: 0;
    right: 0;
    display: none;
    /* fechado por padrão */
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-top: 1px solid var(--line, #e5e7eb);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    z-index: 1060;
    /* abaixo do botão, acima do conteúdo */
    max-height: calc(100dvh - 74px);
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
  }

  /* links mais “tocáveis” no mobile */
  .nav a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav a.btn--pill {
    align-self: stretch;
    text-align: center;
  }

  .nav a:not(.btn--pill)::after {
    display: none;
  }

  /* sem underline animado no mobile */

  /* ícone X */
  .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);
  }
}

/* Dica: âncoras não ficarem atrás do header fixo */
section[id] {
  scroll-margin-top: 80px;
}

/* helper: header on scroll (usado pelo JS via classe .scrolled) */
@media (prefers-reduced-motion:no-preference) {
  body:has(.hero-split:has(.hero-grid)) .site-header {
    backdrop-filter: saturate(115%) blur(6px)
  }
}

/* =================== BOTÕES GERAIS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--cta {
  background: transparent;
  color: #fff;
  border: 2px solid var(--green);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: all .3s ease;
}

.btn--cta:hover {
  background: linear-gradient(90deg, #4CAF50, #2E7D32);
  border-color: #2E7D32;
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.25);
  transform: translateY(-2px);
}

.btn---cta {
  background: transparent;
  color: black;
  border: 2px solid var(--green);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: all .3s ease;
}

.btn---cta:hover {
  background: linear-gradient(90deg, #4CAF50, #2E7D32);
  color: #fff;
  border-color: #2E7D32;
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.25);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #cfe0ff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: all .3s ease;
}

.btn--ghost:hover {
  background: linear-gradient(90deg, #2563EB, #1E3A8A);
  border-color: #2563EB;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  background: var(--green);
  color: #fff;
  transition: all .3s ease;
}

.btn--full:hover {
  background: linear-gradient(90deg, #2563EB, #1E3A8A);
  color: #fff;
  border-color: #2563EB;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .25);
  transform: translateY(-2px);
}

.center {
  text-align: center;
}

/* =================== HERO =================== */
/* container: cria contexto de empilhamento isolado */
.hero-split {
  position: relative;
  isolation: isolate;
  padding-top: 96px;
  /* compensa o header fixo */
  min-height: 72vh;
  overflow: hidden;
}

/* Camada de fundo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  filter: blur(2px) saturate(110%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78) 0%,
      rgba(255, 255, 255, .38) 14%,
      rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, rgba(11, 20, 48, .50) 0%,
      rgba(11, 20, 48, .30) 30%,
      rgba(11, 20, 48, 0) 60%),
    image-set(url('../img/hero.jpeg') 1x, url('../img/hero.jpeg') 2x);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  min-height: 72vh;
}

@media (max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
}

.hero-copy h1 span {
  color: var(--brand-green);
}

.lead {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 18px;
  max-width: 64ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-bullets {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #12317c;
}

.hero-bullets li {
  background: #ffffffb3;
  border: 1px solid #dbe6ff;
  border-radius: 999px;
  padding: 8px 12px;
}

/* Card lateral */
.hero-card {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(120%) blur(6px);
  border: 1px solid #dbe6ff;
  box-shadow: 0 12px 28px rgba(10, 71, 163, .08);
  border-radius: 16px;
  padding: 20px;
}

.hero-card h3 {
  margin: 0 0 12px;
  color: #0b1430;
}

.hero-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #1f2937;
}

/* “fatias” diagonais entre seções */
.slice {
  height: 48px;
  position: relative;
  z-index: 1;
}

.slice::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: normal;
  z-index: 0;
  opacity: 1;
}

/* garante cartões por cima da fatia */
.card,
.hero-card,
.orcamento-form {
  position: relative;
  z-index: 2;
  background: #fff;
}

/* =================== SECTION BASE =================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-head {
  margin: 0 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--green);
}

.section h2 {
  margin: 6px 0 8px;
  font-size: 36px;
  line-height: 1.15;
}

.section .sub {
  margin: 0;
  color: #475569;
}

/* alternância suave de fundo */
.section:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(10, 71, 163, 0.12) 0%, rgba(255, 255, 255, 0.98) 80%);
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(76, 175, 80, 0.10) 0%, rgba(255, 255, 255, 0.98) 80%);
}

/* grids utilitários */
.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width:1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:680px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Cards outline */
.cards-outline .card-ol {
  border: 1.8px dashed #c5d3f3;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #17315f;
}

.card-ol .ico {
  font-size: 20px;
}

/* Circles feature */
.feature-circles .feat {
  background: #fff;
  border: 1px solid #dbe6ff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.feature-circles .circle {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: radial-gradient(85% 85% at 25% 25%, #37B34A 0%, #1E5EBE 100%);
}

/* Timeline */
.timeline {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.timeline li {
  position: relative;
  background: #fff;
  border: 1px solid #e7edf9;
  border-radius: 12px;
  padding: 14px 16px 14px 52px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0a47a3;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

/* Glass section */
.glass-bg {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%);
}

.cards-glass .card-gl {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(120%) blur(4px);
  border: 1px solid #dbe6ff;
  border-radius: 14px;
  padding: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(10, 71, 163, .08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card-gl:hover,
.mo:hover {
  transform: scale(1.03);
  transition: transform .2s ease, filter .2s ease;
}

/* Mosaic diferenciais */
.mosaic {
  grid-template-columns: 2fr 1.2fr 1fr;
}

.mo {
  background: #fff;
  border: 1px solid #e7edf9;
  border-radius: 14px;
  padding: 16px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.it1 {
  grid-column: 1;
}

.it2 {
  grid-column: 2;
}

.it3 {
  grid-column: 3;
}

.it4 {
  grid-column: 1 / span 2;
}

.it5 {
  grid-column: 3;
}

@media (max-width:1024px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .it4 {
    grid-column: auto;
  }

  .it5 {
    grid-column: auto;
  }
}

@media (max-width:680px) {
  .mosaic {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  margin: 10px 0;
  background: #fff;
  border: 1px solid #e7edf9;
  border-radius: 12px;
  padding: 12px 14px;
}

.faq>summary {
  cursor: pointer;
  font-weight: 700;
  color: #0b1430;
}

.faq>p {
  margin: 10px 0 0;
  color: #374151;
}

/* =================== Depoimentos =================== */
.ts {
  position: relative;
  padding: 0 28px;
}

.ts-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.ts-btn--prev {
  left: -2px;
}

.ts-btn--next {
  right: -2px;
}

.ts-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 40vw, 520px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  scrollbar-width: none;
}

.ts-track::-webkit-scrollbar {
  display: none;
}

.ts-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

.ts-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.g-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0a3d15;
  font-weight: 800;
  background: #b4f5b6;
}

/* =================== Form orçamento =================== */
.orcamento-form {
  display: grid;
  gap: 14px;
  background: #fff;
  border: 1px solid #e7edf9;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0b1430;
}

input,
select {
  width: 100%;
  margin-top: 6px;
  font-size: 16px;
  padding: 14px 14px;
  border-radius: 12px;
  background: #f2f4f7;
  border: 1px solid #e5e7eb;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

input:focus,
select:focus {
  border-color: #c7cbd3;
  background: #eef1f6;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, .12);
}

@media (max-width:720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =================== CTA final =================== */
.cta-final h2 {
  margin: 0 0 6px;
}

.cta-final p {
  margin: 0 0 14px;
}

/* =================== FOOTER =================== */
.footer-ss {
  --footer-bg: #0f172a;
  --footer-bg-2: #0b1224;
  --footer-fg: #e5e7eb;
  --footer-muted: #cbd5e1;
  --footer-border: #233055;
  --footer-card: #18223c;
  --accent: #0a7a4f;
  --accent-cta: #25d366;
  margin-top: 72px;
  background: var(--footer-bg);
  color: var(--footer-fg);
}

.footer-ss_grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0;
  margin-left: 100px;
  margin-right: 100px;
}

@media (max-width:1100px) {
  .footer-ss_grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:640px) {
  .footer-ss_grid {
    grid-template-columns: 1fr;
  }
}

.footer-ss_brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-ss_brand p {
  margin: 16px 0 20px;
  color: var(--footer-muted);
  line-height: 1.7;
  font-size: 14px;
}

/* Social */
.footer-ss_social {
  display: flex;
  gap: 12px;
}

.footer-ss_social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--footer-muted);
  background: var(--footer-card);
  border: 1px solid var(--footer-border);
  transition: transform .08s ease, background .2s ease, color .2s ease;
}

.footer-ss_social a:hover {
  transform: translateY(-2px);
  color: #fff;
  background: #243250;
}

/* Colunas */
.footer-ss_col h4 {
  margin: 0 0 14px;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
}

.footer-ss_col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-ss_col li {
  margin: 10px 0;
}

.footer-ss_col a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease, text-underline-offset .2s ease;
}

.footer-ss_col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contato */
.footer-ss_contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-ss_contact svg {
  color: #94a3b8;
}

/* Botão WhatsApp */
.footer-ss_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(10, 122, 79, .25);
  transition: transform .06s ease, filter .2s ease;
}

.footer-ss_btn:hover {
  background: linear-gradient(90deg, #2563EB, #1E3A8A);
  color: #fff;
  border-color: #2563EB;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .25);
  transform: translateY(-2px);
}

/* Barra inferior */
.footer-ss_bar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #0b1224;
  padding: 20px 20px;
}

.footer-ss_bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #9fb0ce;
  font-size: 13px;
}

.footer-ss_bar__inner ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-ss_bar__inner a {
  color: #9fb0ce;
  text-decoration: none;
}

.footer-ss_bar__inner a:hover {
  color: #ffffff;
}

@media (max-width:640px) {
  .footer-ss_bar__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Acessibilidade: foco visível no teclado */
.footer-ss a:focus-visible {
  outline: 2px solid #4f8bff;
  outline-offset: 2px;
  border-radius: 8px;
}

/* =================== WhatsApp flutuante =================== */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25d366;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  z-index: 200;
  transition: transform .2s ease, filter .2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.wa-float img {
  width: 28px;
  height: 28px;
}

/* =================== Extras úteis =================== */
.sticky-more {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: #0a47a3;
  color: #fff;
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.sticky-more .btn-mini {
  background: #fff;
  color: #0a47a3;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

/* ===== Header + container mais confortáveis em telas grandes ===== */

/* 1) Aumenta a largura máxima do conteúdo do header em desktops grandes */
@media (min-width: 1400px) {
  :root {
    --wrap: 1320px;
  }

  /* de 1200 → 1320 */
}

@media (min-width: 1800px) {
  :root {
    --wrap: 1440px;
  }

  /* ultrawide */
}

/* 2) Altura do header e logo com tamanho fluido */
.header-wrap {
  height: clamp(74px, 5vw, 92px);
  /* mantém a navegação respirando em telas grandes */
}

.brand {
  height: clamp(40px, 2.8vw, 52px);
  width: auto;
}

/* 3) Tipografia e espaçamento do menu que escalam suavemente */
.nav {
  font-size: clamp(14px, 0.95vw, 18px);
  gap: clamp(12px, 1.2vw, 22px);
}

.nav a {
  padding: clamp(6px, 0.5vw, 10px) clamp(10px, 0.8vw, 14px);
}

.nav a.btn--pill {
  padding: clamp(8px, 0.7vw, 12px) clamp(14px, 1vw, 20px);
  border-width: 2px;
}

/* 4) Compensação do herói para a nova altura do header */
.hero-split {
  padding-top: clamp(96px, 7vw, 120px);
}