/* Estilos Gerais */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

h1, h2, h3 {
    color: #1d80e3;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

p {
    color: #afaaaa;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Cabeçalho */
.hero {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero .btn-primary {
    background: #ff6f61;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    border: 2px solid #ff6f61;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 111, 97, 0.3);
}

.hero .btn-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 111, 97, 0.5);
}

/* Seção de Vídeo */
.video-section {
    background: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.video-container iframe {
    max-width: 100%;
    height: 400px;
    border: 5px solid #2c3e50;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Descrição dos Livros */
.book-description {
    background: #f5f7fa;
    padding: 50px 20px;
    text-align: center;
}

.book-description p {
    max-width: 800px;
    margin: 0 auto;
    color: #918e8e;
    line-height: 1.8;
}

/* Imagens dos eBooks */
.ebooks {
    background: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.ebook-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.ebook-item img {
    width: 150px; /* Tamanho consistente para todas as imagens */
    height: 200px; /* Altura fixa para evitar distorções */
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorções */
    border: 2px solid #2c3e50;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ebook-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.ebook-item p {
    font-size: 1rem;
    margin-top: 10px;
    color: #555;
}

.btn-pulsate {
    background: linear-gradient(135deg, #ff6f61, #ff9a8b);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
    border: 2px solid #ff6f61;
    box-shadow: 0 4px 8px rgba(255, 111, 97, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Outras Informações */
.more-info, .faq {
    background: #f5f7fa;
    padding: 50px 20px;
    text-align: center;
}

.more-info ul, .faq-item {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    max-width: 800px;
}

.more-info li, .faq-item h3, .faq-item p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.8;
}

.faq-item {
    margin-bottom: 30px;
}

.btn-secondary {
    background: #2c3e50;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    border: 2px solid #2c3e50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.3);
}

.btn-secondary:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(44, 62, 80, 0.5);
}

/* Rodapé */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 1rem;
}

.footer .btn-footer {
    background: #ff6f61;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    margin-top: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 111, 97, 0.3);
}

.footer .btn-footer:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 111, 97, 0.5);
}

/* Responsividade */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2, h3 {
        font-size: 1.5rem;
    }

    .ebook-item img {
        width: 120px; /* Ajuste para telas menores */
        height: 160px;
    }

    .btn-primary, .btn-secondary, .btn-footer {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Botões */
.btn {
    display: inline-block; /* Garante que o botão seja tratado como um elemento de linha */
    margin: 0 auto; /* Centraliza horizontalmente */
    text-align: center; /* Centraliza o texto dentro do botão */
}

/* Seção "Outras Informações" */
.more-info .btn-secondary {
    display: block; /* Faz o botão ocupar a largura disponível */
    margin: 20px auto 0; /* Adiciona margem superior e centraliza */
    max-width: 300px; /* Define uma largura máxima para o botão */
}
