:root {
  --castanho: #925700;
  --dourado: #c09b39;
  --texto: #27211b;
  --fundo: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--texto);
  background: var(--fundo);
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eee9e1;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  min-height: 112px;
  margin: auto;
  padding: 10px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  width: 108px;
  height: 92px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  flex: 1;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  position: relative;
  padding: 12px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--castanho);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dourado);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--castanho);
  color: #ffffff;
  padding: 15px 27px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s ease;
}

.header-cta:hover {
  background: #714300;
  transform: translateY(-2px);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(420px, calc(100svh - 112px), 850px);
  overflow: hidden;
  background: #171717;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero-slider .slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-intro {
  width: 100%;
  background: #faf7f0;
  padding: 48px 20px 55px;
  text-align: center;
}

.home-intro-container {
  max-width: 720px;
  margin: 0 auto;
}

.home-intro-label {
  display: block;
  color: #b18a36;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.home-intro-line {
  width: 55px;
  height: 2px;
  background: #c09b39;
  margin: 14px auto 18px;
}

.home-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #59350f;
  margin: 0 auto 15px;
}

.home-intro-description {
  max-width: 650px;
  margin: 0 auto;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #74685b;
}

.home-intro-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.home-intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid #98600e;
  border-radius: 5px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-intro-btn-primary {
  background: #98600e;
  color: #ffffff;
}

.home-intro-btn-primary:hover {
  background: #714300;
  color: #ffffff;
  transform: translateY(-2px);
}

.home-intro-btn-secondary {
  background: transparent;
  color: #98600e;
}

.home-intro-btn-secondary:hover {
  background: #98600e;
  color: #ffffff;
  transform: translateY(-2px);
}

.home-intro-btn:focus-visible {
  outline: 3px solid #c09b39;
  outline-offset: 4px;
}

.viriato-footer {
  width: 100%;
  font-family: "Manrope", sans-serif;
}

.footer-main {
  background: #faf7f0;
  border-top: 1px solid #e9dfd0;
  padding: 32px 30px;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  align-items: center;
  gap: 55px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand img {
  width: 125px;
  height: auto;
  display: block;
  margin: 0;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.footer-brand p {
  max-width: 200px;
  margin: 0;
  color: #74685b;
  font-size: 12px;
  line-height: 1.8;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(75px, 1fr));
  column-gap: 20px;
  row-gap: 10px;
  align-items: start;
}

.footer-navigation h3 {
  grid-column: 1 / -1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
  color: #59350f;
  margin: 0 0 8px;
}

.footer-navigation a {
  color: #74685b;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-navigation a:hover {
  color: #98600e;
}

.footer-hotel {
  display: grid;
  grid-template-columns: 125px 1fr;
  column-gap: 17px;
  row-gap: 10px;
  align-items: center;
  text-align: left;
}

.footer-hotel-label {
  display: block;
  grid-column: 1 / -1;
  color: #b18a36;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
}

.footer-hotel-logo {
  display: block;
  width: 120px;
  max-width: 120px;
  margin: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-hotel-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-hotel-logo:hover {
  transform: scale(1.04);
  opacity: 0.85;
}

.footer-hotel-logo:focus-visible {
  outline: 2px solid #c09b39;
  outline-offset: 5px;
}

.footer-hotel p {
  max-width: 200px;
  margin: 0;
  color: #74685b;
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom {
  background: #332116;
  padding: 14px 25px;
}

.footer-bottom-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  color: #e2d2c2;
  font-size: 11px;
  line-height: 1.7;
}

.footer-bottom a {
  color: #d3ad61;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 950px) {
  .header-container {
    padding: 12px 22px;
    gap: 15px;
    flex-wrap: wrap;
  }

  .site-logo img {
    width: 85px;
    height: 78px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex: none;
    justify-content: flex-start;
    gap: 25px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 13px;
  }

  .header-cta {
    margin-left: auto;
    padding: 13px 20px;
  }

  .hero-slider {
    height: clamp(340px, 66svh, 680px);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .home-intro {
    padding: 40px 18px 45px;
  }

  .home-intro h2 {
    font-size: 29px;
    letter-spacing: -0.5px;
  }

  .home-intro h2 br {
    display: none;
  }

  .home-intro-buttons {
    flex-direction: column;
  }

  .home-intro-btn {
    width: 100%;
    max-width: 320px;
  }

  .footer-main {
    padding: 32px 22px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    width: 110px;
  }

  .footer-navigation {
    max-width: 250px;
  }

  .footer-hotel {
    grid-template-columns: 110px 1fr;
    column-gap: 15px;
  }

  .footer-hotel-logo {
    width: 105px;
  }
}

@media (max-width: 550px) {
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider .slide,
  .home-intro-btn {
    transition: none;
  }
}



@media (max-width: 650px) {

  .site-header .header-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 15px;
    row-gap: 10px;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 12px 18px 10px;
  }

  .site-header .site-logo {
    grid-column: 1;
    grid-row: 1;
    position: static;
    justify-self: start;
    margin: 0;
  }

  .site-header .site-logo img {
    display: block;
    width: 90px;
    max-width: 100%;
    height: auto;
    max-height: 75px;
    object-fit: contain;
  }

  .site-header .header-cta {
    grid-column: 2;
    grid-row: 1;
    position: static;
    justify-self: end;
    margin: 0;
    padding: 12px 18px;
    font-size: 12px;
    white-space: nowrap;
  }

  .site-header .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 8px 0 0;
    column-gap: 6px;
    row-gap: 2px;
    align-items: center;
    justify-items: stretch;
    transform: none;
    overflow: visible;
    white-space: normal;
    border-top: 1px solid #f0e9df;
  }

  .site-header .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 37px;
    padding: 8px 2px;
    margin: 0;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
    color: #3e342b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-header .site-nav a::after {
    display: none;
  }

  .site-header .site-nav a.active,
  .site-header .site-nav a[aria-current="page"] {
    color: #98600e;
    border-bottom-color: #98600e;
  }

  .site-header .site-nav a:hover {
    color: #98600e;
  }

}


