/*
  Desenvolvido por: Rafael Mello
  Acesse rafaelmello.site
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1A1F2E;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== CSS VARIABLES ===== */
:root {
  --green: #12A84F;
  --green-bright: #8ED33F;
  --green-glow: rgba(18, 168, 79, 0.12);
  --yellow: #FFCA00;
  --yellow-bright: #FFCA00;
  --yellow-glow: rgba(255, 202, 0, 0.15);
  --yellow-text: #FFCA00;
  --blue: #2563EB;
  --blue-bright: #2563EB;
  --blue-glow: rgba(37, 99, 235, 0.12);
  --bg: #ffffff;
  --bg-2: #f0faf4;
  --bg-card: #ffffff;
  --border: rgba(18, 168, 79, 0.4);
  --border-hover: rgba(18, 168, 79, 0.75);
  --text-primary: #1A1F2E;
  --text-secondary: #1A1F2E;
  --text-muted: #7a9a7a;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== NOISE TEXTURE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.18;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #e8f0e8; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ===== NAVIGATION ===== */
nav {
  position: static;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 max(24px, calc((100% - 1600px) / 2));
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  transition: all 0.4s var(--transition);
}
nav.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow: visible;
  width: auto;
}
.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
  padding-top: 16px;
  margin-left: -12px;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  box-shadow: 0 2px 12px var(--green-glow);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-name {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.nav-logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: #464545;
  font-size: 16px;
  font-weight: 600;
  padding: 20px 20px;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-2);
}

.nav-cta {
  justify-self: end;
  background: var(--green) !important;
  color: #fff !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 16px var(--green-glow) !important;
  transition: all 0.25s var(--transition) !important;
}
.nav-cta:hover {
  background: var(--green-bright) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(18,168,79,0.25) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 113vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 96px max(24px, calc((100% - 1600px) / 2)) 110px;
  background: #ffffff;
}


.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  pointer-events: none;
}

.hero-left,
.hero-actions a,
.hero-actions button {
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18,168,79,0.09);
  border: 1.5px solid rgba(18,168,79,0.28);
  border-radius: 100px;
  padding: 7px 16px 7px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2px;
  color: #000000;
  margin-bottom: 24px;
}
.hero-title-highlight {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 16px;
  line-height: 1.75;
  color: #464545;
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--transition);
  box-shadow: 0 4px 20px var(--green-glow);
  letter-spacing: 0.2px;
}
.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(18,168,79,0.25);
}
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid var(--green);
  cursor: pointer;
  transition: all 0.25s var(--transition);
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-2);
  transform: translateY(-2px);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 440px;
}

.hero-img-wrapper {
  display: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Stats floating cards */
.hero-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(18,168,79,0.18);
  border-left: 3px solid var(--green-bright);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}
.hero-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.hero-stat--1 { top: 5%;     right: 3%; }
.hero-stat--2 { bottom: 25%; right: 3%; }
.hero-stat--3 { top: 46%;   left: 0%; }
.hero-stat { pointer-events: auto; }


/* ===== HERO MASCOT BADGE ===== */
.hero-mascot-wrap {
  position: relative;
  height: 0;
  z-index: 20;
  pointer-events: none;
}

.hero-mascot {
  position: absolute;
  right: 12%;
  bottom: 0;
  transform: translateY(-55px);
  width: 155px;
  height: 255px; /* extra height for mascot overflowing above disc */
  pointer-events: auto;
}

/* white circle — sits at the bottom of the container */
.hero-mascot-disc {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.20), 0 0 0 5px rgba(0,156,59,0.35);
  z-index: 1;
}

/* mascot image — overflows the top of the disc */
.hero-mascot-img {
  position: absolute;
  bottom: 28px; /* feet sit inside the disc */
  left: 50%;
  transform: translateX(-50%);
  width: 148px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* curved text inside the disc */
.hero-mascot-label {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 768px) {
  .hero-mascot {
    width: 105px;
    height: 175px;
    right: 5%;
    transform: translateY(-38px);
  }
  .hero-mascot-disc {
    width: 100px;
    height: 100px;
  }
  .hero-mascot-img {
    width: 100px;
    bottom: 18px;
  }
  .hero-mascot-label text { font-size: 10px; }
}


/* ===== SECTION COMMON ===== */
section {
  padding: 72px max(24px, calc((100% - 1600px) / 2));
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  background: rgba(18,168,79,0.08);
  border: 1px solid rgba(18,168,79,0.2);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
}
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #6b7280;
  margin-top: 12px;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #6b7280;
  max-width: 700px;
}

