:root {
  --font: Alata, sans-serif;
  --font-size: 15px;
  --text: rgb(75, 79, 88);
  --text-muted: #7a7a7a;
  --text-dark: #151718;
  --gold: #a8740f;
  --cream: #f1e9d4;
  --ice: #f6f7fc;
  --bg: #ffffff;
  --container: 1240px;
  --boxed: 1140px;
  --header-h: 147px;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 10000;
}

.skip-link:focus {
  left: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.boxed {
  width: min(100%, var(--boxed));
  margin-inline: auto;
  padding-inline: 20px;
}

/* Header */
.site-header {
  background: var(--cream);
}

.header-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  display: block;
  width: 192px;
  height: 116px;
  object-fit: contain;
}

.nav-desktop ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--gold);
  font-size: 16px;
  font-weight: 400;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current='page'] {
  color: #8a5d0c;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  padding: 8px;
}

.mobile-panel {
  background: var(--cream);
  border-top: 1px solid rgba(168, 116, 15, 0.15);
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 20px 20px;
}

.mobile-panel a {
  display: block;
  color: var(--gold);
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(168, 116, 15, 0.12);
}

/* Slider */
.hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #111;
}

.slider-viewport,
.slide {
  height: 400px;
}

.slide {
  display: none;
  position: relative;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.slide:nth-child(2).is-active img {
  object-position: 29% 27%;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.slide-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: Alata, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.5;
  padding: 24px;
  z-index: 1;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

/* Intro */
.intro-section {
  background: var(--cream);
  padding: 100px 30px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.intro-title {
  margin: 0;
  text-align: center;
  font-size: 40px;
  font-weight: 400;
  color: #151718;
  line-height: 1.3;
}

.intro-title span {
  display: block;
  color: var(--gold);
}

.intro-grid p {
  margin: 0;
  padding-left: 10px;
  border-left: 1px solid rgba(21, 23, 24, 0.18);
  font-size: 16px;
  font-weight: 400;
  color: #151718;
  line-height: 1.7;
}

/* Sobre nós */
.about-section {
  position: relative;
  padding: 10px 0 0;
  margin-top: 50px;
  background: #fff;
}

.about-inner {
  max-width: 676px;
  text-align: center;
}

.kicker {
  margin: 0 0 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
}

.about-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 45px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
}

.about-inner p {
  margin: 0 auto 20px;
  max-width: 656px;
  font-size: 16px;
  font-weight: 400;
  color: #7a7a7a;
  text-align: center;
}

.about-cta {
  margin: 0 0 50px;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: Alata, sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.btn-gold:hover {
  background: #8a5d0c;
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.shape-bottom {
  line-height: 0;
  overflow: hidden;
}

.shape-bottom svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 155px;
  fill: var(--ice);
}

/* Serviços + flip */
.services-head {
  background: var(--ice);
  padding: 30px 30px 0;
  overflow: hidden;
}

.services-head .about-title {
  margin-bottom: 0;
}

.flip-section {
  background: var(--ice);
  padding: 30px 30px 101px;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.flip-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flip {
  perspective: 1000px;
  height: 237px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 237px;
  transform-style: preserve-3d;
  transition: transform 500ms;
}

.flip:hover .flip-card,
.flip.is-flipped .flip-card,
.flip:focus-within .flip-card {
  transform: rotateY(-180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
}

.flip-front {
  background: var(--gold);
  color: #fff;
}

.flip-back {
  background: #000;
  color: #fff;
  transform: rotateY(180deg);
}

.flip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.flip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: #fff;
  line-height: 1;
}

.flip-icon svg {
  display: block;
  height: 40px;
  width: auto;
  fill: currentColor;
}

.flip-title {
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.flip-title p,
.flip-title strong {
  margin: 0;
  font-weight: 700;
}

.flip-btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  text-transform: uppercase;
}

.flip-btn:hover {
  color: #fff;
  background: var(--gold);
}

/* Info boxes */
.info-section {
  padding: 100px 30px;
  background: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-box {
  text-align: center;
}

.info-box img {
  display: block;
  width: 396px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  object-fit: cover;
}

.info-title {
  margin: 0 0 16px;
  color: #000;
  font-size: 27px;
  font-weight: 400;
}

/* Interior pages */
.page-content {
  padding: 50px 0;
  background: #fff;
}

.page-content-tight {
  padding-bottom: 0;
}

.page-toggle {
  padding-top: 0;
  padding-bottom: 50px;
}

.page-heading {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
}

.page-body {
  color: #7a7a7a;
  font-size: 15px;
  line-height: 1.8;
}

.page-body p {
  margin: 0 0 1.2em;
}

.page-body strong {
  font-weight: 700;
}

/* Toggle */
.toggle-list {
  border-top: 1px solid #e6e6e6;
}

.toggle-item {
  border-bottom: 1px solid #e6e6e6;
}

.toggle-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
  color: var(--gold);
  font-family: Alata, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.toggle-caret {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--gold);
  flex-shrink: 0;
}

.toggle-title[aria-expanded='true'] .toggle-caret {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--gold);
  border-top: 0;
  width: 0;
  height: 0;
}

.toggle-panel {
  padding: 0 0 16px 22px;
  color: #7a7a7a;
  font-size: 15px;
  line-height: 1.7;
}

.toggle-panel p {
  margin: 0 0 0.8em;
}

.toggle-panel ul {
  margin: 0.4em 0 1em 1.2em;
  padding: 0;
}

.ico-check {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -1px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='%23A8740F' d='M173.9 439.4L7.6 273.1c-10.1-10.1-10.1-26.5 0-36.6l36.6-36.6c10.1-10.1 26.5-10.1 36.6 0L192 274.9 431.2 35.7c10.1-10.1 26.5-10.1 36.6 0l36.6 36.6c10.1 10.1 10.1 26.5 0 36.6L210.5 439.4c-10.1 10.1-26.5 10.1-36.6 0z'/></svg>");
}

/* Form */
.page-form {
  padding: 50px 0 80px;
}

.form-wrap {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 0 20px;
}

.entry-title {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 30px;
  font-weight: 700;
}

.contact-form label {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
}

.contact-form input[type='text'],
.contact-form input[type='tel'],
.contact-form input[type='email'],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #e2e2e2;
  background: #f7f7f7;
  font-family: Alata, sans-serif;
  font-size: 15px;
  color: var(--text-dark);
}

.contact-form textarea {
  height: 170px;
  resize: both;
}

.form-col {
  width: 47%;
}

.form-col-left {
  float: left;
  padding-left: 5px;
}

.form-col-right {
  float: right;
  margin-left: 6%;
}

.form-full {
  width: 100%;
  float: left;
  padding: 5px;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

.btn-submit {
  background: var(--gold);
  color: #fff;
  border: 0;
  padding: 12px 28px;
  font-family: Alata, sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.btn-submit:hover {
  background: #8a5d0c;
}

.form-feedback {
  min-height: 1.2em;
  color: var(--gold);
}

/* 404 */
.page-404 {
  min-height: 280px;
  padding: 50px 20px 80px;
  text-align: center;
}

.page-404 h1 {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 32px;
  font-weight: 400;
}

.page-404 p {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 16px;
}

.search-404 {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e2e2;
  background: #fafafa;
  width: min(100%, 320px);
}

.search-404 input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font-family: Alata, sans-serif;
  font-size: 14px;
}

.search-404 button {
  background: none;
  border: 0;
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--cream);
  color: var(--text-dark);
}

.footer-primary {
  padding: 80px 20px 40px;
}

.footer-grid {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 20.5% 32.8% 30.1% 16.6%;
  gap: 0 24px;
  align-items: start;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  display: block;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.7;
}

.footer-contact h3 {
  margin: 0 0 20px;
  color: #151718;
  font-size: 22px;
  font-weight: 400;
}

.footer-contact p {
  margin: 0;
  color: #151718;
  font-size: 15px;
  line-height: 1.7;
}

.footer-contact a {
  color: #151718;
}

.icon-mail {
  color: var(--gold);
  margin-right: 6px;
  vertical-align: -2px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: 4px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.social-facebook {
  background: #3a5795;
}

.social-instagram {
  background: #3d739c;
}

.footer-brand {
  text-align: right;
}

.footer-brand img {
  width: 140px;
  height: auto;
}

.footer-copy {
  border-top: 1px solid rgba(21, 23, 24, 0.08);
  padding: 28px 20px;
  text-align: center;
  font-size: 15px;
  color: #151718;
}

.footer-copy p {
  margin: 0;
}

.footer-copy a {
  color: var(--gold);
}

/* Popup */
.alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.alert-overlay[hidden] {
  display: none;
}

.alert-dialog {
  position: relative;
  width: min(100%, 843px);
  background: #fff;
  box-shadow: 0 0 0 14px #cccccc;
  padding: 28px 32px 48px;
}

.alert-body h3 {
  margin: 0 0 16px;
  text-align: center;
  color: #ff0000;
  font-size: 22px;
  font-weight: 700;
}

.alert-body p {
  margin: 0;
  text-align: center;
  color: #444;
  font-size: 18px;
  line-height: 1.55;
}

.alert-close {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.alert-close img {
  display: block;
  width: 21px;
  height: 21px;
}

@media (max-width: 921px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .logo img {
    width: 150px;
    height: auto;
  }

  .header-inner {
    min-height: 110px;
    padding: 10px 16px;
  }

  .slider-arrow {
    display: none;
  }

  .slide-caption {
    font-size: 22px;
  }

  .hero-slider,
  .slider-viewport,
  .slide,
  .slide img {
    height: 260px;
  }

  .intro-section {
    padding: 30px 16px 40px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-title {
    font-size: 28px;
  }

  .intro-grid p {
    border-left: 0;
    padding-left: 0;
  }

  .about-section {
    margin-top: 0;
  }

  .about-title {
    font-size: 32px;
  }

  .shape-bottom svg {
    height: 70px;
  }

  .services-head,
  .flip-section {
    padding: 10px;
  }

  .flip-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-section {
    padding: 40px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .footer-social,
  .footer-brand {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-primary {
    padding: 40px 20px 24px;
  }
}

@media (max-width: 400px) {
  .form-col-left,
  .form-col-right {
    width: 90%;
    float: none;
    margin-left: 0;
    padding-left: 0;
  }

  .alert-body p br {
    display: none;
  }

  .alert-dialog {
    padding: 20px 16px 40px;
  }

  .alert-body p {
    font-size: 16px;
  }
}
