@font-face {
    font-family: 'Soulvibes';
    src: url('Assets/Soulvibes.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'InterSemiBold';
    src: url('Assets/InterSemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

:root {
    /* Brand Colors */
    --clr-dark-green: #012b2e;
    --clr-deep-blue: #096f73;
    --clr-vibrant-green: #a7da3c;
    --clr-yellow: #f6ea41;
    --clr-wine: #811a43;
    --clr-coral: #ef6c62;
    --clr-pink: #f49ebc;
    --clr-red: #e51b22;
    --clr-light: #f7f9f9;

    /* Typography */
    --font-heading: 'Soulvibes', cursive; /* Original Brand Font */
    --font-body: 'InterSemiBold', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--clr-light);
    color: var(--clr-dark-green);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* Typography Utility */
h1, h2, h3, .logo, .footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(1, 43, 46, 0.05);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: var(--clr-dark-green);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled .logo, .navbar.scrolled .nav-links a {
    color: var(--clr-light);
}

.logo {
    font-size: 3rem;
    color: var(--clr-dark-green);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-dark-green);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--clr-coral);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--clr-coral);
    color: white;
}

.btn-primary:hover {
    background-color: var(--clr-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 108, 98, 0.3);
}

.btn-secondary {
    background-color: var(--clr-wine);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--clr-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(129, 26, 67, 0.3);
}

.btn-outline {
    border: 2px solid var(--clr-dark-green);
    color: var(--clr-dark-green);
}

.navbar.scrolled .btn-outline {
    border-color: var(--clr-yellow);
    color: var(--clr-yellow);
}

.btn-outline:hover {
    background-color: var(--clr-dark-green);
    color: white;
}

.w-100 { width: 100%; }

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--clr-pink), var(--clr-coral));
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--clr-wine);
    max-width: 800px;
    padding: 2rem;
}

.pre-title {
    font-size: 2.5rem;
    margin-bottom: -10px;
    opacity: 0.9;
}

.title-wrapper {
    position: relative;
    display: inline-block;
    margin: 1rem 0;
}

.main-title {
    font-size: 10rem;
    line-height: 0.9;
    color: var(--clr-light);
    text-shadow: 4px 4px 0px var(--clr-wine);
    margin: 0;
    position: relative;
    z-index: 2;
}

.main-title .year {
    font-size: 3rem;
    vertical-align: top;
    color: var(--clr-yellow);
    text-shadow: none;
}

.slogan {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: var(--clr-light);
}

/* Ticket com Imagem Original */
.image-ticket-wrapper {
    position: absolute;
    width: 100%;
    max-width: 420px; /* Ticket maior */
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-ticket-wrapper.visible {
    opacity: 1;
}

@media (hover: none) {
    .image-ticket-wrapper {
        opacity: 1;
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 0 auto;
        pointer-events: auto;
    }
}

.ticket-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.ticket-link:hover {
    transform: scale(1.05);
}

.ticket-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}

.image-ticket-wrapper .ticket-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* Deixa o clique passar para o a.ticket-link */
}

/* Efeito flutuante infinito no Hero */
.floating-animation {
    animation: floatContinuous 6s ease-in-out infinite;
}

@keyframes floatContinuous {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.ticket-date-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.ticket-day {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.9;
    color: var(--clr-red);
    margin-bottom: 5px;
    text-shadow: 2px 2px 0px var(--clr-light);
}

.ticket-month {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--clr-dark-green);
}

.loc-highlight {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--clr-light); /* Mais contraste */
    background-color: var(--clr-dark-green);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.loc-highlight-sub {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--clr-dark-green);
    background-color: var(--clr-yellow);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background-image: url('Assets/pptx_image2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(239, 108, 98, 0.4); /* Overlay coral suave */
}

/* MANIFESTO */
.manifesto-section {
    background-color: var(--clr-dark-green);
    background-image: url('Assets/pptx_image14.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--clr-light);
    padding: 8rem 0;
    position: relative;
}
.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(1, 43, 46, 0.85); /* Overlay verde profundo */
    z-index: 1;
}
.manifesto-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 4rem;
    color: var(--clr-yellow);
    text-align: center;
    margin-bottom: 3rem;
}

.text-dark { color: var(--clr-dark-green); }

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    text-align: center;
}

