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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--background-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

p {
    font-weight: 500 !important;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Animações de scroll - Estados iniciais */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Estados animados - quando a classe 'animate' é adicionada */
.fade-in-up.animate,
.fade-in-left.animate,
.fade-in-right.animate {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Delay escalonado para elementos filhos */
.fade-in-up:nth-child(1) { transition-delay: 0s; }
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

/* Hero section - animação imediata ao carregar */
.hero-section .fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-section .fade-in-up:nth-of-type(1) {
    animation-delay: 0.2s;
}

.hero-section .fade-in-up:nth-of-type(2) {
    animation-delay: 0.4s;
}

.hero-section .fade-in-up:nth-of-type(3) {
    animation-delay: 0.6s;
}

/* Delay escalonado para cards de notícias */
.news article .news-content:nth-child(1) { transition-delay: 0s; }
.news article .news-content:nth-child(2) { transition-delay: 0.15s; }
.news article .news-content:nth-child(3) { transition-delay: 0.3s; }

/* Delay escalonado para cards de serviços semanais */
.weekly-services .container > div:nth-child(1) { transition-delay: 0s; }
.weekly-services .container > div:nth-child(2) { transition-delay: 0.15s; }
.weekly-services .container > div:nth-child(3) { transition-delay: 0.3s; }

/* Delay escalonado para cards de eventos */
.events .container > div:nth-child(1) { transition-delay: 0s; }
.events .container > div:nth-child(2) { transition-delay: 0.1s; }
.events .container > div:nth-child(3) { transition-delay: 0.2s; }
.events .container > div:nth-child(4) { transition-delay: 0.3s; }
.events .container > div:nth-child(5) { transition-delay: 0.4s; }
.events .container > div:nth-child(6) { transition-delay: 0.5s; }

h1 {
    font-size: var(--h1-size);
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-style: normal; 
    font-optical-sizing: auto; 
}

h2 {
    font-size: var(--h2-size);
    font-family: var(--font-montserrat);
    font-weight: 300;
    font-style: normal;
    font-optical-sizing: auto;
}

h3 {
    font-size: var(--h3-size);
    font-family: var(--font-montserrat);
    font-weight: 300;
    font-style: normal;
    font-optical-sizing: auto;
}

p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    font-weight: 300;
}

button {
    font-family: var(--font-montserrat);
}

/* *********** HEADER *********** */
header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    width: 100%;
    font-family: var(--font-montserrat);
    position: relative;
    z-index: 100;
    background-color: #ffffff;
}

header a {
    text-decoration: none;
    font-size: var(--p-mobile);
    transition: 0.5s ease;
}

header .logo img {
    height: auto;
    width: 60px;
    border-radius: 7px;
}

.language-switcher {
    border: 2px solid var(--text-color);
    padding: 10px 0px;
    border-radius: 10px;
    color: var(--text-color);
}

.language-switcher a {
    padding: 0 10px;
    color: var(--text-color);
    transition: color 0.3s ease;
    text-decoration: none;
}

.language-switcher i {
    padding: 0 10px;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.language-switcher {
    position: relative;
}

.language-switcher:hover a,
.language-switcher a:hover {
    color: var(--red-color);
}

.language-switcher:hover .fa-caret-down,
.language-switcher.active .fa-caret-down {
    transform: rotate(180deg);
    color: var(--red-color);
}

.language-switcher .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: #ffffff;
    border: 2px solid var(--text-color);
    border-radius: 10px;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.language-switcher::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1001;
    pointer-events: none;
}

.language-switcher .dropdown-menu li {
    list-style: none;
}

.language-switcher .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-switcher .dropdown-menu a:hover {
    background-color: var(--red-color);
    color: #ffffff;
}

.language-switcher:hover .dropdown-menu,
.language-switcher .dropdown-menu:hover,
.language-switcher.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.navigation-menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
}
.navigation-menu ul {
    display: flex;
    gap: 35px;
}

.navigation-menu li {
    list-style: none;
}

.navigation-menu a {
    color: var(--text-color);
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.navigation-menu a:hover {
    color: var(--red-color);
    font-weight: 500;
    text-decoration: solid;
}

.navigation-menu i {
    color: var(--text-color);
    transition: transform 0.3s ease;
    display: inline-block;
}

.navigation-menu .dropdown {
    position: relative;
}

.navigation-menu .dropdown:hover .fa-caret-down,
.navigation-menu .dropdown.active .fa-caret-down {
    transform: rotate(180deg);
    color: var(--red-color);
}

.navigation-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: #ffffff;
    border: 2px solid var(--text-color);
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.navigation-menu .dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    z-index: 1001;
}

.navigation-menu .dropdown-menu li {
    list-style: none;
}

.navigation-menu .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.navigation-menu .dropdown-menu a:hover {
    background-color: var(--red-color);
    color: #ffffff;
    font-weight: 500;
}

.navigation-menu .dropdown:hover .dropdown-menu,
.navigation-menu .dropdown .dropdown-menu:hover,
.navigation-menu .dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navigation-menu .button button {
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(204, 9, 47, 0.3);
    position: relative;
    overflow: hidden;
}

.navigation-menu .button button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.navigation-menu .button button:hover::before {
    width: 300px;
    height: 300px;
}

.navigation-menu .button button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(204, 9, 47, 0.4);
}

.hamburguer-menu {
    display: none;
}

.hamburguer-menu a,
.hamburguer-menu i {
    color: var(--text-color);
}

.mobile-menu {
    display: none;
}

/* Overlay escuro quando o menu está aberto */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
    display: block;
    opacity: 1;
}

