body{
    background-color:#fefefe;
}

.badge {
    background-color: #AC70ED;
    color: #white;
    border-color: #AC70ED;
    border-radius: 20px;
    padding: 10px 10px 10px;
}

.badge:hover:not(:disabled) {
    background: #7510E1;
    color: white;
    border-color: #7510E1;
}

.hero-image {
    height: 500px;
    background-image: url('../img/Capa-intro.webp');
    background-size: cover;
    background-position: center;
}

.results-title {
    font-size: 66px;
    font-weight: bold;
    text-align: center;
    margin: 50px 0;
}

.reportagem-titulo {
    background: #AC70ED;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin: 50px 0;

}

.carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.carousel-number {
    font-size: 48px;
    font-weight: bold;
}

.carousel-text {
    font-size: 18px;
}

.hover-effect {
      color: #cdcdcd;
      transition: color 0.3s ease;
      cursor: pointer;
}

.hover-effect:hover {
      color: #FAC70D !important;
}

.hover-effect:hover i {
    color: #FAC70D !important;
}

.chart-container {
    height: 400px;
    background-color: #f8f9fa;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}


@media (max-width: 768px) {
    .results-title {
        font-size: 48px;
    }
    
    .carousel-item {
        height: 400px;
    }
}



/* Carrosel Notícias */
* {
    box-sizing: border-box;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f4f4;
    padding: 0px 0px 0px 0px;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0px 30px;
}

.carrossel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.carrossel-titulo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #9140E7;
}

.carrossel-controles {
    display: flex;
    gap: 15px;
}

.controle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FAC70D;;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.controle-btn:hover:not(:disabled) {
    background: #AC70ED;
    color: white;
    border-color: #AC70ED;
}

.controle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carrossel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.carrossel-wrapper.grabbing {
    cursor: grabbing;
}

.carrossel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding-bottom: 20px;
    will-change: transform;
    /* Mostra 3 cards completos + 30% do 4º card */
    padding-right: 30%;
}

.card {
    flex: 0 0 calc(35% - 15px); /* 4 cards = 100% + gap */
    min-width: calc(35% - 15px);
    background: #FFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-imagem {
    width: 100%;
    height: 180px;
    object-fit: cover;
    pointer-events: none;
}

.card-conteudo {
    padding: 10px;
    pointer-events: none;
}

.card-categoria {
    display: inline-block;
    background: #9140E7;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0px;
    margin-top: 3px;
}

.card-titulo {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #222;
    line-height: 1.4;
    text-decoration: none;
}

.card-titulo a {
    text-decoration: none;
}



/* Efeito de gradiente para indicar mais conteúdo */
.carrossel-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 20px;
    width: 60px;
    background: linear-gradient(90deg, rgba(245,245,245,0) 0%, rgba(245,245,245,1) 100%);
    pointer-events: none;
}

@media (max-width: 1024px) {
    .carrossel {
        padding-right: 40%;
    }
    
    .card {
        flex: 0 0 calc(33.333% - 13px);
        min-width: calc(33.333% - 13px);
    }
}

@media (max-width: 768px) {
    .carrossel {
        padding-right: 50%;
    }
    
    .card {
        flex: 0 0 calc(100% - 10px);
        min-width: calc(100% - 10px);
    }
    
    .carrossel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .carrossel {
        padding-right: 20%;
    }
    
    .card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }
    
    .container {
        padding: 0 15px;
    }
}


footer {
    background-color: #888888;
    color: white;
    padding: 50px 0;
}

.footer-links a {
    color: #f5f5f5;
    text-decoration: none;
    margin-right: 15px;
}

.footer-links a:hover {
    color: #FAC70D;
}



/* SLIDE CONTAINER */
.slide-container {
    width: 100%;
    height: 800px;
    position: relative;
    overflow: hidden;
}

.slide-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slide 15s infinite;
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.slide-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: 20px;
}

@keyframes slide {
    0%, 30% { transform: translateX(0); }
    35%, 65% { transform: translateX(-33.333%); }
    70%, 100% { transform: translateX(-66.666%); }
}




  