.section-plain-label {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #12A84F;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

/* ===== SERVICES SECTION ===== */
.services {
  background: #ffffff;
  padding-top: 56px;
  padding-bottom: 56px;
}

.services-header {
  margin-bottom: 24px;
}
.services-header .section-title {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.services-grid--three {
  align-items: stretch;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  cursor: pointer;
  transition: transform 0.35s var(--transition), border-color 0.35s var(--transition), box-shadow 0.35s var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  display: flex;
  flex-direction: column;
}

.service-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(18,168,79,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18,168,79,0.35);
  box-shadow: 0 10px 36px rgba(18,168,79,0.11), 0 0 0 1px rgba(18,168,79,0.18);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--green);
}
.service-icon svg {
  width: 100%;
  height: auto;
  stroke: var(--green);
}
.service-icon-img {
  width: 52px;
  height: 114px;
  object-fit: fill;
  flex-shrink: 0;
  display: block;
}
.service-icon-img--wide {
  width: 68px;
}
.service-icon-img--mista {
  width: 70px;
  height: 104px;
}
.service-icon-img--geo {
  width: 72px;
}
.service-icon-img--solo {
  height: 114px;
  width: 84px;
  margin-left: 22px;
}
.service-icon-img--cortina {
  height: 100px;
  width: 76px;
  margin-left: 8px;
}
.service-icon-img--concreto {
  height: 100px;
  width: 92px;
  margin-left: 34px;
  margin-top: 0px;
}
.service-icon-img--drenagem {
  width: 98px;
  margin-left: 40px;
}
.service-icon-img--spt {
  width: 75px;
  height: 89px;
  margin-left: 18px;
}
.service-icon-img--rotativa {
  width: 78px;
  margin-left: 8px;
}
.service-icon-img--mista-sond {
  width: 75px;
  height: 89px;
  margin-left: 18px;
}
.service-icon-img--instru {
  height: 110px;
  width: 50px;
  margin-left: 8px;
}

.service-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0 0 0 30px;
}

.service-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: #505255;
  flex: 1;
  margin-bottom: 12px;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  opacity: 1;
  transition: all 0.3s;
}
.service-arrow svg { width: 26px; height: 26px; stroke-width: 2; }
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ===== PROCESS SECTION ===== */
.process {
  background: var(--bg);
}

/* Label sem pill nesta seção */
.process .section-label {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.process .section-label::before { display: none; }

/* Título nesta seção */
.process .section-title {
  font-size: clamp(24px, 2.64vw, 34px) !important;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 0;
}

/* Layout: coluna esquerda (header+steps) | coluna direita (diferenciais) */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 38px;
  align-items: stretch;
}

/* Coluna esquerda: header + steps empilhados */
.process-left {
  display: flex;
  flex-direction: column;
  gap: 29px;
  min-width: 0;
}

.process-header { margin-bottom: 0; }

/* 4 steps em linha horizontal */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

/* Linha tracejada entre os ícones */
.process-steps::before {
  content: '';
  position: absolute;
  top: 125px;
  left: 12.5%;
  right: 40.5%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(0,0,0,0.18) 0px,
    rgba(0,0,0,0.18) 6px,
    transparent 6px,
    transparent 14px
  );
  z-index: 0;
}

.page-contencoes .process-steps::before {
  right: 15.5%;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 19px 26px;
  position: relative;
  border-right: none;
}
.process-step:last-child { border-right: none; }


.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(18,168,79,0.25);
  transition: all 0.3s;
}

/* Ícone com fundo circular compacto */
.process-step-icon {
  width: 110px;
  height: 110px;
  color: var(--green);
  stroke: var(--green);
  margin-bottom: 17px;
  padding: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  flex-shrink: 0;
  align-self: flex-start;
  margin-left: 16px;
}

.process-step-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1A1F2E !important;
  margin-bottom: 7px;
  line-height: 1.3;
}

.process-step-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #4b4f57 !important;
}

/* Diferenciais sidebar */
.diferenciais {
  background: #ffffff;
  border: none;
  border-radius: var(--radius);
  position: relative;
  padding: 38px 22px;
  box-shadow: 0 4px 20px rgba(18,168,79,0.1);
  align-self: end;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--yellow), var(--green), var(--blue));
  border-radius: var(--radius) var(--radius) 0 0;
}