.manifesto-content .lead {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--clr-vibrant-green);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.manifesto-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* THEMES */
.themes-section {
    padding: 8rem 0;
    background-color: var(--clr-vibrant-green);
    background-image: url('Assets/pptx_image3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.themes-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(167, 218, 60, 0.8); /* Overlay verde vibrante */
    z-index: 1;
}
.themes-section .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--clr-deep-blue);
    margin-bottom: 4rem;
}

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

.theme-card {
    background: rgba(255,255,255,0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
    min-height: 290px;
    display: flex;
    flex-direction: column;
}

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

.theme-card h3 {
    font-size: 2rem;
    color: var(--clr-dark-green);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.theme-card p {
    position: relative;
    z-index: 2;
    max-width: 80%; /* Evita que o texto encoste na ilustração */
}

/* Ilustração Animada no Hover */
.hover-animate-illustration {
    overflow: hidden;
}

.hover-animate-illustration .card-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.hover-animate-illustration .hover-illustration {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.3) rotate(-20deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 4px solid var(--clr-light);
}

.hover-animate-illustration:hover .card-content {
    transform: translateY(-5px);
}

.hover-animate-illustration:hover .hover-illustration {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    bottom: 15px;
    right: 15px;
}

/* FORMS */
.forms-section {
    padding: 8rem 0;
    background-color: var(--clr-yellow);
    background-image: url('Assets/pptx_image13.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.forms-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(246, 234, 65, 0.6); /* Overlay amarelo */
    z-index: 1;
}
.forms-section .forms-container {
    position: relative;
    z-index: 2;
}

.forms-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.form-wrapper {
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.form-wrapper h2 {
    font-size: 3rem;
    color: var(--clr-wine);
    margin-bottom: 1rem;
}

.form-wrapper p {
    margin-bottom: 2rem;
    color: #555;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--clr-dark-green);
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--clr-coral);
    box-shadow: 0 0 0 4px rgba(239, 108, 98, 0.1);
}

/* FOOTER */
.footer {
    background-color: #001516;
    color: var(--clr-light);
    text-align: center;
    padding: 4rem 2rem;
}

.footer-logo {
    font-size: 4rem;
    color: var(--clr-vibrant-green);
    margin-bottom: 1rem;
}

.copyright {
    margin-top: 2rem;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container { padding: 0 1.25rem; }

    .navbar { padding: 1rem 1.25rem; }
    .logo { font-size: 2.2rem; }
    .nav-links { display: flex; gap: 0.75rem; }
    .nav-links li:not(:last-child) { display: none; }
    .nav-links .btn-outline {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-width: 2px;
    }

    /* Fix background-attachment: fixed stretching on mobile */
    .hero-background,
    .manifesto-section,
    .themes-section,
    .forms-section {
        background-attachment: scroll;
    }
    .hero-background {
        background-size: cover;
        background-position: center;
    }

    .hero { padding-top: 100px; padding-bottom: 3rem; min-height: auto; }
    .pre-title { font-size: 1.5rem; }
    .main-title { font-size: 4.5rem; }
    .main-title .year { font-size: 1.8rem; }
    .slogan { font-size: 1.1rem; }

    .image-ticket-wrapper { max-width: 280px; }
    .ticket-day { font-size: 3.2rem; }
    .ticket-month { font-size: 1rem; }
    .loc-highlight { font-size: 0.95rem; }
    .loc-highlight-sub { font-size: 0.8rem; }

    .section-title { font-size: 2.5rem; }
    .manifesto-section, .themes-section, .forms-section { padding: 4rem 0; }
    .manifesto-content { font-size: 1rem; }
    .manifesto-content .lead { font-size: 1.4rem; }

    .themes-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .theme-card { padding: 1.75rem; min-height: auto; }
    .theme-card h3 { font-size: 1.5rem; }
    .theme-card p { max-width: 100%; }
    .theme-card { overflow: hidden; }
    .hover-animate-illustration .hover-illustration {
        width: 90px; height: 90px;
        opacity: 0;
        transform: scale(0.3) rotate(-20deg);
        bottom: -40px; right: -40px;
    }
    .hover-animate-illustration:active .hover-illustration,
    .hover-animate-illustration:focus .hover-illustration,
    .hover-animate-illustration.is-active .hover-illustration {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        bottom: 10px; right: 10px;
    }

    .forms-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    .form-wrapper { padding: 1.75rem; border-radius: 20px; }
    .form-wrapper h2 { font-size: 2.2rem; }
    .input-group input, .input-group textarea { padding: 0.85rem; font-size: 0.95rem; }

    .footer { padding: 3rem 1.25rem; }
    .footer-logo { font-size: 2.8rem; }
}
