@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
     padding-top: 180px;
}

/* Cabeçalho */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    
    
}

.header-top {
    background-color: #2c3e50;
    color: white;
    padding: 10px 0px;
   
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.logo-portal {
    color: #884455;
}

/* Navegação */
.navigation {
    background-color: #34495e;
     padding: 0px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 14px;
    transition: background-color 0.3s;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    
}

.nav-link:hover,
.nav-link.active {
   background-color: #884455;
}

/*NAVBAR FIXA*/
.header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    margin-bottom: 5rem;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default, shown on smaller screens */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* Animation for hamburger menu */
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #34495e;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        text-align: center;
        padding: 10px 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .navigation .container {
        justify-content: space-between;
    }
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header h1{
    font-weight: bolder;
    font-size: 2rem;
    color: #884455;
}

.page-header p{
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 2;
}

/* Seção Hero */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-article {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
}

.featured-article img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
}

.category {
    background-color: #e53e3e;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.featured-article h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-article p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar-section h3 {
    color: #e53e3e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e53e3e;
    padding-bottom: 0.5rem;
}

.highlight-card {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.highlight-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.highlight-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.time {
    color: #666;
    font-size: 0.8rem;
}

.live-updates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.live-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
}

.live-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.live-content h5 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Grid de notícias */
.news-grid {
    margin-bottom: 3rem;
}

.news-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #2d3748;
}

.news-content p {
    color: #666;
    font-size: 0.9rem;
}

/* FOOTER */

.footer {
    background: #2c3e50 ;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.footer-container {
    
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem 2rem;
}

/* Secções do Footer */
.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section.about {
    grid-column: span 1;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ac294a, #fff);
    border-radius: 2px;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #b8c5d6;
}

/* Informações de Contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #b8c5d6;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
}

.contact-item i {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    min-width: 16px;
}

/* Links do Footer */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links li a i {
    color: #4ecdc4;
    font-size: 0.9rem;
    min-width: 16px;
}

/* Newsletter */
.newsletter-description {
    font-size: 0.95rem;
    color: #b8c5d6;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group input {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-group input::placeholder {
    color: #b8c5d6;
}

.input-group input:focus {
    outline: none;
    border-color: #884455;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.input-group button {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #884455, #0077b5);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.input-group button:active {
    transform: translateY(0);
}

/* Redes Sociais */
.social-section {
    margin-top: 1.5rem;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-link.facebook::before {
    background: #3b5998;
}

.social-link.twitter::before {
    background: #1da1f2;
}

.social-link.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.linkedin::before {
    background: #0077b5;
}

.social-link.youtube::before {
    background: #ff0000;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link i {
    font-size: 1.2rem;
    z-index: 1;
}


/* Footer Bottom */
.footer-bottom {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright p {
    color: #b8c5d6;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Seta Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background:  #884455;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem 2rem;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .input-group {
        gap: 0.75rem;
    }
    
    .input-group input,
    .input-group button {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-divider {
        margin: 1.5rem 1.5rem 0;
    }
    
    .footer-bottom {
        padding: 1.5rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 2.5rem 1rem 1.5rem;
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-description,
    .newsletter-description {
        font-size: 0.9rem;
    }
    
    .contact-item,
    .footer-links li a {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Melhorias para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/*Breves*/
.breves-header {
background: #884455;
    color: white;
    padding: 8px 2%;
    text-align: center;
    position: relative;
}

.breves-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #ffd700;
    font-size: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.last-update {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