.diferenciais-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1A1F2E;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 17px;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
}

.diferencial-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(18,168,79,0.12);
  align-items: flex-start;
}
.diferencial-item:last-child { border-bottom: none; padding-bottom: 0; }
.diferencial-item:first-of-type { padding-top: 0; }

.diferencial-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(18,168,79,0.1);
  border: 1.5px solid rgba(18,168,79,0.2);
}
.diferencial-icon svg { stroke: var(--green); width: 24px; height: 24px; }

.diferencial-text { flex: 1; }
.diferencial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 3px;
}
.diferencial-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

/* ===== CTA / FORM SECTION ===== */
.cta-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 400px 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  padding: 36px;
  max-width: 100%;
  margin: 0 auto;
}

.cta-content .section-title {
  font-size: clamp(22px, 2.8vw, 34px);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.cta-content .section-desc {
  font-size: 14px;
  line-height: 1.65;
}

/* Form — sem card, inputs direto */
.quote-form { width: 100%; max-width: 780px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-input, .form-select {
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.2s;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.form-input::placeholder { color: #6b7280; }
.form-select { color: var(--text-primary); }
.form-input:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18,168,79,0.1);
}
.form-select { cursor: pointer; }
.form-select option { background: #ffffff; color: var(--text-primary); }

.form-select-wrapper { position: relative; }
.form-select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}
.form-privacy svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Coluna de botões do CTA */
.cta-btn-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
  flex-shrink: 0;
  align-items: stretch;
}

.form-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #1A1F2E;
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(0,0,0,0.13);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s var(--transition);
  letter-spacing: 0.2px;
  cursor: pointer;
}
.form-whatsapp-btn:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37,211,102,0.04);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.15);
}
.form-whatsapp-btn svg { flex-shrink: 0; }
.form-whatsapp-btn:hover svg path { fill: #25D366; }

/* Botão standalone na 3ª coluna */
.form-submit-standalone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #12A84F;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(18,168,79,0.28);
  transition: all 0.25s var(--transition);
  line-height: 1.4;
  letter-spacing: 0.2px;
}
.form-submit-standalone:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(18,168,79,0.3);
}
.form-submit-standalone svg { transition: transform 0.2s; }
.form-submit-standalone:hover svg { transform: translateX(3px); }


