/* ===== Mobile Header ===== */

/* Inicio da estrutura do Menu - cabeçalho tela sem responsividade */
:root {
    --cor1: black;
    /*cor linhas menu*/
    --cor2: black;
    /*cor nome menu*/
    --cor3: black;
    /*cor links do menu */
}
html,
body a{
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  background: var(--bege);
  font-family: 'Poppins', sans-serif;
  color: var(--marrom);
}


* {
    padding: 0;
    margin: 0;
}

html {
    /* Esta linha faz todos os saltos de link internos (#) rolarem suavemente */
    scroll-behavior: smooth; 
}

/* Definição da animação */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* Começa um pouco mais abaixo */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicação da animação nos elementos */
.featured-main-post,
.featured-sidebar-post {
  animation: fadeInSlideUp 0.6s ease-out forwards; /* Duração e suavização */
  opacity: 0; /* Começa invisível */
}

/* Aplicando atrasos individuais */
.featured-main-post {
  animation-delay: 0.1s;
}

/* O primeiro post da barra lateral (se houver uma classe para ele) */
.featured-sidebar-posts .featured-sidebar-post:nth-child(1) {
  animation-delay: 0.3s; 
}

/* O segundo post da barra lateral */
.featured-sidebar-posts .featured-sidebar-post:nth-child(2) {
  animation-delay: 0.5s;
}
/* ===== Header fixo no topo ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* garante que fique acima de tudo */
     background: linear-gradient(135deg, #1e1e1e 0%, #2b2b2b 100%);
    color: var(--color-dark-text);
    
}

#menu li a {
    position: relative;
    /* necessário para o ::after */
    color: var(--dourado, #b8902b);
    text-decoration: none;
    padding-bottom: 4px;
    /* espaço para a linha */
    transition: color 0.3s ease;
}
#menu li {
    position: relative;
    list-style: none;
}

#menu li a {
    position: relative;
    text-decoration: none;
    color: inherit;
    padding: 5px 10px;
}

/* Linha animada */
#menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--dourado, #b8902b);
    transition: width 0.3s ease;
}

/* Ao passar o mouse */
#menu li a:hover::after {
    width: 100%;
}

/* Linha fixa no item ativo */
#menu li.li-ativo a::after {
    width: 100%;
}


.instagram {
    width: 50px;
}

#logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dourado) !important;
}

#menu {
    display: flex;
    list-style: none;
    gap: .5rem;
    width: 100%; 
    justify-content: center;
}

#menu a {
    color: var(--cor3);
    display: block;
    padding: .5rem;
    color: white !important;
}
:root {
  --color-dark-bg: #3D3934;
  --color-light-text: #e8e6e3;
  --color-accent: #c7bfae;
}

