@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

/* ---------------------------------- */
/* RESET BÁSICO E VARIÁVEIS DE COR    */
/* ---------------------------------- */
:root {
    /* Mapeamento das cores da capa */
    --bg-dark: #f0e9d8;       /* Papel: Fundo Principal (Era azul-preto -> Agora é Bege Pergaminho) */
    --bg-card: #fbf7ed;       /* Papel: Fundo dos Cards (Era cinza-escuro -> Agora é Bege mais claro/branco) */
    --primary-color: #d06f49;  /* Papel: Destaque (Era laranja -> Agora é Vermelho/Vinho do logo) */
    --secondary-color: #715a3f;/* Papel: Destaque Secundário (Era bege-dourado -> Agora é Marrom Escuro da borda) */
    --text-light: #6e5841;      /* Papel: Texto Principal (Era branco -> Agora é Marrom Médio do texto) */
    --text-muted: #8f7b68;      /* Papel: Texto Secundário (Era cinza-claro -> Agora é Marrom claro/cinza) */
    
    --verde-pastel: #A5D6A7;
    --verde-escuro: #2E7D32;
    --verde-medio: #66BB6A;
    --texto-escuro: #1B1B1B;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    /* Garante que o conteúdo não fique escondido atrás do header fixo */
    padding-top: var(--header-height); 
}

/* Evita a rolagem da página principal quando o menu mobile está aberto */
body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; color: var(--secondary-color); }

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
}

section {
    padding: 4rem 1.5rem;
}

/* ---------------------------------- */
/* COMPONENTES REUTILIZÁVEIS          */
/* ---------------------------------- */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-home {
    background-color: #d64848;
    color: #fff;
    border: 2px solid #fff;
    margin: 1rem auto 0 auto; /* ✅ centraliza horizontalmente */
    display: block; /* ✅ ocupa largura suficiente para alinhar com margin:auto */
    width: fit-content; /* ✅ mantém botão no tamanho do conteúdo */
}



/* Efeito de pulsação chamativa para CTA */
@keyframes pulseCardapio {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255,255,255,0.6),
                    0 0 20px rgba(208,111,73,0.6);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 22px rgba(255,255,255,1),
                    0 0 40px rgba(208,111,73,1);
    }
}

/* Classe ativada via JavaScript */
.btn-home.pulsar {
    animation: pulseCardapio 1.7s infinite ease-in-out;
}



/* ---------------------------------- */
/* 1. & 2. HEADER E NAVEGAÇÃO (Mobile)*/
/* ---------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    /* Centraliza o logo (solução clássica) */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-toggle,
.menu-close,
.btn-reserva-mobile {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.menu-close {
    font-size: 2.5rem;
}

/* Esconde o botão de reserva do desktop no mobile */
.btn-reserva-desktop {
    display: none; 
}
.btn-reserva-mobile-menu {
    width: 100%;
    text-align: center;
}

/* Menu Gaveta (Navbar) */
.navbar {
    position: fixed;
    top: 0;
    left: -100%; /* Começa escondido */
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-card);
    z-index: 1002;
    transition: left 0.35s ease-in-out;
    display: flex;
    flex-direction: column;
}

.navbar.active {
    left: 0;
}

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bg-dark);
}

.navbar-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
}

.nav-links {
    flex-grow: 1;
    padding-top: 1rem;
}

.nav-links a {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--bg-dark);
}

.nav-links a:hover {
    background-color: var(--bg-dark);
    color: var(--primary-color);
}

.nav-footer {
    padding: 1.5rem;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.linha {
    display: block;
}



/* ---------------------------------- */
/* STAR RATINGS                       */
/* ---------------------------------- */
/* ========= Avaliação ========= */
#avaliacao {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem 1rem;
}
#avaliacao.card:hover {
  transform: none;
  box-shadow: 0 8px 32px -10px var(--shadow-color);
  border-color: var(--border-color);
}
.stars {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: 2.2rem;
  cursor: pointer;
  margin: 1rem 0;
}
.stars span {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.stars:hover span { color: var(--neon); text-shadow: 0 0 15px var(--neon); }
.stars span:hover ~ span { color: rgba(255, 255, 255, 0.2); text-shadow: none; }
.stars span.hovered, .stars span.selected { color: var(--warn); text-shadow: 0 0 15px var(--warn); }
#rating-msg { min-height: 1.5em; margin-top: .8rem; font-size: .95rem; }


/* ---------------------------------- */
/* 3. HERO (FOTO PRINCIPAL) - SEU CSS */
/* ---------------------------------- */

.hero {
    height: 70vh;
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll; /* Efeito Parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 1.5rem;
}

/* Overlay escuro sobre a imagem do hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(110, 88, 65, 0.2) 0%, rgba(110, 88, 65, 0.4) 100%);
}

.hero-content {
    position: relative; /* Para ficar acima do overlay */
    z-index: 2;
    max-width: 600px;
}

/* ---------------------------------- */
/*  HERO TITLE (MINHA IMPLEMENTAÇÃO)  */
/* ---------------------------------- */

/* Estilo geral do título */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    line-height: 1.15;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.90);

    /* ANIMAÇÃO DE ENTRADA */
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 1s ease-out forwards;
}

