/* --- GERAL E VARIÁVEIS --- */ :root {
    --cor-primaria: #D92B04; /* Vermelho forte */
    --cor-secundaria: #FFC107; /* Amarelo/Laranja vibrante */
    --cor-fundo: #F8F8F8;
    --cor-texto-escuro: #333333;
    --cor-texto-claro: #FFFFFF;
    --cor-borda: #E0E0E0;
    --cor-sucesso: #28a745;
    --cor-erro: #D92B04;
    --fonte-titulo: 'Poppins', sans-serif;
    --fonte-corpo: 'Lato', sans-serif;
    --header-height: 80px;
}
/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}
body {
    font-family: var(--fonte-corpo);
    background-color: var(--cor-fundo);    
    color: var(--cor-texto-escuro);
}

.center{
	max-width: 1280px;
	padding:0 2%;
	margin:0 auto;
}

.w33{
	width: 33.3%;
	padding: 0 10px;
}

.w19{
	width: 19%;
	padding: 0 10px;
}

.w25{
	width: 25%;
	padding: 0 10px;
}

.w30{
	width: 30%;
	padding: 0 10px;
}

.w40{
	padding:0 10px;
	width: 40%;
}

.w50{
	padding:0 10px;
	width: 50%;
}

.w60{
	padding:0 10px;
	width: 60%;
}

.w70{
	padding:0 10px;
	width: 70%;
}

.w80{
	padding:0 10px;
	width: 80%;
}

.w100{
	padding:0 10px;
	width: 100%;
}

.center{
	max-width: 1280px;
	padding:0 2%;
	margin:0 auto;
}

.left{
	float: left;
}

.right{
	float: right;
}

.clear{
	clear: both;
}

.linha {
	border-bottom:1px solid #C4C6CC;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-padding {
    padding: 15px 0;
}
.section-title {
    font-family: var(--fonte-titulo);
    font-weight: 800;
    
    text-align: center;
    margin-top: 15px;
    color: var(--cor-texto-escuro);
}

.section-title h2{   
    font-size: 25px;
}
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-family: var(--fonte-titulo);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
    font-size: 30px;
}
.btn:hover {
    background-color: #b82403;
    transform: translateY(-3px);
}
/* --- ANIMAÇÃO DE SCROLL --- */
.reveal {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);    
    transform: translateY(0);    
    margin: 5px;
}

