:root {
    /* Aperte Play Colors (Predominant) */
    --aperte-navy: #001f3f;
    --aperte-navy-dark: #001224;
    --bg-dark: #050505;

    /* Copereventos Colors (Accents/Buttons) */
    --copereventos-green: #00a859;
    --copereventos-green-hover: #008f4c;

    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: #c0d1e6;
    --font-main: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

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

html, body {
    overflow-x: hidden; /* Remove qualquer possibilidade de rolagem horizontal */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    position: relative;
    word-wrap: break-word; /* Evita que palavras longas quebrem a tela */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ==================================
   Hero Section (Clean & Direct)
   ================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navy Blue Overlay for Aperte Play Identity */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 18, 36, 0.7) 0%, rgba(0, 31, 63, 0.5) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Logos */
.logos-container-animated {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 240px;
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-aperte-anim,
.logo-copereventos-anim {
    position: absolute;
    object-fit: contain;
    max-width: 100%;
}

.logo-aperte-anim {
    height: 220px;
    animation: logoTransitionAperte 10s infinite ease-in-out;
}

.logo-copereventos-anim {
    height: 70px;
    opacity: 0;
    animation: logoTransitionCoper 10s infinite ease-in-out;
    filter: brightness(1.2);
}

@keyframes logoTransitionAperte {

    0%,
    15% {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1);
    }

    25%,
    35% {
        opacity: 1;
        filter: grayscale(100%);
        transform: scale(1);
    }

    45%,
    85% {
        opacity: 0;
        filter: grayscale(100%);
        transform: scale(0.95);
    }

    95%,
    100% {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1);
    }
}

@keyframes logoTransitionCoper {

    0%,
    50% {
        opacity: 0;
        transform: scale(0.9);
    }

    60%,
    75% {
        opacity: 1;
        transform: scale(1);
    }

    85%,
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Typography Objective */
.title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.4;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.subtitle strong {
    color: #ffffff;
    font-weight: 700;
}

/* CTA Button - Copereventos Color */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--copereventos-green);
    color: #ffffff;
    padding: 1.2rem 3rem;
    border-radius: 4px;
    /* Mais moderno e clean */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: var(--copereventos-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 89, 0.3);
}

.cta-button i {
    font-size: 1.2rem;
}

/* ==================================
   Footer Section
   ================================== */
.footer {
    background-color: var(--aperte-navy-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact ul li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a:hover {
    color: var(--copereventos-green);
}

.footer-location {
    display: flex;
    flex-direction: column;
}

.address-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.address-block i {
    color: var(--copereventos-green);
    font-size: 1.3rem;
    margin-top: 2px;
}

.address-block p {
    line-height: 1.6;
    margin-bottom: 0;
}

.address-block span {
    font-size: 0.9em;
    opacity: 0.8;
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    transition: var(--transition);
}

.map-button:hover {
    background-color: var(--copereventos-green);
    border-color: var(--copereventos-green);
    color: #ffffff;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--copereventos-green);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dev-link {
    font-weight: bold;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.dev-link:hover {
    color: var(--copereventos-green);
}

/* ==================================
   Responsividade
   ================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
    
    .logos-container-animated {
        height: 180px;
        margin-bottom: 2rem;
    }

    .logo-aperte-anim {
        height: 160px;
    }

    .logo-copereventos-anim {
        height: 90px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .title {
        font-size: 1.8rem;
    }
    
    .logos-container-animated {
        height: 120px;
    }

    .logo-aperte-anim {
        height: 110px;
    }

    .logo-copereventos-anim {
        height: 70px;
    }

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

/* ==================================
   Floating WhatsApp
   ================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #20b858;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}