* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  
  background: #780000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #283618;
  padding: 10px 20px;
  color: #fff;
  position: relative;
}

/* Links padrão */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  padding: 0.3rem 0;
}

.nav-links a:hover {
  color: #bc8034;
  border-bottom: 2px solid #bc8034;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Botão hamburguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
}

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

  .nav-links {
    position: absolute;
    top: 60px; /* abaixo da navbar */
    right: 0;
    background-color: #283618;
    flex-direction: column;
    width: 200px;
    padding: 10px;
    border-radius: 0 0 0 10px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 8px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 1rem;
  }

  .btn-carrinho {
    width: 100%;
  }
}

/*------------------*/

/* Carrinho oculto por padrão */
/* overlay */
.carrinho-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 900;
}

/* painel lateral */
.carrinho-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  box-shadow: -6px 0 20px rgba(0,0,0,0.2);
}

.btn-carrinho {
  background-color: #d49a07;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  width: 8.6rem;
  height: 2.5rem;
  border-radius: 3rem;
  box-shadow: rgba(61, 61, 59, 0.432) 1px 1px 8px 1px;
}

.btn-carrinho .icon-carrinho {
  stroke: #fff;
  margin-right: 6px;
  flex-shrink: 0;
}

/* quando aberto */
.carrinho-overlay.aberto {
  opacity: 1;
  visibility: visible;
}

.carrinho-container.aberto {
  transform: translateX(0);
}

/* conteúdo do carrinho */
.carrinho-conteudo { padding: 18px; display:flex; flex-direction:column; gap:12px; height:100%; }
#lista-carrinho { list-style:none; margin:0; padding:0; overflow:auto; flex:1; }
#lista-carrinho li { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid #eee; }

.btn-acao { background:#5e0b15; color:#fff; border:none; padding:10px; border-radius:6px; cursor:pointer; }
.btn-fechar { background:#999; color:#fff; border:none; padding:8px; border-radius:6px; cursor:pointer; }


/*------------------*/

.galeria,
.galeria2 {
  max-width: 100vw;
  margin: 2rem 0 0 0;
  padding: 20px;
  background-color: #a3b18a;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(94, 11, 21, 0.15);
  color: #5e0b15;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.galeria h2,
.galeria2 h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.galeria-grid,
.galeria-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.foto-item {
  width: 100%;
  max-width: 220px; /* limite para não ficar gigante em telas largas */
  aspect-ratio: 3 / 4; /* mantém proporção mesmo sem altura fixa */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(94, 11, 21, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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


@media (max-width: 480px) {
  .galeria h2,
  .galeria2 h2 {
    font-size: 1.8rem;
  }

  .foto-item {
    max-width: 160px;
  }
}

/*------------------*/
.cardapio {
  margin: 4rem 0 0 0;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.cardapio h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #a3b18a;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.promo-card {
  flex: 0 0 250px;
  height: 18rem;
  background-color: #b17f05;
  color: #132a13;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.514);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  text-align: center;
  margin-left: 1rem;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #132a13;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  padding: 10px;
  cursor: pointer;
  z-index: 20;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
  left: 0.5rem;
}

.next {
  right: 0.5rem;
}

.btn-add {
  margin-top: 8px;
  background-color: #d00000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.514);
}

.btn-add:hover {
  background-color: #e5383b;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .promo-card {
    flex: 0 0 200px;
    height: 16rem;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    overflow-x: auto; /* permite rolagem lateral no mobile */
    scroll-snap-type: x mandatory;
  }

  .carousel-track {
    flex-wrap: nowrap;
  }

  .promo-card {
    flex: 0 0 70%; /* ocupa mais espaço na tela pequena */
    height: auto;
    min-height: 15rem;
    scroll-snap-align: start;
  }

  .prev, .next {
    display: none; /* esconde botões em telas pequenas */
  }
}

@media (max-width: 480px) {
  .cardapio h2 {
    font-size: 1.8rem;
  }

  .promo-card {
    flex: 0 0 85%;
    padding: 0.8rem;
  }
}
/*------------------ Promoções --------------------*/
.promocoes-lista {
  display: flex;
  flex-wrap: wrap; 
  gap: 1.5rem; 
}

.promocao-card {
  background-color: #132a13;
  color: #132a13;
  border-radius: 1rem;
  border: 2px solid #d49a07;
  width: 18rem;
  max-width: 18rem;
  height: auto;
  min-height: 24rem;
  padding: 1rem;
  margin: 0 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.89);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex: 1 1 260px;
}

.promocoes {
  padding: 2rem;
  background-color: #a3b18a;
  text-align: center;
  gap: 1rem;
  border-radius: 1rem;
  margin-bottom: 4rem;
}

.promocoes h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.promocao-card h3 {
  color: #a46300;
  font-size: 1.7rem;
}

.promocao-card p {
  color: #a3b18a;
  font-size: 1.2rem;
}

.promocao-card .validade {
  font-size: 1.2rem;
  color: #fff;
}

#input-cupom {
  padding: 0.5rem;
  width: 16rem;
  border: 1px solid #d49a07;
  border-radius: 5px;
}

#btn-aplicar-cupom {
  background-color: #d49a07;
  color: white;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 0.5rem;
  font-weight: bold;
  width: 16rem;
  height: 3rem;
  border: #fad26e solid 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.938);
}

#btn-aplicar-cupom:hover {
  background-color: #a46300;
}

