@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  font-size: 10px;
  --main-color: #d3ad7f;
  --black: #131313;
  --bg: #010103;
  --border: 0.1rem solid rgba(255, 255, 255, 0.3);
  --primary-color: #8B4513;
  --secondary-color: #D2691E;
  --accent-color: #F4A460;
  --light-color: #FFF8DC;
  --dark-color: #3E2723;
  --text-color: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* ===== SEÇÃO INICIAL COM VÍDEO ===== */
.inicio {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.caixa-video {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.caixa-video video {
  min-height: 100%;
  min-width: 100%;
  position: fixed;
  top: 0;
  object-fit: cover;
}

.mascara {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  background: linear-gradient(109deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.99) 85%);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: var(--bg);
  border-bottom: var(--border);
  width: 100vw;
}

.header section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  position: relative;
}

.header section a img {
  height: 6rem;
}

/* NAVEGAÇÃO DESKTOP - VISÍVEL POR PADRÃO */
.header section nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header section nav a {
  font-size: 1.8rem;
  color: #fff;
  transition: 0.4s linear;
  position: relative;
}

.header section nav a:hover {
  color: var(--main-color);
  border-bottom: 0.1rem solid var(--main-color);
  padding-bottom: 0.5rem;
}

.carrinho-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carrinho-contador {
  background: var(--main-color);
  color: var(--black);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

/* ===== SIDE PANEL / TOGGLE FIXO ===== */
.side-toggle {
  position: fixed;
  right: 12px;
  top: 18px;
  z-index: 2500;
  background: var(--main-color);
  color: var(--black);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

/* Mostrar apenas em mobile/tablet */
@media (max-width: 991px) {
  .side-toggle {
    display: flex;
  }
  .side-toggle:hover {
    transform: scale(1.1);
  }
}

.side-panel {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 320px;
  max-width: 85%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.4));
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 2400;
  box-shadow: 6px 0 20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  color: var(--white);
  backdrop-filter: blur(6px);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.side-panel.ativo {
  transform: translateX(0);
}

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.side-panel-header h4 {
  margin: 0;
  color: var(--main-color);
  font-size: 2rem;
}

.fechar-side {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.side-panel-content {
  padding: 1.2rem;
  overflow-y: auto;
  flex: 1;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.side-nav a {
  color: #fff;
  font-size: 1.6rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}

.side-nav a:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(5px);
}

/* Estilo para o carrinho no menu lateral */
.carrinho-icon-lateral {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(211, 173, 127, 0.1);
  border: 1px solid rgba(211, 173, 127, 0.3);
}

.carrinho-icon-lateral:hover {
  background: rgba(211, 173, 127, 0.2);
}

.carrinho-contador-lateral {
  background: var(--main-color);
  color: var(--black);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.side-panel-extra {
  margin-top: 1.6rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.4rem;
}

/* Ajustes para não cobrir o logo */
@media (min-width: 900px) {
  .header section a img { margin-left: 56px; }
}

/* ===== CAIXA PRINCIPAL ===== */
.caixa-principal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 6rem 2rem 2rem 2rem;
  gap: 2rem;
  text-align: center;
}

.caixa-principal div {
  max-width: 60rem;
}

.caixa-principal div h3 {
  color: #fff;
  font-size: 6rem;
  text-transform: uppercase;
}

.caixa-principal div p {
  font-size: 2rem;
  color: #fff;
  font-weight: 300;
  padding: 1rem 0;
  line-height: 1.8;
}

.botao-link {
  background-color: var(--main-color);
  cursor: pointer;
  margin-top: 2rem;
  display: inline-block;
  font-size: 1.7rem;
  color: #fff;
  padding: 1rem 3rem;
  border: none;
  border-radius: 5px;
  transition: 0.3s linear;
}

.botao-link:hover {
  letter-spacing: 0.1rem;
  background-color: #b68a60;
}

.titulo {
  text-align: center;
  color:var(--main-color);
  text-transform: uppercase;
  padding-bottom: 10rem;
  font-size: 4rem;
}

.titulo span {
  color: var(--main-color);
}

/* ===== SEÇÃO MENU ===== */
.menu {
  padding: 5rem 2rem;
  background: linear-gradient(109deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.99) 85%);
  min-height: 100vh;
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== CATÁLOGO PROFISSIONAL ===== */
.cafe-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  list-style: none;
}

.cafe {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cafe:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

.cafe img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  filter: contrast(1.04) saturate(1.06) brightness(1);
  image-rendering: auto;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  display: block;
}

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

.cafe-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cafe-nome {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.cafe-descricao {
  color: var(--white);
  margin-bottom: 1rem;
  flex-grow: 1;
  font-size: 1.4rem;
}

.cafe-preco {
  font-size: 1.3rem;
  color: var(--main-color);
  font-weight: 700;
  margin-top: auto;
}

/* Estilos para categorias do menu */
.categoria-menu {
  margin-bottom: 4rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.categoria-menu h4 {
  color: var(--main-color);
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== MODAL DE DETALHES DO CAFÉ ===== */
.modal-cafe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 2rem;
}

.modal-cafe.ativo {
  opacity: 1;
  visibility: visible;
}

.modal-cafe-conteudo {
  background: var(--white);
  border-radius: var(--border-radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalAparecer 0.4s ease;
}

@keyframes modalAparecer {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fechar-modal-cafe {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--dark-color);
  color: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.fechar-modal-cafe:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.modal-cafe-imagem {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.modal-cafe-info {
  padding: 2rem;
}

.modal-cafe-titulo {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.modal-cafe-descricao {
  color: var(--black);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.3rem;
}

.modal-cafe-preco {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.modal-cafe-detalhes {
  margin-bottom: 2rem;
}

.modal-cafe-detalhes h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.modal-cafe-detalhes ul {
  list-style: none;
  padding-left: 1rem;
  color: var(--black);
  font-size: 1.3rem;
}

.modal-cafe-detalhes li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.modal-cafe-detalhes li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.modal-cafe-botoes {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-cafe-botoes .botao-link {
  flex: 1;
  min-width: 150px;
  text-align: center;
}

/* ===== CARRINHO DE COMPRAS ===== */
.carrinho {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: black;
  z-index: 3000;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.carrinho.ativo {
  right: 0;
}

.carrinho-conteudo {
  padding: 2.8rem 2rem 2rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.carrinho-conteudo .titulo {
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  text-align: center;
  font-size: 3.2rem;
  color: var(--main-color);
  font-weight: 800;
}

.fechar-carrinho {
  position: absolute;
  top: 12px;
  right: 14px;
  background: linear-gradient(135deg, #ff6b6b, #e53935);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(229,57,53,0.18);
}

.fechar-carrinho:hover {
  transform: scale(1.06) rotate(10deg);
  box-shadow: 0 10px 28px rgba(229,57,53,0.22);
}

.carrinho-itens {
  flex: 1;
  overflow-y: auto;
  margin: 2rem 0;
}

.carrinho-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #ffffff;
}

.carrinho-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.carrinho-item-info {
  flex: 1;
}

.carrinho-item-nome {
  font-weight: bold;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.carrinho-item-preco {
  color: var(--white);
  font-weight: bold;
}

.carrinho-item-controles {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carrinho-item-quantidade {
  min-width: 36px;
  text-align: center;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--white);
  background: rgba(0,0,0,0.18);
  font-weight: 700;
}

.quant-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: #fff;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.quant-btn:active { transform: scale(0.96); }
.dec-btn { background: linear-gradient(135deg, #bfb09a, #a67b56); }
.inc-btn { background: linear-gradient(135deg, #d3ad7f, #b9773f); }

.remover-item {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b6b, #e53935);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(229,57,53,0.18);
}

.remover-item:hover { transform: scale(1.04); }

.carrinho-total {
  padding: 1rem 0;
  border-top: 2px solid var(--white);
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.carrinho-total p{
  color: var(--white);
}

.total-valor {
  color: var(--white);
  font-size: 1.6rem;
}

.carrinho-botoes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.finalizar-pedido {
  background: var(--primary-color);
}

/* ===== SEÇÃO DE PAGAMENTO ===== */
.pagamento {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 2rem;
}

.pagamento.ativo {
  opacity: 1;
  visibility: visible;
}

.pagamento-conteudo {
  background: var(--white);
  border-radius: var(--border-radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalAparecer 0.4s ease;
}

.fechar-pagamento {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--dark-color);
  color: var(--white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.fechar-pagamento:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.pagamento-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.resumo-pedido {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.resumo-pedido h4 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.resumo-itens {
  margin-bottom: 1rem;
}

.resumo-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.resumo-total {
  border-top: 2px solid #ddd;
  padding-top: 1rem;
  font-weight: bold;
  text-align: center;
}

.total-final {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.dados-pagamento h4 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1.4rem;
}

.opcoes-pagamento {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.opcao-pagamento {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  cursor: pointer;
}

.opcao-pagamento:hover {
  background: #f5f5f5;
}

.cartao-info {
  display: none;
}

.cartao-detalhes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.confirmar-pedido {
  width: 100%;
  margin-top: 1rem;
}

/* ===== SEÇÃO SOBRE ===== */
.caixa-sobre {
  padding: 5rem 2rem;
  background: var(--black);
}

.caixa-sobre .sobre-container {
  display: flex;
  align-items: center;
  background: var(--black);
  gap: 1.5rem;
  flex-wrap: wrap;
  border-radius: 10px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.caixa-sobre .sobre-container .sobre-imagem {
  flex: 1 1 45rem;
}

.caixa-sobre .sobre-container .sobre-imagem img {
  width: 100%;
  border-radius: 10px 0 0 10px;
}

.caixa-sobre .sobre-container .sobre-texto {
  flex: 1 1 45rem;
  padding: 2rem;
}

.caixa-sobre .sobre-container .sobre-texto h3 {
  font-size: 3rem;
  color: #fff;
}

.caixa-sobre .sobre-container .sobre-texto p {
  font-size: 1.5rem;
  font-weight: lighter;
  color: #fff;
  line-height: 1.8;
  padding: 1rem 0;
}

/* ===== AVALIAÇÕES CORRIGIDAS ===== */
.avaliacoes {
  padding: 5rem 2rem;
  background: linear-gradient(109deg, var(--bg) 15%, rgba(10, 12, 16, 0.99) 85%);
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.avaliacoes-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6rem;
}

.avaliacoes-container {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  scroll-behavior: smooth;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.avaliacoes-container::-webkit-scrollbar {
  display: none;
}

.avaliacoes-container.arrastando {
  scroll-behavior: auto;
  cursor: grabbing;
}

/* ANIMAÇÃO DE FLUTUAÇÃO CORRIGIDA */
@keyframes flutuacao {
  0%, 100% { 
    transform: translateY(0) scale(1);
  }
  50% { 
    transform: translateY(-12px) scale(1.02);
  }
}

.avaliacao-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  min-width: 300px;
  max-width: 360px;
  flex-shrink: 0;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: flutuacao 6s ease-in-out infinite;
}

/* PAUSAR ANIMAÇÃO NO HOVER */
.avaliacao-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(211, 173, 127, 0.2);
}

/* DELAYS DIFERENTES PARA CADA CARD */
.avaliacao-card:nth-child(1) { animation-delay: 0s; }
.avaliacao-card:nth-child(2) { animation-delay: 1.2s; }
.avaliacao-card:nth-child(3) { animation-delay: 2.4s; }
.avaliacao-card:nth-child(4) { animation-delay: 3.6s; }
.avaliacao-card:nth-child(5) { animation-delay: 4.8s; }

.avaliacao-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.foto-cliente {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--main-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.avaliacao-card:hover .foto-cliente {
  transform: scale(1.1);
  border-color: var(--accent-color);
}

.info-cliente {
  flex: 1;
}

.nome-cliente {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 0.8rem 0;
  letter-spacing: 0.5px;
}

.estrelas {
  color: #ffd700;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.data-avaliacao {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  margin: 0;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-avaliacao::before {
  content: '🕒';
  font-size: 1.2rem;
}

.avaliacao-conteudo {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.comentario {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  line-height: 1.7;
  margin: 0;
  font-style: normal;
  font-weight: 400;
  text-align: left;
}

/* BOTÕES DE NAVEGAÇÃO MELHORADOS */
.nav-btn {
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  border: none;
  color: #fff;
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}

.nav-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 25px rgba(211, 173, 127, 0.4);
  opacity: 1;
}

.nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: -8rem;
}

.next-btn {
  right: -8rem;
}

/* Overlay para menu lateral */
.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-panel-overlay.ativo {
  opacity: 1;
  visibility: visible;
}

/* Ajuste no z-index do side panel para ficar acima do overlay */
.side-panel {
  z-index: 2400;
  /* resto do código permanece igual */
}

/* INDICADORES */
.avaliacoes-indicadores {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.indicador {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.indicador.ativo {
  background: var(--main-color);
  transform: scale(1.3);
}

.indicador:hover {
  background: var(--accent-color);
  transform: scale(1.2);
}

/* ESTATÍSTICAS */
.estatisticas-avaliacoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  margin-top: 4rem;
}

.estatistica {
  text-align: center;
  color: #fff;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.estatistica:hover {
  transform: translateY(-5px);
}

.estatistica h4 {
  font-size: 4rem;
  color: var(--main-color);
  margin: 0 0 1rem 0;
  font-weight: 800;
  background: linear-gradient(135deg, var(--main-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.estatistica p {
  font-size: 1.6rem;
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.subtexto {
  font-size: 1.3rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 400 !important;
  font-style: italic;
}

.estrelas-grandes {
  color: #ffd700;
  font-size: 2.2rem;
  margin-top: 1rem;
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* SUBTÍTULO */
.subtitulo-avaliacoes {
  text-align: center;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== MODAL ENDEREÇO ===== */
.modal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 4;
  position: fixed;
  top: 50%;
  left: -100%;
  transform: translate(-50%, -50%);
  transition: left 0.5s ease-in-out;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.modal.ativo {
  left: 50%;
}

.fechar-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
}

.mapa-responsivo {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
}

.mapa-responsivo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mascara-modal {
  visibility: hidden;
  z-index: 3;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.mascara-modal.ativo {
  visibility: visible;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  background: var(--black);
  color: white;
  width: 100%;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
  .sobre-container {
    flex-direction: column;
  }
  
  .caixa-principal h3 {
    font-size: 4rem;
  }
  
  .titulo {
    font-size: 3rem;
  }
  
  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
  
  .estatisticas-avaliacoes {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .pagamento-container {
    grid-template-columns: 1fr;
  }
  
  .avaliacoes-wrapper {
    padding: 0 1rem;
  }
  
  .avaliacao-card {
    min-width: 320px;
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .header section nav {
    display: none;
  }

  .cafe-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .modal-cafe-botoes {
    flex-direction: column;
  }
  
  .modal-cafe-botoes .botao-link {
    width: 100%;
  }
  
  .caixa-principal h3 {
    font-size: 4rem;
  }
  
  .caixa-principal p {
    font-size: 1.6rem;
  }
  
  .modal {
    width: 95%;
    max-width: none;
    padding: 15px;
  }
  
  .categoria-menu {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .categoria-menu h4 {
    font-size: 2rem;
  }
  
  .cafe-nome {
    font-size: 1.6rem;
  }
  
  .cafe-descricao {
    font-size: 1.1rem;
  }
  
  .cafe-preco {
    font-size: 1.4rem;
  }
  
  .avaliacoes-container {
    gap: 1.5rem;
    padding: 1rem 0.5rem;
  }
  
  .avaliacao-card {
    min-width: 280px;
    padding: 2rem 1.5rem;
  }
  
  .foto-cliente {
    width: 55px;
    height: 55px;
  }
  
  .nome-cliente {
    font-size: 1.5rem;
  }
  
  .comentario {
    font-size: 1.4rem;
  }
  
  .estatisticas-avaliacoes {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .estatistica h4 {
    font-size: 3.5rem;
  }
  
  .estatistica p {
    font-size: 1.5rem;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    display: none;
  }
  
  .carrinho {
    max-width: 100%;
  }
  
  .avaliacoes-wrapper {
    padding: 0;
  }

  .avaliacoes-container {
    padding: 1rem 0.5rem;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .caixa-principal div h3 {
    font-size: 3rem;
  }
  
  .caixa-principal div p {
    font-size: 1.4rem;
  }
  
  .modal {
    padding: 10px;
  }
  
  .header section nav a {
    font-size: 1.8rem;
  }
  
  .titulo {
    font-size: 2.4rem;
  }
  
  .cafe-list {
    grid-template-columns: 1fr;
  }
  
  .avaliacao-card {
    min-width: 260px;
    padding: 1.5rem;
  }
  
  .modal-cafe-info {
    padding: 1.5rem;
  }
  
  footer {
    font-size: 1.2rem;
  }
  
  .avaliacoes {
    padding: 4rem 1rem;
    margin: 2rem 1rem;
  }
  
  .foto-cliente {
    width: 50px;
    height: 50px;
  }
  
  .nome-cliente {
    font-size: 1.4rem;
  }
  
  .comentario {
    font-size: 1.3rem;
  }
  
  .estatisticas-avaliacoes {
    padding: 1.5rem;
  }
  
  .estatistica h4 {
    font-size: 3rem;
  }
  
  .estatistica p {
    font-size: 1.4rem;
  }
  
  .subtitulo-avaliacoes {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--white);
  }

  .avaliacoes-container {
    gap: 0.8rem;
  }

  .avaliacao-card {
    min-width: 240px;
    padding: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .modal {
    max-width: 500px;
  }
  
  .caixa-principal div h3 {
    font-size: 7rem;
  }
  
  .caixa-principal div p {
    font-size: 2.2rem;
  }
  
  .titulo {
    font-size: 5rem;
  }
  
  .avaliacoes-wrapper {
    max-width: 1400px;
    margin-left: 230px;
  }

  .cafe img {
    max-height: 360px;
    aspect-ratio: 4 / 3;
    filter: contrast(1.06) saturate(1.08) brightness(1.02);
  }

  .avaliacao-card {
    min-width: 340px;
    max-width: 380px;
    padding: 2.2rem;
    margin: 1.2rem;
  }

  .foto-cliente {
    width: 90px;
    height: 90px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    border-width: 4px;
  }

  .subtitulo-avaliacoes {
    font-size: clamp(1.8rem, 2vw, 2.6rem);
    text-align: center;
    margin-bottom: 2rem;
    color: #f5f5f5;
    letter-spacing: 0.5px;
    font-weight: 500;
  }
}