@media (max-width: 650px) {
  .site-header .header-container {
    row-gap: 5px;
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .site-header .site-logo img {
    width: 82px;
    max-height: 65px;
  }

  .site-header .site-nav {
    padding-top: 4px;
    row-gap: 0;
  }

  .site-header .site-nav a {
    min-height: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-header .header-cta {
    padding: 10px 16px;
  }
}

.home-gallery {
  padding: 65px 24px;
  background: #faf8f3;
}

.home-gallery-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 54px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-gallery-heading {
  max-width: 435px;
  margin: 0;
  text-align: left;
}

.home-gallery-label {
  display: block;
  margin-bottom: 16px;
  color: #a8843d;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.home-gallery-heading h2 {
  margin: 0 0 18px;
  color: #59350f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}

.home-gallery-heading p {
  max-width: 400px;
  margin: 0;
  color: #74685b;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.85;
}

.home-gallery-carousel {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  padding-bottom: 24px;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.home-gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
}

.home-gallery-slide {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  background: transparent;
}

.home-gallery-slide img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.home-gallery-caption,
.home-gallery-arrow {
  display: none;
}

.home-gallery-dots {
  position: absolute;
  bottom: 2px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
}

.home-gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d1c5b3;
  cursor: pointer;
}

.home-gallery-dot.active {
  background: #98600e;
}

@media (max-width: 950px) {
  .home-gallery-container {
    gap: 28px;
  }

  .home-gallery-heading h2 {
    font-size: 34px;
  }

  .home-gallery-carousel {
    width: min(100%, 325px);
  }

  .home-gallery-slide img {
    height: 445px;
  }
}

@media (max-width: 700px) {
  .home-gallery {
    padding: 48px 20px;
  }

  .home-gallery-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-gallery-heading {
    max-width: 100%;
  }

  .home-gallery-heading h2 {
    margin-bottom: 13px;
    font-size: 31px;
  }

  .home-gallery-heading p {
    font-size: 13px;
    line-height: 1.75;
  }

  .home-gallery-carousel {
    width: min(100%, 340px);
  }

  .home-gallery-slide img {
    height: 455px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-track {
    transition: none;
  }
}
