:root {
  --verde-esc: #1B4333;
  --verde-acento: #20B038;
  --branco: #FFFFFF;
  --cinza: #f5f7f6;
  --texto: #222;
  --fonte: Lastica;
  --shadow: 0 2px 10px rgba(27, 67, 51, 0.5);
  --shadow-min: 0 2px 5px rgba(27, 67, 51, 0.5);
  --radius: 0.75rem;
  --transition: all 0.3s ease
}

@font-face {
  font-family: Lastica;
  src: url("../../assets/fonts/lastica.woff2") format("woff2");
  font-display: swap
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  font-size: 100%;
  scroll-padding-top: 3rem
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--cinza) url('../../assets/img/fundo.svg') right bottom fixed no-repeat;
  background-size: 50vw;
  margin-top: 20px
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0
}

.container-fluid {
  max-width: 90%;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fonte);
  color: var(--verde-esc);
  line-height: 1.5;
  margin: 0 0 .5rem 0
}

h1 {
  font-size: 1.8rem;
  text-shadow: 1px 1px 2px var(--verde-acento);
  font-weight: 700;
  padding-top: 1rem
}

h2 {
  font-size: 1.3rem;
  text-shadow: 1px 1px 2px var(--verde-acento);
  font-weight: 600
}

h3 {
  font-size: 1.1rem;
  font-weight: 600
}

h4 {
  font-size: 1rem;
  font-weight: 500
}

.lead {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1rem;
  text-shadow: 0.1rem 0.1rem 0.6rem #fff;
}

.muted,
.small {
  font-size: .85rem;
  color: #444
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--verde-esc);
  color: var(--branco);
  padding: 4px 10px;
  font-size: .8rem;
  border-radius: 999px;
  font-weight: 600
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition)
}

.ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap
}

.btn {
  background: var(--verde-esc);
  color: var(--branco);
  padding: .5rem .875rem;
  border-radius: .5rem;
  font-weight: 600;
  display: inline-block;
  font-size: .95rem;
  border-style: hidden;
  display: flex;
  justify-content: center
}

.btn:hover {
  background: var(--verde-acento);
  color: var(--branco)
}

.btn.outline {
  background: var(--branco);
  padding: 0 .5rem;
  display: flex;
  justify-content: center;
  text-align: right;
  border: 1px solid rgba(27, 67, 51, .55);
  color: var(--verde-esc)
}

.btn.outline:hover {
  background: var(--verde-acento);
  color: var(--branco)
}

ul.clean {
  padding-left: 1.125rem
}

.section {
  margin: 1rem 0;
  padding: 1rem
}

.hero {
  position: relative;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem 0.5rem 1rem;
  flex-wrap: wrap;
  overflow: hidden
}

.hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%)
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .55);
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%)
}

.hero-left {
  flex: 1;
  z-index: 2
}

.hero-right {
  flex: 1;
  max-width: 22.5rem;
  z-index: 2
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 21.25rem;
  gap: 1.125rem
}

.process-list {
  display: grid;
  gap: .875rem;
  margin: 1.125rem 0
}

.process-list {
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr))
}

.quem-somos {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.75rem;
  align-items: center
}

.card,
.contact-card,
.step {
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.card {
  padding: .875rem;
  text-align: left
}

.card strong {
  color: var(--verde-acento)
}

.contact-card {
  padding: 1rem
}

.service-img {
  width: 100%;
  height: 15rem;
  margin-bottom: .75rem;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  overflow: hidden
}

.quem-somos .service-img,
.quem-somos img,
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .75rem;
  min-height: 18.75rem
}

.step {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: 1rem
}

.step .num {
  font-family: var(--fonte);
  font-size: 3.75rem;
  text-align: center;
  font-weight: 800;
  line-height: 1;
  color: var(--verde-acento);
  min-width: 3.75rem
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem
}

.contact-item a {
  display: flex
}

.contact-item img {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--verde-acento);
  flex-shrink: 0;
  margin-top: .25rem
}

.contact-label {
  font-weight: 600;
  color: var(--texto)
}

