*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-home {
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: all 300ms ease 0s;
}

a:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin: 20px 0;
}

p {
  margin: 0 0 15px;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 2000;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .container { width: 750px; }
}
@media (min-width: 992px) {
  .container { width: 970px; }
}
@media (min-width: 1200px) {
  .container { width: 1170px; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
}

.main-header {
  padding: 15px 0;
  box-shadow: 0px 5px 22px -5px rgba(122, 122, 122, 0.1);
}

.header-row {
  display: flex;
  align-items: center;
}

.branding-col {
  width: 33.3333%;
  position: relative;
}

.menu-col {
  width: 66.6667%;
}

.site-branding img {
  display: block;
  width: 200px;
  height: 139px;
  object-fit: contain;
}

.main-nav {
  text-align: right;
}

.nav-list {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
  display: inline-block;
  font-size: 22px;
}

.nav-list > li > a {
  display: block;
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 22px;
  color: var(--green);
  text-transform: none;
  margin: 0 10px;
  padding: 8px 0;
}

.nav-list > li > a:hover,
.nav-list > li > a[aria-current="page"] {
  color: #0f3d1f;
}

.nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  z-index: 99999;
  transition: opacity 0.6s;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.nav-list .sub-menu a {
  display: block;
  width: 240px;
  padding: 10px 14px;
  font-family: var(--font-script);
  font-size: 20px;
  color: #fff;
  background: var(--green);
}

.nav-list .sub-menu a:hover {
  background: var(--green-2);
}

.menu-btn-toggle {
  display: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
}

.menu-btn {
  width: 30px;
  height: 30px;
  position: relative;
}

.menu-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #2d3142;
  left: 0;
  transition: 0.25s ease-in-out;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 12px; }
.menu-btn span:nth-child(3) { top: 24px; }

.menu-btn.is-open span:nth-child(1) {
  transform: rotate(45deg);
  top: 4px;
  left: 5px;
}
.menu-btn.is-open span:nth-child(2) {
  width: 0;
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 25px;
  left: 5px;
}

.offcanvas {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 255px;
  height: 100%;
  background: #2e3142;
  z-index: 1200;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 300ms;
}

.offcanvas.is-open {
  display: block;
  transform: translateX(0);
}

.offcanvas-branding {
  background: #1c1c1c;
  padding: 19px 30px;
}

.offcanvas-branding img {
  width: 140px;
  height: auto;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.mobile-menu a {
  color: #f2f2f2;
  display: block;
  padding: 10px 30px;
  font-size: 16px;
}

.mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu .sub-menu a {
  padding-left: 44px;
  font-size: 14px;
}

.offcanvas-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1190;
}

.offcanvas-backdrop.is-open {
  display: block;
}

/* Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-track {
  position: relative;
}

.hero-slide {
  display: none;
  position: relative;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: auto;
  max-height: 752px;
  object-fit: cover;
  display: block;
  aspect-ratio: 1920 / 1003;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  margin: auto;
  text-align: center;
  pointer-events: none;
}

.hero-caption > div {
  width: 60%;
  margin: 0 auto;
}

.hero-caption h1 {
  font-family: var(--font-script);
  font-size: 45px;
  font-weight: 400;
  color: #fff;
  text-transform: none;
  text-shadow: 2px 2px 4px #000;
  margin: 0 0 30px;
}

.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.hero-dots button {
  width: 20px;
  height: 20px;
  padding: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hero-dots button::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.hero-dots button.is-active::before {
  background: #fff;
}

/* Home sections */
.sec-full {
  position: relative;
}

.sec-quem {
  padding: 10px 0 0;
  background: url("/assets/img/bg-quem-somos.webp") center / cover no-repeat;
}

.quem-grid {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.quem-copy {
  width: 35.4%;
  padding: 50px 0;
}

.quem-copy h1 {
  font-size: 45px !important;
  color: var(--green);
  margin-top: 0;
}

.quem-copy .script {
  color: #262626;
  font-size: 35px;
  font-family: var(--font-script);
  margin: 0 0 15px;
}

.quem-copy p {
  font-weight: 700;
}

.quem-photo {
  width: 64.6%;
}

.quem-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.sec-galeria-cta {
  padding: 200px 0;
  background: url("/assets/img/bg-galeria.webp") center / cover no-repeat fixed;
  text-align: center;
  color: #fff;
}

.sec-galeria-cta h1 {
  font-size: 45px !important;
  color: #fff;
  margin: 0 0 10px;
}

.sec-galeria-cta .script {
  color: #fff;
  font-size: 35px;
  font-family: var(--font-script);
  text-align: center;
  margin: 0 0 20px;
}

.sec-espaco {
  padding: 80px 0;
  background: #fff;
}

.espaco-grid {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.espaco-copy {
  width: 50.9355%;
}

.espaco-copy h1 {
  font-size: 45px !important;
  color: var(--green);
  margin-top: 0;
}

.espaco-copy .script {
  color: #262626;
  font-size: 35px;
  font-family: var(--font-script);
}

.espaco-photo {
  width: 49.0645%;
}

.espaco-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.sec-orcamento {
  padding: 200px 0;
  background: #1a6634;
  text-align: center;
  color: #fff;
}

.sec-orcamento h1 {
  font-size: 45px !important;
  color: #fff;
  margin: 0 0 20px;
}

.sec-local {
  position: relative;
  padding: 100px 0;
  background: url("/assets/img/bg-localizacao.webp") center / cover no-repeat fixed;
  color: #fff;
  z-index: 1;
}

.sec-local::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #16562c;
  opacity: 0.6;
  z-index: -1;
}

.sec-local h1 {
  font-size: 45px !important;
  color: #fff;
  margin: 0 0 20px;
}

.sec-local iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* Buttons */
.btn-flat {
  display: inline-block;
  font-family: var(--font-btn);
  font-size: 1em;
  line-height: 1em;
  padding: 1em 2em;
  text-align: center;
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
}

.btn-white {
  background: #fff;
  color: #16562c !important;
  border: 1px solid #fff;
  border-width: 1px 0;
}

.btn-green {
  background: #16562c;
  color: #fff !important;
  border: 1px solid #16562c;
  border-width: 1px 0;
}

.btn-green:hover {
  background: #1a6634;
  border-color: #1a6634;
}

.btn-atom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1em;
  line-height: 1em;
  padding: 1em 2em;
  color: #fff !important;
  background: linear-gradient(to top, #0c2d17, #16562c);
  border: 1px solid #082111;
  border-radius: 0.25em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.065);
}

