/* BASE CSS */
:root {
    --bg-color: #0c111c;
    --bg-lighter: #161e31;
    --primary: #4ade80;
    --primary-dark: #22c55e;
    --accent: #facc15;
    --accent-dark: #eab308;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(22, 30, 49, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* BUTTONS */
.btn-primary, .btn-primary-outline, .btn-secondary, .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #064e3b;
    box-shadow: 0 4px 14px rgba(74, 222, 128, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
}

.btn-primary-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-primary-outline:hover {
    background-color: var(--primary);
    color: #064e3b;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    background-color: rgba(12, 17, 28, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

.logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

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

.nav-menu a:not([class*="btn"]) {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a:not([class*="btn"])::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:not([class*="btn"]):hover::after,
.nav-menu a.active:not([class*="btn"])::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: 
        radial-gradient(circle at center, rgba(34, 197, 94, 0.15) 0%, rgba(12, 17, 28, 1) 70%),
        url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M54.627 0l.83.83v58.34h-58.34v-.83l57.51-58.34zM24 0l.83.83v23.34h-23.34v-.83l22.51-23.34z" fill="%2322c55e" fill-opacity="0.03" fill-rule="evenodd"/%3E%3C/svg%3E');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-large {
    max-width: 100%;
    width: 450px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(250, 204, 21, 0.1);
    color: var(--accent);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary);
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(74, 222, 128, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* COMMON SECTIONS */
.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--bg-lighter);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-inline: auto;
}

/* SOBRE E ESTATUTO */
.sobre-historia {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.sobre-historia p {
    margin-bottom: 20px;
    text-align: justify;
}

.sobre-historia strong {
    color: var(--primary);
    font-size: 1.25rem;
}

.estatuto-accordion {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.estatuto-accordion summary {
    padding: 20px 30px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
}

.estatuto-accordion summary::-webkit-details-marker {
    display: none;
}

.estatuto-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.estatuto-accordion[open] summary::after {
    content: '-';
}

.estatuto-content {
    padding: 30px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

.estatuto-content h3 {
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.estatuto-content h3:first-child {
    margin-top: 0;
}

.estatuto-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1rem;
    text-align: left;
}

.estatuto-content strong {
    color: var(--text-main);
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--glass-bg);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.btn-download {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: #064e3b;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    z-index: 10;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-item:hover .btn-download {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.btn-download:hover {
    background: var(--primary-dark);
}

.loader {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    font-size: 0.9rem;
}

/* PATROCINIO */
.patrocinio-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.patrocinio-text {
    flex: 1;
}

.patrocinio-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.patrocinio-text strong {
    color: var(--accent);
}

.patrocinio-benefits {
    margin-bottom: 30px;
}

.patrocinio-benefits li {
    margin-bottom: 12px;
    font-weight: 600;
}

.patrocinio-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shirt-mockup-real {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.shirt-real-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.shirt-sponsor-overlay {
    position: absolute;
    transform: translate(-50%, -50%) rotate(-4deg);
    font-weight: 900;
    font-size: 1.1rem;
    color: #064e3b;
    background: rgba(255,255,255,0.95);
    padding: 6px 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.front-sponsor {
    top: 60%;
    left: 25%;
}

.back-sponsor {
    top: 80%;
    left: 75%;
    font-size: 0.95rem;
    padding: 4px 12px;
}

@media (max-width: 768px) {
    .shirt-sponsor-overlay {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

/* FORMULÁRIO */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.styled-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
}

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

.form-row {
    display: flex;
    gap: 24px;
}

.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1);
}

select option {
    background-color: var(--bg-lighter);
    color: var(--text-main);
}

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

.checkbox-group input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-weight: 400;
    color: var(--text-muted);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.form-msg {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.form-msg.success {
    display: block;
    background-color: rgba(74, 222, 128, 0.1);
    color: var(--primary);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-msg.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--bg-color);
        border-left: 1px solid var(--border);
        padding: 100px 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-image {
        order: -1;
    }

    .hero-logo-large {
        width: 250px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .patrocinio-content {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .styled-form {
        padding: 24px;
    }
}

/* DESTAQUE MENU */
.nav-highlight {
    background-color: var(--primary) !important;
    color: #064e3b !important;
    padding: 6px 16px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
}
.nav-highlight:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* FUT CARDS - ELENCOS */
.fut-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.fut-card {
    width: 200px;
    height: 230px;
    background: linear-gradient(135deg, #d4af37 0%, #aa8000 100%);
    padding: 8px;
    position: relative;
    clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
    transition: transform 0.3s ease;
    cursor: default;
    color: #1a1a1a;
    font-family: inherit;
}

.fut-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.fut-card-inner {
    border: 2px solid rgba(255,255,255,0.4);
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.silhouette {
    width: 110px;
    height: 110px;
    margin-top: 15px;
    background-color: rgba(0,0,0,0.7);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') center/contain no-repeat;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') center/contain no-repeat;
}

.fut-name {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 2px;
    width: 90%;
    text-align: center;
    line-height: 1.2;
}

.fut-pos-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(0,0,0,0.7);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;
}

.fut-number {
    font-size: 1.8rem;
    font-weight: 900;
    text-align: center;
    line-height: 1;
}
