/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #3b004d;
    --secondary-purple: #5a0070;
    --light-purple: #7a1a8f;
    --dark-gray: #2a2a2a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-pink: #e91e63;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h4 {
    font-size: 1.2rem;
}

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

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

/* Botões */
.btn-primary {
    display: inline-block;
    background: var(--accent-pink);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--light-purple);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header Styles */
.header {
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.header-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 0, 77, 0.9) 0%, rgba(90, 0, 112, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.header-pitaco {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 49, 153, 0.9) 30%, rgba(11, 163, 57, 0.85) 70%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.logo-container {
    padding: 20px 0;
    animation: fadeInDown 1s ease-out;
}

#logo-img {
    height: 50px;
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

/* Navigation Styles */
.nav {
    margin-top: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-pink);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Content */
.hero-content {
    text-align: center;
    padding: 80px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Section Titles .*/
/* Section Titles .*/
/* Section Titles .*/
/* Section Titles .*/
/* Section Titles .*/
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 70px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-pink);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-pink);
    border-radius: 2px;
}

/* Campus Sections */
.campus-section {
    padding: 80px 0;
}

.campus-dark {
    background: var(--primary-purple);
    color: var(--white);
}

.pitaco-dark {
    background: #112164;
    color: var(--white);
}

.campus-light {
    background: var(--light-gray);
    color: var(--text-dark);
}

/* Campus Selection Grid (Index Page) */
.campus-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.campus-card-link {
    text-decoration: none;
    color: inherit;
}

.campus-selection-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 30px;
}

.campus-selection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.campus-selection-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.campus-selection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.campus-selection-description {
    font-size: 1rem;
    color: var(--text-light);
    padding: 0 20px;
    margin-bottom: 25px;
}

/* Monitoria Detail Sections */
.monitoriaInfo-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.campus-grid-reverse {
    direction: ltr;
}

.mago-spell-wrapper {
    position: relative;
    overflow: visible;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.pitaco-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.pitaco-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;

    filter: drop-shadow(0 10px 25px rgba(180, 120, 255, 0.35));
}

.pitaco-wrapper:hover {
    transform: scale(1.1);
}

.mago-spell-wrapper:hover {
    transform: scale(1.05);
}

.mago-spell {
    width: 100%;
    height: 600px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;

    filter: drop-shadow(0 10px 25px rgba(180, 120, 255, 0.35));
}

.mago-duv {
    width: 100%;
    height: 600px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;

    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.55));
}

.mago-spell-wrapper:hover .mago-spell {
    transform: scale(1.1);
}

.mago-spell-wrapper:hover .mago-duv {
    transform: scale(1.1);
}

.monitoria-info {
    padding: 20px;
}

.iniciativas-info {
    padding: 20px;
}

.iniciativas-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.iniciativas-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 35%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-pink);
    border-radius: 2px;
}

.monitoria-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.monitoria-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-pink);
    border-radius: 2px;
}

.monitoria-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.campus-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}


.campus-light .highlight-item {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.campus-light .highlight-item:hover {
    background: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    font-size: 2rem;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 500;
}

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

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(59, 0, 77, 0.2);
    border-color: var(--primary-purple);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.service-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Workshop Grid (Campus Pages) */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.workshop-card-link {
    text-decoration: none;
    color: inherit;
}

.workshop-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.workshop-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.workshop-image-tagua {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Fallback: garante proporção correta mesmo quando a imagem não usa classe específica */
.workshop-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.workshop-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.workshop-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.cards-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.card-schedule {
    font-size: 0.95rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
}

.workshop-schedule {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Workshop Detail Page */
.workshop-detail-section {
    padding: 60px 0;
}

.workshop-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.workshop-detail-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.workshop-header-info {
    flex: 1;
}

.workshop-detail-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.workshop-detail-campus,
.workshop-detail-schedule {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.workshop-description-block {
    margin-bottom: 50px;
}

.workshop-description-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* Monitors Section */
.monitors-section {
    margin-top: 50px;
}

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

.monitor-card {
    background: var(--white);
    border-radius: 15px;
    border: 4px solid var(--primary-purple);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.monitor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--accent-pink);
}

.monitor-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.monitor-course {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.monitor-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Footer Styles */
.footer {
    background: var(--primary-purple);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-text {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-pink);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-pink);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations */
/* @keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

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

/* Scroll Reveal Animation
.campus-section,
.service-card,
.workshop-card,
.workshop-detail-section,
.monitor-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
} */

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.campus-section:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.campus-section:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.service-card:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.service-card:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.service-card:nth-child(3) {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.service-card:nth-child(4) {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .campus-selection-grid {
        grid-template-columns: 1fr;
    }

    .campus-grid,
    .campus-grid-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .mago-spell,
    .mago-duv {
        height: 420px;
    }

    .campus-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .campus-description {
        text-align: center;
    }

    .workshop-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .workshop-header {
        flex-direction: column;
        text-align: center;
    }

    .workshop-detail-image {
        max-width: 100%;
    }

    .workshop-detail-title {
        font-size: 2.5rem;
    }

    .section-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-text {
        justify-content: center;
        flex-wrap: wrap;
        word-break: break-word;
    }
}

@media (max-width: 768px) {
    .header {
        min-height: 0;
        height: auto;
    }

    .header-overlay {
        min-height: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo {
        height: 50px;
    }

    .nav-list {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 60px 16px;
    }

    .campus-section {
        padding: 60px 0;
    }

    .campus-title {
        font-size: 2rem;
    }

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

    .monitoria-description {
        font-size: 1rem;
        text-align: left;
    }

    .mago-spell,
    .mago-duv {
        height: 320px;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .workshop-detail-title {
        font-size: 2rem;
    }

    .workshop-detail-campus,
    .workshop-detail-schedule {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1.8rem;
    }

    .workshop-description-block p {
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    .header {
        min-height: 0;
        height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 12px;
    }

    .hero-content {
        padding: 40px 12px;
    }

    .nav-list {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .campus-title {
        font-size: 1.8rem;
    }

    .campus-image {
        height: 300px;
    }

    .campus-selection-card {
        padding-bottom: 20px;
    }

    .campus-selection-image,
    .workshop-image,
    .workshop-image-tagua {
        height: 170px;
    }

    .mago-spell,
    .mago-duv {
        height: 240px;
    }

    .campus-selection-title {
        font-size: 1.5rem;
    }

    .campus-selection-description {
        font-size: 0.9rem;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }

    .workshop-title {
        font-size: 1.3rem;
    }

    .workshop-schedule {
        font-size: 0.85rem;
    }

    .workshop-detail-title {
        font-size: 1.8rem;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-text {
        flex-direction: column;
        gap: 6px;
    }

    .footer-title {
        font-size: 1.5rem;
    }
}

.engenharia {
    font-size: 2.0rem;
    font-weight: 600;
}