.contact-sublabel {
  font-size: .875rem;
  color: #333
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--verde-esc);
  color: var(--branco);
  padding: 0.75rem 0.5rem;
  border-bottom: .25rem solid var(--verde-acento);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
}

header.header-scrolled {
  padding: 0.35rem 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

header .container,
header .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem
}

.logo {
  width: 2.125rem;
  height: 2.125rem;
  display: grid;
  place-items: center;
  transition: all 0.4s ease;
}

header.header-scrolled .logo {
  width: 1.75rem;
  height: 1.75rem;
}

.logo img {
  width: 100%;
  height: auto;
  transition: all 0.4s ease;
}

.brand-text {
  font-family: var(--fonte);
  display: flex;
  flex-direction: column;
  line-height: 1.2
}

.brand-name {
  font-weight: 600;
  font-size: .9375rem
}

.brand-subtitle {
  font-size: .5rem;
  opacity: .7;
  max-height: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

header.header-scrolled .brand-subtitle {
  max-height: 0;
  opacity: 0;
  margin-top: -2px;
}

nav {
  position: relative
}

.nav-list {
  display: flex;
  gap: .625rem;
  list-style: none;
  align-items: center
}

.nav-list a {
  color: rgba(255, 255, 255, .95);
  padding: .25rem .5rem;
  border-radius: .25rem;
  font-weight: 500;
  font-size: .7rem;
  transition: var(--transition)
}

.nav-list a:hover {
  background: var(--branco);
  color: var(--verde-esc);
  opacity: 1
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: .25rem;
  cursor: pointer
}

.menu-toggle span {
  width: 1.25rem;
  height: .125rem;
  background: var(--branco);
  border-radius: .125rem
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 1rem 0
}

.carousel-track {
  display: flex;
  transition: transform .5s ease
}

.carousel .card {
  flex: 0 0 auto;
  width: calc(100% / 3 - 20px);
  margin: 10px;
  text-align: left
}

.carousel .card img {
  max-width: 100%;
  height: auto;
  display: block
}

.carousel-btn {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: var(--verde-esc);
  color: var(--branco);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 5;
  opacity: .85;
  transition: var(--transition)
}

.carousel-btn:hover {
  opacity: 1
}

.carousel-btn.prev {
  left: 10px
}

.carousel-btn.next {
  right: 10px
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: .5rem 0
}

.carousel-indicators button {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: none;
  background: var(--verde-esc);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-min)
}

.carousel-indicators button.active {
  background: var(--verde-acento)
}

#contato form label {
  display: block;
  font-weight: 600;
  margin-bottom: .25rem;
  color: var(--texto)
}

#contato input,
#contato select,
#contato textarea {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition)
}

#contato input:focus,
#contato select:focus,
#contato textarea:focus {
  outline: 0;
  border-color: var(--verde-acento);
  box-shadow: 0 0 0 2px rgba(32, 176, 56, .25)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem
}

.field-group {
  position: relative
}

.error-message {
  position: absolute;
  top: -10px;
  right: 0;
  background: #e63946;
  color: #fff;
  padding: 6px 10px;
  font-size: .85rem;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .15s ease, transform .15s ease
}

.error-message.show {
  opacity: 1;
  transform: translateY(0)
}

.error-message::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: 15px;
  border-width: 6px;
  border-style: solid;
  border-color: #e63946 transparent transparent transparent
}

.invalid {
  border-color: #e63946 !important;
  box-shadow: 0 0 0 2px rgba(230, 57, 70, .25);
  transition: border-color .3s ease, box-shadow .3s ease
}

.modal-erro {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #222;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  z-index: 9999;
  display: none;
  max-width: 500px;
  width: 90%;
  text-align: left
}

.modal-erro.show {
  display: block;
  animation: fadeIn .3s ease
}

.modal-erro h3 {
  margin-top: 0;
  margin-bottom: .75rem;
  font-family: var(--fonte);
  color: var(--verde-esc)
}

.modal-erro p {
  margin: .25rem 0
}

