/* Estilos Responsivos */

/* Tablets e dispositivos menores */
@media (max-width: 992px) {
    /* Header */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--darker-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    /* Hero Section */
    #hero {
        padding: 150px 0 80px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-image {
        position: relative;
        width: 70%;
        height: 300px;
        margin: 0 auto;
        transform: none;
        top: auto;
    }
    
    /* Process Steps */
    .process-steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 30px;
    }
    
    /* Contact */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form {
        margin-top: 30px;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    /* Typography */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 70px 0;
    }
    
    /* Service & Benefit Cards */
    .services-grid, .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Process Steps */
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo, .footer-links, .footer-social {
        text-align: center;
        min-width: 100%;
    }
    
    .footer-links h3::after, .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Ajustes para a seta indicadora em dispositivos móveis */
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
    }
    
    .scroll-arrow i {
        font-size: 1rem;
    }
    
    /* Hero Section Ajustes */
    #hero {
        padding: 80px 0;
    }
    
    #hero video.desktop-video {
        display: none; /* Esconde o vídeo desktop em dispositivos móveis */
    }
    
    #hero video.mobile-video {
        display: block; /* Mostra o vídeo mobile em dispositivos móveis */
    }
    
    #hero .container {
        flex-direction: column;
    }
    
    #hero .hero-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    #hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-book .container,
    .author-section .container {
        flex-direction: column;
    }
    
    .about-book .section-image,
    .author-section .author-image {
        margin-bottom: 0; /* Remove a margem inferior da imagem */
        margin-top: 30px; /* Adiciona margem superior para dar espaço após a lista */
    }
    
    .video-container {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 30px;
    }
    
    .hero-button {
        font-size: 0.9rem; /* Diminui o tamanho da fonte do botão em dispositivos móveis */
        padding: 12px 20px; /* Reduz o padding para ajustar à fonte menor */
        white-space: nowrap; /* Garante que o texto fique em uma única linha */
        bottom: 70px; /* Ajusta a posição um pouco mais para cima */
    }
    
    .about-book .container {
        flex-direction: column;
        display: flex;
    }
    
    .about-book .section-image {
        order: 2; /* Muda a ordem de exibição para depois do conteúdo */
        margin-top: 30px; /* Adiciona espaço entre o conteúdo e a imagem */
    }
    
    .about-book .section-content {
        order: 1; /* Garante que o conteúdo apareça primeiro */
    }
}

/* Adiciona uma classe para o vídeo em desktop */
@media (min-width: 769px) {
    #hero video.desktop-video {
        display: block;
    }
    
    #hero video.mobile-video {
        display: none; /* Esconde o vídeo mobile em desktops */
    }
}

/* Ajustes para dispositivos muito pequenos */
@media (max-width: 480px) {
    .quote-section blockquote {
        font-size: 1.2rem;
    }
    
    .quote-section blockquote::before {
        font-size: 4rem;
        left: -20px;
        top: -20px;
    }
    
    .hero-button {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    
    .book-format {
        width: 100%;
        margin: 0 10px 20px;
    }
    
    header {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .testimonial p {
        font-size: 0.9rem;
    }
    
    /* Ajustar padding para todas as seções */
    section {
        padding: 50px 0;
    }
}