.quadro{
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 10px;
        border-radius: 8px;
}
/* --- HEADER --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    background-color: #ffc107;
}
#header.scrolled {
    background-color: yellow;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo img{
    /*font-family: var(--fonte-titulo);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-primaria);
    text-decoration: none;text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.3);*/
}
#header.scrolled .logo {
    color: var(--cor-primaria);
}
#header:not(.scrolled) .logo {
    color: var(--cor-texto-claro);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu ul{
    background-color: aqua;
}
.nav-menu a {
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    padding: 10px;
}
#header:not(.scrolled) .nav-menu a {
    color: #000000;
    /*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);*/
}
#header.scrolled .nav-menu a {
    color: var(--cor-texto-escuro);
}
.nav-menu a:hover {
    color: #000000;
    background-color: rgba(255,255,255,1.00);
    padding: 10px;
    border-radius: 10px;
}
/* --- HEADER RESPONSIVO (MENU HAMBÚRGUER) --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1500;
}
#header:not(.scrolled) .nav-toggle {
    color: var(--cor-texto-claro);
}
#header.scrolled .nav-toggle {
    color: var(--cor-texto-escuro);
}
.nav-toggle:hover {
    color: var(--cor-primaria);
}
@media (max-width: 768px) {
    
    .w33{
	    width: 100%;
	
    }
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 500px;
        background-color: #ffc107;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s ease-in-out;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu a {
        color: var(--cor-texto-escuro);
        font-size: 1.5rem;
    }
    #header nav.container {
        justify-content: space-between;
    }
}
/* --- CARROSSEL SWIPER --- */
#inicio-carrossel {
    height: 450px;
    width: 100%;
    margin-top: var(--header-height);
}
.swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}
.slide-content {
    z-index: 10;
    text-align: center;
    padding: 2rem;
}
.slide-content h2 {
    font-family: var(--fonte-titulo);
    font-size: 3.5rem;
    color: var(--cor-texto-claro);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.swiper-button-next, .swiper-button-prev {
    color: var(--cor-secundaria);
}
.swiper-pagination-bullet-active {
    background: var(--cor-secundaria);
}
/* --- SEÇÃO SOBRE NÓS --- */
.sobre-content {
    /*display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;*/
    align-items: center;
}
.sobre-imagem img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.sobre-texto .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.section-title h3{
    font-size: 20px;
}
.sobre-texto p {
    line-height: 1.8;
    margin-bottom: 2rem;
}
/* --- SEÇÃO DESTAQUES --- */
#destaques {
    background-color: #fff;
}
.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.destaque-item i {
    font-size: 3rem;
    color: var(--cor-primaria);
    margin-bottom: 1.5rem;
}
.destaque-item h3 {
    font-family: var(--fonte-titulo);
    font-size: 1.5rem;
    color: var(--cor-texto-escuro);
}
/* --- GALERIA DE FOTOS --- */
#galeria {
    background-color: #fff;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));    
    gap: 1rem;
    
}
.galeria-item img {
    width: 60%;
    /*height: 250px;*/
    /*object-fit: cover;*/
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.galeria-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.galeria-texto {
    width: 60%;    
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 5px;
}
.galeria-texto p {
    text-align: center; 
}
/* --- MODAL/LIGHTBOX DA GALERIA --- */
.modal-galeria {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}
.modal-conteudo {
    max-width: 90%;
    max-height: 85%;
    border-radius: 5px;
    animation: zoomIn 0.3s ease;
}
.modal-fechar {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: var(--cor-texto-claro);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-fechar:hover {
    color: var(--cor-primaria);
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}
/* --- FORMULÁRIO DE ENCOMENDAS --- */

/*================================================================
 * Estilização Avançada para Seleção de Entrega (Radio Cards)
 *================================================================*/

/* Estiliza o container do formulário */
fieldset {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  background-color: var(--surface-color);
  box-shadow: var(--shadow-light);
}

/* Estiliza o título da seção */
legend {
  width: auto; /* Impede que a borda corte o texto */
  padding: 0 10px;
  font-family: 'Poppins', sans-serif;
  color: var(--primary-color);
  font-size: 1.2em;
  margin-left: 10px;
}

/* Container para as opções (cards) */
.form-group-radio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Colunas responsivas */
  gap: 15px; /* Espaçamento entre os cards */
  margin-top: 10px;
}

/* Esconde o input de rádio original, mas o mantém funcional */
.form-group-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Estiliza a LABEL como um card clicável */
.form-group-radio label {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative; /* Base para o posicionamento do círculo */
  font-weight: 500;
  color: var(--text-primary);
  background-color: rgba(233,233,233,1.00);  
}

/* Efeito de hover na label */
.form-group-radio label:hover {
  border-color: var(--secondary-color);
  
    
}

/* === Círculo customizado (criado com pseudo-elementos) === */

/* Círculo externo */
.form-group-radio label::before {
  content: '';
  display: block;
  min-width: 1.25em;
  height: 1.25em;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  margin-right: 12px;
  transition: all 0.2s ease;
}

/* Ponto interno (inicialmente invisível) */
.form-group-radio label::after {
  content: '';
  display: block;
  width: 0.7em;
  height: 0.7em;
  background-color: #FFFFFF;
    
  border-radius: 50%;
  position: absolute;
  left: 23px; /* Alinha o ponto dentro do círculo */
  top: 50%;
  transform: translateY(-50%) scale(0); /* Escondido por padrão */
  transition: transform 0.2s ease;
}


/* === ESTILOS DA OPÇÃO SELECIONADA (:checked) === */

/* Muda a aparência do CARD (label) quando o input está selecionado */
.form-group-radio input[type="radio"]:checked + label {
  border-color: var(--primary-color);
  background-color: #F87707;
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(217, 74, 45, 0.3); /* Sombra suave na cor primária */
  font-size: 20px;    
}

/* Muda a cor do CÍRCULO EXTERNO quando selecionado */
.form-group-radio input[type="radio"]:checked + label::before {
  border-color: var(--primary-color);
  background-color: var(--text-light); /* Fundo do círculo fica branco */
}

/* Mostra o PONTO INTERNO quando selecionado */
.form-group-radio input[type="radio"]:checked + label::after {
  transform: translateY(-50%) scale(1);
}

/* Acessibilidade: Adiciona um anel de foco na label para navegação com teclado */
.form-group-radio input[type="radio"]:focus-visible + label {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

.section-padding {
    background-color: rgba(255, 250, 199, 0.62); /* Equivalente a #fffac79e */
}

#form-encomenda fieldset {
    border: none;
    margin-bottom: 2rem;
    border-top: 1px solid var(--cor-borda);
    padding-top: 2rem;
}
#form-encomenda legend {
    font-family: var(--fonte-titulo);
    font-size: 1.5rem;
    color: var(--cor-texto-escuro);
    padding: 0 1rem;
    margin-left: 1rem;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.form-group input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--cor-borda);
    border-radius: 5px;
    font-family: var(--fonte-corpo);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--cor-secundaria);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}
