* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: rgb(25, 22, 18);
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  width: 100%;
  min-height: 170vh;
}

header {
  background-color: rgb(25, 22, 18);
  height: 3.7cm;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, #ffffff, transparent) 1;
}

header a {
  background-color: #c89b3c;
  color: #1a1a1a;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

header a:hover {
  background-color: #ffc83d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

header a:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.logoheader {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;

  font-family: "Times New Roman", Times, serif;
  color: #d4af37;
  text-decoration-line: overline underline;
}

#typing {
  color: #e6b43d;
  font-family: "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 6;
  white-space: nowrap;
  text-align: center;
}

.cursor {
  color: #ffffff;
  display: inline-block;
  margin-left: 3px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.typing-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 70px;

  min-height: 64px;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  margin: 20px 0;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: center;
  animation: scrollRight 25s linear infinite;
  animation-play-state: paused;
  will-change: transform;
  transform: translateZ(0);
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-image {
  flex: 0 0 auto;
  width: 363px;
  height: 258px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.carousel-image:hover {
  transform: scale(1.05);
}

/*MODAL OVERLAY*/
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90vw;
  height: 85vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.75);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #c89b3c;
  border: none;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  line-height: 40px;
  text-align: center;
  z-index: 1010;
}

.close-button:hover {
  transform: scale(1.1);
  background-color: #e1b737;
}

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}

.agendamento-section {
  text-align: center;
  padding: 80px 20px;
  background-color: rgb(25, 22, 18);
}

.agendamento-title {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 38px;
  color: #e6b43d;
  margin-bottom: 15px;
}

.agendamento-subtitle {
  font-family: "Montserrat", sans-serif;
  color: #b7b7b7;
  font-size: 16px;
  margin-bottom: 45px;
}

.agendamento-buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

.gold-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.8px solid #c89b3c;
  color: #c89b3c;
  padding: 10px 28px;
  border-radius: 6px;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.gold-btn .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(78%) sepia(74%) saturate(470%)
    hue-rotate(8deg) brightness(104%) contrast(88%);
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
  background-color: #25d366;
  border-color: #25d366;
  color: white;
}

.btn-whatsapp:hover .icon,
.btn-whatsapp:active .icon {
  filter: brightness(0) invert(1);
}

.btn-phone:hover,
.btn-phone:active {
  background-color: #c89b3c;
  border-color: #c89b3c;
  color: white;
}

.btn-phone:hover .icon,
.btn-phone:active .icon {
  filter: brightness(0) invert(1);
}

/*INSTAGRAM - Hover*/
.btn-instagram:hover,
.btn-instagram:active {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  border-color: transparent;
  color: white;
}

.btn-instagram:hover .icon,
.btn-instagram:active .icon {
  filter: brightness(0) invert(1);
}

#avaliacoes {
  background-color: rgb(25, 22, 18);
  padding: 80px 20px;
  text-align: center;
}

.avaliacoes-title {
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 38px;
  color: #e6b43d;
  margin-bottom: 15px;
}

.avaliacoes-subtitle {
  font-family: "Montserrat", sans-serif;
  color: #b7b7b7;
  font-size: 16px;
  margin-bottom: 40px;
}

.avaliacoes-container {
  max-width: 800px;
  margin: 0 auto;
}

#textoAvaliacao {
  width: 100%;
  height: 200px;
  background-color: #0e0e0e;
  border: 1px solid #333;
  color: #fff;
  padding: 15px;
  border-radius: 6px;
  font-size: 16px;
  resize: none;
  outline: none;
}

.btn-agendar {
  background-color: #f0b323;
  font-size: 18px;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: bold;
  display: block;
  margin: 25px auto 0;
}

.btn-agendar:hover {
  background-color: #ffc83d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

#nomeAvaliador {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background-color: #0e0e0e;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.star {
  font-size: 40px;
  cursor: pointer;
  opacity: 0.3;
  transition:
    opacity 0.3s,
    transform 0.2s;
  user-select: none;
}

