/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

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

/* Header */
header {
    background: #1a2a6c; /* Dark Blue */
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-menu a i {
    margin-right: 8px;
}

.nav-menu a:hover {
    color: #f7b731; /* Yellow */
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 100%); /* Dark Blue to Red */
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../assets/new_hero_image.png") no-repeat center center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: #f7b731; /* Yellow */
    color: #1a2a6c;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(247, 183, 49, 0.4);
}

.btn-primary:hover {
    background: #f7b731;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(247, 183, 49, 0.6);
}

/* Sections */
section {
    padding: 80px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

section:nth-child(even) {
    background-color: #fdfdfd;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #1a2a6c;
}

section .section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #666;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 3.5rem;
    color: #b21f1f; /* Red */
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a2a6c;
}

.feature-item p {
    color: #555;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background-color: #fdfdfd;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    margin-right: 20px;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-card h4 {
    font-size: 1.3rem;
    color: #1a2a6c;
    margin-bottom: 5px;
}

.testimonial-card span {
    color: #888;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #b21f1f 0%, #f7b731 100%); /* Red to Yellow */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: #1a2a6c; /* Dark Blue */
    color: #fff;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f7b731; /* Yellow */
}

.footer-section p,
.footer-section ul {
    font-size: 1rem;
    color: #ccc;
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f7b731;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f7b731;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1a2a6c;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

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

    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image {
        flex: none;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }
}




.feature-icon-img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f7b731;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



main {
    padding-top: 90px; /* Ajuste para o header fixo */
}

.page-hero {
    padding: 150px 0 50px;
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 100%);
    color: #fff;
    text-align: center;
}

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

.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-card .btn-primary {
    margin-top: 15px;
}

.cta-new {
    background: linear-gradient(135deg, #b21f1f 0%, #f7b731 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.cta-new h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.cta-new p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-primary-new {
    background: #1a2a6c;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-primary-new:hover {
    background: #0f1a3a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.footer-logo-img {
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

@media (max-width: 768px) {
    main {
        padding-top: 70px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .cta-new h2 {
        font-size: 2rem;
    }

    .cta-new p {
        font-size: 0.9rem;
    }
}



main {
    padding-top: 90px; /* Ajuste para o header fixo */
}




.main-content {
    padding-top: 90px; /* Ajuste para o header fixo */
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 70px;
    }
}






/* Estilos específicos para a página de tutoriais */
.blog-intro {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 0;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.intro-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro-feature i {
    color: #28a745;
    font-size: 1.2rem;
}

.intro-feature span {
    font-weight: 600;
    color: #333;
}

.tutorials-grid {
    padding: 80px 0;
    background-color: #fff;
}

.tutorials-grid h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.tutorials-grid .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #b21f1f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.4rem;
    color: #1a2a6c;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #888;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: #b21f1f;
}

.blog-card .btn {
    display: inline-block;
    background: #f7b731;
    color: #1a2a6c;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.blog-card .btn:hover {
    background: #1a2a6c;
    color: #fff;
    transform: translateY(-2px);
}

.blog-card.featured {
    grid-column: span 2;
}

.blog-card.featured .blog-image {
    height: 250px;
}

.blog-card.featured .blog-content h3 {
    font-size: 1.6rem;
}

.business-tutorials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.business-tutorials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.business-tutorials .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

/* Responsividade para tutoriais */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card.featured {
        grid-column: span 1;
    }
    
    .intro-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .intro-feature {
        justify-content: center;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .tutorials-grid h2,
    .business-tutorials h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}


/* Estilos para cards sem imagem */
.blog-card .blog-content {
    padding: 30px;
    position: relative;
}

.blog-card .blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #b21f1f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card:not(.featured) .blog-content {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card.featured .blog-content {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ajustes para melhor aparência sem imagens */
.blog-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
}

.blog-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #b21f1f;
}

.blog-card .blog-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Responsividade melhorada para cards sem imagem */
@media (max-width: 768px) {
    .blog-card:not(.featured) .blog-content {
        min-height: 200px;
    }
    
    .blog-card.featured .blog-content {
        min-height: 220px;
    }
    
    .blog-card .blog-content {
        padding: 25px;
    }
    
    .blog-card .blog-category {
        top: 10px;
        right: 10px;
        padding: 4px 12px;
        font-size: 0.7rem;
    }
}

