/* ===========================================================
   🔧 RESET BÁSICO
   =========================================================== */
* {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================================================
   🎨 ESTILO PADRÃO (MODO CLARO ORIGINAL)
   =========================================================== */
body {
  font-family: 'Cinzel', serif;
  background-color: #F8F8F8;
  margin: 0;
  padding: 0;
  color: #111111;
  padding-top: 300px;
  overflow-x: hidden;
}

/* ===========================================================
   🎥 HEADER COM VÍDEO
   =========================================================== */
header {
  background-color: #444;
  color: #F8F8F8;
  text-align: center;
}

.header-video-fixo {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1001;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}

.header-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
}

.header-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  transition: all 0.5s ease;
}

.logo {
  width: 14%;
  animation: flutuar 4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(242, 140, 15, 0.7));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.titulo-central {
  font-size: 2.8rem;
  margin: 10px 0 5px 0;
  color: #F8F8F8;
  text-shadow: 0 0 10px rgba(242, 140, 15, 0.8);
  animation: pulsarTitulo 3s ease-in-out infinite;
  transition: all 0.5s ease;
}

.subtitulo {
  font-size: 1rem;
  margin: 10px 0 5px 0;
  color: #F8F8F8;
  text-shadow: 0 0 10px rgba(242, 140, 15, 0.8);
}

/* Mantém comportamento original do scroll */
.deslocar-imagem {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  height: 100%;
  flex-wrap: nowrap;
}

.centralizar-titulo {
  font-size: 2.5em;
  margin: 0;
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 140, 15, 0.6);
  display: block;
}

/* Animações */
@keyframes flutuar {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes pulsarTitulo {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.03); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}


/* ===========================================
   📌 SEÇÃO QUEM SOMOS
   =========================================== */
.quem-somos {
  background-color: #111;
  color: #F8F8F8;
  padding: 60px 20px;
  text-align: center;
}

.container-lais {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.foto-lais {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(242, 140, 15, 0.5);
}

.texto-lais {
  max-width: 500px;
}

.texto-lais h2 {
  font-size: 2rem;
  color: #F28C0F;
}

.botao-saiba-mais {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F28C0F;
  color: #111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-family: 'Cinzel', serif;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.botao-saiba-mais:hover {
  background-color: #111;
  color: #F8F8F8;
  box-shadow: 0 0 10px rgba(242, 140, 15, 0.6);
  transform: scale(1.05);
}

/* ===========================================================
   🟧 MENU DE CATEGORIAS
   =========================================================== */

.menu-categorias {
  position: sticky;
  top: 280px; /* ✅ Novo header compacto (desktop/tablet) */
  background-color: #F8F8F8;
  padding: 12px 0;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.menu-categorias ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.menu-categorias li a {
  background-color: #F28C0F;
  color: #111;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: bold;
  font-family: 'Cinzel', serif;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.menu-categorias li a:hover {
  background-color: #111;
  color: #F8F8F8;
  box-shadow: 0 0 10px rgba(242,140,15,0.6);
  transform: scale(1.05);
}

/* Estado fixo ao rolar */
.menu-categorias.fixo {
  background-color: #f0e09b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  animation: aparecerMenu 0.4s ease forwards;
  transform: scale(1.02);
}

.menu-categorias.fixo li a {
  font-size: 1.05rem;
  font-weight: 900;
}

/* Animação */
@keyframes aparecerMenu {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1.02);
  }
}


/* ===========================================================
                      🔪 PRODUTOS
   =========================================================== */
/* ============================
   CARD DO PRODUTO
============================ */
.produto {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  font-family: 'Cinzel', serif;
  position: relative;
  overflow: hidden;
}

.produto:hover {
  transform: scale(1.03);
}

/* ============================
   IMAGEM DO PRODUTO
============================ */
.produto img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.produto:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ============================
   TÍTULO, PREÇO E BOTÃO
============================ */
.produto h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #111;
  text-shadow: 0 0 4px rgba(242, 140, 15, 0.2);
}

.produto .preco {
  font-size: 1rem;
  font-weight: bold;
  color: #F28C0F;
  margin-bottom: 10px;
}

.produto .botao {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F28C0F;
  color: #111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-family: 'Cinzel', serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.produto .botao:hover {
  background-color: #111;
  color: #F8F8F8;
}

/* ============================
   TEXTO EXPANDIDO NO HOVER
============================ */
.info-hover {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: #111;
  color: #F8F8F8;
  font-size: 0.9rem;
  padding: 0 15px;
  border-radius: 5px;
  margin-top: 10px;
}

.produto:hover .info-hover {
  max-height: 100px;
  padding: 10px 15px;
}

/* ============================
   GRID DOS PRODUTOS
============================ */
.grade-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}


/* ===========================================================
   📚 SEÇÃO INFORMATIVA
   =========================================================== */