.star.active {
  opacity: 1;
}

.star:hover {
  transform: scale(1.2);
  opacity: 1;
}

#reviewsWrapper {
  max-width: 1400px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.review-card {
  background: linear-gradient(180deg, #0d0d0d, #080808);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 18px;
  min-height: 210px;
  max-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.review-name {
  color: #f0b323;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 15px;
  text-align: center;
  word-break: break-word;
}

.review-stars {
  color: #f0b323;
  text-align: center;
  margin-bottom: 8px;
  font-size: 16px;
}

.review-text {
  color: #ddd;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  overflow-y: auto;
  padding-right: 6px;
}

.review-text::-webkit-scrollbar {
  width: 4px;
}

.review-text::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

.pagination {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.page-btn {
  background: #f0b323;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#reviewsWrapper {
  max-width: 1400px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
}

.reviews-grid.grid-1 {
  grid-template-columns: 1fr;
  justify-items: center;
}

.reviews-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.reviews-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  min-height: 210px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-avatar::after {
  content: "👤";
  font-size: 22px;
}

.review-name {
  font-weight: bold;
  color: #222;
  font-size: 15px;
}

.review-stars {
  color: #f0b323;
  font-size: 18px;
  margin-bottom: 8px;
}

.review-text {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.page-btn {
  background: #f0b323;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0d0d0d;
  color: #fff;
  padding: 16px 22px;
  border-radius: 10px;
  border-left: 5px solid #f0b323;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.galeria-section {
  padding: 90px 20px;
  background-color: rgb(25, 22, 18);
  text-align: center;
}

.galeria-title {
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 38px;
  color: #e6b43d;
  margin-bottom: 10px;
}

.galeria-subtitle {
  color: #b7b7b7;
  font-size: 16px;
  margin-bottom: 50px;
}

.galeria-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.galeria-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.galeria-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #ffffff, transparent);
  opacity: 0.6;
  margin: 40px 0;
}

.footer {
  background-color: rgb(25, 22, 18);
  color: #e6b43d;
  padding: 60px 8% 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 280px;
}

.footer h3 {
  font-size: 20px;
  margin-bottom: 25px;
  color: #f5c25b;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #f5c25b;
  text-decoration: none;
  transition: color 0.3s ease;
  width: fit-content;
}

.footer-link:has(.whatsapp):hover {
  color: #25d366;
}

.footer-link:has(.instagram):hover {
  color: #d62976;
}

.footer-link:has(.facebook):hover {
  color: #4267b2;
}

.footer-link:has(.tiktok):hover {
  color: #ffffff;
}

.footer-link:has(.email):hover {
  color: #d12e2e;
}

.footer-link:has(.location):hover {
  color: #1c4ad4;
}

.footer-link {
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.footer-link:hover {
  transform: translateX(4px);
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Instagram */
.instagram {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNkNjI5NzYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1pbnN0YWdyYW0taWNvbiBsdWNpZGUtaW5zdGFncmFtIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHg9IjIiIHk9IjIiIHJ4PSI1IiByeT0iNSIvPjxwYXRoIGQ9Ik0xNiAxMS4zN0E0IDQgMCAxIDEgMTIuNjMgOCA0IDQgMCAwIDEgMTYgMTEuMzd6Ii8+PGxpbmUgeDE9IjE3LjUiIHgyPSIxNy41MSIgeTE9IjYuNSIgeTI9IjYuNSIvPjwvc3ZnPg==");
}

/* Email */
.email {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNkMTJlMmUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJtMjIgNy04Ljk5MSA1LjcyN2EyIDIgMCAwIDEtMi4wMDkgMEwyIDciLz48cmVjdCB4PSIyIiB5PSI0IiB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHJ4PSIyIi8+PC9zdmc+");
}

/* Localização */
.location {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMxYzRhZDQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2tlLWxpbmVq b2luPSJyb3VuZCI+PHBhdGggZD0iTTIwIDEwYzAgNC45OTMtNS41MzkgMTAuMTkzLTcuMzk5IDExLjc5OWExIDEgMCAwIDEtMS4yMDIgMEM5LjUzOSAyMC4xOTMgNCAxNC45OTMgNCAxMGE4IDggMCAwIDEgMTYgMCIvPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTAiIHI9IjMiLz48L3N2Zz4=");
}

/* WhatsApp */
.whatsapp {
  background-image: url("https://storage.freeicon.com/free-whatsapp-icon-nZO-mgGbPz9h");
}

/* facebook */
.facebook {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQyNjdCMiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWZhY2Vib29rLWljb24gbHVjaWRlLWZhY2Vib29rIj48cGF0aCBkPSJNMTggMmgtM2E1IDUgMCAwIDAtNSA1djNIN3Y0aDN2OGg0di04aDNsMS00aC00VjdhMSAxIDAgMCAxIDEtMWgzeiIvPjwvc3ZnPg==");
}

/* tiktok */
.tiktok {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z'/%3E%3C/svg%3E");
}

/* MAPA */
.map-container {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #f5c25b;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(245, 194, 91, 0.3);
  font-size: 14px;
  color: #d6a74f;
}

/* respopnsividade */

@media (max-width: 1024px) {
  header {
    height: auto;
    padding: 20px;
    justify-content: space-between;
  }

  #typing {
    font-size: 2.5rem;
    text-align: center;
  }

  /* CARROSSEL */
  .carousel-image {
    width: 300px;
    height: 210px;
  }

  .agendamento-buttons {
    gap: 20px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* responsividade */
@media (max-width: 768px) {
  /* HEADER */
  header {
    flex-direction: column;
    gap: 15px;
  }

  header a {
    width: 100%;
    text-align: center;
  }

  .typing-box {
    margin: 40px 10px;
  }

  #typing {
    font-size: 1.9rem;
    text-align: center;
  }

  .carousel-image {
    width: 260px;
    height: 180px;
  }

  .modal-content {
    width: 95vw;
    height: 80vh;
  }

  .agendamento-buttons {
    flex-direction: column;
    gap: 18px;
  }

  .gold-btn {
    justify-content: center;
    font-size: 15px;
    padding: 14px;
  }

  .avaliacoes-container {
    padding: 0 10px;
  }

  .stars {
    gap: 6px;
  }

  .star {
    font-size: 32px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    max-width: 100%;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .galeria-img {
    height: 200px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer {
    padding: 50px 20px 20px;
  }

  .footer h3 {
    text-align: center;
  }

  .footer-link {
    justify-content: center;
  }

  .map-container {
    height: 200px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}

/* responsividade */
@media (max-width: 440px) {
  header {
    height: auto;
    padding: 18px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  .logoheader {
    position: static;
    transform: none;
    order: 1;
    font-size: 25px;
    text-align: center;
  }

  header a {
    order: 2;
    width: auto;
    padding: 11px 22px;
    font-size: 14px;
  }

  #reviewsWrapper {
    padding: 0;
    margin-top: 40px;
  }

  .reviews-grid,
  .reviews-grid.grid-1,
  .reviews-grid.grid-2,
  .reviews-grid.grid-3 {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .review-card {
    width: 100%;
    max-width: 310px;
    min-height: auto;
    max-height: none;
    padding: 18px;
    align-items: stretch;
  }

  .review-header {
    justify-content: flex-start;
  }

  .review-name {
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .review-stars {
    text-align: left;
    font-size: 17px;
  }

  .review-text {
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-height: none;
    overflow-y: visible;
  }

  .pagination {
    flex-wrap: wrap;
    align-items: center;
  }

  .footer-right {
    width: 100%;
  }

  .map-container {
    width: 100%;
    height: 180px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
  }

  #typing {
    white-space: normal;
    font-size: 1.4rem;
    text-align: center;
    padding: 0 10px;
    word-break: break-word;
  }
}
