/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --santander-red: #EC0000;
    --santander-red-dark: #CC0000;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #999999;
    --border-gray: #E0E0E0;
    --border-light: #F0F0F0;
    --pattern-bg: #F8F8F8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 14px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Top Navigation */
.top-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.event-logo-img {
    height: 90px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.event-logo-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
}

.santander-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-gray);
}

.santander-text {
    color: var(--santander-red);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.santander-icon {
    font-size: 14px;
}

.event-title-small {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--santander-red);
    transition: width 0.3s ease;
    border-radius: 2px 2px 0 0;
}

.nav-menu a:hover {
    color: var(--santander-red);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Banner Rotativo */
.banner-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--bg-light);
    box-sizing: border-box;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

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

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-gray);
    color: var(--text-dark);
    font-size: 24px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.banner-prev:hover,
.banner-next:hover {
    background: var(--bg-white);
    border-color: var(--santander-red);
    color: var(--santander-red);
}

.banner-prev {
    left: 16px;
}

.banner-next {
    right: 16px;
}

.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--santander-red);
    border-color: var(--santander-red);
    width: 24px;
    border-radius: 4px;
}

/* Main Header */
.main-header {
    background: #FFF5F5;
    padding: 40px 0 20px 0;
    border-bottom: none;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(236, 0, 0, 0.02) 8px, rgba(236, 0, 0, 0.02) 16px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.event-info-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.event-logo-header {
    display: flex;
    align-items: center;
    width: fit-content;
}

.event-logo-main {
    height: 90px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.event-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    display: none; /* Oculto pois agora usamos a imagem do logo */
}

.event-title::after {
    content: ' AI';
    font-size: 0.7em;
    font-weight: 700;
}

.event-dates {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--santander-red) 0%, var(--santander-red-dark) 100%);
    padding: 20px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(236, 0, 0, 0.2);
    min-width: 320px;
    white-space: nowrap;
}

.date-icon {
    color: white;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.date-content {
    display: flex;
    align-items: center;
}

.date-line {
    font-size: 20px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* Benefits Section */
.benefits {
    background: #FFF5F5;
    padding: 20px 0 48px 0;
    border-bottom: 1px solid var(--border-light);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(236, 0, 0, 0.02) 8px, rgba(236, 0, 0, 0.02) 16px);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 16px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    padding: 24px;
    border-radius: 10px;
    border-left: 5px solid var(--santander-red);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(236, 0, 0, 0.1);
}

.benefit-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(236, 0, 0, 0.15);
    border-left-width: 6px;
}