@media (max-width: 1030px) {

    header .logo img {  
        width: 50px;
    }

    .navigation-menu {
        display: none;
    }

    .hamburguer-menu {
        display: block;
        cursor: pointer;
        width: auto;
        height: auto;
        margin: 10px 0;
        z-index: 1001;
        position: relative;
    }

    .bar {
        width: 26px;
        height: 3px;
        border-radius: 15px;    
        background-color: rgba(0, 0, 0, 0.9);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .mobile-menu {
        font-family: var(--font-montserrat);
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background-color: #ffffff;
        z-index: 999;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        padding: 0;
    }

    .mobile-menu.show {
        right: 0;
    }

    .mobile-menu nav {
        width: 100%;
        padding: 80px 20px 30px 20px;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu > nav > ul > li {
        list-style: none;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu > nav > ul > li > a {
        display: block;
        color: var(--text-color);
        text-decoration: none;
        padding: 18px 15px;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        width: 100%;
    }

    .mobile-menu > nav > ul > li > a:hover {
        background-color: rgba(204, 9, 47, 0.1);
        color: var(--red-color);
        padding-left: 20px;
    }

    .mobile-menu .dropdown {
        position: relative;
        width: 100%;
    }

    .mobile-menu .dropdown > .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-menu .dropdown > .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .mobile-menu .dropdown.active > .dropdown-toggle i {
        transform: rotate(180deg);
        color: var(--red-color);
    }

    .mobile-menu .dropdown.active > .dropdown-toggle {
        background-color: rgba(204, 9, 47, 0.1);
        color: var(--red-color);
    }

    .mobile-menu .dropdown-menu {
        display: none;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(204, 9, 47, 0.05);
        border: none;
        border-top: 1px solid rgba(204, 9, 47, 0.2);
        padding: 0;
        margin: 0;
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .mobile-menu .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        padding: 10px 0;
    }

    .mobile-menu .dropdown-menu li {
        list-style: none;
        width: 100%;
    }

    .mobile-menu .dropdown-menu a {
        display: block;
        padding: 15px 30px;
        color: var(--text-color);
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 400;
        font-size: 1rem;
        width: 100%;
    }

    .mobile-menu .dropdown-menu a:hover {
        background-color: var(--red-color);
        color: #ffffff;
        font-weight: 500;
        padding-left: 40px;
    }

    .mobile-menu .button {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .mobile-menu .button a {
        width: 100%;
        display: block;
    }

    .mobile-menu .button button {
        width: 100%;
        padding: 15px 20px;
        border-radius: 8px;
        border: none;
        color: #ffffff;
        background: linear-gradient(135deg, var(--red-color), #a00624);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(204, 9, 47, 0.3);
        font-size: 1rem;
    }

    .mobile-menu .button button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(204, 9, 47, 0.4);
    }

    .change-to-X .bar#bar1 {
        transform: translateY(9px) rotateZ(-45deg);
    }

    .change-to-X .bar#bar2 {
        opacity: 0;
    }

    .change-to-X .bar#bar3 {
        transform: translateY(-9px) rotateZ(45deg); 
    }
}

@media (max-width: 400px) {
    header .logo img {
        width: 40px;
    }

    .language-switcher {
        padding: 5px 0px;
        font-size: 0.7rem;
    }
    
    .language-switcher a,
    .language-switcher i {
        padding: 0 5px;
        font-size: 0.8rem;
    }

    .bar {
        width: 20px;
        height: 2px;
    }

    .mobile-menu {
        width: 90%;
    }

    .mobile-menu > nav > ul > li > a {
        font-size: 0.9rem;
        padding: 15px 12px;
    }

    .mobile-menu .dropdown-menu a {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 335px) {

    header .logo img {
        width: 30px;
    }

    header .language-switcher {
        padding: 5px 0px;
        font-size: 0.5rem;
    }

    header .language-switcher a,
    header .language-switcher i {
        padding: 0 5px;
        font-size: 0.6rem;
    
    }

    .hamburguer-menu .bar {
        width: 15px;
        height: 1.5px;
    }
}

/* *********** MAIN *********** */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/assets/img/hero-section-foto.jpg);
    background-position: 70% 2%;
    background-size: cover;
    background-repeat: no-repeat;
    gap: 50px;
    margin-bottom: 40px;
}

.hero-section h1,
.hero-section p {
    color: #ffffff;
    text-align: center;
    padding: 0 2rem;
}

.hero-section h1 {
    font-weight: 500;
}

.hero-section p {
    font-size: 1.6rem;
    font-family: var(--font-lato);
    color: #ffffff;
    max-width: 800px;
    text-align: center;
}

.hero-section .button {
    display: flex;
    gap: 20px;
    padding: 0 2rem;
}

.hero-section .button button {
    padding: 15px 50px;
    border: none;
    font-weight: 800;
    cursor: pointer;
}