.btn-atom:hover {
  background: linear-gradient(to top, #0e361b, #185e30);
}

.btn-atom svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

.center {
  text-align: center;
}

/* Interior */
.page-wrap {
  margin: 60px 0;
}

.page-card {
  background: #fff;
  padding: 30px;
  box-shadow: 0px 0px 32px 0px rgba(122, 122, 122, 0.1);
}

.entry-title {
  margin: 0 0 40px;
  text-transform: uppercase;
  color: #16562c;
  font-size: 36px;
}

.page-inner {
  padding-top: 10px;
  padding-bottom: 100px;
}

/* Gallery grid */
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

.photo-item {
  width: 300px;
  max-width: 100%;
  margin: 0 4px 4px 0;
  overflow: hidden;
  z-index: 1;
}

.photo-item a {
  display: block;
  overflow: hidden;
  position: relative;
  padding-top: 100%;
}

.photo-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (min-width: 480px) {
  .photo-item a:hover img {
    transform: scale(1.1);
  }
}

/* Form */
.contact-form label {
  display: block;
  margin: 0 0 16px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 95%;
  max-width: 100%;
  background: #16562c;
  color: #fff;
  border: 2px solid #16562c;
  padding: 12px 15px;
  border-radius: 5px;
  font-size: 16px;
  font-family: var(--font);
}

.contact-form textarea {
  min-height: 180px;
}

.contact-form input[type="submit"],
.contact-form button[type="submit"] {
  background: #16562c;
  color: #fff;
  font-size: 13px;
  border: 0;
  text-transform: uppercase;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  line-height: 1.9;
}

.form-feedback {
  min-height: 1.5em;
}

/* Footer */
.site-footer {
  background: #16562c;
  padding: 0;
  color: #fff;
}

.footer-contact {
  padding: 100px 0;
  background: url("/assets/img/bg-rodape.webp") center / cover no-repeat;
}

.footer-grid {
  display: flex;
  gap: 30px;
}

.footer-col {
  width: 50%;
}

.footer-col h1 {
  font-size: 45px !important;
  color: #252525;
  margin-top: 0;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  text-align: left;
  color: #252525;
}

.contact-line img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.contact-line a {
  color: #252525;
}

.footer-logo {
  display: block;
  margin: 0 auto 20px;
  width: 300px;
  height: auto;
}

.socials {
  text-align: center;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8em;
  height: 3.8em;
  margin: 0.2em 0.1em;
  background: #16562c;
  color: #fff;
  font-size: 1.66em;
}

.socials svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: #fff;
  font-size: 14px;
}

.footer-bar a {
  color: #fff;
}

.footer-nav {
  text-align: right;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  display: inline-block;
  margin: 3px 5px;
}

.maps-mobile {
  display: none;
  text-align: center;
}

.maps-mobile img {
  width: 40px;
  height: 40px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  padding: 8px 14px;
}

.lightbox-close {
  top: 12px;
  right: 16px;
}

.lightbox-prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1199px) {
  .menu-btn-toggle { display: block; }
  .menu-col { display: none; }
  .branding-col { width: 100%; }
  .site-branding { text-align: center; }
  .site-branding img { margin: 0 auto; }
}

@media (max-width: 1024px) {
  .header-row { display: block; }
  .sec-galeria-cta,
  .sec-local {
    background-attachment: scroll;
  }
}

@media (max-width: 991px) {
  .quem-grid,
  .espaco-grid,
  .footer-grid {
    flex-direction: column;
  }
  .quem-copy,
  .quem-photo,
  .espaco-copy,
  .espaco-photo,
  .footer-col {
    width: 100%;
  }
  .quem-copy {
    padding: 0 0 20px;
  }
  .sec-quem {
    padding-top: 0;
    padding-bottom: 0;
  }
  .sec-galeria-cta,
  .sec-orcamento,
  .sec-espaco,
  .sec-local,
  .footer-contact {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .entry-title {
    font-size: 24px !important;
  }
  .footer-nav { text-align: left; }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
  }
  .site-branding { text-align: center; }
}

@media (max-width: 780px) {
  .sec-galeria-cta,
  .sec-local {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  .main-header { padding: 25px 0; }
  .hero-caption { top: 15%; }
  .hero-caption > div { width: 100%; }
  .hero-caption h1 {
    font-size: 16px !important;
    margin-bottom: 10px;
  }
  .hero-dots { display: none; }
  .quem-copy .script,
  .espaco-copy .script,
  .sec-galeria-cta .script {
    font-size: 28px;
  }
  .maps-mobile { display: block; }
  .page-wrap { margin: 30px 0; }
}

@media (max-width: 500px) {
  .hero-caption { top: 10%; }
  .photo-item { width: 100%; margin-right: 0; }
}