.benefit-icon {
    color: var(--santander-red);
    font-size: 22px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item p {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.benefits-note {
    color: var(--text-gray);
    font-size: 12px;
    margin-top: 12px;
    text-align: center;
}

/* Sponsors Section */
.sponsors {
    background: #FFF5F5;
    padding: 48px 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(236, 0, 0, 0.02) 8px, rgba(236, 0, 0, 0.02) 16px);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 24px;
    font-weight: 400;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.sponsor-logo {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(236, 0, 0, 0.08);
}

.sponsor-logo:hover {
    border-color: var(--santander-red);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(236, 0, 0, 0.15);
}

.sponsors-section .sponsor-logo {
    min-height: 100px;
}

.sponsor-image {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsors-section .sponsor-image {
    max-height: 100px;
}

/* Stores Section */
.stores {
    background: var(--bg-white);
    padding: 48px 0;
}

.city-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.city-selector label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.city-select {
    padding: 8px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.city-select:focus {
    outline: none;
    border-color: var(--santander-red);
    box-shadow: 0 0 0 3px rgba(236, 0, 0, 0.1);
}

.city-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.city-tab {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-tab:hover {
    border-color: var(--santander-red);
    color: var(--santander-red);
}

.city-tab.active {
    background: var(--santander-red);
    color: white;
    border-color: var(--santander-red);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.store-card {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.store-card:hover {
    border-color: var(--santander-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.store-image {
    width: 100%;
    height: 180px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-light);
    padding: 4px;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.store-logo {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-image-placeholder {
    color: var(--text-light);
    font-size: 48px;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.store-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.5;
}

.store-info-item strong {
    color: var(--text-dark);
    font-weight: 600;
    min-width: 70px;
    flex-shrink: 0;
}

.store-info-item a {
    color: var(--santander-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-info-item a:hover {
    color: var(--santander-red-dark);
    text-decoration: underline;
}

.address-link {
    cursor: pointer;
    word-break: break-word;
}

.address-link:hover {
    text-decoration: underline;
}

.whatsapp-link {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.whatsapp-link:hover {
    text-decoration: underline;
}


/* Event Info Section */
.event-info {
    background: #FFF5F5;
    padding: 48px 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(236, 0, 0, 0.02) 8px, rgba(236, 0, 0, 0.02) 16px);
}

.combined-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.info-section {
    width: 100%;
}

.info-content {
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0;
}

.sponsors-section {
    width: 100%;
}

.sponsors-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sponsor-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-text p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 400;
}

.info-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.highlight-item strong {
    color: var(--santander-red);
    font-size: 16px;
}


/* Registration Form */
.registration-form {
    background: var(--bg-white);
    padding: 48px 0;
}

.prize-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
    font-size: 13px;
}

.checkbox-group label a {
    color: var(--santander-red);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--santander-red);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--santander-red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.organizer-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.organizer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.organizer-social a {
    color: var(--bg-light);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--bg-light);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.organizer-social a:hover {
    background: var(--santander-red);
    border-color: var(--santander-red);
    color: white;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-light);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-item strong {
    color: white;
    font-weight: 600;
    min-width: 80px;
    flex-shrink: 0;
}

.footer-whatsapp-link,
.footer-instagram-link {
    color: var(--santander-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-whatsapp-link:hover,
.footer-instagram-link:hover {
    color: #ff3333;
    text-decoration: underline;
}

.footer-sponsors {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

.footer-sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.footer-sponsor-label {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-sponsor-logo {
    background: white;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 64px;
}

.footer-sponsor-image {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.legal-text {
    color: var(--bg-light);
    line-height: 1.7;
}

.legal-text p {
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-light);
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 13px;
}

.support-text {
    font-size: 12px;
}

.santander-footer {
    color: var(--santander-red);
    font-weight: 700;
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 24px 0;
        border-top: 1px solid var(--border-light);
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
        padding: 12px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .event-info-header {
        align-items: center;
        width: 100%;
    }

    .event-logo-main {
        height: 75px;
        max-width: 270px;
    }

    .event-logo-img {
        height: 75px;
        max-width: 270px;
    }

    .event-dates {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        min-width: auto;
    }

    .date-icon {
        font-size: 28px;
    }

    .date-line {
        font-size: 16px;
    }

    .benefits {
        padding: 32px 0;
    }

    .benefits-list {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .info-highlights {
        grid-template-columns: 1fr;
    }

    .combined-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sponsors-content {
        gap: 24px;
    }

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

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

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

    .footer-sponsor-item {
        width: 100%;
    }

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

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .city-tabs {
        flex-direction: column;
    }

    .city-tab {
        width: 100%;
    }

    .banner-slider {
        height: 250px;
        min-height: 250px;
    }
    
    .banner-image {
        object-fit: contain;
        object-position: center;
    }
    
    .banner-prev {
        left: 8px;
    }
    
    .banner-next {
        right: 8px;
    }
    
    .banner-dots {
        bottom: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    body {
        font-size: 13px;
    }
    
    .event-title {
        font-size: 28px;
    }

    .event-logo-main {
        height: 60px;
        max-width: 240px;
    }

    .event-logo-img {
        height: 60px;
        max-width: 240px;
    }

    .main-header {
        padding: 32px 0;
    }

    .event-dates {
        padding: 14px 20px;
        min-width: auto;
    }

    .date-icon {
        font-size: 24px;
    }

    .date-line {
        font-size: 14px;
    }

    .benefit-item {
        padding: 16px;
    }

    .benefit-item p {
        font-size: 14px;
    }

    .prize-form {
        padding: 24px 16px;
    }

    .banner-prev,
    .banner-next {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .banner-slider {
        height: 200px;
        min-height: 200px;
    }
    
    .banner-image {
        object-fit: contain;
        object-position: center;
    }
    
    .banner-prev {
        left: 4px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .banner-next {
        right: 4px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .banner-dots {
        bottom: 4px;
    }
    
    .banner-dots .dot {
        width: 8px;
        height: 8px;
    }

    .section-title {
        font-size: 24px;
    }
}