.mensagem-cupom {
  font-weight: bold;
  color: #d49a07;
}

/* Responsividade */
@media (max-width: 768px) {
  .promocao-card {
    flex: 1 1 100%; /* ocupa largura total no celular */
    max-width: 90%;
    margin: 0 auto;
  }
}
/*-------------------------------------------*/

.tempo-entrega {
  background-color: #132a13;
  border-radius: 2rem;
  padding: 20px;
  width: 90vw;      /* largura relativa ao viewport, com margem natural */
  max-width: 500px; /* limite máximo para não ficar muito largo em telas grandes */
  height: auto;     /* altura automática para se ajustar ao conteúdo */
  margin: 2rem auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-sizing: border-box;
}

.tempo-entrega h2 {
  text-align: center;
  color: #d49a07;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 900;
}

.tempo-entrega label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.tempo-entrega input[type="text"] {
  padding: 8px 12px;
  margin-bottom: 1rem;
  border: 2px solid #d49a07;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  width: 90%;
  max-width: 400px;
  transition: background-color 0.3s ease;
}

.tempo-entrega input[type="text"]:hover {
  background-color: #daf5a2;
}

.tempo-entrega button {
  background-color: #d49a07;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto 1rem auto;
  width: 90%;
  max-width: 400px;
    border: #fad26e solid 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.938);
}

.tempo-entrega button:hover {
  background-color: #b17f05;
}

.tempo-entrega p {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 0;
  width: 90%;
  max-width: 400px;
}

/* Responsividade para telas pequenas */
@media (max-width: 480px) {
  .tempo-entrega {
    width: 95vw;
    padding: 15px;
    border-radius: 1.5rem;
  }

  .tempo-entrega h2 {
    font-size: 1.6rem;
  }

  .tempo-entrega input[type="text"],
  .tempo-entrega button,
  .tempo-entrega label,
  .tempo-entrega p {
    max-width: 100%;
    width: 100%;
    font-size: 1rem;
  }
}

/*-------------------*/
.depoimentos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 100vw;
  margin: 50px auto;
  padding: 20px 10px;
  background-color: #a3b18a;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(94, 11, 21, 0.15);
  color: #5e0b15;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  box-sizing: border-box;
}

.depoimentos h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 700;
  padding: 0 10px;
}

.depoimentos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 10px;
  box-sizing: border-box;
  width: 1200px;
}

.depoimento-card {
  background-color: #fff;
  border: 2px solid #5e0b15;
  border-radius: 10px;
  padding: 20px;
  width: 11rem;
  height: 20rem;
  box-shadow: 0 2px 6px rgba(94, 11, 21, 0.2);
  transition: transform 0.3s ease;
  cursor: default;
  box-sizing: border-box;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(94, 11, 21, 0.35);
}

.texto-depoimento {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 15px;
  min-height: 80px;
}

.cliente-nome {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #a31f2b;
}

.avaliacao {
  font-size: 1.4rem;
  color: #d49a07; 
}

/* Responsividade */

