/* Planilhas Styles - Baseado na paleta de cores do site */

/* Hero Section - Planilhas */
.planilhas-hero {
    background: linear-gradient(135deg, #081628 0%, #0d2342 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}



.planilhas-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.planilhas-hero .hero-content {
    text-align: center;
    color: #fff;
}

.planilhas-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.planilhas-hero .highlight {
    background: linear-gradient(90deg, #f5a623, #f27121);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.planilhas-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #e6f0ff;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pain-points {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.pain-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff6b6b;
    font-weight: 500;
    font-size: 1.1rem;
}

.pain-item i {
    font-size: 1.2rem;
}

.solution-cta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.solution-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e6f0ff;
}

.btn-hero {
    background: linear-gradient(90deg, #f5a623, #f27121);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.3);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 166, 35, 0.4);
    color: #fff;
}

/* Seção de Planilhas */
.planilhas-section {
    background: #fff;
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0d2342;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.planilhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.planilha-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 35, 66, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.planilha-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(13, 35, 66, 0.15);
}

.planilha-card.featured {
    border: 2px solid #f5a623;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, #f5a623, #f27121);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 10;
}

.planilha-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planilha-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.planilha-card:hover .planilha-image img {
    transform: scale(1.05);
}

.planilha-info {
    padding: 30px;
}

.planilha-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d2342;
    margin-bottom: 15px;
}

.planilha-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.planilha-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.planilha-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 0.95rem;
}

.planilha-features i {
    color: #25d366;
    font-size: 0.9rem;
}

.planilha-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #f5a623;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.btn-planilha {
    width: 100%;
    background: linear-gradient(90deg, #0d2342, #1a3a5c);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-planilha:hover {
    background: linear-gradient(90deg, #1a3a5c, #0d2342);
    transform: translateY(-2px);
}

.featured-btn {
    background: linear-gradient(90deg, #f5a623, #f27121) !important;
}

.featured-btn:hover {
    background: linear-gradient(90deg, #f27121, #f5a623) !important;
}

/* Seção de Benefícios */
.beneficios-section {
    background: #f8fafc;
    padding: 100px 20px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.beneficio-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(13, 35, 66, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 35, 66, 0.12);
}

.beneficio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, #f5a623, #f27121);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.beneficio-icon i {
    font-size: 2rem;
    color: #fff;
}

.beneficio-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d2342;
    margin-bottom: 15px;
}

.beneficio-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Seção de Problemas */
.problemas-section {
    background: #0d2342;
    padding: 100px 20px;
    color: #fff;
}

.problemas-section .section-title {
    color: #fff;
}

.problemas-section .section-subtitle {
    color: #e6f0ff;
}

.problemas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.problema-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.problema-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.problema-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, #ff6b6b, #ff5252);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.problema-icon i {
    font-size: 2rem;
    color: #fff;
}

.problema-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.problema-card p {
    color: #e6f0ff;
    line-height: 1.6;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    background: #fff;
    padding: 100px 20px;
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: #f8fafc;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0d2342;
    margin: 0;
}

.faq-question i {
    color: #f5a623;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #f5a623 0%, #f27121 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-cta-final {
    background: #fff;
    color: #f5a623;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: #f5a623;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-header {
    background: linear-gradient(135deg, #0d2342 0%, #1a3a5c 100%);
    color: #fff;
    padding: 25px 30px 20px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.contact-form {
    padding: 30px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0d2342;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #f5a623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, #f5a623, #f27121);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.3);
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.security-info i {
    color: #25d366;
}

/* Logo Image */
.logo-img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Desktop Menu (Default) */
@media (min-width: 769px) {
    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        right: auto;
    }

    .mobile-overlay {
        display: none !important;
    }
}

/* WhatsApp Button Visibility */
.mobile-whatsapp {
    display: none;
}

.desktop-whatsapp {
    display: inline-flex;
}

/* Mobile Overlay (Hidden by default) */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Active nav link */
.nav-links li a.active {
    color: #f5a623;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
    .planilhas-hero h1 {
        font-size: 2.5rem;
    }
    
    .planilhas-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .pain-points {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .solution-cta {
        padding: 30px 20px;
    }
    
    .solution-cta h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .planilhas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .beneficios-grid,
    .problemas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 35px;
        max-width: 150px;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        z-index: 1001;
        padding: 5px;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: auto;
        min-height: 400px;
        background: linear-gradient(135deg, #0d2342 0%, #1a3a5c 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 60px 30px 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 0 20px;
        z-index: 1000;
        overflow: visible;
        visibility: hidden;
        opacity: 0;
        display: flex;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 10px;
        flex-shrink: 0;
    }

    .nav-links li a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: #f5a623;
        padding-left: 10px;
        border-bottom-color: #f5a623;
    }

    /* Show mobile WhatsApp button, hide desktop */
    .mobile-whatsapp {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        margin-top: 20px;
    }

    .desktop-whatsapp {
        display: none;
    }

    .mobile-whatsapp .btn-whatsapp {
        width: 100%;
        justify-content: center;
        margin: 0;
        padding: 15px 20px;
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .planilhas-hero {
        padding: 80px 15px 40px;
    }
    
    .planilhas-hero h1 {
        font-size: 2rem;
    }
    
    .solution-cta h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .planilha-info {
        padding: 25px 20px;
    }
    
    .beneficio-card,
    .problema-card {
        padding: 30px 20px;
    }
}