/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --dark-green: #071d43;
    --mid-green: #0b285c;
    --light-green: #173f83;
    --light-green-hover: #2457a6;
    
    --gold: #ed2939;
    --gold-light: #ff6673;
    --gold-dark: #c7192d;
    --gold-glow: rgba(237, 41, 57, 0.25);
    
    --neon-green: #ffffff;
    --neon-green-glow: rgba(255, 255, 255, 0.2);
    
    --white: hsl(0, 0%, 98%);
    --gray-light: hsl(0, 0%, 85%);
    --gray-mid: hsl(0, 0%, 65%);
    --gray-dark: #334a70;
    
    /* Gradients */
    --green-gradient-1: linear-gradient(135deg, #173f83 0%, #071d43 100%);
    --green-gradient-2: linear-gradient(135deg, #2457a6 0%, #0b285c 100%);
    --gold-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    --radial-dark: radial-gradient(circle at top, #173f83 0%, var(--dark-green) 70%);
    --gold-text-gradient: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(11, 40, 92, 0.72);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-focus: rgba(237, 41, 57, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: 16px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Layout & Animation values */
    --header-height: 88px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--dark-green);
    background-image: var(--radial-dark);
    background-attachment: fixed;
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gap-4 {
    gap: 4rem;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Section headers */
.section-subtitle {
    display: block;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-subtitle.center {
    text-align: center;
}

.section-desc {
    color: var(--gray-mid);
    max-width: 600px;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.section-desc.center {
    margin-left: auto;
    margin-right: auto;
}

.section-title-wrapper {
    margin-bottom: 4rem;
}

/* ==========================================================================
   GLASSMORPHISM & CARDS
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px stroke var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    padding: 0.9rem 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--dark-green);
    box-shadow: 0 4px 14px 0 var(--gold-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 var(--gold-glow), 0 0 15px var(--gold-light);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    background: rgba(7, 29, 67, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 70px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border: 3px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--white);
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
}

.nav-menu ul {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--mid-green);
    border-left: 1px solid var(--glass-border);
    z-index: 1050;
    padding: 6rem 2rem 2rem 2rem;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 1040;
    transition: var(--transition-fast);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-light);
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
    color: var(--gold-light);
}

.mobile-cta {
    margin-top: 1.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 30%, rgba(23, 63, 131, 0.18) 0%, transparent 60%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background: rgba(237, 41, 57, 0.12);
    border: 1px solid rgba(237, 41, 57, 0.3);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(237, 41, 57, 0.05);
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2.5rem;
}

/* Hero Image Card Design */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--neon-green);
    opacity: 0.15;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}

.hero-image-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.hero-image-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-card:hover img {
    transform: scale(1.05);
}

.hero-image-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(7, 29, 67, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.hero-image-badge span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   QUICK FEATURES ROW
   ========================================================================== */
.quick-features {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--light-green);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 2.2rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: var(--light-green-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(237, 41, 57, 0.1);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(237, 41, 57, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-mid);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   ABOUT / STORY SECTION
   ========================================================================== */
.about-section {
    padding: 8rem 0;
}

.about-images {
    position: relative;
}

.grid-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.img-large-wrapper {
    grid-column: span 2;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.img-large-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.img-small-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    grid-column: span 2;
}

.img-small-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.img-small-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 29, 67, 0.78);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.overlay-sub {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-top: 0.5rem;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-text-highlight {
    font-size: 1.1rem;
    color: var(--gray-light);
    font-weight: 600;
    border-left: 3px solid var(--gold);
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray-mid);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tick-icon {
    width: 24px;
    height: 24px;
    background: rgba(237, 41, 57, 0.12);
    color: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.about-feature-item div {
    font-size: 0.95rem;
    color: var(--gray-light);
}

.about-feature-item strong {
    color: var(--white);
}

/* ==========================================================================
   SCHEDULES & REQUIREMENTS SECTION
   ========================================================================== */
.schedules-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, var(--mid-green), transparent);
}

.schedule-card, .requirements-card {
    height: 100%;
}

.schedule-card-header, .requirements-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
}

.schedule-card-header h3, .requirements-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.schedule-sub {
    color: var(--gray-mid);
    margin-bottom: 2rem;
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 2px;
    height: calc(100% - 20px);
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-light);
}

.time-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.time-hours {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.timeline-item p {
    color: var(--gray-mid);
    font-size: 0.9rem;
}

/* Requirements list */
.req-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.req-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.req-bullet {
    width: 32px;
    height: 32px;
    background: rgba(237, 41, 57, 0.12);
    color: var(--gold-light);
    border: 1px solid rgba(237, 41, 57, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    flex-shrink: 0;
}

.req-list h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.req-list p {
    color: var(--gray-mid);
    font-size: 0.95rem;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-section {
    padding: 8rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(7, 29, 67, 0.95) 0%, rgba(7, 29, 67, 0.4) 70%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--gold-light);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   REGISTRATION FORM SECTION
   ========================================================================== */
.registration-section {
    padding: 8rem 0;
    position: relative;
}

.registration-container {
    align-items: flex-start;
}

.registration-info h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.registration-info p {
    color: var(--gray-mid);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.info-alert {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: rgba(237, 41, 57, 0.08);
    border: 1px solid rgba(237, 41, 57, 0.25);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    color: var(--gold-light);
    margin-top: 2rem;
}

.info-alert svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.info-alert div {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.5;
}

.info-alert strong {
    color: var(--gold-light);
}

/* Form inputs & styling */
.registration-form-wrapper {
    position: relative;
}

.form-card {
    position: relative;
    overflow: hidden;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.form-subtitle {
    color: var(--gray-mid);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.grid-2-sm {
    grid-template-columns: repeat(2, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-light);
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(237, 41, 57, 0.15);
}

/* Custom Dropdown Arrow */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.9rem;
    color: var(--gray-light);
    cursor: pointer;
    user-select: none;
}

.form-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
}

/* Error message formatting */
.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #ff6b6b;
    margin-top: 0.15rem;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #ff6b6b;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.15);
}

.form-group.has-error .error-msg {
    display: block;
}

/* Form success overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mid-green);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    border-radius: var(--border-radius-md);
    z-index: 50;
}

.form-success-overlay.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(237, 41, 57, 0.12);
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 20px var(--neon-green-glow);
    animation: popSuccess 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popSuccess {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--gray-mid);
    margin-bottom: 2rem;
    font-size: 1rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-section {
    padding: 8rem 0;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.contact-detail-item p {
    color: var(--gray-mid);
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-link {
    color: var(--white);
    border-bottom: 1px dashed var(--gold);
}

.social-link:hover {
    color: var(--gold-light);
    border-color: var(--white);
}

/* Map area formatting */
.map-wrapper {
    position: relative;
    height: 100%;
}

.map-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.map-marker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold-light);
}

.map-header span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-light);
}

.map-placeholder {
    position: relative;
    flex-grow: 1;
    min-height: 320px;
}

.map-visual {
    width: 100%;
    height: 100%;
}

.map-visual svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-action-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

/* ==========================================================================
   FOOTER STYLE
   ========================================================================== */
.main-footer {
    background-color: #05152f;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-logo .logo-mark {
    width: 48px;
    height: 48px;
}

.footer-desc {
    color: var(--gray-mid);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--gray-mid);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.footer-bottom p {
    color: var(--gray-mid);
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    .grid-2 {
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.5rem;
    }

    .grid-2, .grid-3, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .grid-2-sm {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Header adjustments */
    .nav-menu {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none; /* Hide header CTA to avoid crowd */
    }

    /* Hero Responsive */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        justify-content: center;
        width: 100%;
    }

    .hero-image-card {
        max-width: 420px;
        transform: rotate(0);
    }
    
    /* About image swap ordering */
    .about-images {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }

    /* Gallery adjustment */
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    /* Footer bottom stack */
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.3rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .grid-2-sm {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .border-left {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
        width: 60%;
    }
}

/* ==========================================================================
   FUTEBOL FEMININO, PATROCÍNIO E DOCUMENTOS
   ========================================================================== */
.female-section,
.documents-section {
    padding: 7rem 0;
    background: var(--mid-green);
}

.female-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 0.85rem;
}

.female-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.female-gallery img.featured {
    grid-column: span 2;
}

.female-gallery img:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.sponsorship-section {
    padding: 7rem 0;
    background: var(--radial-dark);
}

.sponsorship-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 4rem;
}

.sponsorship-map {
    overflow: hidden;
    border: 1px solid var(--glass-border-focus);
    border-radius: var(--border-radius-lg);
    background: var(--white);
    box-shadow: var(--glass-shadow);
}

.sponsorship-map img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.sponsorship-map figcaption {
    padding: 1rem 1.25rem;
    color: var(--gray-dark);
    font-size: 0.78rem;
    font-weight: 600;
}

.sponsorship-copy h2 {
    margin: 0.8rem 0 1.5rem;
}

.sponsorship-copy p {
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.sponsorship-community {
    display: block;
    width: 100%;
    max-height: 290px;
    margin-top: 2.25rem;
    object-fit: cover;
    object-position: center 45%;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
}

.sponsorship-shirts {
    margin-top: 4rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.sponsorship-shirts-heading {
    max-width: 780px;
    margin-bottom: 2rem;
}

.sponsorship-shirts-heading h3 {
    margin: 0.75rem 0 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.sponsorship-shirts-heading p {
    color: #fff1f2;
}

.shirt-models-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.shirt-model-card {
    padding: 1.1rem;
    border: 1px solid rgba(7, 29, 67, 0.1);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(7, 29, 67, 0.2);
}

.shirt-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.shirt-pair img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 0.8rem;
    background: #eef2f7;
}

.shirt-model-card h4 {
    margin: 1rem 0 0.15rem;
    color: #071d43;
    font-size: 1rem;
    text-align: center;
}

.documents-section {
    background: var(--dark-green);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 920px;
    margin: 0 auto;
}

.documents-grid a {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    background: var(--glass-bg);
    transition: var(--transition-smooth);
}

.documents-grid a:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.documents-grid span {
    align-self: flex-start;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: var(--dark-green);
    background: var(--gold);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.documents-grid strong {
    margin-top: 2rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.documents-grid small {
    margin-top: 0.75rem;
    color: var(--gray-mid);
    line-height: 1.6;
}

.documents-grid em {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--gold);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 992px) {
    .female-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .sponsorship-map {
        max-width: 620px;
    }
}

@media (max-width: 768px) {
    .female-section,
    .sponsorship-section,
    .documents-section {
        padding: 5rem 0;
    }

    .female-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shirt-models-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .female-gallery,
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .female-gallery img.featured {
        grid-column: auto;
    }

    .female-gallery img {
        height: 280px;
    }

    .sponsorship-community {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
}

/* ==========================================================================
   IDENTIDADE VISUAL CANTAREIRA — BRANCO, AZUL E VERMELHO
   ========================================================================== */
body {
    background-color: #ffffff !important;
    background-image: none !important;
    background-attachment: initial;
    color: #071d43;
}

html,
main {
    background-color: #ffffff;
}

.main-header,
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #dce5f0;
    box-shadow: 0 8px 28px rgba(7, 29, 67, 0.08);
}

.logo-mark {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px #ed2939;
}

.logo-title,
.nav-link {
    color: #071d43;
}

.nav-link:hover,
.nav-link.active {
    color: #ed2939;
}

.mobile-nav-toggle span {
    background-color: #071d43;
}

.mobile-drawer {
    background: #071d43;
}

.hero-section {
    min-height: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f3f7fc 100%);
}

.hero-bg-overlay {
    background:
        radial-gradient(circle at 82% 18%, rgba(23, 63, 131, 0.13), transparent 38%),
        linear-gradient(90deg, rgba(237, 41, 57, 0.035), transparent 42%);
}

h1 {
    background: none;
    color: #071d43;
    -webkit-text-fill-color: currentColor;
}

.hero-lead,
.stat-label,
.section-desc,
.feature-card p,
.about-content p,
.schedule-sub,
.timeline-item p,
.req-list p,
.registration-info p,
.contact-detail-item p {
    color: #52647e;
}

.stat-number,
.section-subtitle {
    color: #ed2939;
}

.border-left {
    border-color: #dce5f0;
}

.hero-image-card {
    border: 7px solid #ffffff;
    box-shadow: 0 22px 55px rgba(7, 29, 67, 0.2);
}

.quick-features,
.about-section,
.documents-section,
.gallery-section,
.contact-section,
.page-header {
    background: #ffffff;
}

.feature-card {
    border: 0;
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(7, 29, 67, 0.14);
}

.feature-card:nth-child(odd) {
    background: #173f83;
}

.feature-card:nth-child(even) {
    background: #ed2939;
}

.feature-card:hover {
    background: #0b285c;
}

.feature-card:nth-child(even):hover {
    background: #c7192d;
}

.feature-card p,
.feature-card h3 {
    color: #ffffff;
}

.feature-card .feature-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

.about-content h2,
.about-feature-item strong,
.registration-info h2,
.contact-detail-item h4 {
    color: #071d43;
}

.about-text-highlight,
.about-feature-item div {
    color: #334a70;
}

.tick-icon {
    color: #ffffff;
    background: #ed2939;
}

.female-section {
    background: #173f83;
    color: #ffffff;
}

.female-section .section-title-wrapper h2,
.female-section .section-desc {
    color: #ffffff;
}

.female-section .section-subtitle {
    color: #ffb4bb;
}

.female-gallery img {
    border: 4px solid #ffffff;
}

.sponsorship-section {
    background: #ed2939;
    color: #ffffff;
}

.sponsorship-section .section-subtitle {
    color: #ffffff;
}

.sponsorship-copy p {
    color: #fff1f2;
}

.documents-section .section-title-wrapper h2,
.documents-section .section-desc {
    color: #071d43;
}

.documents-grid a {
    min-height: 230px;
    background: #ffffff;
    border: 2px solid #dce5f0;
    box-shadow: 0 14px 34px rgba(7, 29, 67, 0.09);
}

.documents-grid a:nth-child(odd) {
    border-top: 7px solid #173f83;
}

.documents-grid a:nth-child(even) {
    border-top: 7px solid #ed2939;
}

.documents-grid strong {
    color: #071d43;
}

.documents-grid small {
    color: #52647e;
}

.documents-grid span {
    color: #ffffff;
    background: #ed2939;
}

.schedules-section {
    background: #f3f7fc;
}

.schedules-section .section-title-wrapper h2,
.schedule-card-header h3,
.requirements-header h3,
.time-hours,
.req-list strong {
    color: #071d43;
}

.glass-card {
    background: #ffffff;
    color: #071d43;
    border: 1px solid #dce5f0;
    box-shadow: 0 16px 38px rgba(7, 29, 67, 0.1);
}

.schedule-card-header,
.requirements-header {
    border-color: #dce5f0;
}

.schedule-timeline::before {
    background: #cbd9ea;
}

.time-badge {
    color: #173f83;
    background: #eaf0f8;
}

.gallery-item {
    border: 4px solid #ffffff;
    box-shadow: 0 14px 34px rgba(7, 29, 67, 0.15);
}

.registration-section {
    background: #0b285c;
    color: #ffffff;
}

.registration-section .registration-info h2,
.registration-section .section-subtitle {
    color: #ffffff;
}

.registration-section .registration-info p {
    color: #dce8fb;
}

.registration-section .form-card {
    background: #ffffff;
    color: #071d43;
}

.registration-section .info-alert {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.registration-section .info-alert div,
.registration-section .info-alert strong {
    color: #ffffff;
}

.contact-icon {
    color: #ffffff;
    background: #ed2939;
    border-color: #ed2939;
}

.social-link {
    color: #173f83;
}

.map-header {
    background: #f3f7fc;
    border-color: #dce5f0;
}

.map-header span {
    color: #334a70;
}

.main-footer {
    background: #071d43;
}

.page-header h1 {
    color: #071d43;
}

.video-card {
    background: #ffffff !important;
    border: 2px solid #dce5f0 !important;
}

.admin-container .glass-card,
.admin-container .list-item {
    background: #ffffff;
    color: #071d43;
    border-color: #dce5f0;
}

@media (max-width: 768px) {
    .border-left {
        border-color: #dce5f0;
    }
}

/* Cabeçalho institucional */
.main-header,
.main-header.scrolled {
    height: 88px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 4px solid #ed2939;
    border-bottom: 1px solid #dce5f0;
    box-shadow: 0 10px 35px rgba(7, 29, 67, 0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-container {
    max-width: 1360px;
    gap: 28px;
}

.logo {
    min-width: 285px;
    gap: 12px;
}

.logo-mark {
    width: 58px;
    height: 58px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #173f83, 0 6px 18px rgba(7, 29, 67, 0.16);
}

.logo-title {
    color: #071d43;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.logo-subtitle {
    margin-top: 3px;
    color: #ed2939;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul {
    align-items: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid #e2e9f2;
    border-radius: 999px;
    background: #f5f8fc;
}

.nav-link {
    padding: 9px 13px;
    border-radius: 999px;
    color: #334a70;
    font-size: 0.78rem;
    font-weight: 750;
    white-space: nowrap;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: #173f83;
    background: #e8eef7;
}

.nav-link.active {
    color: #ffffff;
    background: #173f83;
    box-shadow: 0 5px 14px rgba(23, 63, 131, 0.2);
}

.header-actions {
    gap: 12px;
}

.header-actions .btn {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.76rem;
    box-shadow: 0 9px 20px rgba(237, 41, 57, 0.2);
}

.mobile-nav-toggle {
    width: 44px;
    height: 44px;
    padding: 12px 9px;
    border: 1px solid #dce5f0;
    border-radius: 12px;
    background: #f5f8fc;
}

.mobile-nav-toggle span {
    height: 2px;
    background: #071d43;
}

.mobile-drawer {
    width: min(340px, 88vw);
    padding: 7rem 1.5rem 2rem;
    background: #ffffff;
    border-left: 4px solid #ed2939;
    box-shadow: -18px 0 50px rgba(7, 29, 67, 0.18);
}

.mobile-nav ul {
    gap: 8px;
}

.mobile-nav-link {
    padding: 13px 14px;
    border: 0;
    border-radius: 10px;
    color: #071d43;
    font-size: 1rem;
    font-weight: 750;
}

.mobile-nav-link:hover {
    color: #ffffff;
    background: #173f83;
}

@media (max-width: 1180px) {
    .nav-menu {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .header-container {
        max-width: 1200px;
    }
}

@media (max-width: 640px) {
    .main-header,
    .main-header.scrolled {
        height: 76px;
    }

    .logo {
        min-width: 0;
    }

    .logo-mark {
        width: 48px;
        height: 48px;
    }

    .logo-title {
        font-size: 0.72rem;
    }

    .logo-subtitle {
        font-size: 0.56rem;
    }
}

/* Impacto social */
.social-impact-section {
    padding: 7rem 0;
    background: #ffffff;
}

.social-impact-heading {
    display: grid;
    grid-template-columns: 0.8fr 1.25fr;
    gap: 34px 70px;
    align-items: end;
    margin-bottom: 3rem;
}

.social-impact-heading .section-subtitle {
    grid-column: 1 / -1;
    margin: 0;
}

.social-impact-heading h2 {
    margin: 0;
    color: #071d43;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.social-impact-heading p {
    margin: 0;
    color: #52647e;
    font-size: 1.05rem;
}

.social-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.impact-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #dce5f0;
    border-radius: 20px;
    color: #071d43;
    background: #f5f8fc;
    box-shadow: 0 16px 38px rgba(7,29,67,0.08);
}

.impact-card-blue {
    color: #ffffff;
    background: #173f83;
    border-color: #173f83;
}

.impact-card-red {
    color: #ffffff;
    background: #ed2939;
    border-color: #ed2939;
}

.impact-card > strong {
    color: inherit;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
}

.impact-card h3 {
    margin: 18px 0 12px;
    color: inherit;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.impact-card p {
    margin-top: auto;
    color: #52647e;
    font-size: 0.9rem;
}

.impact-card-blue p,
.impact-card-red p {
    color: rgba(255,255,255,0.86);
}

.impact-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #ed2939;
    font-family: var(--font-heading);
    font-weight: 800;
}

.impact-photo-band {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.impact-photo-band figure {
    position: relative;
    min-height: 300px;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #071d43;
}

.impact-photo-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.impact-photo-band figure:hover img {
    transform: scale(1.045);
}

.impact-photo-band figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 44px 20px 18px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(7,29,67,0.94), transparent);
    font-size: 0.78rem;
    font-weight: 800;
}

@media (max-width: 980px) {
    .social-impact-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-photo-band {
        grid-template-columns: 1fr 1fr;
    }

    .impact-photo-band figure:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .social-impact-section {
        padding: 5rem 0;
    }

    .social-impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-card {
        min-height: 240px;
    }

    .impact-photo-band {
        grid-template-columns: 1fr;
    }

    .impact-photo-band figure,
    .impact-photo-band figure:first-child {
        min-height: 260px;
        grid-column: auto;
    }
}

/* Hero cinematográfico */
.hero-section.hero-cinematic {
    position: relative;
    display: block;
    min-height: 0;
    padding: var(--header-height) 0 0;
    overflow: hidden;
    background: #071d43;
}

.hero-cinematic-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 840;
    overflow: hidden;
    background: #071d43;
}

.hero-cinematic-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: hero-camera-motion 13s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-motion-light,
.hero-motion-lines,
.hero-motion-pulse {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-motion-light {
    z-index: 2;
    width: 42%;
    left: -48%;
    opacity: 0.42;
    filter: blur(10px);
    transform: skewX(-16deg);
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.08) 35%, rgba(160,205,255,0.4) 50%, rgba(255,255,255,0.06) 65%, transparent 100%);
    animation: hero-light-sweep 7.5s ease-in-out infinite;
}

.hero-motion-lines {
    z-index: 3;
    opacity: 0.7;
    background:
        linear-gradient(132deg, transparent 0 13%, rgba(237,41,57,0.9) 13.2% 13.55%, transparent 13.75% 100%),
        linear-gradient(312deg, transparent 0 10%, rgba(237,41,57,0.75) 10.2% 10.5%, transparent 10.7% 100%);
    animation: hero-lines-breathe 4.5s ease-in-out infinite alternate;
}

.hero-motion-pulse {
    z-index: 1;
    opacity: 0.5;
    mix-blend-mode: screen;
    background: radial-gradient(circle at 74% 30%, rgba(84,145,255,0.28), transparent 25%);
    animation: hero-stadium-pulse 3.2s ease-in-out infinite alternate;
}

.hero-accessible-copy {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-cinematic-footer {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 24px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    background: rgba(5,21,47,0.68);
    box-shadow: 0 18px 45px rgba(0,0,0,0.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-cinematic-actions,
.hero-cinematic-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-cinematic-actions .btn {
    border-radius: 999px;
}

.hero-cinematic-actions .btn-light {
    color: #071d43;
    background: #ffffff;
    box-shadow: none;
}

.hero-cinematic-actions .btn-light:hover {
    color: #ffffff;
    background: #173f83;
}

.hero-cinematic-stats {
    color: #dce8fb;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-cinematic-stats span {
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,0.22);
}

.hero-cinematic-stats strong {
    margin-right: 4px;
    color: #ffffff;
    font-size: 1rem;
}

@keyframes hero-camera-motion {
    from { transform: scale(1.01) translate3d(-0.3%, 0, 0); }
    to { transform: scale(1.055) translate3d(0.7%, -0.5%, 0); }
}

@keyframes hero-light-sweep {
    0%, 12% { transform: translateX(0) skewX(-16deg); opacity: 0; }
    38% { opacity: 0.42; }
    68%, 100% { transform: translateX(360%) skewX(-16deg); opacity: 0; }
}

@keyframes hero-lines-breathe {
    from { opacity: 0.45; transform: scale(1); }
    to { opacity: 0.82; transform: scale(1.008); }
}

@keyframes hero-stadium-pulse {
    from { opacity: 0.24; }
    to { opacity: 0.62; }
}

@media (max-width: 900px) {
    .hero-cinematic-footer {
        position: static;
        width: 100%;
        max-width: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 1.5rem;
        border: 0;
        border-radius: 0;
        background: #071d43;
    }

    .hero-cinematic-actions {
        justify-content: center;
    }

    .hero-cinematic-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .hero-section.hero-cinematic {
        padding-top: 76px;
    }

    .hero-cinematic-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-cinematic-actions .btn {
        min-width: 0;
        padding: 0.8rem 1rem;
        font-size: 0.7rem;
    }

    .hero-cinematic-stats {
        font-size: 0.64rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cinematic-media > img,
    .hero-motion-light,
    .hero-motion-lines,
    .hero-motion-pulse {
        animation: none !important;
    }
}

/* Atualizações dinâmicas */
.updates-section {
    padding: 7rem 0;
    background: #f3f7fc;
}

.updates-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.updates-heading h2 {
    margin: 0.65rem 0 0;
    color: #071d43;
}

.updates-heading p {
    margin: 0;
    color: #52647e;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.updates-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dce5f0;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(7, 29, 67, 0.09);
}

.updates-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #dce5f0;
}

.updates-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.4rem;
}

.updates-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.updates-card-type {
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    background: #173f83;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.updates-card[data-type="evento"] .updates-card-type,
.updates-card[data-type="informe"] .updates-card-type {
    background: #ed2939;
}

.updates-card time {
    color: #667794;
    font-size: 0.72rem;
    font-weight: 700;
}

.updates-card h3 {
    margin: 0 0 0.75rem;
    color: #071d43;
    font-size: 1.35rem;
}

.updates-card p {
    margin: 0;
    color: #52647e;
    white-space: pre-line;
}

.updates-event-date {
    margin-top: auto;
    padding-top: 1.1rem;
    color: #ed2939;
    font-size: 0.78rem;
    font-weight: 800;
}

.updates-loading,
.updates-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed #b8c6da;
    border-radius: 1rem;
    color: #52647e;
    text-align: center;
    background: #ffffff;
}

/* Painel administrativo PHP */
.admin-body {
    min-height: 100vh;
    margin: 0;
    background: #f3f7fc !important;
}

.admin-topbar {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem max(1.25rem, calc((100vw - 1240px) / 2));
    border-top: 4px solid #ed2939;
    border-bottom: 1px solid #dce5f0;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(7, 29, 67, 0.08);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #071d43;
    text-decoration: none;
}

.admin-brand img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-brand span,
.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand small {
    margin-top: 0.2rem;
    color: #667794;
}

.admin-shell {
    width: min(1240px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 3.5rem 0 5rem;
}

.admin-kicker,
.admin-card-heading span {
    color: #ed2939;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-login-card {
    display: grid;
    max-width: 940px;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    margin: 3rem auto;
    border-radius: 1.75rem;
    background: #071d43;
    box-shadow: 0 28px 70px rgba(7, 29, 67, 0.2);
}

.admin-login-intro {
    padding: 4.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #071d43, #173f83);
}

.admin-login-intro h1,
.admin-dashboard-head h1 {
    margin: 0.8rem 0 1rem;
    color: inherit;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 0.98;
}

.admin-login-intro p {
    color: #dce8fb;
}

.admin-form-card {
    align-self: stretch;
    padding: 4rem 3rem;
    background: #ffffff;
}

.admin-field {
    margin-bottom: 1.15rem;
}

.admin-field label {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
    color: #071d43;
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-field label small {
    color: #667794;
    font-weight: 600;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #cbd6e5;
    border-radius: 0.75rem;
    color: #071d43;
    background: #ffffff;
    font: inherit;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    outline: 3px solid rgba(23, 63, 131, 0.16);
    border-color: #173f83;
}

.admin-dashboard-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    color: #071d43;
}

.admin-dashboard-head p {
    margin: 0;
    color: #52647e;
}

.admin-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 1.5rem;
}

.admin-editor-card,
.admin-list-card {
    padding: 1.75rem;
    border: 1px solid #dce5f0;
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(7, 29, 67, 0.08);
}

.admin-card-heading {
    margin-bottom: 1.5rem;
}

.admin-card-heading h2 {
    margin: 0.35rem 0 0;
    color: #071d43;
}

.admin-card-description {
    margin: 0.65rem 0 1rem;
    color: #667794;
    font-size: 0.86rem;
}

.admin-post-count {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: #173f83;
    background: #eaf0f8;
    font-size: 0.72rem;
}

.admin-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1rem 0 1.35rem;
    color: #071d43;
    font-weight: 700;
}

.admin-check input {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: #173f83;
}

.admin-form-actions,
.admin-item-actions,
.admin-item-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-current-image {
    display: block;
    width: 150px;
    height: 100px;
    margin-top: 0.8rem;
    border-radius: 0.7rem;
    object-fit: cover;
}

.admin-content-list {
    display: grid;
    gap: 0.85rem;
}

.admin-content-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e0e7f0;
    border-radius: 1rem;
    background: #f8fafd;
}

.admin-content-item > img {
    width: 130px;
    height: 118px;
    border-radius: 0.75rem;
    object-fit: cover;
}

.admin-content-item:not(:has(> img)) {
    grid-template-columns: 1fr;
}

.admin-item-meta {
    justify-content: space-between;
}

.admin-item-meta span,
.admin-item-meta em {
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-item-meta span {
    color: #173f83;
}

.admin-item-meta em {
    color: #8a96aa;
}

.admin-item-meta em.is-published {
    color: #157347;
}

.admin-content-item h3 {
    margin: 0.45rem 0 0.35rem;
    color: #071d43;
    font-size: 1.05rem;
}

.admin-content-item p {
    margin: 0 0 0.8rem;
    color: #667794;
    font-size: 0.82rem;
}

.admin-item-actions a,
.admin-item-actions button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid #b9c7da;
    border-radius: 0.65rem;
    color: #173f83;
    background: #ffffff;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.admin-item-actions .admin-delete-button {
    border-color: #c7192d;
    color: #ffffff;
    background: #c7192d;
}

.admin-item-actions .admin-delete-button:hover {
    border-color: #9f1020;
    background: #9f1020;
}

.admin-alert,
.admin-empty {
    padding: 1rem 1.2rem;
    border-radius: 0.85rem;
    margin-bottom: 1.25rem;
}

.admin-alert-success {
    color: #0f5132;
    background: #d1e7dd;
}

.admin-alert-error {
    color: #842029;
    background: #f8d7da;
}

.admin-empty {
    color: #52647e;
    background: #f3f7fc;
}

@media (max-width: 900px) {
    .updates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-grid,
    .admin-login-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .updates-section {
        padding: 5rem 0;
    }

    .updates-heading,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .updates-heading {
        gap: 1rem;
    }

    .admin-topbar {
        align-items: flex-start;
    }

    .admin-brand span {
        display: none;
    }

    .admin-shell {
        width: min(100% - 1.5rem, 1240px);
        padding-top: 2rem;
    }

    .admin-login-intro,
    .admin-form-card {
        padding: 2rem 1.5rem;
    }

    .admin-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-dashboard-head h1 {
        font-size: 2.5rem;
    }

    .admin-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .admin-editor-card,
    .admin-list-card {
        padding: 1.2rem;
    }

    .admin-content-item {
        grid-template-columns: 90px 1fr;
    }

    .admin-content-item > img {
        width: 90px;
        height: 100px;
    }
}

/* ==========================================================================
   LIGHTBOX (GALERIA)
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--gold);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0}
    to {transform:scale(1); opacity:1}
}