/* Destaque premium da marca com fumaça atrás */
.hero-title .brand-name {
    position: relative;
    margin-top: 6px;
    display: inline-block;
    font-weight: 900;
    color: #8B0000; /* Vermelho escuro */
    transition: all 0.35s ease-in-out;

    /* ✅ CONTORNO BRANCO DE 1PX */
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;
}

/* ✅ Glow/Fog atrás da palavra */
.hero-title .brand-name::before {
    content: "";
    position: absolute;
    inset: -10px -20px; /* área do fog atrás */
    background: rgba(255,255,255,0.5); /* branco suave */
    filter: blur(18px); /* intensidade da fumaça */
    border-radius: 25px;
    z-index: -1;
    opacity: 1.95; /* bem perceptível */
}

.hero-title .brand-name:hover {
    transform: scale(1.08);
    filter: brightness(1.25);
    text-shadow:
        0 0 12px rgba(251, 246, 187, 0.9),
        0 0 18px rgba(255, 215, 0, 0.7);
}

/* Desktop: quebra elegante em 2 linhas */
@media (max-width: 767px) {
    .hero-title {
        display: flex;
        flex-direction: column;
        gap: 6px;
        line-height: 1.2;
    }
}

/* Animação fade-up */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito AUTO para mobile (sem hover) */
@media (max-width: 767px) {
    .hero-title .brand-name {
        animation: brandPulse 3s ease-in-out infinite;
    }
}


/* Pulsação mais suave e elegante */
@keyframes brandPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
        text-shadow:
            -1px -1px 0 #fff,
             1px -1px 0 #fff,
            -1px  1px 0 #fff,
             1px  1px 0 #fff;
    }
    50% {
        transform: scale(1.02); /* era 1.12 */
        filter: brightness(1.15); /* brilho mais suave */
        text-shadow:
            0 0 4px rgba(255,255,255,0.6),   /* antes 10px/20px/28px */
            0 0 10px rgba(139,0,0,0.35);     /* vermelho mais leve */
    }
}

/* Responsivo: animação só no Mobile */
@media (max-width: 767px) {
    .hero-title .brand-name {
        animation: brandPulse 2.8s ease-in-out infinite;
    }
}





.hero-content p {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.hero-content .box-subtitle {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1.0) 0%,  /* branco 100% no topo */
        rgba(255, 255, 255, 0.5) 100% /* totalmente transparente embaixo */
    );
    padding: 10px 10px; /* mais espaçamento para melhor leitura */
    border-radius: 14px; /* cantos mais suaves */
    border: 2px solid rgba(208, 111, 73, 0.9); /* contorno similar, porém mais elegante */
    
    display: inline-block; /* evita ocupar a linha inteira, fica bem centralizado */
    text-align: center; /* texto sempre centralizado */
    
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2b1b14; /* cor mais forte, contraste melhor */
    
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* leve sombra premium */
    backdrop-filter: blur(3px); /* modernidade 🤌 */
    transition: transform .3s ease, box-shadow .3s ease;
}

/* Efeito hover suave e chique */
.hero-content .box-subtitle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(208, 111, 73, 0.5);
}


.cor-message p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
}

/* ---------------------------------- */
/* HERO DE ENTRADA SITE ADEGA DO JABÁ - EFEITO SOL DO SERTÃO */
/* ---------------------------------- */
#hero-entrada-site {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: filter 1.5s ease-in-out;
}

/* Camada de luz dourada (efeito solar) */
#hero-entrada-site::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 20%,
    rgba(255, 200, 100, 0.35) 0%,
    rgba(255, 140, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  mix-blend-mode: overlay;
  z-index: 1;
  animation: sol-do-sertao 10s ease-in-out infinite alternate;
}

/* Brilho dourado pulsante */
@keyframes sol-do-sertao {
  0%   { filter: brightness(1) saturate(1.05); opacity: 0.8; }
  50%  { filter: brightness(1.15) saturate(1.25); opacity: 1; }
  100% { filter: brightness(0.95) saturate(1.1); opacity: 0.8; }
}

/* Conteúdo */
#hero-entrada-site .hero-content {
  position: relative;
  z-index: 2;
  color: #fff3e0;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}




/* ----------------------------------     */
/* LAMPARINA AO VENTO + DUPLA CAMADA DE CALOR */
/* ----------------------------------     */