.hero-section .button .button1 {
    color: #ffffff;
    background-color: var(--red-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(204, 9, 47, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-section .button .button1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-section .button .button1:hover::before {
    width: 300px;
    height: 300px;
}

.hero-section .button .button1:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(204, 9, 47, 0.4);
}

.hero-section .button .button2 {
    color: #000000;
    background-color: var(--yellow-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 203, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-section .button .button2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-section .button .button2:hover::before {
    width: 300px;
    height: 300px;
}

.hero-section .button .button2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 203, 0, 0.4);
}

@media (max-width: 580px) {
    .hero-section h1 {
        font-size: 2.3rem;
        padding: 0 1rem;
        text-align: center;
    }

    .hero-section p {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 2rem;
    }

    .hero-section .button {
        flex-direction: column;
        width: 90%;
    }

    .hero-section .button *{
        width: 100%;
    } 
}

@media (max-width: 335px) {
    .hero-section h1 {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    .hero-section p {
        font-size: 0.7rem;
        padding: 0 0.5rem;
    }

    .hero-section .button {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

    .hero-section .button *{
        width: 100%;
        font-size: 0.6rem;
    }


}

/* Notícias */
.news {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px 0;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.news > h2 {
    font-weight: 900;
    text-align: center;
    margin-top: 20px;
    font-size: var(--h2-size);
    color: var(--primary-color);
}

.news > p {
    margin: 0 20px;
    text-align: center;
    font-size: var(--p-size);
    color: var(--text-color);
    max-width: 800px;
}

.news article {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 20px;
}

.news .news-content {
    display: flex;
    flex-direction: column;
    height: 550px;
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    border-top: 4px solid var(--red-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 0;
    justify-content: space-between;
    transition: all 0.3s ease;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.news .news-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red-color), var(--yellow-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.news .news-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news .news-content:hover::before {
    transform: scaleX(1);
}

.news .news-content p.date {
    color: var(--primary-color);
    font-weight: 400;
}

.news .news-content p {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.6;
    color: var(--text-color);
}

.news .news-content h3 {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 15px 0;
}

.news .news-content a {
    font-family: var(--font-lato);
    text-decoration: none;
    color: var(--red-color);
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news .news-content a i {
    transition: transform 0.3s ease;
}

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

.news .news-content a:hover i {
    transform: translateX(5px);
}

.all-content-button {
    border: 2px solid var(--red-color);
    color: var(--red-color);
    padding: 18px 40px;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: var(--p-size);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(204, 9, 47, 0.1);
}

.all-content-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.all-content-button:hover::before {
    left: 100%;
}

.all-content-button:hover {
    background-color: var(--red-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(204, 9, 47, 0.3);
}

.all-content-button a {
    text-decoration: none;
    color: var(--red-color);
}

.all-content-button a:hover {
    color: #ffffff;
}

@media(max-width: 400px) {
    .news > h2 {
        margin: 0 10px;
    }

    .news .news-content {
        align-items: flex-start;
    }

    .news .news-content > p {
        text-align: left;
        margin: 0;
    }
}

/* Página de Notícias - Hero Section */
.news-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px 60px;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.news-hero h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.news-hero p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    font-weight: 300;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 580px) {
    .news-hero {
        padding: 60px 20px 40px;
        min-height: 40vh;
    }

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

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

/* Página de Notícias - Seção Principal */
.news-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background-color: var(--background-color);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.news-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-container > h2 {
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    font-size: var(--h2-size);
    color: var(--primary-color);
}

.news-subtitle {
    text-align: center;
    font-size: var(--p-size);
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 800px;
}

/* Grid de Notícias */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 30px;
}

/* Cards de Notícias */
.news-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    border-top: 4px solid var(--red-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 35px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    justify-content: space-between;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red-color), var(--yellow-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-date {
    color: var(--primary-color);
    font-family: var(--font-lato);
    font-size: 0.95rem;
    font-weight: 600;
}

.news-category {
    background: linear-gradient(135deg, var(--red-color), #a00624);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-family: var(--font-montserrat);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0 0 20px 0;
    font-family: var(--font-montserrat);
}

.news-card p {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.news-link {
    font-family: var(--font-lato);
    text-decoration: none;
    color: var(--red-color);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.news-link i {
    transition: transform 0.3s ease;
}

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

.news-link:hover i {
    transform: translateX(5px);
}

/* Responsividade para Grid de Notícias */
@media (max-width: 1280px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 40px 15px;
    }

    .news-container > h2 {
        font-size: 2rem;
    }

    .news-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-card {
        padding: 30px;
        min-height: auto;
    }

    .news-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 50px 15px 30px;
    }

    .news-hero h1 {
        font-size: 2rem;
    }

    .news-section {
        padding: 30px 10px;
    }

    .news-container > h2 {
        font-size: 1.75rem;
    }

    .news-card {
        padding: 25px;
    }

    .news-card h3 {
        font-size: 1.3rem;
    }

    .news-card p {
        font-size: 1rem;
    }

    .news-link {
        font-size: 1rem;
    }
}

/* O que fazemos */
.what-we-do {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.what-we-do .first-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.what-we-do .title {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
}

.what-we-do h2 {
    color: var(--primary-color);
    font-weight: 900;
    margin: 20px 0;
    font-size: var(--h2-size);
    text-align: left;
}

.what-we-do hr {
    width: 100px;
    height: 2px;
    border: 2px solid var(--red-color);
}

.what-we-do .container {
    display: flex; 
    justify-content: space-between;
    gap: 10px;
}

.what-we-do .text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    max-width: 550px;
}

.what-we-do .text > p {
    font-size: var(--p-size);
    font-family: var(--font-montserrat);
    font-weight: 400;
    line-height: 1.8;
    margin: 15px 0;
    color: var(--text-color);
}

.what-we-do .quote {
    border-left: 2px solid var(--yellow-color);
}

.what-we-do .quote > p {
    color: var(--yellow-color);
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 400;
    padding-left: 10px;
}

.what-we-do button {
    border: none;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    padding: 18px 35px;
    border-radius: 100px;
    width: 200px;
    margin: 10px 0;
    cursor: pointer;
    font-size: var(--p-size);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(9, 51, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.what-we-do button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.what-we-do button:hover::after {
    width: 300px;
    height: 300px;
}

.what-we-do button:hover {
    background: linear-gradient(135deg, #00183b, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(9, 51, 114, 0.4);
}

.what-we-do .img {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.what-we-do .img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

@media(max-width: 1230px) {
    .what-we-do {
        overflow: hidden;
    }

    .what-we-do .first-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }

    .what-we-do .title {
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
    }

    .what-we-do h2 {
        text-align: center;
    }

    .what-we-do hr {
        margin-bottom: 10px;
    }
    
    .what-we-do .container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .what-we-do .img {
        width: 100%;
        order: -1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .what-we-do .img img {
        width: 100%;
        max-width: 900px;
        padding: 0 25px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .what-we-do .text {
        max-width: 950px;
        padding: 0 25px;
        width: 100%;
        order: 1;
        gap: 20px;
        margin: 20px 0;
    }

    .what-we-do button {
        width: 100%;
        max-width: 300px;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .what-we-do .text {
        padding: 0 15px;
    }

    .what-we-do .img img {
        padding: 0 15px;
    }
}

/* Serviços Semanais */
.weekly-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.weekly-services h2 {
    font-weight: 900;
    margin: 20px 10px;
    text-align: center;
    font-size: var(--h2-size);
    color: var(--primary-color);
}

.weekly-services p {
    margin: 10px 20px 40px 20px;
    text-align: center;
    font-size: var(--p-size);
    color: var(--text-color);
    max-width: 800px;
}

.weekly-services .container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.weekly-services .container > div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    min-height: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.weekly-services .container > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--red-color), var(--yellow-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.weekly-services .container > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.weekly-services .container > div:hover::before {
    transform: scaleX(1);
}

.weekly-services .container > div i {
    color: var(--red-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.weekly-services .container > div:hover i {
    transform: scale(1.1) rotate(5deg);
}

.weekly-services h3 {
    color: var(--red-color);
    font-weight: 600;
    font-size: var(--h3-size);
    line-height: 1.4;
    margin: 15px 0;
}

.weekly-services .container > div p {
    font-size: var(--p-size);
    line-height: 1.6;
    color: var(--text-color);
}

.weekly-services button {
    margin-top: 30px;
}

@media (max-width: 1280px) {
    .weekly-services .container {
        flex-wrap: wrap;
        gap: 25px;
    }

    .weekly-services .container > div {
        width: 100%;
        max-width: 650px;
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .weekly-services .container > div {
        margin: 0 15px;
        padding: 30px;
    }
}

/* Eventos */
.events {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.events h2 {
    font-weight: 900;
    margin: 20px 10px;
    text-align: center;
    font-size: var(--h2-size);
    color: var(--primary-color);
}

.events p {
    margin: 10px 20px 40px 20px;
    text-align: center;
    font-size: var(--p-size);
    color: var(--text-color);
    max-width: 800px;
}

.events .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.events .container > div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    min-height: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border-left: 5px solid var(--yellow-color);
    background-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.events .container > div::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--yellow-color), var(--red-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.events .container > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.events .container > div:hover::after {
    transform: scaleY(1);
}

.events .container > div h3 {
    font-size: var(--h3-size);
    line-height: 1.4;
    margin: 15px 0;
}

.events .container > div p {
    font-size: var(--p-size);
    line-height: 1.6;
    color: var(--text-color);
}


.events button {
    margin-top: 30px;
}

@media (max-width: 1280px) {
    .events .container {
        flex-wrap: wrap;
        gap: 25px;
    }

    .events .container > div {
        width: 100%;
        max-width: 650px;
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .events .container > div {
        margin: 0 15px;
        padding: 30px;
    }
}

/* Nossa Missão */
.our-mission {
    background: linear-gradient(135deg, var(--red-color), #a00624);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: #ffffff;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.our-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.our-mission h2 {
    font-weight: 900;
    position: relative;
    z-index: 1;
    font-size: var(--h2-size);
}

.our-mission p {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    font-size: var(--p-size);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.our-mission button {
    background-color: #ffffff;
    color: var(--red-color);
    font-weight: 800;
    font-size: var(--p-size);
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.our-mission button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--yellow-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.our-mission button:hover::before {
    left: 0;
}

.our-mission button:hover {
    background-color: var(--yellow-color);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

@media(max-width: 500px) {
    .our-mission {
        padding: 40px 15px;
    }

    .our-mission p {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    color: #ffffff;
    font-family: var(--font-montserrat);
    padding: 60px 0 0;
    margin-top: 0;
}

footer .first-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 0 40px 40px;
}

footer .logo.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .logo img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

footer .logo.container p {
    font-family: var(--font-lato);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0b0b0;
    font-weight: 300;
    max-width: 280px;
    margin: 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .container h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red-color);
    width: fit-content;
}

footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .container li {
    list-style: none;
}

footer .container a {
    text-decoration: none;
    color: #b0b0b0;
    font-family: var(--font-lato);
    font-size: 0.95rem;
    font-weight: 300;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

footer .container a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--yellow-color);
    transition: width 0.3s ease;
}

footer .container a:hover {
    color: var(--yellow-color);
    padding-left: 8px;
}

footer .container a:hover::before {
    width: 4px;
}

.copy {
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 40px;
    margin-top: 20px;
}

.copy p {
    text-align: center;
    color: #888888;
    font-size: 0.9rem;
    font-family: var(--font-lato);
    font-weight: 300;
    margin: 0;
}

.copy .developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #888888;
}

.copy .developer-link {
    color: var(--red-color);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.copy .developer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Partners Section */
.partners-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red-color);
    width: fit-content;
    font-family: var(--font-montserrat);
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.partner-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.partner-logo:hover {
    filter: brightness(1);
    transform: scale(1.05);
}

/* Responsividade Footer */
@media (max-width: 1024px) {
    footer .first-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
        padding: 0 30px 40px;
    }

    footer .logo.container {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    footer .logo.container p {
        max-width: 100%;
    }

    .partners-section {
        padding: 35px 30px 20px;
    }

    .partners-section h2 {
        font-size: 1.2rem;
    }

    .partner-logo {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 0;
    }

    footer .first-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 25px 35px;
    }

    footer .logo.container {
        grid-column: 1;
        align-items: center;
        text-align: center;
    }

    footer .logo img {
        width: 100px;
    }

    footer .logo.container p {
        text-align: center;
        max-width: 100%;
    }

    footer .container {
        align-items: center;
        text-align: center;
    }

    footer .container h2 {
        margin: 0 auto;
    }

    footer ul {
        align-items: center;
    }

    footer .container a {
        text-align: center;
    }

    .copy {
        padding: 20px 25px;
    }

    .copy p {
        font-size: 0.85rem;
    }

    .copy .developer-credit {
        font-size: 0.8rem;
    }

    .partners-section {
        padding: 30px 25px 20px;
    }

    .partners-section h2 {
        font-size: 1.1rem;
        margin: 0 auto 20px;
        text-align: center;
        width: fit-content;
    }

    .partners-container {
        justify-content: center;
        gap: 25px;
    }

    .partner-logo {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 0;
    }

    footer .first-container {
        padding: 0 20px 30px;
        gap: 30px;
    }

    footer .logo img {
        width: 80px;
    }

    footer .container h2 {
        font-size: 1.1rem;
    }

    footer .container a {
        font-size: 0.9rem;
    }

    .copy {
        padding: 18px 20px;
    }

    .copy p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .copy .developer-credit {
        font-size: 0.75rem;
        margin-top: 8px;
    }

    .partners-section {
        padding: 25px 20px 15px;
    }

    .partners-section h2 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .partners-container {
        gap: 20px;
    }

    .partner-logo {
        max-width: 180px;
    }
}

/* *********** PÁGINA NOSSA HISTÓRIA *********** */

/* Hero Section da História */
.history-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px 60px;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.history-hero h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.history-hero p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    font-weight: 300;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 580px) {
    .history-hero {
        padding: 60px 20px 40px;
        min-height: 40vh;
    }

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

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

/* Timeline Section */
.history-timeline {
    padding: 80px 20px;
    background-color: var(--background-color);
    position: relative;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--red-color), var(--yellow-color), var(--primary-color));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(204, 9, 47, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(204, 9, 47, 0.4);
}

.timeline-content {
    flex: 1;
    margin-left: 50px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--red-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.timeline-content h2 {
    font-size: var(--h2-size);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-family: var(--font-montserrat);
}

.timeline-content p {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 0 15px 0;
}

.timeline-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid rgba(204, 9, 47, 0.1);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.highlight-item i {
    color: var(--red-color);
    font-size: 1.2rem;
}

.highlight-item span {
    font-family: var(--font-lato);
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 400;
}

@media (max-width: 768px) {
    .history-timeline {
        padding: 60px 15px;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .timeline-marker {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .timeline-content {
        margin-left: 0;
        padding: 30px;
    }

    .timeline-content:hover {
        transform: translateY(-5px);
    }

    .timeline-highlights {
        flex-direction: column;
        gap: 15px;
    }

    .highlight-item {
        min-width: 100%;
    }
}

/* History Content Section */
.history-content {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.history-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.history-text-wrapper {
    background-color: #ffffff;
    padding: 60px 50px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    border-left: 5px solid var(--red-color);
}

.history-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5rem;
    margin: 0 auto 40px;
    box-shadow: 0 4px 20px rgba(204, 9, 47, 0.3);
}

.history-text {
    text-align: center;
}

.history-text p {
    font-family: var(--font-lato);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
    margin: 0 0 25px 0;
}

.history-text p:last-child {
    margin-bottom: 0;
}

.history-team-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.history-team-photo-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: var(--background-color);
}

.history-team-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.history-team-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.history-team-photo-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .history-team-photos {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .history-content {
        padding: 60px 15px;
    }

    .history-text-wrapper {
        padding: 40px 25px;
    }

    .history-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .history-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .history-team-photos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .history-team-photos {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
}

/* Official Documents Section */
.history-docs {
    padding: 80px 20px;
    background-color: #ffffff;
}

.history-docs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.history-docs-header {
    text-align: center;
    margin-bottom: 40px;
}

.history-docs-header h2 {
    font-size: var(--h2-size);
    color: var(--primary-color);
    margin-bottom: 12px;
}

.history-docs-header p {
    font-family: var(--font-lato);
    font-size: 1.02rem;
    color: var(--text-color);
    max-width: 720px;
    margin: 0 auto;
}

.history-docs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.history-doc-card {
    background-color: var(--background-color);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    border-top: 4px solid var(--primary-color);
}

.history-doc-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(204, 9, 47, 0.35);
}

.history-doc-card h3 {
    font-size: 1.05rem;
    font-family: var(--font-montserrat);
    font-weight: 600;
    color: var(--primary-color);
}

.history-doc-card p {
    font-family: var(--font-lato);
    font-size: 0.96rem;
    color: var(--text-color);
    line-height: 1.7;
}

.history-doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.history-doc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-family: var(--font-montserrat);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.history-doc-button.primary {
    background-color: var(--red-color);
    border-color: var(--red-color);
    color: #ffffff;
}

.history-doc-button.secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.history-doc-button.primary:hover {
    background-color: #ffffff;
    color: var(--red-color);
}

.history-doc-button.secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .history-docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .history-docs {
        padding: 60px 16px;
    }

    .history-docs-grid {
        grid-template-columns: 1fr;
    }
}
/* Founder Section */
.history-founder {
    padding: 60px 20px 80px;
    background-color: var(--background-color);
}

.history-founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.history-founder-image {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
}

.history-founder-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.history-founder-text {
    flex: 1 1 360px;
}

.history-founder-text h2 {
    font-size: var(--h2-size);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.history-founder-text p {
    font-family: var(--font-lato);
    font-size: 1.03rem;
    line-height: 1.85;
    color: var(--text-color);
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .history-founder {
        padding: 40px 15px 60px;
    }

    .history-founder-container {
        flex-direction: column;
        gap: 30px;
    }

    .history-founder-text h2 {
        text-align: center;
    }
}

/* Mission, Vision and Values Section */
.mission-vision-values {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(9, 51, 114, 0.03), rgba(204, 9, 47, 0.03));
}

.mvv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mvv-card {
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
    border-top: 5px solid;
}

.mission-card {
    border-top-color: var(--red-color);
}

.vision-card {
    border-top-color: var(--primary-color);
}

.values-card {
    border-top-color: var(--yellow-color);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5rem;
    margin: 0 auto 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mission-card .mvv-icon {
    background: linear-gradient(135deg, var(--red-color), #a00624);
}

.vision-card .mvv-icon {
    background: linear-gradient(135deg, var(--primary-color), #00183b);
}

.values-card .mvv-icon {
    background: linear-gradient(135deg, var(--yellow-color), #d4a017);
}

.mvv-card h2 {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: var(--font-montserrat);
}

.mvv-main-text {
    font-family: var(--font-lato);
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 0;
    font-weight: 500;
}

.objectives-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(204, 9, 47, 0.1);
}

.objectives-section h3 {
    font-family: var(--font-montserrat);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.objectives-intro {
    font-family: var(--font-lato);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    font-family: var(--font-lato);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.objectives-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--red-color);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
}

.objectives-list li:last-child {
    margin-bottom: 0;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(9, 51, 114, 0.05), rgba(204, 9, 47, 0.05));
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(9, 51, 114, 0.1), rgba(204, 9, 47, 0.1));
}

.value-item i {
    color: var(--red-color);
    font-size: 1.5rem;
}

.value-item span {
    font-family: var(--font-montserrat);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mission-vision-values {
        padding: 60px 15px;
    }

    .mvv-container {
        gap: 30px;
    }

    .mvv-card {
        padding: 35px 25px;
    }

    .mvv-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .mvv-card h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .mvv-main-text {
        font-size: 1.05rem;
    }

    .objectives-section {
        margin-top: 30px;
        padding-top: 30px;
    }

    .objectives-section h3 {
        font-size: 1.3rem;
    }

    .objectives-list li {
        font-size: 0.95rem;
        padding-left: 25px;
    }

    .values-list {
        flex-direction: column;
        gap: 20px;
    }

    .value-item {
        min-width: 100%;
        padding: 18px 25px;
    }
}

/* Values Section */
.history-values {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(9, 51, 114, 0.05), rgba(204, 9, 47, 0.05));
}

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

.values-container > h2 {
    text-align: center;
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.values-intro {
    text-align: center;
    font-size: var(--p-size);
    font-family: var(--font-lato);
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--yellow-color);
    animation: fadeInUp 0.8s ease-out;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--red-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--yellow-color), #ffd700);
    color: var(--primary-color);
}

.value-card h3 {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-family: var(--font-montserrat);
}

.value-card p {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

@media (max-width: 768px) {
    .history-values {
        padding: 60px 15px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .value-card {
        padding: 30px;
    }
}

/* Call to Action Section */
.history-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    text-align: center;
    color: #ffffff;
}

.history-cta h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.history-cta p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary,
.cta-button-secondary {
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: var(--p-size);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button-primary {
    background-color: #ffffff;
    color: var(--red-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-primary:hover {
    background-color: var(--yellow-color);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.cta-button-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.cta-button-secondary:hover {
    background-color: #ffffff;
    color: var(--red-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .history-cta {
        padding: 60px 15px;
    }

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

    .history-cta p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* *********** PÁGINA NOSSO TIME *********** */

/* Hero Section do Time */
.team-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px 60px;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.team-hero h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.team-hero p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    font-weight: 300;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 580px) {
    .team-hero {
        padding: 60px 20px 40px;
        min-height: 40vh;
    }

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

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

/* Team Introduction */
.team-intro {
    padding: 60px 20px;
    background-color: var(--background-color);
}

.team-intro-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.team-intro-container h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-intro-container p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.team-section-alt {
    background: linear-gradient(135deg, rgba(9, 51, 114, 0.03), rgba(204, 9, 47, 0.03));
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-section-title {
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.team-section-description {
    font-family: var(--font-lato);
    font-size: 1.05rem;
    color: var(--text-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-family: var(--font-montserrat);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

/* Team Card */
.team-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
}

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

.team-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--red-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-family: var(--font-montserrat);
}

.team-role {
    font-family: var(--font-montserrat);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--red-color);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(204, 9, 47, 0.1);
}

.team-description {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.team-contact {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.team-contact a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.team-contact a:hover {
    background: linear-gradient(135deg, var(--yellow-color), #ffd700);
    color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

/* Team CTA */
.team-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    text-align: center;
    color: #ffffff;
}

.team-cta h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.team-cta p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Responsividade */
@media (max-width: 1280px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .team-intro {
        padding: 40px 15px;
    }

    .team-section {
        padding: 60px 15px;
    }

    .team-section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-photo {
        height: 250px;
    }

    .team-info {
        padding: 25px;
    }

    .team-cta {
        padding: 60px 15px;
    }

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

    .team-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 50px 15px 30px;
    }

    .team-hero h1 {
        font-size: 2rem;
    }

    .team-grid {
        gap: 25px;
    }

    .team-photo {
        height: 220px;
    }

    .team-info {
        padding: 20px;
    }

    .team-info h3 {
        font-size: 1.5rem;
    }

    .team-role {
        font-size: 1rem;
    }

    .team-description {
        font-size: 1rem;
    }
}

/* *********** PÁGINA EVENTOS *********** */

/* Hero Section dos Eventos */
.events-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px 60px;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.events-hero h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.events-hero p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    font-weight: 300;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 580px) {
    .events-hero {
        padding: 60px 20px 40px;
        min-height: 40vh;
    }

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

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

/* Events Introduction */
.events-intro {
    padding: 60px 20px;
    background-color: var(--background-color);
}

.events-intro-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.events-intro-container h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.events-intro-container p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto;
}

/* Events Section */
.events-section {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.events-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.events-group-header {
    text-align: center;
}

.events-group-header h2 {
    font-size: var(--h2-size);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.events-group-header p {
    font-family: var(--font-lato);
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Event Card */
.event-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

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

.event-header {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(9, 51, 114, 0.05), rgba(204, 9, 47, 0.05));
    border-bottom: 3px solid var(--red-color);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 20px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    border-radius: 12px;
    color: #ffffff;
    text-align: center;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-montserrat);
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-montserrat);
    text-transform: uppercase;
    margin-top: 5px;
}

.event-year {
    font-size: 0.9rem;
    font-weight: 400;
    font-family: var(--font-lato);
    margin-top: 5px;
}

.event-title-section {
    flex: 1;
}

.event-title-section h2 {
    font-size: var(--h2-size);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-family: var(--font-montserrat);
}

.event-location {
    font-family: var(--font-lato);
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i {
    color: var(--red-color);
}

.event-content {
    padding: 40px;
}

.event-description {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 0 20px 0;
}

.event-description:last-child {
    margin-bottom: 0;
}

.event-link {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(204, 9, 47, 0.1);
}

.event-content-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-montserrat);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.event-content-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 51, 114, 0.3);
}

.event-content-link i {
    font-size: 0.9rem;
}

/* Event Gallery */
.event-gallery {
    padding: 30px 40px 40px;
    margin-top: 20px;
    border-top: 2px solid rgba(204, 9, 47, 0.1);
}

.event-gallery h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 25px 0;
    font-family: var(--font-montserrat);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #ffffff;
    font-size: 2rem;
}

.gallery-item-hidden {
    display: none;
}

.gallery-load-more-container {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(204, 9, 47, 0.1);
}

.gallery-load-more-btn {
    font-family: var(--font-montserrat);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 12px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-load-more-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 51, 114, 0.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    user-select: none;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    color: #ffffff;
    font-family: var(--font-montserrat);
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
}

/* Responsividade */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .events-intro {
        padding: 40px 15px;
    }

    .events-section {
        padding: 60px 15px;
    }

    .events-container {
        gap: 40px;
    }

    .event-header {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }

    .event-date {
        min-width: auto;
        width: 100px;
        margin: 0 auto;
    }

    .event-content {
        padding: 30px;
    }

    .event-gallery {
        padding: 25px 30px 30px;
    }

    .event-gallery h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item {
        height: 150px;
    }

    .gallery-load-more-btn {
        font-size: 1rem;
        padding: 10px 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .events-hero {
        padding: 50px 15px 30px;
    }

    .events-hero h1 {
        font-size: 2rem;
    }

    .event-header {
        padding: 25px;
    }

    .event-title-section h2 {
        font-size: 1.5rem;
    }

    .event-content {
        padding: 25px;
    }

    .event-description {
        font-size: 1rem;
    }

    .event-gallery {
        padding: 20px 25px 25px;
    }

    .event-gallery h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        height: 120px;
    }

    .gallery-load-more-container {
        margin-top: 20px;
        padding-top: 15px;
    }

    .gallery-load-more-btn {
        font-size: 0.95rem;
        padding: 10px 20px;
        width: 100%;
        max-width: 300px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}


/* *********** PÁGINA CONTATO *********** */

/* Hero Section do Contato */
.contact-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px 60px;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.contact-hero h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.contact-hero p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    font-weight: 300;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 580px) {
    .contact-hero {
        padding: 60px 20px 40px;
        min-height: 40vh;
    }

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

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

/* Contact Info Section */
.contact-info-section {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-container > h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.contact-intro {
    text-align: center;
    font-size: var(--p-size);
    font-family: var(--font-lato);
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--red-color);
    animation: fadeInUp 0.8s ease-out;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--yellow-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--yellow-color), #ffd700);
    color: var(--primary-color);
}

.contact-info-card h3 {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-family: var(--font-montserrat);
}

.contact-info-card p {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

.contact-info-card p:last-of-type {
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--red-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-info-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-note {
    font-size: 0.95rem;
    color: var(--text-color);
    font-style: italic;
    margin-top: 10px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(9, 51, 114, 0.03), rgba(204, 9, 47, 0.03));
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.form-header p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    color: var(--text-color);
    line-height: 1.6;
}

.contact-form {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-montserrat);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: var(--font-lato);
    font-size: var(--p-size);
    color: var(--text-color);
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-color);
    box-shadow: 0 0 0 3px rgba(204, 9, 47, 0.1);
}

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

.form-checkbox {
    margin-top: 30px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-lato);
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--red-color);
}

.form-submit {
    margin-top: 40px;
    text-align: center;
}

.submit-button {
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-montserrat);
    font-size: var(--p-size);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(204, 9, 47, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #a00624, var(--red-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(204, 9, 47, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-lato);
    font-size: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    margin-right: 8px;
}

/* Contact Additional Section */
.contact-additional {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.contact-additional-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-additional-container > h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
}

.additional-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.additional-info-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--yellow-color);
}

.additional-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--red-color);
}

.additional-info-card i {
    font-size: 3rem;
    color: var(--red-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.additional-info-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.additional-info-card h3 {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-family: var(--font-montserrat);
}

.additional-info-card p {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 20px 0;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red-color);
    text-decoration: none;
    font-family: var(--font-montserrat);
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

.info-link i {
    transition: transform 0.3s ease;
}

.info-link:hover i {
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 60px 15px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form-section {
        padding: 60px 15px;
    }

    .contact-form {
        padding: 35px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-additional {
        padding: 60px 15px;
    }

    .additional-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 50px 15px 30px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 25px;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .submit-button {
        width: 100%;
        justify-content: center;
    }
}

/* *********** PÁGINA SERVIÇOS *********** */

/* Hero Section dos Serviços */
.services-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), #00183b);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px 60px;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.services-hero h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.services-hero p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    font-weight: 300;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 580px) {
    .services-hero {
        padding: 60px 20px 40px;
        min-height: 40vh;
    }

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

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

/* Services Introduction */
.services-intro {
    padding: 60px 20px;
    background-color: var(--background-color);
}

.services-intro-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.services-intro-container h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-intro-container p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 15px;
}

.services-intro-container p:last-child {
    margin-bottom: 0;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

/* Service Card */
.service-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--red-color);
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--yellow-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--yellow-color), #ffd700);
    color: var(--primary-color);
}

.service-card h3 {
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    text-align: center;
    font-family: var(--font-montserrat);
}

.service-card > p {
    font-family: var(--font-lato);
    font-size: var(--p-size);
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 0 25px 0;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.service-features li {
    font-family: var(--font-lato);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-features li i {
    color: var(--red-color);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.service-contact {
    margin-top: auto;
    padding-top: 25px;
    border-top: 2px solid rgba(204, 9, 47, 0.1);
}

.service-contact p {
    font-family: var(--font-lato);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 15px 0;
}

.service-contact p:last-child {
    margin-bottom: 0;
}

.service-gallery {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 2px solid rgba(204, 9, 47, 0.1);
    border-bottom: 2px solid rgba(204, 9, 47, 0.1);
}

/* Fan Effect - Fotos sobrepostas como leque */
.service-gallery-fan {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 20px auto;
    cursor: pointer;
    perspective: 1000px;
}

.service-gallery-fan .fan-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center bottom;
    transform: 
        translateX(calc(var(--index) * 8px - 12px))
        translateY(calc(var(--index) * -3px))
        rotate(calc(var(--index) * -2deg));
    z-index: calc(4 - var(--index));
}

.service-gallery-fan:hover .fan-item {
    transform: 
        translateX(calc(var(--index) * 15px - 22.5px))
        translateY(calc(var(--index) * -5px))
        rotate(calc(var(--index) * -3deg))
        scale(1.02);
}

.service-gallery-fan .fan-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.service-gallery-fan .fan-item img[loading="lazy"]:not(.loaded) {
    opacity: 0.3;
    filter: blur(2px);
}

.service-gallery-fan .fan-item img.loaded {
    opacity: 1;
    filter: blur(0);
}

.service-gallery-fan:hover .fan-item:first-child {
    z-index: 10;
}

/* Service Lightbox Modal */
.service-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    transition: opacity 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.service-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.service-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.service-lightbox-prev,
.service-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    user-select: none;
}

.service-lightbox-prev {
    left: 30px;
}

.service-lightbox-next {
    right: 30px;
}

.service-lightbox-prev:hover,
.service-lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.service-lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1.2rem;
    font-family: var(--font-montserrat);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 10001;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red-color);
    text-decoration: none;
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.service-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Services CTA */
.services-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--red-color), #a00624);
    text-align: center;
    color: #ffffff;
}

.services-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.services-cta-container h2 {
    font-size: var(--h2-size);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.services-cta-container p {
    font-size: var(--p-size);
    font-family: var(--font-lato);
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Responsividade */
@media (max-width: 1280px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-intro {
        padding: 40px 15px;
    }

    .services-section {
        padding: 60px 15px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 35px;
    }

    .services-cta {
        padding: 60px 15px;
    }

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

    .services-cta-container p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 50px 15px 30px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card > p {
        font-size: 1rem;
    }

    .service-features li {
        font-size: 0.95rem;
    }

    .service-gallery-fan {
        height: 180px;
    }

    .service-lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .service-lightbox-prev,
    .service-lightbox-next {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .service-lightbox-prev {
        left: 15px;
    }

    .service-lightbox-next {
        right: 15px;
    }

    .service-lightbox-content img {
        max-height: 75vh;
    }

    .service-lightbox-counter {
        bottom: 15px;
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* =============================================
   Estilos para imagens nas notícias
   ============================================= */

/* Imagem de capa principal */
.news-detail-cover {
    margin: 25px 0 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.news-detail-cover img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Imagens inline no conteúdo */
.news-detail-image {
    margin: 30px 0;
    text-align: center;
}

.news-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.news-detail-image figcaption,
.news-detail-image + p em:first-child {
    display: block;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

/* Imagem de destaque no início da notícia */
.news-detail-body > .news-detail-image:first-child {
    margin-top: 0;
}

.news-detail-body > .news-detail-image:first-child img {
    border-radius: 12px;
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

/* Estilos para subtítulos no conteúdo */
.news-detail-body h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-family: var(--font-montserrat);
    font-weight: 700;
}

.news-detail-body h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin: 25px 0 12px;
    font-family: var(--font-montserrat);
    font-weight: 600;
}

/* Listas no conteúdo */
.news-detail-body ul,
.news-detail-body ol {
    margin: 20px 0;
    padding-left: 25px;
}

.news-detail-body li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-family: var(--font-lato);
}

/* Links no conteúdo */
.news-detail-body a {
    color: var(--red-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.news-detail-body a:hover {
    border-bottom-color: var(--red-color);
}

/* Blockquotes */
.news-detail-body blockquote {
    border-left: 4px solid var(--red-color);
    margin: 25px 0;
    padding: 15px 20px;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
}

/* Responsividade para imagens */
@media (max-width: 768px) {
    .news-detail-image {
        margin: 20px -15px;
    }
    
    .news-detail-image img {
        border-radius: 0;
    }
    
    .news-detail-body > .news-detail-image:first-child img {
        border-radius: 0;
        max-height: 300px;
    }
}