
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4ab3e0;
    --secondary-color: #204d7d;
    --light-gray: #f2f2f2;
    --white: #ffffff;
    --dark-gray: #333333;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

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


.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text h2 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.logo-slogan {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cliente {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-cliente:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-cliente::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
}


.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    align-self: center;
    margin-top: auto;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}


.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 77, 125, 0.7) 0%, rgba(74, 179, 224, 0.4) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    transition: var(--transition);
    width: 200px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 1);
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.floating-card span {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.2;
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-25px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-15px) rotate(-1deg); 
    }
}


.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
}


.sistemas {
    padding: 80px 0;
    background: var(--white);
}

.sistemas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.sistema-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sistema-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.sistema-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    align-self: center;
}

.sistema-icon i {
    font-size: 2rem;
    color: var(--white);
}

.sistema-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.sistema-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.sistema-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.sistema-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.sistema-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}


.diferenciais {
    padding: 80px 0;
    background: var(--light-gray);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.diferencial-item {
    text-align: center;
    padding: 2rem;
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.diferencial-icon i {
    font-size: 2rem;
    color: var(--white);
}

.diferencial-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.diferencial-item p {
    color: var(--text-gray);
    line-height: 1.6;
}


.suporte {
    padding: 80px 0;
    background: var(--white);
}

.suporte-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.suporte-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.suporte-info p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.suporte-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.suporte-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.suporte-feature i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.suporte-feature h4 {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.suporte-feature p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

.ajuda-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    display: inline-block;
}

.ajuda-link:hover {
    color: var(--white);
    background: var(--primary-color);
}

.suporte-form {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
}

.suporte-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 179, 224, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


.checkbox-label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.checkbox-item:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 179, 224, 0.05);
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-item .custom-checkbox {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-item:hover .custom-checkbox {
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked ~ .custom-checkbox {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-item .custom-checkbox:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item input[type="checkbox"]:checked ~ .custom-checkbox:after {
    display: block;
}

.checkbox-item span {
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
    flex: 1;
    margin: 0;
    padding-left: 0;
}

.checkbox-item input[type="checkbox"]:checked ~ span {
    color: var(--primary-color);
    font-weight: 600;
}

.checkbox-item:has(input[type="checkbox"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(74, 179, 224, 0.1);
}


.noticias {
    padding: 80px 0;
    background: var(--light-gray);
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}






.area-cliente {
    padding: 80px 0;
    background: var(--white);
}

.area-cliente-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.area-cliente-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.area-cliente-info p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.area-cliente-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.benefit span {
    font-weight: 500;
    color: var(--secondary-color);
}

.login-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.login-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.login-links a:hover {
    color: var(--secondary-color);
}


.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.contact-info p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-info p a i {
    color: #25D366;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}


@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .logo-text h2 {
        font-size: 1.1rem;
    }
    
    .logo-slogan {
        font-size: 0.7rem;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 300px;
    }

    .suporte-content,
    .area-cliente-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .sistemas-grid,
    .diferenciais-grid,
    .noticias-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        animation: none;
        width: 100%;
        height: auto;
        min-height: 80px;
    }

    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
        max-width: 120px;
    }
    
    .logo-text h2 {
        font-size: 1rem;
    }
    
    .logo-slogan {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .sistema-card,
    .suporte-form,
    .login-card {
        padding: 1.5rem;
    }
}




.sistema-hero {
    background: linear-gradient(135deg, rgba(74, 179, 224, 0.6) 0%, rgba(32, 77, 125, 0.4) 100%), url('../imgs/background-folha.webp');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    min-height: 400px;
}

.sistema-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sistema-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.sistema-content {
    padding: 80px 0;
}

.feature-section {
    margin-bottom: 4rem;
}

.feature-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.screenshot-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.screenshot-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 1.2rem;
}

.screenshot-caption {
    padding: 1.5rem;
    text-align: center;
}

.screenshot-caption h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.screenshot-caption p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.cta-section {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-white:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}


.sistema-hero.folha {
    background: linear-gradient(135deg, rgba(74, 179, 224, 0.6) 0%, rgba(32, 77, 125, 0.4) 100%), url('../imgs/background-folha.webp');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.sistema-hero.fiscal {
    background: linear-gradient(135deg, rgba(32, 77, 125, 0.6) 0%, rgba(74, 179, 224, 0.4) 100%), url('../imgs/background-fiscal.webp');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.sistema-hero.contabil {
    background: linear-gradient(135deg, rgba(74, 179, 224, 0.6) 0%, rgba(32, 77, 125, 0.4) 100%), url('../imgs/background-contabil.webp');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


.ajuda-hero {
    background: linear-gradient(135deg, rgba(32, 77, 125, 0.6) 0%, rgba(74, 179, 224, 0.4) 100%), url('../imgs/back-ajuda.webp');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 120px 0 60px;
    color: white;
    text-align: center;
    position: relative;
    min-height: 400px;
}

.ajuda-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ajuda-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.ajuda-content {
    padding: 80px 0;
}

.sistema-section {
    margin-bottom: 4rem;
}

.sistema-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tutorial-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.tutorial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tutorial-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tutorial-item p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.video-placeholder {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}


.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--secondary-color);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    opacity: 0.7;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@media (max-width: 768px) {
    .sistema-hero,
    .ajuda-hero {
        background-size: 100% auto;
        background-attachment: scroll;
    }
    
    .sistema-hero h1,
    .ajuda-hero h1 {
        font-size: 2rem;
    }
    
    .sistema-hero p,
    .ajuda-hero p {
        font-size: 1.1rem;
    }
    
    .feature-section h2,
    .sistema-section h2 {
        font-size: 2rem;
    }
    
    .screenshot-grid,
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}


.loading-noticias {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-gray);
    grid-column: 1 / -1;
}

.loading-noticias i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.loading-noticias p {
    font-size: 1.1rem;
    margin: 0;
}


.noticias-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
}

.noticia-card {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.noticia-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.noticia-card:nth-child(1) { animation-delay: 0.1s; }
.noticia-card:nth-child(2) { animation-delay: 0.2s; }
.noticia-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.noticia-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.noticia-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.noticia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-image img {
    transform: scale(1.05);
}

.noticia-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}



.noticia-content h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
}

.noticia-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.noticia-content h3 a:hover {
    color: var(--primary-color);
}

.noticia-content p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.noticia-meta {
    margin: 0;
    display: block;
    visibility: visible;
    flex-shrink: 0;
    text-align: left;
    order: -1;
}

.noticia-categoria {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.noticia-meta small {
    color: var(--text-gray);
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
    visibility: visible;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}