/* 🌬️ Brilho irregular da lamparina */
@keyframes brilho-lamparina-vento {
  0%   { filter: brightness(0.85) contrast(1.05) saturate(1.2); }
  8%   { filter: brightness(1.25) contrast(1.15) saturate(1.35); }
  20%  { filter: brightness(0.9) contrast(1.1) saturate(1.25); }
  33%  { filter: brightness(1.2) contrast(1.15) saturate(1.3); }
  47%  { filter: brightness(0.8) contrast(1.1) saturate(1.2); }
  55%  { filter: brightness(1.3) contrast(1.2) saturate(1.4); }
  70%  { filter: brightness(0.95) contrast(1.1) saturate(1.25); }
  85%  { filter: brightness(1.2) contrast(1.15) saturate(1.3); }
  100% { filter: brightness(0.85) contrast(1.05) saturate(1.2); }
}

/* 🔥 Tremor do calor subindo (refração térmica) */
@keyframes tremor-calor {
  0%   { transform: translateY(0px) scale(1); opacity: 0.25; }
  25%  { transform: translateY(-3px) scale(1.02); opacity: 0.3; }
  50%  { transform: translateY(-5px) scale(1.03); opacity: 0.4; }
  75%  { transform: translateY(-3px) scale(1.02); opacity: 0.3; }
  100% { transform: translateY(0px) scale(1); opacity: 0.25; }
}

/* ======= HERO BASE ======= */
#hero-charqueadora {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  min-height: 70vh;
  transition: filter 2s ease-in-out;

  /* 💡 mesma frequência do mobile */
  animation: brilho-lamparina-vento 9s ease-in-out infinite;
}

/* 🌫️ Camada principal de calor (próxima da lamparina) */
#hero-charqueadora::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 30%;
  width: 120px;
  height: 150px;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.05) 70%,
    transparent 100%
  );
  backdrop-filter: blur(3px);
  filter: blur(1.5px);
  animation: tremor-calor 3.2s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

/* 🌫️ Segunda camada de calor (mais difusa e distante) */
#hero-charqueadora::before {
  content: "";
  position: absolute;
  bottom: 12%;
  left: 28%;
  width: 180px;
  height: 200px;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.03) 70%,
    transparent 100%
  );
  backdrop-filter: blur(5px);
  filter: blur(2.5px);
  animation: tremor-calor 3.2s ease-in-out infinite;
  animation-delay: 1.2s;
  z-index: 2;
  pointer-events: none;
}

/* ✨ Blend das camadas de calor */
#hero-charqueadora::after,
#hero-charqueadora::before {
  mix-blend-mode: lighten;
}

/* Conteúdo acima de tudo */
#hero-charqueadora .hero-content {
  position: relative;
  z-index: 4;
}

/* ----------------------------------     */
/* AJUSTES PARA MOBILE (mantém mesmo timing) */
/* ----------------------------------     */
@media (max-width: 768px) {
  #hero-charqueadora {
    background-size: 180%;
    background-position: 35% center;
    min-height: 55vh;
    animation: brilho-lamparina-vento 9s ease-in-out infinite;
  }

  #hero-charqueadora::after {
    left: 38%;
    width: 80px;
    height: 100px;
    backdrop-filter: blur(2px);
    filter: blur(1.2px);
    animation: tremor-calor 3.2s ease-in-out infinite;
  }

  #hero-charqueadora::before {
    left: 36%;
    width: 140px;
    height: 160px;
    backdrop-filter: blur(3px);
    filter: blur(1.8px);
    animation: tremor-calor 3.2s ease-in-out infinite;
    animation-delay: 1.2s;
  }
}





/* ---------------------------------- */
/*       buttonCardapio()             */
/* ---------------------------------- */
 


/* ---------------------------------- */
/* 4. MAIS PEDIDOS (GRID)             */
/* ---------------------------------- */

.grid-pratos {
    display: grid;
    grid-template-columns: 1fr; /* 1 coluna no mobile */
    gap: 1.5rem;
}

.prato-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.prato-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.prato-content {
    padding: 1.5rem;
}

.prato-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------------------------------- */
/* 5. DESTAQUES DO CHEF (CARROSSEL)   */
/* ---------------------------------- */

.destaques-chef {
    background-color: var(--bg-card);
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem;
}

.carousel-slide {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background-color: var(--bg-dark);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.carousel-slide p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ✅ Quando o auto-slide estiver ativo */
.carousel-track.auto-slide {
    animation: slideLeft 25s linear infinite;
    scroll-snap-type: none; /* desativa o snap durante movimento */
}

.carousel-track.auto-slide .carousel-slide {
    flex: 0 0 auto; /* libera largura para movimento contínuo */
}

/* ✅ Animação contínua */
@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-400%); }
}

/* ---------------------------------- */
/* 6. GALERIA DE FOTOS                */
/* ---------------------------------- */

.grid-galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
    gap: 0.75rem;
}

.grid-galeria img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.grid-galeria img:hover {
    transform: scale(1.05);
    opacity: 0.8;
    cursor: pointer;
}



/* ---------------------------------- */
/* 7. DEPOIMENTOS                     */
/* ---------------------------------- */

.depoimentos {
    background-color: var(--bg-card);
}