/* Tablets e telas médias */
@media (max-width: 900px) {
  .depoimento-card {
    width: 45%; /* Dois cards lado a lado */
  }
  .depoimentos h2 {
    font-size: 1.8rem;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .depoimentos-container {
    flex-direction: column;
    gap: 15px;
  }
  .depoimento-card {
    width: 100%; /* 1 card por linha, ocupando toda largura disponível */
    max-width: 350px;
    margin: 0 auto;
  }
  .depoimentos h2 {
    font-size: 1.6rem;
  }
  .texto-depoimento {
    font-size: 1rem;
    min-height: auto;
  }
}


/*-------------------*/
.galeria2 {
  max-width: 100vw;
  margin: 50px auto;
  padding: 20px;
  background-color: #283618;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(94, 11, 21, 0.15);
  color: #b17f05;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.galeria2 h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  font-weight: 700;
  margin: 2rem;
}

.galeria-grid2 {
  display: flex;
  gap: 1rem;
}

.foto-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(94, 11, 21, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

/*-------------------*/

.faq {
  padding: 40px 20px;
  background-color: #a3b18a;
  width: 100vw;
  display: flex;
  flex-wrap: wrap;          
  align-items: center; 
  justify-content: center;
  gap: 1rem;
  box-sizing: border-box;
}

.faq h2 {
  width: 100%;            
  text-align: center;
  font-size: 2em;
  color: #780000;
  margin-bottom: 30px;
}

.faq-item {
  background-color: #fff;
  border: 1px solid #780000;
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.2s;
  width: 15rem;  
  height: 15rem;            
  box-sizing: border-box;
  cursor: default;
}

.faq-item:hover {
  transform: scale(1.02);
  border-color: #d00000;
}

.faq-item h3 {
  font-weight: 800;
  color: #780000;
  margin-bottom: 8px;
}

.faq-item p {
  color: #132a13;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.4em;
}

/* Responsividade */

/* Tablets e telas médias */
@media (max-width: 900px) {
  .faq-item {
    width: 48%;      
    min-height: auto; 
  }
}

/* Celulares */
@media (max-width: 480px) {
  .faq {
    padding: 20px 10px;
  }

  .faq-item {
    width: 100%;   
    min-height: auto;
    margin: 0 auto;
  }

  .faq h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .faq-item h3 {
    font-size: 1.1em;
  }

  .faq-item p {
    font-size: 0.95em;
  }
}


/*------------------*/

.sobre-pizzaria {
  width: 100vw;
  margin: 40px auto;
  padding: 20px;
  background: #283618;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  color: #ddd;
  box-shadow: 0 4px 10px rgb(46 58 35 / 0.1);
}

.sobre-pizzaria h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 700;
  color: #7a9e2f;
}

.sobre-pizzaria article {
  margin-bottom: 20px;
}

.sobre-pizzaria h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
  border-bottom: 2px solid #7a9e2f;
  padding-bottom: 4px;
}

.sobre-pizzaria p,
.sobre-pizzaria ul {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.sobre-pizzaria ul {
  list-style: inside disc;
  padding-left: 0;
  margin-top: 6px;
}

/* ----------- RESPONSIVIDADE ----------- */

@media (max-width: 1024px) {
  .carousel-container {
    max-width: 90vw;
  }

  .promo-card {
    max-width: 250px;
    min-width: 220px;
    height: 28vh;
  }
}

@media (max-width: 768px) {
  .cardapio {
    margin: 3rem 1rem;
  }

  .carousel-container {
    width: 100vw;
    max-width: 100vw;
  }

  .promo-card {
    min-width: 200px;
    max-width: 220px;
    height: 25vh;
    margin: 0 5px;
  }

  .prev, .next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    width: 100vw;
    max-width: 100vw;
  }

  /* Deixa o carrossel rolável no celular com scroll horizontal */
  .carousel-track {
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .promo-card {
    min-width: 180px;
    max-width: 180px;
    height: 22vh;
    margin: 0 5px;
  }

  .prev, .next {
    display: none; /* Esconder botões no mobile, pois o usuário pode arrastar */
  }
}

/*-------------------*/

.footer {
  background-color: #a5b18a;
  color: #132a13;
  padding: 30px 20px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.container__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo h2 {
  font-weight: 700;
  font-size: 1.8rem;
  color: #5e0b15;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  font-weight: 700;
}

.footer-nav a {
  color: #132a13;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #5e0b15;
}

.footer-contato p {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.footer-contato i {
  color: #5e0b15;
  min-width: 20px;
  text-align: center;
}

.footer-redes a {
  margin-right: 15px;
  color: #132a13;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.footer-redes a:hover {
  color: #7a9e2f;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #283618;
}

/* Responsividade */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-redes a {
    margin: 10px 10px 0 0;
  }
}