.modal-erro .close {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  color: #555
}

.modal-erro .close:hover {
  color: #000
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -10px)
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0)
  }
}

.email-suggest-box {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 300px;
  z-index: 20;
  border-radius: 6px;
  overflow: hidden;
  display: none
}

.email-suggest {
  padding: 8px 12px;
  cursor: pointer;
  transition: background .2s
}

.email-suggest.selected,
.email-suggest:hover {
  background: #20b038;
  color: #fff
}

.footer {
  background: var(--verde-esc);
  color: var(--branco);
  padding: 2.5rem 1.25rem 1.25rem;
  font-size: .875rem;
  border-top: .25rem solid var(--verde-acento)
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.875rem;
  max-width: 1200px;
  margin: 0 auto
}

.footer h3,
.footer h4 {
  margin-bottom: .625rem;
  color: var(--branco)
}

.footer-links ul {
  list-style: none
}

.footer-links li {
  margin-bottom: .5rem
}

.footer-links a,
.footer-social a {
  color: var(--branco)
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--verde-acento)
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center
}

.footer-social .social-icons img {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--branco)
}

.social-icons img:hover {
  fill: var(--verde-acento)
}

.footer-bottom {
  text-align: center;
  margin-top: 1.875rem;
  padding-top: .9375rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
  color: #eee
}

@media (min-width:880px) {
  header {
    padding: 1rem .5rem
  }

  .brand-name,
  .brand-subtitle,
  .logo img {
    transition: var(--transition)
  }

  .brand-name {
    font-size: 1.3rem
  }

  .brand-subtitle {
    font-size: .75rem
  }

  header.scrolled {
    padding: .5rem
  }

  header.scrolled .logo img {
    width: 30px;
    height: 30px
  }

  header.scrolled .brand-name {
    font-size: .95rem
  }

  header.scrolled .brand-subtitle {
    font-size: .5rem
  }
}

@media (max-width:880px) {
  h1 {
    font-size: 1.6rem
  }

  h2 {
    font-size: 1.2rem
  }

  h3 {
    font-size: 1rem
  }

  .lead {
    font-size: 1rem
  }

  .two-col {
    grid-template-columns: 1fr 18.75rem
  }

  .carousel .card {
    width: calc(100% / 2 - 20px)
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--verde-esc);
    padding: .5rem .75rem;
    border-radius: .375rem;
    min-width: 11.25rem
  }

  .nav-list.open {
    display: flex
  }

  .menu-toggle {
    display: flex
  }

  .quem-somos,
  .two-col {
    grid-template-columns: 1fr
  }

  .hero {
    flex-direction: column;
    border-radius: 0
  }

  .contact-card,
  .hero-right {
    max-width: 100%;
    width: 100%
  }

  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center
  }

  .footer-social {
    margin-top: .625rem
  }

  .footer-social .social-icons {
    justify-content: center
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
  }

  .btn.btn-primary,
  .btn.outline,
  .primary-call-to-action,
  .btn.w-100 {
    width: 100% !important;
  }
}

@media (max-width:640px) {
  h1 {
    font-size: 1.4rem
  }

  h2 {
    font-size: 1.1rem
  }

  h3 {
    font-size: .95rem
  }

  .btn {
    font-size: .85rem;
    padding: .4rem .7rem
  }

  body {
    font-size: .95rem;
    background-size: 100vw
  }

  .container {
    padding: 0
  }

  .step .num {
    font-size: 2.75rem
  }

  .carousel .card {
    flex: 0 0 100%;
    max-width: 94%;
    margin: 0 3%
  }

  .form-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 576px) {
  .nav-tabs .nav-link {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 0.8rem;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: .8rem;
  background-color: var(--verde-esc);
  color: var(--branco);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity .3s ease-in-out, visibility .3s ease-in-out, transform .3s ease-in-out
}

.whatsapp-float:hover {
  background: var(--verde-acento);
  color: var(--branco)
}

.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.whatsapp-float img {
  width: 2rem;
  height: 2rem
}