.grid-depoimentos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.depoimento-card {
    background-color: var(--bg-dark);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.depoimento-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.depoimento-card cite {
    font-weight: 700;
    color: var(--secondary-color);
}

/* ---------------------------------- */
/* SEÇÃO DE RESERVA                   */
/* ---------------------------------- */

.reserva {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./imagens/IMAGEM-CAPA.jpg') no-repeat center center/cover;
}

.reserva p {
    font-size: 1.1rem;
    color: #fff;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.reserva .btn {
    font-size: 1.1rem;
}

.reserva .btn i {
    margin-right: 0.5rem;
    vertical-align: middle;
}


/* ---------------------------------- */
/* 8. FOOTER                          */
/* ---------------------------------- */

.footer {
    background-color: var(--bg-dark);
    padding: 3rem 1.5rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr; /* 1 coluna no mobile */
    gap: 2.5rem;
}

.footer-bloco h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-bloco p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.map-link {
    font-weight: 700;
}

.social-icons a {
    color: var(--text-light);
    font-size: 2rem;
    margin-right: 1rem;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-card);
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* ---------------------------------- */
/* RESPONSIVIDADE (TABLET)            */
/* ---------------------------------- */

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    section { padding: 5rem 2.5rem; }

    /* Header e Nav (Tablet) */
    .header-container {
        padding: 0 2.5rem;
    }
    .logo {
        position: static; /* Remove a centralização absoluta */
        transform: none;
        order: 1; /* Logo no início */
    }
    .menu-toggle {
        order: 3; /* Menu hamburger no fim */
    }
    .btn-reserva-mobile {
        display: none; /* Esconde o ícone de calendário */
    }
    .btn-reserva-desktop {
        display: inline-block; /* Mostra o botão "Reservar Mesa" */
        order: 2; /* Botão no meio */
    }
    .header-container {
        justify-content: space-between;
    }

    /* Grid dos Pratos (Tablet) */
    .grid-pratos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Carrossel (Tablet) */
    .carousel-slide {
        flex-basis: 60%; /* Cada slide ocupa 60% */
    }

    /* Galeria (Tablet) */
    .grid-galeria {
        grid-template-columns: repeat(3, 1fr);
    }
     .grid-galeria img {
        height: 220px;
    }
    
    /* Depoimentos (Tablet) */
    .grid-depoimentos {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer (Tablet) */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------------------------------- */
/* RESPONSIVIDADE (DESKTOP)           */
/* ---------------------------------- */

@media (min-width: 1024px) {
    section { padding: 6rem 5rem; }

    /* Header e Nav (Desktop) */
    .menu-toggle,
    .menu-close,
    .nav-footer,
    .navbar-header,
    .menu-overlay {
        display: none; /* Esconde todos os controles mobile */
    }
    
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr; /* Logo no centro, nav nas laterais */
        padding: 0 2.5rem;
    }
    
    .logo {
        grid-column: 2 / 3;
        text-align: center;
    }
    
    /* Botão de reserva vai para dentro da navegação da direita */
    .btn-reserva-desktop {
        display: none;
    }
    .btn-reserva-mobile-menu {
        display: inline-block; /* Reutiliza o estilo do botão */
        width: auto;
    }

    .navbar {
        position: static;
        grid-column: 1 / 4; /* Ocupa toda a largura */
        width: 100%;
        height: auto;
        max-width: none;
        background: none;
        flex-direction: row;
        justify-content: center;
        transition: none;
        padding: 0.5rem 0;
        border-top: 1px solid var(--bg-card);
    }

    .nav-links {
        display: flex;
        flex-grow: 0;
        padding-top: 0;
    }

    .nav-links a {
        padding: 0.5rem 1.5rem;
        border: none;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 0.9rem;
    }
    
    .nav-links a:hover {
        background: none;
        color: var(--primary-color);
    }
    
    /* Adiciona o botão de reserva ao final da lista de links no desktop */
    .nav-links li:last-child {
        margin-left: 2rem;
    }

    /* Ajuste no padding do body para o header de 2 linhas */
    body {
        padding-top: calc(var(--header-height) + 45px);
    }

    /* Hero */
    .hero {
        height: 80vh;
    }

    /* Grid dos Pratos (Desktop) */
    .grid-pratos {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Carrossel (Desktop) */
    .carousel-slide {
        flex-basis: 32%; /* 3 slides por vez */
    }

    /* Galeria (Desktop) */
    .grid-galeria {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-galeria img {
        height: 300px;
    }

    /* Depoimentos (Desktop) */
    .grid-depoimentos {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer (Desktop) */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }
}



/* ---------------------------------- */
/* ESTILOS PÁGINA CARDÁPIO (Seleção)  */
/* ---------------------------------- */

/* Destaca o link "Nosso Cardápio" no menu */
.nav-links a.active {
    color: var(--primary-color);
}

@media (min-width: 1024px) {
    .nav-links a.active {
        /* Adiciona um sublinhado no desktop */
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 4px;
    }
}

/* Container principal dos passos */
.menu-selector-container {
    max-width: 900px;
    margin: 0 auto;
    /* Ajuste no padding para não colar no header/footer */
    padding: 2rem 1.5rem; 
}

.passo-selecao {
    padding: 2rem 0;
    text-align: center;
}

.passo-selecao .section-title {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Botões grandes (Passo 1) */
.bloco-escolha {
    display: grid;
    grid-template-columns: 1fr; /* 1 coluna no mobile */
    gap: 1.5rem;
}

.btn-escolha {
    background-color: var(--bg-card);
    border: 2px solid var(--bg-card);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-escolha i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.btn-escolha:hover {
    background-color: var(--bg-dark);
    border-color: var(--primary-color);
}

.btn-escolha:hover i {
    transform: scale(1.1);
}

/* Estado de "selecionado" para o botão do Passo 1 */
.btn-escolha.selected {
    background-color: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(154, 42, 43, 0.3);
}

/* Seção Passo 2 (escondida por padrão) */
#passo2 {
    display: none;
    border-top: 1px solid var(--bg-card);
    margin-top: 2.5rem;
}

/* Botões finais (Passo 2) */


.bloco-escolha-final {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.passo-selecao {
  display: none; /* Esconde ambos por padrão, o JS controla */
}

.passo-selecao:first-child {
  display: block; /* Mostra o primeiro passo por padrão */
}

.btn-escolha-final {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-escolha-final i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.btn-escolha-final:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-escolha-final:hover i {
    color: var(--bg-dark);
}


/* --- Responsividade dos botões --- */
@media (min-width: 768px) {
    .bloco-escolha {
        grid-template-columns: 1fr 1fr; /* 2 colunas */
    }
    .bloco-escolha-final {
         grid-template-columns: 1fr 1fr; /* 2 colunas */
    }
    .menu-selector-container {
        padding: 4rem 2.5rem;
    }
}


/* ---------------------------------- */
/* ESTILOS PÁGINA CARDÁPIO (Flipbook) */
/* ---------------------------------- */

.cardapio-titulo {
    text-align: center;
    padding: 2rem 1.5rem 0 1.5rem;
}
.cardapio-titulo .section-title {
    margin-bottom: 0.5rem;
}
.cardapio-titulo p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}


/* =====================================================
   FLIPBOOK - CSS COMPLETO (ORIGINAL + MELHORIAS MOBILE)
   ===================================================== */

/* ============================================
   1. WRAPPER E FLIPBOOK (SEU CSS ORIGINAL)
   ============================================ */

/* Wrapper para o livro e a navegação */
.flipbook-wrapper {
    position: relative;
    padding: 2rem 1rem;
    max-width: 1200px; /* Largura máxima do livro "aberto" */
    margin: 0 auto;
    margin-top: -3rem; 

    /* --- CONFIGURAÇÃO CORRETA PARA O SCRIPT JS --- */

    /* MUDANÇA 1: A origem do zoom DEVE ser 0 0 para o script de pan funcionar */
    transform-origin: 0 0; 

    transition: transform 0.25s ease;

    /* MUDANÇA 2: O overflow DEVE ser 'hidden' por padrão. O JS vai mudar para 'auto' */
    overflow: hidden; 

    /* Isso ajuda a evitar "vazamento" de conteúdo em alguns navegadores */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    /* Para esconder as barras de rolagem (Isso pode manter) */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

.flipbook-wrapper::-webkit-scrollbar {
    display: none;
}

/* Container do livro (a altura é controlada pela proporção no JS) */
#flipbook {
    width: 100%;
    height: 115vh; /* Altura responsiva baseada na tela */
    margin: 0 auto;
}

/* Estilo de cada página */
.page {
    background-color: var(--bg-card); /* Cor de fundo caso a imagem demore */
    border: 1px solid rgba(113, 90, 63, 0.3); /* Borda sutil (marrom) */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page img {
    width: 100%;
    height: 100%;
    /* 'contain' garante que a imagem inteira apareça, sem cortar */
    object-fit: contain;    
}

/* Sombra entre as páginas (adicionada pela biblioteca) */
#flipbook .shadow {
    box-shadow: 0 4px 20px rgba(80, 50, 30, 0.4) !important;
}


/* ============================================
   2. NAVEGAÇÃO - BASE (DESKTOP PADRÃO)
   ============================================ */

/* Navegação (Anterior/Próximo) */
.flipbook-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    gap: 2rem;
}

.flipbook-nav button {
    background-color: var(--primary-color); /* Vermelho/Vinho */
    color: #ffffff; /* Texto branco (para ler sobre o vermelho) */
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.flipbook-nav button:hover {
    background-color: var(--secondary-color); /* Marrom Escuro */
    color: var(--bg-card); /* Texto bege */
}

.flipbook-nav button:disabled {
    background-color: var(--text-muted);
    opacity: 0.5;
    cursor: not-allowed;
}

#page-counter {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    min-width: 120px;
    text-align: center;
}


/* ============================================
   3. MOBILE (≤ 769px) - MELHORIAS COMPLETAS
   ============================================ */

@media (max-width: 769px) {

    /* --- FLIPBOOK E WRAPPER --- */
    #flipbook {
        height: 65vh; /* Ajustado: um pouco mais que 60vh original */
    }

    .flipbook-wrapper {
        padding: 1rem 0.5rem 100px 0.5rem; /* bottom aumentado para espaço das setas fixas */
        margin-top: -2rem;
    }

    /* --- NAVEGAÇÃO FIXA E DESTACADA --- */
    .flipbook-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;

        /* Remove padding-top do desktop, adiciona padding vertical */
        padding: 14px 20px;
        padding-top: 20px; /* espaço para o gradiente */

        gap: 20px;

        /* Fundo escuro com gradiente para melhor legibilidade */
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.75) 50%,
            rgba(0, 0, 0, 0.3) 85%,
            transparent 100%
        );

        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    /* Botões maiores e mais visíveis */
    .flipbook-nav button {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;

        /* Mantém a cor da marca mas com mais destaque */
        background: linear-gradient(145deg, var(--primary-color), #7a1f20);
        border: 2px solid rgba(255, 255, 255, 0.25);

        box-shadow: 
            0 4px 15px rgba(154, 42, 43, 0.5),
            0 0 0 4px rgba(154, 42, 43, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);

        /* Remove outline padrão em mobile */
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .flipbook-nav button i {
        font-size: 1.6rem;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
    }

    /* Hover no mobile (quando suportado) */
    .flipbook-nav button:hover {
        background: linear-gradient(145deg, #b33233, var(--primary-color));
        transform: translateY(-2px);
        box-shadow: 
            0 6px 20px rgba(154, 42, 43, 0.6),
            0 0 0 4px rgba(154, 42, 43, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    /* Active / Pressionado - feedback tátil */
    .flipbook-nav button:active {
        transform: translateY(1px) scale(0.95);
        box-shadow: 
            0 2px 8px rgba(154, 42, 43, 0.4),
            0 0 0 4px rgba(154, 42, 43, 0.1),
            inset 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* Desabilitado */
    .flipbook-nav button:disabled {
        background: linear-gradient(145deg, #555, #444);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        opacity: 0.5;
    }

    .flipbook-nav button:disabled i {
        opacity: 0.4;
    }

    /* --- CONTADOR DE PÁGINAS --- */
    #page-counter {
        font-size: 1rem;
        min-width: 110px;
        padding: 8px 14px;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.45);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    }

    /* --- ANIMAÇÃO DE PULSO NAS SETAS --- */
    @keyframes pulse-nav {
        0%, 100% { 
            box-shadow: 
                0 4px 15px rgba(154, 42, 43, 0.5),
                0 0 0 4px rgba(154, 42, 43, 0.15);
        }
        50% { 
            box-shadow: 
                0 4px 22px rgba(154, 42, 43, 0.7),
                0 0 0 8px rgba(154, 42, 43, 0.08);
        }
    }

    .flipbook-nav button {
        animation: pulse-nav 2.5s ease-in-out infinite;
    }

    /* Pausa animação ao interagir */
    .flipbook-nav button:hover,
    .flipbook-nav button:active {
        animation: none;
    }

    /* --- DICAS DE NAVEGAÇÃO --- */
    /* =====================================================
   DICAS DE NAVEGAÇÃO - PROFISSIONAL
   ===================================================== */

/* --- BASE (escondido por padrão) --- */
.mobile-hint,
.desktop-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    
    margin: 8px auto 0;
    padding: 10px 20px;
    
    border-radius: 50px;
    border: 1px solid rgba(154, 42, 43, 0.2);
    
    background: linear-gradient(
        135deg,
        rgba(154, 42, 43, 0.08) 0%,
        rgba(113, 90, 63, 0.05) 100%
    );
    
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    
    max-width: fit-content;
    
    /* Animação suave de entrada */
    opacity: 0;
    transform: translateY(-8px);
    animation: hintFadeIn 0.6s ease 0.8s forwards;
}

/* Ícones dentro das dicas */
.mobile-hint i,
.desktop-hint i {
    font-size: 16px;
    color: var(--primary-color, #9a2a2b);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
    vertical-align: middle;
}

/* Separador */
.hint-sep {
    color: rgba(154, 42, 43, 0.5);
    font-weight: 700;
    margin: 0 4px;
}

/* Animação de entrada */
@keyframes hintFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MOBILE (≤ 769px) --- */
@media (max-width: 769px) {
    .mobile-hint {
        display: inline-flex !important;
    }
    
    .desktop-hint {
        display: none !important;
    }
}

/* --- DESKTOP (> 769px) --- */
@media (min-width: 770px) {
    .mobile-hint {
        display: none !important;
    }
    
    .desktop-hint {
        display: inline-flex !important;
    }
}

    /* --- PÁGINAS DO FLIPBOOK --- */
    #flipbook .page img {
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* --- OUTROS ELEMENTOS DO SEU CSS ORIGINAL --- */
    .grid-galeria {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .carousel-container {
        display: block;
        overflow: visible;
    }

    .carousel-track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0;
        transform: none !important;
        animation: none !important;
    }

    .carousel-slide {
        flex: none;
        width: 100%;
        scroll-snap-align: none;
        box-shadow: none;
        background-color: var(--bg-card);
    }

    .carousel-slide img {
        height: auto;
    }
}


/* ============================================
   4. DESKTOP (> 769px) - DICAS
   ============================================ */



 /* <--- ESTE "}" ESTAVA FALTANDO! */


/* ---------------------------------- */
/* BOTÃO FLUTUANTE WHATSAPP           */
/* ---------------------------------- */

/* A animação "pulse" */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 30px;
    background-color: #fff; /* Cor oficial do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    
    /* Centraliza o ícone */
    display: flex;
    justify-content: center;
    align-items: center;
    
    z-index: 10; /* Garante que fique acima de quase tudo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    
    /* Animação */
    animation: pulse 2s infinite;
    
    /* Transição para o JS */
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease-in-out;
}

/* Classe 'show' que o JS vai adicionar */
.whatsapp-float.show {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-float:hover {
    color: #FFF;
    background-color: #fff; /* Tom mais escuro do WhatsApp */
    animation: none; /* Pausa a animação no hover */
}


/* ---------------------------------- */
/* OVERLAY PADRÃO (FUNDO ESCURO) */
/* ---------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

/* ---------------------------------- */
/* CAIXA DO MODAL */
/* ---------------------------------- */
.modal-box {
  background: #1d1007;
  border-radius: 16px;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: fadeIn 0.4s ease;
  position: relative;
}

/* ---------------------------------- */
/* IMAGEM DO MODAL */
/* ---------------------------------- */
.modal-img {
  width: 90%;
  border-radius: 12px;
  margin-bottom: 15px;
}

@media(max-width:769px){
    .modal-im{
        width:90%;
        border-radius: 12px;
        margin-bottom: 15px;
    }
}

/* ---------------------------------- */
/* ÁREA DOS BOTÕES */
/* ---------------------------------- */
.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* ---------------------------------- */
/* BOTÕES PADRÃO */
/* ---------------------------------- */
.btn-continuar,
.btn-navegar {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

/* CONTINUAR */
.btn-continuar {
  background: #c77b30;
  color: #fff;
}

.btn-continuar:hover {
  background: #a65e20;
  transform: scale(1.03);
}

/* NAVEGAR */
.btn-navegar {
  background: #f4efe6;
  color: #5c4324;
}

.btn-navegar:hover {
  background: #eaca7e;
  transform: scale(1.03);
}

/* ---------------------------------- */
/* MODAL 2 - ESCOLHA */
/* ---------------------------------- */
.modal-box.escolha {
  background: #1d1007;
}

.modal-box.escolha h2 {
  margin: 15px 0;
  color: #5c4324;
}

/* BOTÕES DE ESCOLHA */
.bloco-escolha {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-escolha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  border-radius: 12px;
  border: none;
  background: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-escolha:hover {
  background: #eaca7e;
  transform: scale(1.05);
}

/* ---------------------------------- */
/* TEXTO */
/* ---------------------------------- */
#ondeComer {
  color: #cf9d67;
}

/* ---------------------------------- */
/* ANIMAÇÃO */
/* ---------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Fonte elegante para os títulos */
.elegante {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color); /* Marrom escuro */
    font-weight: 700;
}

.modal-horarios-content .section-title {
    font-size: 2.2rem;
    color: var(--secondary-color); /* Marrom escuro */
}

.modal-horarios-content {
    padding: 2rem;
}

/* Layout dos horários */
.horarios-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.horarios-coluna {
    flex-basis: 50%;
    border-left: 3px solid #91ac8d;
    padding-left: 1rem;
}

.horarios-coluna h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}
.horarios-coluna p {
    font-size: 0.9rem;
    color: var(--text-muted); /* Marrom claro */
    margin-bottom: 1rem;
}

.horarios-coluna ul {
    list-style: none;
    padding-left: 0;
}
.horarios-coluna li {
    font-family: var(--font-body);
    color: var(--text-light); /* Marrom médio */
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Responsividade do modal de horários */
@media (max-width: 600px) {
    .horarios-wrapper {
        flex-direction: column; /* Empilha as colunas */
        gap: 2rem;
    }
    .modal-horarios-content {
        padding: 2rem 1.5rem;
    }
    .horarios-coluna h4 {
        font-size: 1.3rem;
    }
}





/* ========================================================= */
/* MODAL TOUCH MOBILE - ESTILO ESPECIAL VERDE PASTEL PREMIUM */
/* ========================================================= */

.touch-mobile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease-in-out;
}

.touch-mobile-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.touch-mobile-content {
    background: var(--verde-pastel);
    padding: 1.9rem 1.4rem;
    border-radius: 18px;
    width: 85%;
    max-width: 380px;
    text-align: center;
    color: var(--texto-escuro);

    border: 3px solid var(--verde-medio);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .18);

    font-family: 'Montserrat', sans-serif;
    animation: modalPop .4s ease-out;
}

/* Ícone opcional (dedo / toque) */
.touch-mobile-content::before {
    content: "👆";
    display: block;
    font-size: 3rem;
    margin-bottom: .6rem;
    animation: bounceIcon 1.2s infinite alternate ease-in-out;
}

.touch-mobile-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: .7rem;
}

.touch-mobile-content p {
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    line-height: 1.45rem;
}

.touch-mobile-btn {
    margin-top: 1.4rem;
    background: var(--verde-escuro);
    color: #fff;
    padding: .75rem 1.6rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background .25s, transform .25s;
}

.touch-mobile-btn:hover,
.touch-mobile-btn:active {
    background: var(--verde-medio);
    transform: translateY(-2px);
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes modalPop {
    0% { transform: scale(.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounceIcon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

/* ========================================================= */
/* IFOOD CLASS */
/* ========================================================= */
 /* Estilo padrão (desktop/tablet) */
.ifoodClass {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.ifoodClass img {
    height: 50px;
    width: auto;
    display: block;
}

/* MOBILE — mantém lado a lado, mas mais compactas */
@media (max-width: 480px) {
    .ifoodClass {
        gap: 15px;
    }

    .ifoodClass img {
        height: 40px; /* menor para caber melhor no mobile */
    }
}


/* ========================================================= */
/* DIVULGAÇÃO EMPRESA GLADIUS CODE */
/* ========================================================= */

/* Rodapé Gladius Code */
.dev-footer {
    background: #d7d0b5;
    color: #615d4f;
    padding: 14px 0 18px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    border-top: 1px solid #fff; /* pequena linha sutil */
}

/* Bloco principal (logo + frase desenvolvedor) */
.dev-footer .dev-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #276E79;
    font-weight: 600;
    font-size: 0.95rem;
    transition: .3s ease;
}

.dev-footer .dev-brand:hover {
    color: #085C6AC7;
    text-shadow: 0 0 6px rgba(0, 199, 255, 0.45);
}

.dev-footer .dev-logo {
    width: 32px;
    height: auto;
    object-fit: contain;
    transition: transform .3s ease;
}

.dev-footer .dev-brand:hover .dev-logo {
    transform: scale(1.06);
}

/* Texto SEO */
.dev-footer .dev-seo {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #243D44;
    opacity: 0.85;
}

.dev-footer .dev-seo a {
    color: #3a3523;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.dev-footer .dev-seo a:hover {
    color: #6A7477;
    text-shadow: 0 0 5px rgba(0, 199, 255, 0.65);
}

/* Responsividade Mobile */
@media (max-width: 480px) {

    .dev-footer {
        padding: 12px 6px 16px;
    }

    .dev-footer .dev-brand {
        flex-direction: column; /* logo em cima, texto embaixo */
        gap: 4px;
        font-size: 0.85rem; /* texto menor */
    }

    .dev-footer .dev-logo {
        width: 26px; /* logo menor */
    }

    .dev-footer .dev-seo {
        font-size: 0.75rem;
        margin-top: 4px;
        padding: 0 10px; /* distancia da borda */
        line-height: 1.25rem;
    }
}


/* =====================================================
   BANNER DE INSTALAÇÃO PWA — CORRIGIDO
   ===================================================== */

.install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 9999;
  max-width: 420px;
  width: 90%;
  
  /* Estado inicial: escondido */
  display: none;
  opacity: 0;
  transform: translateX(-50%) translateY(30px);
  
  /* Transição suave */
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none; /* Não bloqueia cliques quando escondido */
}

/* Estado visível */
.install-banner.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.install-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #9a2a2b, #7a1f20);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(154, 42, 43, 0.4);
  color: #fff;
}

.install-content img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.install-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.install-text strong {
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.install-text span {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.3;
}

.btn-install {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: #fff;
  color: #9a2a2b;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-install:hover {
  background: #f0e9d8;
  transform: scale(1.05);
}

.btn-install:active {
  transform: scale(0.95);
}

.btn-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.btn-close:hover {
  color: #fff;
}

/* Mobile: banner mais compacto */
@media (max-width: 480px) {
  .install-banner {
    bottom: 10px;
    width: 95%;
    max-width: none;
  }
  
  .install-content {
    padding: 12px 14px;
    gap: 10px;
  }
  
  .install-text strong {
    font-size: 14px;
  }
  
  .install-text span {
    font-size: 11px;
  }
  
  .btn-install {
    padding: 7px 12px;
    font-size: 12px;
  }
}