/* ===== FOOTER ===== */
footer {
  position: relative;
  background: #ffffff;
  padding: 48px max(24px, calc((100% - 1600px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transform: translateY(-20%);
}
.footer-copy {
  font-size: 13px;
  color: #1A1F2E;
  margin-left: 16px;
}
.footer-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  transition: all 0.2s;
}
.footer-links a:hover {
  color: var(--text-primary);
  background: var(--bg-2);
}
.footer-links a:hover { color: var(--text-secondary); }

.footer-credit {
  display: block;
  font-size: 11px;
  color: #b0b8c4;
  letter-spacing: 0.3px;
  margin-top: 3px;
  margin-left: 16px;
}
.footer-credit a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit a:hover { color: #1A1F2E; }

.footer-lgpd {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: #c8cfd8;
  letter-spacing: 0.2px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 4px;
}

/* ===== FOOTER CENTER PAGE LINKS ===== */
.footer-page-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-page-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  padding: 6px 14px;
  border: 1.5px solid var(--green);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.footer-page-links a:hover {
  background: var(--green);
  color: white;
}

/* ===== CROSS-PAGE LINKS (Quem Somos) ===== */
.quem-somos-outros-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.quem-somos-outros-links span {
  font-size: 13px;
  color: #6b7280;
  font-family: 'Inter', sans-serif;
}
.quem-somos-outro-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border: 1.5px solid var(--green);
  padding: 6px 14px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.quem-somos-outro-link:hover {
  background: var(--green);
  color: white;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-btn svg {
  width: 42px;
  height: 42px;
}
.whatsapp-btn:hover {
  background: #20c05a;
  box-shadow: 0 6px 22px rgba(0,0,0,0.32);
}

@media (max-width: 768px) {
  .whatsapp-btn {
    width: 58px;
    height: 58px;
    bottom: 14px;
    right: 14px;
  }
  .whatsapp-btn svg {
    width: 32px;
    height: 32px;
  }
}

/* ===== LOADING SPIN ===== */
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SCROLL REVEAL BASE ===== */
.reveal { opacity: 0; }
.reveal-up { opacity: 0; transform: translateY(30px); }
.reveal-left { opacity: 0; transform: translateX(-30px); }
.reveal-right { opacity: 0; transform: translateX(30px); }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,168,79,0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s;
}

/* ===== MOBILE NAV MENU ===== */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 20px max(24px, calc((100% - 1600px) / 2));
  z-index: 9998;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-menu a:last-child {
  border-bottom: none;
  color: var(--green);
  font-weight: 600;
}
.nav-mobile-menu a:hover { color: var(--text-primary); }

/* ===== BRAND PALETTE: SISTEMA DE CORES POR SEÇÃO =====
   Hero / Quem Somos / CTA  →  Verde   (marca primária)
   #servicos                →  Azul    (#2596be) profissionalismo
   #processo                →  Amarelo (#ecbc14) método e excelência
   ===================================================== */

/* ── SERVIÇOS: label em azul + cores sequenciais nos cards ── */
#servicos .section-plain-label          { color: #12A84F; }
#servicos .service-card                 { border-top: 3px solid var(--blue); }
#servicos .service-card:nth-child(1)    { border-top-color: var(--yellow) !important; }
#servicos .service-card:nth-child(2)    { border-top-color: var(--green-bright) !important; }
#servicos .service-card:nth-child(3)    { border-top-color: #12A84F !important; }
#servicos .service-card:nth-child(4)    { border-top-color: var(--blue) !important; }
/* 3 cards: pula verde claro */
#servicos .services-grid--three .service-card:nth-child(2) { border-top-color: #12A84F !important; }
#servicos .services-grid--three .service-card:nth-child(3) { border-top-color: var(--blue) !important; }
#servicos .service-card::before         {
  background: linear-gradient(160deg, rgba(37,99,235,0.05) 0%, transparent 60%);
}
#servicos .service-arrow                { color: var(--blue); }

/* ── PROCESSO: toda a seção em amarelo-ouro ── */
#processo .section-plain-label          { color: #12A84F !important; }
.process-step-num                       {
  background: #ecbc14 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(255,202,0,0.35) !important;
}
.diferenciais-title                     { color: #1A1F2E !important; }

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 320px; order: -1; }
  .hero-title { font-size: clamp(32px, 6vw, 48px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-right: 2px solid var(--border); border-top: 2px solid var(--border); }
  .process-step:nth-child(4) { border-top: 2px solid var(--border); }
  .cta-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-btn-col { grid-column: 1 / -1; flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .form-submit-standalone { grid-column: unset; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  /* Base */
  html, body { overflow-x: hidden; max-width: 100%; }
  section { padding: 48px 20px; }
  nav { padding: 0 20px; position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 1px 0 rgba(0,0,0,0.07); }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; grid-column: 3; justify-self: end; }

  /* Hero */
  .hero {
    padding: 88px 20px 56px;
    min-height: auto;
    background-image: none !important;
    background-color: #ffffff;
  }
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-title { font-size: clamp(30px, 8vw, 40px); letter-spacing: -1.2px; }
  .hero-description { max-width: 100%; font-size: 15px; }

  /* Imagem hero: torna sutil como fundo, sem mask lateral */
  .hero-img-wrapper {
    width: 100%;
    left: 0;
    opacity: 0.1;
    z-index: 0;
  }
  .hero-img {
    -webkit-mask-image: none;
    mask-image: none;
    object-position: center center;
  }

  /* Oculta bloco de stat cards no mobile */
  .hero-visual { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-layout { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-top: 2px solid var(--border); }
  .process-step:first-child { border-top: none; }

  /* CTA / Form */
  .cta-section { padding-top: 48px; }
  .cta-inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit-standalone {
    width: 100%;
    justify-content: center;
    margin: 0;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px 24px;
  }
  .cta-form-area { flex-direction: column; gap: 16px; }
  .cta-btn-col { width: 100%; flex-direction: column !important; }
  .form-whatsapp-btn { font-size: 16px; padding: 16px 24px; width: 100%; justify-content: center; }

  /* Footer */
  footer { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-links { display: none; }
  .footer-page-links { display: none; }
  .footer-brand { flex-direction: column; align-items: center; gap: 8px; }
  .footer-copy { margin-left: 0; }
}

/* ===== RESPONSIVE — MOBILE PEQUENO ===== */
@media (max-width: 480px) {
  .hero-title { font-size: 28px; letter-spacing: -1px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; width: 100%; }
  .section-title { font-size: 24px; letter-spacing: -0.8px; }
  .cta-content .section-title { font-size: 22px; }
}
