/* ===================================
   RESPONSIVE STYLES
   Lei da Atração Bíblica Landing Page
   =================================== */

/* Tablet Landscape (1024px e abaixo) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .course-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .modules-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .lesson-item {
        align-items: center;
        gap: 12px;
    }
    
    .lesson-number {
        min-width: 30px;
        width: 30px;
        height: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Tablet Portrait (768px e abaixo) */
@media screen and (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    /* Eliminar linhas brancas */
    body {
        margin: 0;
        padding: 0;
    }
    
    * {
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Navigation - Logo preenchendo header mobile */
    .header {
        padding: 0;
        background-image: url('../images/logo-suellen-final-design.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: scroll;
    }
    
    .navbar {
        padding: 3px 0;
        min-height: 55px;
        position: relative;
        background: transparent;
    }
    
    /* Garantir que o background da logo seja preservado */
    .header {
        background-image: url('../images/logo-suellen-final-design.png') !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }
    
    .navbar .container {
        padding: 0;
        margin: 0;
        position: relative;
        max-width: 100%;
        width: 100%;
    }
    
    .nav-brand {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 0;
        right: 0;
        min-height: 70px;
        z-index: 1001;
    }
    
    /* Ocultar a tag img apenas no mobile para usar background */
    .logo {
        opacity: 0;
        width: 100%;
        height: 70px;
    }
    
    .logo {
        width: 100%;
        height: 60px;
        object-fit: contain;
        object-position: center;
        border-radius: 0;
        filter: none;
        max-width: 100vw;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow-soft);
        border-radius: 0 0 15px 15px;
        z-index: 1002;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 8px;
        z-index: 1003;
        background: rgba(255, 255, 255, 0.9);
        padding: 12px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    }
    

    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 8px;
        z-index: 1003;
        background: rgba(255, 255, 255, 0.9);
        padding: 12px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding-top: 145px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    /* Mostrar imagem do curso no mobile antes do subtítulo */
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .course-image {
        width: 320px;
        height: auto;
        border-radius: 15px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .title-highlight {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .title-subtitle {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .hero-description {
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .hero-cta {
        align-items: center;
    }
    
    .installment-price {
        font-size: 22px;
    }
    
    .cash-price {
        font-size: 13px;
    }
    
    .course-preview {
        max-width: 350px;
        margin: -25px auto 0;
    }
    

    
    .course-badge {
        top: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 12px;
    }
    

    
    /* Sections */
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    /* Problem Section */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .problem-item {
        padding: 30px 20px;
    }
    
    .problem-solution {
        padding: 40px 30px;
    }
    
    .problem-solution h3 {
        font-size: 24px;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .credentials {
        max-width: 400px;
        margin: 30px auto 0;
    }
    
    .instructor-photo {
        max-width: 250px;
    }
    
    /* Benefits Section */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .benefit-item {
        padding: 30px 25px;
    }
    
    /* Content Section */
    .course-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .course-stats .stat-item {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .modules-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .module-item {
        padding: 25px 20px;
    }
    
    .lessons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .lesson-item {
        padding: 15px 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    
    .lesson-number {
        width: 28px;
        height: 28px;
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .lesson-title {
        flex: 1;
        font-size: 13px;
        line-height: 1.4;
        margin: 0;
    }
    
    /* Biblical Foundation */
    .foundation-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .verse-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .golden-circle {
        width: 150px;
        height: 150px;
    }
    
    .golden-circle i {
        font-size: 60px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        padding: 30px 25px;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 10px;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: 32px;
    }
    
    .cta-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .price-box {
        padding: 30px 20px;
        margin: 30px auto;
    }
    
    .cta-installment-price {
        font-size: 42px;
    }
    
    .cta-cash-price {
        font-size: 16px;
    }
    
    .amount {
        font-size: 48px;
    }
    
    .guarantee {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    /* FAQ Section */
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h4 {
        font-size: 16px;
        padding-right: 10px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-logo {
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Desktop - Garantir logo visível */
@media screen and (min-width: 769px) {
    .header {
        background-image: none !important;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .logo {
        opacity: 1 !important;
        height: 80px;
        width: auto;
        max-width: 400px;
        display: block;
        background: transparent !important;
        border: none !important;
        outline: none !important;
    }
    
    .nav-brand {
        width: auto;
        position: static;
        display: flex;
        align-items: center;
        background: transparent !important;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Mobile Landscape e Portrait (480px e abaixo) */
@media screen and (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Navigation Mobile - Logo ocupando largura total */
    .header {
        padding: 0;
        background-image: url('../images/logo-suellen-final-design.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .navbar {
        padding: 0;
        min-height: 60px;
        background: transparent;
    }
    
    .nav-brand {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 0;
        right: 0;
        min-height: 60px;
        z-index: 1001;
    }
    
    .logo {
        opacity: 0;
        width: 100%;
        height: 60px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding-top: 145px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .title-highlight {
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 8px;
    }
    
    .title-subtitle {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .hero-description p {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 18px 30px;
        font-size: 16px;
    }
    
    .installment-price {
        font-size: 20px;
    }
    
    .cash-price {
        font-size: 12px;
    }
    
    .course-preview {
        max-width: 300px;
        margin-top: -25px;
    }
    
    .course-image {
        width: 280px;
    }
    

    
    /* Sections */
    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }
    
    /* Problem Section */
    .problem-item {
        padding: 25px 15px;
    }
    
    .problem-item h3 {
        font-size: 20px;
    }
    
    .problem-solution {
        padding: 30px 20px;
    }
    
    .problem-solution h3 {
        font-size: 22px;
    }
    
    .problem-solution p {
        font-size: 16px;
    }
    
    /* Benefits Section */
    .benefit-item {
        padding: 25px 20px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .benefit-icon i {
        font-size: 28px;
    }
    
    .benefit-item h3 {
        font-size: 18px;
    }
    
    /* Content Section */
    .stat-number {
        font-size: 32px;
    }
    
    .module-item {
        padding: 20px 15px;
    }
    
    .lessons {
        gap: 8px;
    }
    
    .module-title {
        font-size: 18px;
    }
    
    .lesson-item {
        padding: 12px 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
    }
    
    .lesson-number {
        width: 26px;
        height: 26px;
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .lesson-title {
        font-size: 12px;
        line-height: 1.3;
        flex: 1;
        margin: 0;
    }
    
    /* Biblical Foundation */
    .verse-item {
        padding: 20px 15px;
    }
    
    .verse-content blockquote {
        font-size: 16px;
    }
    
    .golden-circle {
        width: 120px;
        height: 120px;
    }
    
    .golden-circle i {
        font-size: 50px;
    }
    
    /* Testimonials */
    .testimonial-item {
        padding: 25px 20px;
    }
    
    .testimonial-content blockquote {
        font-size: 15px;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .price-box {
        padding: 25px 15px;
        margin: 25px auto;
    }
    
    .cta-installment-price {
        font-size: 36px;
    }
    
    .cta-cash-price {
        font-size: 15px;
    }
    
    .amount {
        font-size: 42px;
    }
    
    .currency, .cents {
        font-size: 20px;
    }
    
    .guarantee {
        padding: 20px 15px;
    }
    
    .guarantee-icon i {
        font-size: 32px;
    }
    
    .guarantee-text h4 {
        font-size: 16px;
    }
    
    .guarantee-text p {
        font-size: 13px;
    }
    
    /* FAQ Section */
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h4 {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 25px 0 15px;
    }
    
    .footer-logo {
        height: 135px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* Extra Small Mobile (360px e abaixo) */
@media screen and (max-width: 360px) {
    .hero-title {
        font-size: 22px;
        line-height: 1.1;
    }
    
    .title-highlight {
        font-size: 20px;
        line-height: 1.05;
        margin-bottom: 8px;
        word-break: keep-all;
        text-align: center;
    }
    
    .title-subtitle {
        font-size: 15px;
        line-height: 1.2;
        word-break: keep-all;
        text-align: center;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .course-preview {
        max-width: 260px;
        margin-top: -25px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .header {
        background-image: url('../images/logo-suellen-final-design.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .navbar {
        padding: 0;
        min-height: 50px;
        background: transparent;
    }
    
    .nav-brand {
        min-height: 50px;
    }
    
    .logo {
        opacity: 0;
        width: 100%;
        height: 50px;
    }
    
    .course-image {
        width: 220px;
    }
    
    .installment-price {
        font-size: 18px;
    }
    
    .cash-price {
        font-size: 11px;
    }

    
    .problem-item h3 {
        font-size: 18px;
    }
    
    .benefit-item h3 {
        font-size: 17px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .amount {
        font-size: 36px;
    }
    
    .cta-installment-price {
        font-size: 30px;
    }
    
    .cta-cash-price {
        font-size: 13px;
    }
    
    .price-box {
        padding: 20px 10px;
    }
    
    /* Lesson items alignment for extra small screens */
    .lesson-item {
        padding: 10px 8px;
        gap: 8px;
    }
    
    .lesson-number {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 10px;
        font-weight: 700;
    }
    
    .lesson-title {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* Landscape Orientation for Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .title-subtitle {
        font-size: 22px;
    }
    
    :root {
        --section-padding: 60px 0;
    }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .logo,
    .footer-logo,
    .instructor-photo,
    .course-image,
    .author-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    
    
    .golden-circle {
        animation: none;
    }
    
    .btn-pulse {
        animation: none;
    }
}

/* Dark Mode Support (respeitando preferência do sistema) */
@media (prefers-color-scheme: dark) {
    /* Mantenha cores douradas, mas ajuste sutilmente para melhor contraste */
    .hero {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .problem-item,
    .benefit-item,
    .module-item {
        background: rgba(212, 175, 55, 0.05);
        border: 1px solid rgba(212, 175, 55, 0.1);
    }
}

/* Print Styles */
@media print {
    .header,
    .hamburger,
    .nav-links,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        page-break-after: always;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 12pt;
    }
    
    .benefit-item,
    .module-item,
    .testimonial-item {
        page-break-inside: avoid;
        margin-bottom: 12pt;
    }
}
