:root {
  --main-color: #d3ad7f;
  --main-color-light: #e6c9a7;
  --main-color-dark: #b38f5e;
  --white: #fff;
  --off-white: #f8f8f8;
  --black: #13131a;
  --bg: #010103;
  --bg-light: #1a1a1a;
  --border: 0.1rem solid rgba(255, 255, 255, 0.3);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  font-size: 10px;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(1, 1, 3, 0.9);
  backdrop-filter: blur(10px);
  z-index: 99;
  border-bottom: var(--border);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow);
}

.elements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.logo img {
  width: 160px;
  display: block;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

.navbar {
  display: flex;
  flex-direction: row;
  position: relative;
  background-color: transparent;
  transform: none;
  transition: var(--transition);
  margin-left: auto;
}

.navbar a {
  font-size: 1.7rem;
  margin: 0 1.5rem;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: var(--transition);
}

.navbar a:hover {
  color: var(--main-color);
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a.active {
  color: var(--main-color);
}

.menu-btn {
  font-size: 2rem;
  color: var(--white);
  display: none;
  cursor: pointer;
  transition: var(--transition);
}

.menu-btn:hover {
  color: var(--main-color);
}

/* Home Container - Melhorado para garantir exibição da imagem de fundo */
.home-container {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("assets/home-img.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-container .content {
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-container h1 {
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.home-container p {
  font-size: 2rem;
  color: var(--off-white);
  margin-bottom: 3rem;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.btn {
  background: var(--main-color);
  color: var(--bg);
  padding: 1.2rem 3rem;
  font-size: 1.7rem;
  border-radius: 3rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-block;
  border: 2px solid var(--main-color);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: var(--main-color-dark);
  border-color: var(--main-color-dark);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--main-color);
}

.btn-outline:hover {
  background: var(--main-color);
  color: var(--bg);
}

.title {
  font-size: 4rem;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.title span {
  color: var(--white);
}

.title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--main-color);
}

.about,
.menu,
.review,
.address {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.about .row {
  display: flex;
  background-color: var(--black);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about .container-image {
  flex: 1;
  overflow: hidden;
}

.about .container-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 20px;
  border-radius: 0.9rem;
  transition: var(--transition);
}

.about .container-image img:hover {
  transform: scale(1.05);
}

.about .content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about .content h3 {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.about .content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--main-color);
}

.about .content p {
  font-size: 1.6rem;
  color: var(--off-white);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.menu .box,
.review .box {
  background-color: var(--bg-light);
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.menu .box::before,
.review .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--main-color);
  transition: var(--transition);
}

.menu .box:hover::before,
.review .box:hover::before {
  height: 100%;
}

.menu .box img {
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.review .box .user {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--main-color);
  margin: 1rem auto;
}

.menu .box h3,
.review .box h3 {
  color: var(--white);
  font-size: 2.2rem;
  margin: 1rem 0;
  transition: var(--transition);
}

.menu .box .price {
  color: var(--main-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  transition: var(--transition);
}

.menu .box:hover,
.review .box:hover {
  transform: translateY(-10px);
}

.menu .box:hover img {
  transform: scale(1.1);
}

.review .box .quote-img {
  width: 40px;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.review .box p {
  color: #ccc;
  font-size: 1.5rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.address {
  text-align: center;
}

.address p {
  font-size: 1.8rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #ccc;
}

.address iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.footer {
  background-color: var(--black);
  padding: 4rem 0 2rem;
  text-align: center;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer .credits {
  margin-top: 2rem;
  color: #999;
  font-size: 1.4rem;
}

.footer .credits a {
  color: var(--main-color);
  transition: var(--transition);
}

.footer .credits a:hover {
  color: var(--main-color-light);
}

.footer .share {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer .share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  transition: var(--transition);
}

.footer .share a:hover {
  background-color: var(--main-color);
  transform: translateY(-5px);
}

.footer .share img {
  width: 18px;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--main-color);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--main-color-dark);
  transform: translateY(-3px);
}

/* Contato Section */
.contact {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 1rem;
  transition: var(--transition);
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.info-item .icon {
  font-size: 2.5rem;
  color: var(--main-color);
}

.info-item h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.info-item p {
  font-size: 1.5rem;
  color: #ccc;
}

.contact-form {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 0.5rem;
  font-size: 1.6rem;
  transition: var(--transition);
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 2px rgba(211, 173, 127, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form .btn {
  width: 100%;
  padding: 1.2rem;
  margin-top: 1rem;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: var(--main-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsividade */
@media (max-width: 991px) {
  .about .row {
    flex-direction: column;
  }

  .about .container-image {
    margin-bottom: 2rem;
  }

  .home-container h1 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .content {
    text-align: center;
  }

  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .logo img {
    width: 140px;
    margin-left: auto;
    margin-right: auto;
  }

  .navbar {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(1, 1, 3, 0.95);
    backdrop-filter: blur(10px);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    z-index: 99;
    padding: 1rem 0;
  }

  .navbar.active {
    transform: scaleY(1);
  }

  .navbar a {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar a:last-child {
    border-bottom: none;
  }

  .menu-btn {
    display: block;
    font-size: 2.5rem;
    z-index: 100;
    position: relative;
  }

  .title {
    font-size: 3.5rem;
  }

  .about .content h3 {
    text-align: left;
  }

  .about .content h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about .content p {
    text-align: center;
  }

  .home-container h1 {
    font-size: 3.5rem;
  }

  .home-container p {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .home-container h1 {
    font-size: 3rem;
  }

  .home-container p {
    font-size: 1.6rem;
  }

  .title {
    font-size: 3rem;
  }

  .box-container {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}