.site-footer {
  background: linear-gradient(135deg, #1e1e1e 0%, #2b2b2b 100%);
  color: var(--color-light-text);
  text-align: center;
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  padding: 20px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.95;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
  color: white !important;

}
 
 .dev a {
  font-size: .8rem !important;
    border-bottom: 1px solid white;
 }
 .dev a:hover {
   color: #b8902b;
 }


@media (max-width: 768px) {
    .hero-ebook-destaque {
        padding: 40px 20px;
        min-height: 500px;
    }

.logo {
    font-size: 1.8rem !important;
    padding-top: .5rem;
    font-weight: bold;
    letter-spacing: 1px;
    flex-grow: 1;
    text-align: center;
    color: var(--color-primary);
    padding-left: 2rem;
    font-family: sans-serif;
 
}

    .hero-text h1 {
        font-size: 2.5rem; /* Título menor em celulares */
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

    .btn-primary, .btn-secondary {
        font-size: 1rem;
        padding: 14px 25px;
    }

    .hero-image-mockup {
        width: 220px; /* Imagem ainda menor em celulares */
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column; /* Empilha botões em telas muito pequenas */
        gap: 15px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px; /* Limita a largura dos botões empilhados */
        margin: 0 auto;
    }
}
/* Responsivo */
@media (max-width: 600px) {
  .site-footer {
    font-size: 0.85rem;
    padding: 15px 8px;
  }
}

/* fim da estrutura do Menu e cabeçalho quando a tela está sem responsividade */

#btn-mobile {
    display: none;
}

/* Inicio menu mobile telas menores */

@media (max-width: 600px) {
    .btn-mobile {
        display: block;
        position:absolute;
      
    }

.sidebar {
  flex-direction: column;
  align-items: center;
  text-align: center;
 
}

.sidebar-top {
  position: relative;
  width: 100%;
 height: 200px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* evita que o livro ultrapasse */
}

/* LIVRO */
.livro {
  position: absolute;
  width: 180px !important;
  opacity: 0.1;
  filter: blur(2px);
  z-index: 0;
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
  animation: fadeLivro 1.8s ease-in-out forwards;
}

/* animação: começa visível e depois apaga */
@keyframes fadeLivro {
  0% {
    opacity: 1;
    filter: blur(0px);
  }
  60% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.1;
    filter: blur(2px);
  }
}


/* TEXTO */
.sidebar .slogan {
  position: relative;
  z-index: 1;
  font-size: 1.6rem !important;
  line-height: 1.3;
  text-align: center;
  padding: 0 1rem;
  transition: color 0.3s ease;
  width: 100%;
  text-align: center;
  margin-left: 0 !important;
  padding-left: .5rem !important;
}

/* BADGE */
.donation-badge {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  margin-top: 0.4rem;
  transition: color 0.3s ease;
}

 
    #menu {
        display: block;
        /*Agora desta parte para baixo vamos dar estilo a folha do menu quando está ativa */
        position: absolute;
        /*sobrepor todas*/
        width: 100%;
        top: 70px;
        right: 0px;
        background: linear-gradient(90deg, #fffaf2, #fef7e5);
        height: 0px;
        transition: .6s;
        z-index: 1000;
        visibility: hidden;
        /* Esconde o menu na animação */
        overflow-y: hidden;
        color: #2C4D6E !important;
        /*na animação sincroniza os objetos com o visibility*/
        /*overflow-y:auto; ativar se o menu tiver mais itens cria barra de rolagem*/
    }


    #nav.active #menu {
        height: calc(100vh - 70px);
        /* altura da tela - o do topo */
         color: #2C4D6E !important;
        visibility: visible;
        /* mostra os itens do menu na animação*/
    }

    #menu a {
        padding: 1rem 0;
        margin: 0 1rem;
        color: #2C4D6E !important;
        border-bottom: 2px solid rgba(0, 0, 0, .05);
    }

    #btn-mobile {
        /*estilizando o button */
        top: 1.5rem;
        align-items: center;
        position: absolute;
        display: flex;
        padding: .5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        color: #ffffff !important;
    }
    .li-area-vip-a{
      display: flex !important;
    }
  .div-exclusiva{
    display: flex;
  }
 
    #hamburguer {
        display: block;
        width: 20px;
        border-top: 2px solid;
        margin-left: 5px;
     color: #ffffff !important;
    }


    #hamburguer::after {
        content: '';
        width: 20px;
        height: 2px;
        display: block;
        margin-top: 5px;
        transition: .3s;
        position: relative;
        /*position relative para alinhar o X do menu. */
        background: currentColor;


    }

    #hamburguer::before {
        content: '';
        width: 20px;
        height: 2px;
        display: block;
        margin-top: 5px;
        background: currentColor;
        color: #ffffff !important;

    }

    nav.active #hamburguer {
        border-top-color: transparent;
          color: #ffffff !important;
        /*ativa com o nav e deixa o 1º traço trasparente */
    }

    nav.active #hamburguer::before {
        transform: rotate(135deg);
    }

    nav.active #hamburguer::after {
        transform: rotate(-135deg);
        top: -7px;    
    }

    #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* garante que fique acima de tudo */
     background: linear-gradient(135deg, #1e1e1e 0%, #2b2b2b 100%);
    color: var(--color-dark-text);   
}

}