.salgados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.salgado-item {
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.3s;
}
.salgado-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.salgado-item img {
    max-width: 150px;
    margin-bottom: 1rem;
}
.salgado-item h4 {
    font-family: var(--fonte-titulo);
    color: var(--cor-texto-escuro);
    font-size: 20px;
}
.salgado-item .preco {
    color: var(--cor-primaria);
    font-weight: bold;
    margin: 0.5rem 0;
}
.salgado-item .quantidade-input {
    width: 80px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.resumo-pedido {
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 8px;
}
.resumo-pedido p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--cor-texto-escuro);
}
.mensagem-status {
    text-align: center;
    margin-top: 1.5rem;
    font-weight: bold;
    min-height: 24px;
    font-size: 1.1rem;
}
.mensagem-status.sucesso {
    color: var(--cor-sucesso);
}
.mensagem-status.erro {
    color: var(--cor-erro);
}
.descricao-item {
    font-size: 0.85em; /* Tamanho um pouco menor que o texto normal */
    color: #666;      /* Cor cinza para não competir com o preço */
    margin-top: -10px; /* Ajuste para ficar mais perto do preço */
    margin-bottom: 15px; /* Espaço antes do campo de quantidade */
    min-height: 30px; /* Garante uma altura mínima caso a descrição seja pequena */
}
/* --- AVALIAÇÕES E FOOTER --- */
#avaliacoes {
    background-color: #fff;
}
#contato {
    background-color: #ffed7557;
    /*color: rgba(255, 255, 255, 0.8);*/
    padding-top: 5rem;
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    color: #312E29;
}
.footer-col h3 {
    font-family: var(--fonte-titulo);
    color: #ffba2f;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}
.footer-col a {
    color: #ffba2f7a;
    text-decoration: none;
}
.footer-col a:hover {
    color: var(--cor-secundaria);
}
.logo-footer {
    font-family: var(--fonte-titulo);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cor-secundaria);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.footer-social a {
    font-size: 1.5rem;
}
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* =================================
   BOTÕES FLUTUANTES DE AÇÃO COPIA
   ================================= */
.floating-buttons-redes {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-buttons-redes a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-buttons-redes a:hover {
    transform: scale(1.1);
}

/* Cores específicas para cada botão */
.instagram-float {
    background-color: #FC9127; /* Verde do WhatsApp */
}
.instagram-float:hover {
    background-color: #FC9127;
}

.face-float {
    background-color: #000798; /* Azul para telefone */
}
.face-float:hover {
    background-color: #000798;
}


/* =================================
   BOTÕES FLUTUANTES DE AÇÃO
   ================================= */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-buttons a {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-buttons a:hover {
    transform: scale(1.1);
}

/* Cores específicas para cada botão */
.whatsapp-float {
    background-color: #25D366; /* Verde do WhatsApp */
}
.whatsapp-float:hover {
    background-color: #128C7E;
}

.phone-float {
    background-color: #3498db; /* Azul para telefone */
}
.phone-float:hover {
    background-color: #2980b9;
}

/* Adicione este código ao final do seu css/style.css */

#localizacao iframe {
    border: 0;
    border-radius: 8px; /* Opcional: para combinar com o design do site */
    width: 100%;       /* IMPORTANTE: Faz o mapa ocupar toda a largura da seção */
    height: 450px;     /* Você pode ajustar a altura como preferir */
}
/* --- MEDIA QUERIES PARA RESPONSIVIDADE FINAL --- */
@media (max-width: 960px) {
    
    .w19{
        
    }
    
    .galeria-item img {
        width: 80%;       
    }
    
    .galeria-texto {
        width: 80%;    

    }
    
    
}

@media (max-width: 771px) {    
    
    .galeria-texto {
        width: 70%;    

    }
    
    .w19{
        width: 33%;
    }
    
    .galeria-item img {
        width: 70%;
        /*height: 250px;*/
        /*object-fit: cover;*/
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 15px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .slide-content h2 {
        font-size: 2.5rem;
    }
    .sobre-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sobre-texto .section-title {
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .galeria-item img {    
        /*height: 250px;*/    
    }
}
@media (max-width: 720px) {
    .w19{
        width: 50%;
    }
    
     .galeria-texto {
        width: 90%;    

    }
    
    
    .galeria-item img {
        width: 90%;
        /*height: 250px;*/
        /*object-fit: cover;*/
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 15px;
    }
}

@media (max-width: 590px) {
    .w19{
        width: 100%;
    }
    
     .galeria-texto {
        width: 100%;    

    }
    
    
    .galeria-item img {
        width: 100%;
        /*height: 250px;*/
        /*object-fit: cover;*/
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 15px;
    }
}


@media (max-width: 480px) {
    .section-padding {
        padding: 4rem 0;
    }
    .slide-content h2 {
        font-size: 2rem;
    }
    #inicio-carrossel {
        margin-top: 0;
        height: 50vh;
    }
    #header {
        background-color: var(--cor-texto-claro);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }
    #header .logo, #header .nav-toggle {
        color: var(--cor-primaria);
    }
}

#meu-carrossel {
  width: 100%;
  overflow: hidden;
}

.carrossel-container {
  position: relative;
}

.carrossel-item {
  display: none;
  width: 100%;
}

.carrossel-item img {
  width: 100%;
  height: auto;
}

.carrossel-item.ativo {
  display: block;
}

.carrossel-botao {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carrossel-botao.anterior {
  left: 10px;
}

.carrossel-botao.proximo {
  right: 10px;
}