/* Reset + padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    color: #f5f5f5;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    background-color: #352C2D; /* fundo principal */
    display: flex;
    flex-direction: column;
}



/* NAVBAR */
header nav {
    background-color: #352C2D; /* fundo marrom escuro */
    padding: 20px 100px;
    display: flex;
    align-items: center;
    gap: 400px;
}

/* Menu hamburguer escondido no desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #A49156;
  border-radius: 2px;
  transition: 0.3s;
}

/* Estado ativo */
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ========================= */
/* RESPONSIVO */
/* ========================= */
@media (max-width: 1024px) {
  .hero, .about { flex-direction: column; text-align: center; }
}

/* Celulares e tablets */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  header nav .navigation {
    position: absolute;
    top: 70px;
    right: 0;
    background: #352C2D;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  header nav .navigation.open {
    max-height: 400px;
    padding: 20px;
  }
  header nav .navigation li { width: 100%; }
  header nav .navigation li a { display: block; padding: 12px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero h2 { font-size: 18px; }
}

header nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}
header nav .logo {
    display: flex;
    align-items: center;
    gap: 15px; /* espaço entre a imagem e o texto */
}

header nav .logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

header nav .logo-text {
    font-family: "Cinzel", serif;
    font-size: 28px;
    font-weight: 700;
    color: #A49156; /* dourado */
}

header nav .logo li a {
    font-family: "Cinzel", serif;
    font-size: 32px;
    font-weight: 700;
    color: #A49156; /* dourado */
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    
}

header nav .navigation {
    display: flex;
    gap: 30px; /* espaçamento entre os itens */
}

header nav .navigation li a {
    font-size: 20px;
    font-weight: 400;
    color: #f5f5f5; /* texto claro */
    transition: all 0.3s ease;
}

header nav .navigation li:hover {
    background-color: #A49156; /* fundo dourado */
    border-radius: 5px;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}


header nav .navigation li:hover a {
    color: #352C2D; /* marrom escuro */
    font-weight: 600;
}

main {
  flex: 1; /* ocupa o espaço disponível */
}

/* HERO */
main .hero {
    background-color: #352C2D;
    padding: 0 100px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

main .hero div h1  {
    font-family: "Cinzel", serif;
    color: #A49156; /* dourado */
    font-size: 48px;
}

main .hero div h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f5f5f5;
}

main .hero div p {
    font-size: 18.5px;
    color: #f5f5f5;
}

main .hero div button {
    width: 175px;
    height: 60px;
    border: none;
    border-radius: 30px;
    background-color: #A49156; /* dourado */
    color: #352C2D; /* fundo */
    font-size: 18px;
    cursor: pointer;
    margin-top: 30px;
    transition: .9s;
}