.section-informativa { width: 100%; background-image: url('fundo_section.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 60px 20px; color: #F8F8F8; box-shadow: 0 0 10px rgba(0,0,0,0.2); display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.info-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  max-width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255, 80, 0, 0.7);
  box-shadow:
      0 0 10px rgba(255, 50, 0, 0.7),
      0 0 20px rgba(255, 100, 0, 0.6),
      inset 0 0 10px rgba(255, 120, 0, 0.4);
  animation: forgeGlow 3s infinite ease-in-out;
}
.info-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
      0 0 25px rgba(255, 80, 0, 1),
      0 0 45px rgba(255, 140, 0, 0.9),
      inset 0 0 18px rgba(255, 170, 0, 0.7);
  border-color: rgba(255, 160, 0, 1);
}
.info-card h2 { margin-bottom: 10px; }
.info-card p { line-height: 1.6; margin-bottom: 20px; }

.cta {
  background-color: #D2B48C;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}
.cta:hover {
  background-color: #c8a77c;
  transform: translateY(-2px);
}

/* ===========================================================
   📞 RODAPÉ (Intacto)
   =========================================================== */
footer { text-align: center; padding: 20px; font-size: 0.9em; color: #666; background-color: #F8F8F8; }
footer .link-whatsapp { color: #F28C0F; font-weight: bold; text-decoration: none; margin-left: 5px; transition: color 0.3s ease, text-shadow 0.3s ease; font-family: 'Cinzel', serif; }
footer .link-whatsapp:hover { color: #111; text-shadow: 0 0 5px rgba(242, 140, 15, 0.6); }

/* ===========================================================
   📱 RESPONSIVIDADE
   =========================================================== */

/* BODY */
/* ✅ Remove o espaço morto abaixo do header no mobile */
@media (max-width: 600px) {
  body {
    padding-top: 160px;   /* ajusta ao novo tamanho real do header */
  }
}

   

/* ====================  TOP BAR ========================= */
/* MENU MOBILE - BOTÃO HAMBÚRGUER */
.menu-toggle {
  display: block;
  font-size: 1.5rem;
  color: #F8F8F8;
  cursor: pointer;
  margin-right: auto;
  padding-left: 20px;
}

/* =======================================
   BARRA SUPERIOR (TOPO)
======================================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #111;
  color: #F8F8F8;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  padding: 10px 0;
}

/* =======================================
   CONTEÚDO DO MENU (MOBILE)
======================================= */
.top-bar-content {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: #111;
  padding: 10px 0;
}

.top-bar-content.show {
  display: flex;
}

/* =======================================
   BOTÕES DO MENU
======================================= */
.top-button {
  color: #F8F8F8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 0;
  border-radius: 5px;
  background-color: #333;
  transition: background-color 0.3s ease;
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
}

.top-button i {
  margin-right: 8px;
  filter: drop-shadow(0 0 2px #F28C0F);
  transition: transform 0.3s ease;
  min-width: 20px;
  text-align: center;
}

/* HOVER */
.top-button:hover {
  background-color: #F28C0F;
  color: #111;
}

.top-button:hover i {
  transform: rotate(10deg);
}

/* DESKTOP (≥ 901px) */
@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }

  .top-bar-content {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    padding: 0 10px;
  }

  .top-button {
    width: auto;
    padding: 8px 12px;
  }
}



/* HEADER */
/* ===========================================================
   📱 RESPONSIVIDADE DO HEADER
   =========================================================== */

/* ✅ Tablets e celulares grandes (≤ 768px) */
@media (max-width: 768px) {

  /* Header mais compacto */
  .header-video-fixo {
    height: 120px;
    min-height: 120px;
    overflow: hidden;
  }

  /* Logo proporcional */
  .logo {
    width: 38%;
  }

  /* Título reduzido */
  .titulo-central {
    font-size: 1.5rem;
  }

  /* Subtítulo leve */
  .subtitulo {
    font-size: 0.85rem;
  }
}


/* ✅ Celulares menores (≤ 600px) */
@media (max-width: 600px) {

  .header-video-fixo {
    height: 120px;
    min-height: 150px;
  }

  .logo {
    width: 32%;
  }

  .titulo-central {
    font-size: 1.3rem;
    line-height: 1.1;
  }

  .subtitulo {
    font-size: 0.70rem;
    line-height: 1.1;
    margin-top: 2px;
    white-space: normal;
  }
}



/* SEÇÃO QUEM SOMOS */
/*  (TABLET) */
@media (max-width: 900px) {
  .foto-lais {
    width: 220px;
  }

  .texto-lais h2 {
    font-size: 1.7rem;
  }
}


/* CELULAR (≤ 600px) */
@media (max-width: 600px) {

  .quem-somos {
    padding: 69px 15px 42px; 
    /* TOP 48px = aproxima sem invadir
       LATERAIS 15px
       BOTTOM 40px = respiro confortável */
  }

  .container-lais {
    flex-direction: column;
    gap: 20px;
  }

  .foto-lais {
    width: 69%;
    max-width: 165px;
  }

  .texto-lais {
    max-width: 92%;
  }

  .texto-lais h2 {
    font-size: 1.35rem;
  }

  .botao-saiba-mais {
    padding: 8px 14px;
    font-size: 0.83rem;
    border-radius: 6px;
  }
}




/* MENU CATEGORIAS */
/* Tablet (≤ 768px) */
@media (max-width: 768px) {
  .menu-categorias {
    position: relative;
    top: auto;
    padding: 18px 0;
  }

  .menu-categorias ul {
    flex-wrap: wrap;
    gap: 20px;
  }

  .menu-categorias li a {
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 10px;
    transition: transform 0.25s ease;
  }

  .menu-categorias li a:active {
    transform: scale(0.94);
  }
}

/* 📱 Celular (≤ 600px) */
@media (max-width: 600px) {

  .menu-categorias {
    position: sticky;
    top: 210px;      /* ✅ Distancia para Colar no header */
    padding: 4px 0;
    background-color: #F8F8F8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }

  .menu-categorias ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* ✅ 2 colunas */
    gap: 6px;            /* ✅ Menor espaço */
    width: 85%;
    margin: 0 auto;
    padding: 0;
  }

  .menu-categorias li {
    width: 100%;
  }

  .menu-categorias li a {
    width: 100%;
    height: 40px;     /* ✅ Tamanho do Botão */
    font-size: 0.90rem;       /* ✅ Tamanho do Texto */
    background-color: #F28C0F;
    color: #111;
    padding: 0;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
    line-height: 1.1;
    white-space: normal;
    transition: transform 0.18s ease;
  }

  .menu-categorias li a:active {
    transform: scale(0.92);   /* ✅ Toque suave */
  }
}


/* 📱 Celulares pequenos (≤ 400px) */
@media (max-width: 400px) {
  .menu-categorias li a {
    padding: 20px;
    font-size: 1.1rem;
  }
}

/* ✅ MENU FIXO NO HEADER */
@media (max-width: 600px) {
  .menu-categorias.fixo li a {
    height: 24px;          /* 🔹 botão */
    font-size: 0.90rem;    /* 🔹 texto  */
    transform: scale(0.96);
    font-weight: 600;
  }
}




/* PRODUTOS */
/* ✅ Tablet (até ~900px): 3 por linha */
@media (max-width: 900px) {
  .grade-produtos {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* ✅ CELULAR MÉDIO/MAIOR (480px a 600px): 4 por linha */
@media (min-width: 480px) and (max-width: 600px) {
  .grade-produtos {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .produto {
    padding: 10px;
  }

  .produto h3 {
    font-size: 0.75rem;
  }

  .produto .preco {
    font-size: 0.7rem;
  }

  .produto .botao {
    font-size: 0.7rem;
    padding: 6px 8px;
  }

  .info-hover {
    font-size: 0.65rem;
  }
}

/* ✅ CELULAR MUITO PEQUENO (até 479px): 3 por linha */
@media (max-width: 479px) {
  .grade-produtos {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .produto {
    padding: 12px;
  }

  .produto h3 {
    font-size: 0.85rem;
  }

  .produto .preco {
    font-size: 0.8rem;
  }

  .produto .botao {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}





/* ===========================================================
   🌙 DARK MODE (Manual – mantém o modo claro intacto)
   =========================================================== */

/* Corpo */
body.dark {
  background-color: #0c0c0c;
  color: #ffffff;
}

/* Textos gerais */
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark p,
body.dark span,
body.dark li {
  color: #ffffff;
}

/* Header */
body.dark header {
  background-color: #111;
  color: #ffffff;
}

body.dark .titulo-central,
body.dark .subtitulo {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255,130,30,0.6);
}

/* Top Bar */
body.dark .top-bar {
  background-color: #000;
}

body.dark .top-button {
  background-color: #333;
  color: #ffffff;
}

/* Ícone menu hamburguer */
body.dark .menu-toggle i {
  color: #ffffff;
}

/* Menu de categorias */
body.dark .menu-categorias {
  background-color: #111;
}

body.dark .menu-categorias li a {
  background-color: #F28C0F;
  color: #111;
}


/* Cards de produto */
body.dark .produto {
  background-color: #1b1b1b;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255,130,30,0.15);
}

body.dark .produto .preco {
  color: #ff9b2d;
}

body.dark .info-hover {
  background-color: #000;
  color: #ffffff;
}

/* Seção informativa */
body.dark .section-informativa {
  background-color: #0d0d0d;
  background-image: none;
}

body.dark .info-card {
  background: rgba(30,30,30,0.8);
  color: #ffffff;
}

/* Botões – mantém texto escuro */
body.dark .botao,
body.dark .top-button,
body.dark .cta,
body.dark .botao-saiba-mais {
  background-color: #F28C0F;
  color: #111 !important;
}

/* Rodapé */
body.dark footer {
  background-color: #000;
  color: #ccc;
}

body.dark footer .link-whatsapp {
  color: #ff9b2d;
}

/* Botão do modo dark */
.dark-toggle-btn {
  position: absolute;
  right: 25px;
  top: 10px;
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #F8F8F8;
  cursor: pointer;
  padding: 5px;
  z-index: 2000;
  transition: transform 0.2s ease;
}

.dark-toggle-btn:hover {
  transform: scale(1.1);
}
