.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #9d4edd, #4edd98);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.5);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4edd98, #9d4edd);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.7);
}

.btn:hover::before {
    opacity: 1;
}.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4edd98, #9d4edd);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.7);
}

.btn:hover::before {
    opacity: 1;
}/* Responsividade para navegação */
@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }
    
    .nav-links {
        justify-content: center;
    }
}/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0c0a1d;
    color: #fff;
    line-height: 1.6;
    background-image: linear-gradient(to bottom, #0c0a1d, #1a1142);
    background-attachment: fixed;
}

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

/* Cabeçalho */
header {
    background-color: rgba(12, 10, 29, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(157, 78, 221, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

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

.logo {
    height: 50px;
    cursor: pointer;
    filter: drop-shadow(0 0 8px rgba(157, 78, 221, 0.6));
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.nav-links a:hover {
    color: #9d4edd;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #9d4edd, #4edd98);
    transition: width 0.3s;
}

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

.mobile-menu-btn {
    display: none; /* Sempre oculto, não será mais usado */
}

/* Seção Hero */
.hero {
    padding: 150px 0 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 17, 66, 0.8) 0%, rgba(61, 18, 95, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%23505'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero .container {
    flex-direction: column;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1, .hero p {
    width: 100%;
    max-width: 800px;
}



.hero-image {
    width: 50%; /* Mantém a largura original de 50% */
    position: relative;
    margin: 30px 0;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.6);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    object-fit: cover;
    max-height: 450px;
}

.hero .btn {
    margin-top: 10px;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.8);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(78, 221, 152, 0.6);
    background: linear-gradient(to right, #9d4edd, #4edd98);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #d1c7e2;
}

.btn {
    display: inline-block;
    align-self: center;
    padding: 12px 30px;
    background: linear-gradient(90deg, #9d4edd, #4edd98);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.5);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4edd98, #9d4edd);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.7);
}

.btn:hover::before {
    opacity: 1;
}

/* Seção Artigos */
.articles {
    padding: 80px 0;
    background-color: rgba(12, 10, 29, 0.9);
    position: relative;
    overflow: hidden;
}

.articles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(91, 33, 182, 0.1) 0%, rgba(12, 10, 29, 0) 80%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(78, 221, 152, 0.5);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #9d4edd, #4edd98);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.7);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.article-card {
    flex: 0 0 calc(25% - 20px);
    margin: 0 10px;
    background-color: rgba(26, 17, 66, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.3);
    transition: all 0.4s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.5);
    border-color: rgba(78, 221, 152, 0.3);
}

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

.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(157, 78, 221, 0.1), rgba(12, 10, 29, 0.5));
    pointer-events: none;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: saturate(1.2);
}

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

.article-content {
    padding: 20px;
    position: relative;
}

.article-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #9d4edd, #4edd98);
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover .article-content::before {
    opacity: 1;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
}

.article-description {
    font-size: 0.9rem;
    color: #c9c1db;
    margin-bottom: 15px;
    /* Solução para truncar texto em múltiplas linhas */
    display: -webkit-box;
    display: -ms-flexbox;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    /* Fallback para navegadores que não suportam line-clamp */
    max-height: 4.8em; /* 3 linhas * 1.6 line-height */
    text-overflow: ellipsis;
}

.article-date {
    font-size: 0.8rem;
    color: #9d4edd;
    display: inline-block;
    padding: 2px 10px;
    background-color: rgba(157, 78, 221, 0.1);
    border-radius: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 17, 66, 0.8);
    border: 1px solid rgba(157, 78, 221, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(157, 78, 221, 0.3);
    z-index: 10;
    color: #fff;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: rgba(157, 78, 221, 0.8);
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.5);
}

.prev-btn {
    left: -5px;
}

.next-btn {
    right: -5px;
}

/* Seção CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 17, 66, 0.9) 0%, rgba(91, 33, 182, 0.9) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%239d4edd' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(78, 221, 152, 0.1) 0%, rgba(157, 78, 221, 0) 50%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ff88ee, #4edd98);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(157, 78, 221, 0.3);
}

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

.btn-white {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Rodapé */
footer {
    background-color: #0a0818;
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #9d4edd, #4edd98);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 0 0 calc(25% - 20px);
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #9d4edd, #4edd98);
    bottom: 0;
    left: 0;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.7);
}

.footer-column p {
    color: #c9c1db;
    line-height: 1.7;
}

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

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

.footer-column ul a {
    color: #ae9cca;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 15px;
}

.footer-column ul a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #9d4edd;
    font-size: 1.2em;
}

.footer-column ul a:hover {
    color: #4edd98;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(157, 78, 221, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid rgba(157, 78, 221, 0.3);
    color: #fff;
}

.social-links a:hover {
    background: linear-gradient(135deg, #9d4edd, #4edd98);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    font-size: 0.9rem;
    color: #9787b3;
    position: relative;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .hero-image {
        width: 100%;
        padding: 0;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .article-card {
        flex: 0 0 calc(33.33% - 20px);
    }

    .footer-column {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex; /* Manter os links sempre visíveis */
        gap: 15px; /* Reduzir o espaço entre os links em telas menores */
    }

    .article-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .article-card {
        flex: 0 0 calc(100% - 20px);
    }

    .footer-column {
        flex: 0 0 100%;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}