/* SOBRE NÓS */
main .about {
    background-color: #f5f5f5;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}


main .about h2 {
    font-family: "Cinzel", serif;
    color: #352C2D;
    font-size: 36px;
    font-weight: 700;
}

main .about span {
    display: inline-block;
    width: 280px;
    border: solid 5px #A49156; 
    margin-bottom: 20px;
}

main .about div p {
    color: #352C2D;
    font-weight: 300;
    font-size: 18px;
}

main .about > div > p:nth-last-of-type(-n+2) {
  margin-top: 12px;
}

.destaque {
    color: #A49156;   /* dourado */
    font-weight: bold;
    font-size: 1.05em;
    font-family: "Cinzel", serif;
}

main .about img {
    border-radius: 50%;
}

/* Links do menu */
header nav .navigation li a {   
    display: block;
    padding: 10px;
    font-size: 20px;
    font-weight: 400;
    color: #f5f5f5; /* texto claro padrão */
    transition: all 0.4s ease; /* transição suave */
    position: relative;
}

/* Hover do menu */
header nav .navigation li {
    border-radius: 5px;
    transition: all 0.4s ease;
}

header nav .navigation li:hover {
    background-color: #A49156; /* dourado */
    transform: translateY(-3px); /* desliza para cima */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* sombra suave */
}

header nav .navigation li:hover a {
    color: #352C2D; /* marrom escuro */
    font-weight: 600;
}

/* Botões */
main .hero div button {
    width: 175px;
    height: 60px;
    border: none;
    border-radius: 30px;
    background-color: #A49156; /* dourado */
    color: #352C2D; /* marrom escuro */
    font-size: 18px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.4s ease; /* animação suave */
}

/* Hover do botão */
main .hero div button:hover {
    background-color: transparent;
    color: #A49156; /* dourado */
    border: solid 2px #A49156;
    transform: translateY(-3px); /* leve subida */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* sombra elegante */
}


/* ===== CONTATO ===== */
.contact {
  background-color: #352C2D;
  padding: 80px 100px;
  text-align: center;
}

.contact h2 {
  font-family: "Cinzel", serif;
  color: #A49156;
  font-size: 36px;
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-card {
  background: #A49156;
  padding: 28px 26px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.18);
  min-width: 240px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.contact-card h3 {
  color: #352C2D;
  font-size: 22px;
  margin-bottom: 14px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Botões de ícone */
.btn-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #352C2D;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-icon i {
  font-size: 28px; /* tamanho do ícone */
  line-height: 1;
}

/* Cores de base */
.btn-icon.whatsapp i { color: #25D366; }
.btn-icon.instagram i { color: #E1306C; }

/* Hover divertido */
@keyframes wiggle {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(-10deg); }
  60%  { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}

.btn-icon:hover {
  transform: translateY(-3px) scale(1.08);
  background: #f5f5f5;                 /* fundo dourado no hover */
  box-shadow: 0 10px 18px rgba(0,0,0,.28);
  animation: wiggle .35s ease;
}

/* No hover, deixa o ícone “dourado” para combinar */
.btn-icon:hover i {
  color: #352C2D;                       /* ícone escuro sobre o fundo dourado */
}

/* Responsivo */
@media (max-width: 720px) {
  .contact { padding: 60px 24px; }
  .contact-cards { gap: 22px; }
}

/* ===== GALERIA ===== */

    
.gallery {
  background: #f5f5f5;
  padding: 100px;
  text-align: center;
}

.gallery h2 {
  font-family: "Cinzel", serif;
  color: #352C2D;
  font-size: 36px;
  margin-bottom: 40px;
}


/* Grid principal */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Instagram embutido */
.instagram-gallery {
  margin-top: 80px;
}

.instagram-gallery h3 {
  color: #352C2D;
  font-size: 28px;
  margin-bottom: 5px;
}

.instagram-gallery p {
  color: #A49156;
  margin-bottom: 25px;
  font-size: 18px;
}

.insta-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.insta-feed a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .3s ease;
}

.insta-feed a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

/* Hover divertido estilo Insta */
.insta-feed a:hover {
  transform: translateY(-5px) scale(1.05);
}

.insta-feed a:hover img {
  transform: scale(1.12);
}

/* ===== GALERIA ===== */
.gallery {
  background: #f5f5f5;
  padding: 100px;
  text-align: center;
}

.gallery h2 {
  font-family: "Cinzel", serif;
  color: #352C2D;
  font-size: 36px;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Instagram */
.instagram-gallery {
  margin-top: 80px;
}

.instagram-gallery h3 {
  color: #352C2D;
  font-size: 28px;
  margin-bottom: 5px;
}

.instagram-gallery p {
  color: #A49156;
  margin-bottom: 25px;
  font-size: 18px;
}

.insta-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.insta-feed a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .3s ease;
}

.insta-feed a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.insta-feed a:hover {
  transform: translateY(-5px) scale(1.05);
}

.insta-feed a:hover img {
  transform: scale(1.12);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.lightbox:target {
  display: flex;
  animation: fadeIn .3s ease;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: #352C2D;
  text-decoration: none;
  transition: transform .2s ease;
  z-index: 1001;
}

.lightbox .close:hover {
  transform: scale(1.2);
}

/* Setas de navegação */
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: #352C2D;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: background .3s ease, transform .2s ease;
}

.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

.lightbox .prev:hover,
.lightbox .next:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}


.footer {
  background-color: #352C2D; /* fundo marrom escuro */
  color: #A49156;           /* dourado */
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  border-top: 1px solid #A49156;
  font-family: "Cinzel", serif;
}

.footer-links {
  margin: 10px 0;
}

.footer-links a {
  color: #A49156;
  margin: 0 5px;
  font-size: 14px;
  transition: color .3s;
}

.footer-links a:hover {
  color: #f5f5f5;
}

.footer-social {
  margin-top: 8px;
}

.footer-social a {
  color: #A49156;
  font-size: 18px;
  margin: 0 8px;
  transition: color .3s;
}

.footer-social a:hover {
  color: #f5f5f5;
}




/* ====== Modal de Agendamento ====== */
.booking-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
}
.booking-modal.open{ display: flex; }
.booking-content{
  background: #fff;
  max-width: 560px;
  width: 100%;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.booking-close{
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
#bookingForm .form-row{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
#bookingForm .form-row.two{
  flex-direction: row;
  gap: 12px;
}
#bookingForm .form-row.two > div{
  flex: 1;
}
#bookingForm label{
  color: #352C2D;

  font-weight: 600;
}
#bookingForm input, #bookingForm select, #bookingForm textarea{
  color: #352C2D;
  background: #fff;

  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
}
.booking-submit{
  display: inline-block;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #A49156; /* dourado */
  color: #352C2D;
  font-weight: 700;
  cursor: pointer;
  transition: transform .05s ease, filter .2s ease;
}
.booking-submit:active{ transform: scale(0.98); }
.booking-hint{
  margin-top: 8px;
  font-size: 12px;
  opacity: .7;
}
@media (max-width: 520px){
  #bookingForm .form-row.two{ flex-direction: column; }
}


.booking-submit:hover {
  background: #352C2D;
  color: #f5f5f5;
}


.booking-content h2,
.booking-content p,
#bookingForm label {
  color: #352C2D;
}

#bookingForm select option {
  color: #352C2D;
  background: #fff;
}

/* ===== Ajuste Menu Responsivo ===== */
header nav {
  justify-content: space-between; /* em vez de gap fixo */
  gap: 0; 
}

/* ===== Botão Voltar ao Topo ===== */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: clamp(15px, 5vw, 40px); /* ajusta automaticamente entre celular e desktop */
  background: #A49156;
  color: #352C2D;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1100;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover efeito */
#backToTop:hover {
  background: #352C2D;
  color: #f5f5f5;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  #backToTop {
    width: 42px;
    height: 42px;
    font-size: 18px;
    bottom: 15px;
    right: 15px; /* aproxima mais da borda no celular */
  }
}

/* ===== Modal responsivo ===== */
.booking-modal {
  padding: 10px;
}

.booking-content {
  width: 100%;
  max-width: 95%;
  max-height: 95vh;
  overflow-y: auto;
}

