
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Header */
/* header {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    
}


.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 82px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(0deg) scale(1.1);
}

.logo-icon::before {
    content: "📚";
    font-size: 20px;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1002;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
} 

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
}
.nav-menu.active li:nth-child(2) {
    transition-delay: 0.2s;
}
.nav-menu.active li:nth-child(3) {
    transition-delay: 0.3s;
}
.nav-menu.active li:nth-child(4) {
    transition-delay: 0.4s;
}
.nav-menu.active li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu li a:hover {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.mobile-menu {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.mobile-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.mobile-menu.active {
    color: #e53e3e;
    transform: translateY(-50%) rotate(90deg);
}

*/



/* Menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(2px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero_formacao {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem 4rem;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-content-formacao {
    text-align: center;
    max-width: 1000px;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #e53e3e, #c53030);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #e53e3e, #c53030);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* Polaroid Gallery */
.polaroid-gallery {
    width: 100%;
    max-width: 1200px;
    height: 300px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.polaroid-container {
    display: flex;
    animation: slideLeft 15s linear infinite;
    gap: 2rem;
}

.polaroid {
    flex: 0 0 auto;
    width: 280px;
    height: 260px;
    background: white;
    padding: 15px 15px 60px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(var(--rotation));
    transition: all 0.3s ease;
    border-radius: 5px;
    cursor: pointer;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.polaroid:nth-child(1) {
    --rotation: -5deg;
}

.polaroid:nth-child(2) {
    --rotation: 3deg;
}

.polaroid:nth-child(3) {
    --rotation: -2deg;
}

.polaroid:nth-child(4) {
    --rotation: 4deg;
}

.polaroid:nth-child(5) {
    --rotation: -3deg;
}

.polaroid:nth-child(6) {
    --rotation: 2deg;
}

.polaroid-image {
    width: 100%;
    height: 198px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.polaroid-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.polaroid-caption {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.polaroid-caption1 {
    width: 20%;
}

/* Heart icon */
.polaroid::after {
    content: "♥";
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #e53e3e;
    font-size: 1.2rem;
}


@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Catalog Section */
.catalog-section {
    background: #f8f9fa;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.catalog-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(229, 62, 62, 0.02) 50%, transparent 51%);
    animation: slidePattern 8s linear infinite;
}

.catalog-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.catalog-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: #e53e3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.2);
    animation: floatIcon 4s ease-in-out infinite;
    transition: all 0.4s ease;
}

.catalog-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(229, 62, 62, 0.3);
}

.catalog-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e53e3e, #c53030);
    border-radius: 50%;
    animation: rotateGradient 6s linear infinite;
}

.catalog-icon-inner {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}



.catalog-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #e53e3e, #c53030);
    margin: 0 auto 2rem;
    border-radius: 2px;
    animation: expandDivider 2s ease-in-out infinite alternate;
}

.catalog-button {
    display: inline-block;
    background: transparent;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 1.2rem 2.5rem;
    border: 2px solid #2d3748;
    border-radius: 15px;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: pulseButton 3s ease-in-out infinite;
}

.catalog-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e53e3e, #c53030);
    transition: all 0.4s ease;
    z-index: -1;
}

.catalog-button:hover {
    color: white;
    border-color: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
}

.catalog-button:hover::before {
    left: 0;
}

/* Animations */
@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes expandDivider {
    0% {
        width: 60px;
    }

    100% {
        width: 100px;
    }
}

@keyframes pulseButton {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(229, 62, 62, 0);
    }
}

@keyframes slidePattern {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50px);
    }
}

/* Latest Formations Section */
.latest-formations {
    background: #2d3748;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

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

.formations-header {
    text-align: center;
    margin-bottom: 4rem;
}

.formations-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #e53e3e, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.formations-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    gap: 2rem;
    padding: 0;
}

.main-formation {
    flex: 0 0 60%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-formation:hover {
    transform: scale(1.02);
}

.formation-bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    background-position: center;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.main-formation:hover .formation-bg {
    transform: scale(1.1);
}

.formation-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    z-index: 2;
}

.formation-location {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.formation-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.formation-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.formation-grid {
    flex: 0 0 35%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.formation-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-bg {
    width: 100%;
    height: 100%;
    min-height: 120px;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(229, 62, 62, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(229, 62, 62, 0.4);
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #e53e3e;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(229, 62, 62, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .carousel-slide {
        flex-direction: column;
        gap: 1rem;
    }

    .main-formation {
        flex: 1;
        min-height: 250px;
    }

    .formation-grid {
        flex: 1;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .formation-main-title {
        font-size: 1.8rem;
    }

    .formation-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .formations-carousel {
        height: 600px;
    }

    .formation-grid {
        grid-template-columns: 1fr 1fr;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .carousel-prev {
        left: 1rem;
    }

    .carousel-next {
        right: 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        width: 280px;
    }

    header {
        padding: 1rem;
    }

    .mobile-menu {
        right: 1rem;
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        padding: 0.6rem;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .polaroid-gallery {
        height: 250px;
    }

    .polaroid {
        width: 220px;
        height: 200px;
        padding: 12px 12px 45px 12px;
    }

    .polaroid-image {
        height: 130px;
    }
}




.logo_colecoes {
    width: 35%;
}



.fotografia_img {
    margin-top: 23px;
    width: 13%;
}

.img_slide1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.img_slide4 {
    width: 100%;
    height: 100%;
}



.imgregistros {
    width: 15%;
}