@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&family=JetBrains+Mono:wght@400;700&family=Outfit:wght@400;700;900&display=swap');

:root {
    --bg-primary: #050505;
    --bg-secondary: #0A0F0B;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --brand-red: #EE0B19;
    --brand-red-hover: #C00914;
    --neon-green: #D2FF46;
    --neon-green-glow: rgba(210, 255, 70, 0.4);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A5A1;
    --text-dark: #0A0A0A;
    --font-title: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --header-height: 72px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

*:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--neon-green-glow);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Layout Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-red);
    color: #FFFFFF;
    box-shadow: 0 8px 20px -6px rgba(238, 11, 25, 0.5);
}

.btn-primary:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(238, 11, 25, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
}

.btn-secondary:hover {
    background-color: var(--neon-green);
    color: var(--text-dark);
    box-shadow: 0 8px 20px -6px var(--neon-green-glow);
    transform: translateY(-2px);
}

/* Header */
header.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

header.main-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container img {
    height: 44px;
    display: block;
}

nav.main-nav {
    display: flex;
    gap: 32px;
}

nav.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

nav.main-nav a:hover {
    color: var(--brand-red);
}

header.main-header .btn-header {
    padding: 10px 20px;
    font-size: 0.8rem;
    background-color: var(--brand-red);
    color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 4px 12px -2px rgba(238, 11, 25, 0.4);
}

header.main-header .btn-header:hover {
    background-color: var(--brand-red-hover);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background-color: #000000;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}

.hero-content {
    color: #FFFFFF;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--neon-green);
}

.hero-text {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-text strong {
    color: var(--neon-green);
}

/* Mobile CTA Button */
.mobile-hero-cta {
    display: none;
    width: 100%;
    margin-top: 16px;
}

/* Hero Donation Widget */
.hero-widget {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 100%;
}

.widget-title {
    font-size: 1.1rem;
    font-family: var(--font-title);
    font-weight: 900;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.widget-subtitle {
    font-size: 0.75rem;
    color: #555555;
    margin-bottom: 16px;
    font-weight: 500;
}

.widget-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #F5F5F3;
    padding: 3px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    color: #555555;
}

.tab-btn.active {
    background-color: #109648;
    color: #FFFFFF;
}

.widget-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.val-btn {
    position: relative;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 14px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    transition: all 0.15s ease;
}

.val-btn:hover {
    border-color: #109648;
}

.val-btn.active {
    background-color: rgba(16, 150, 72, 0.05);
    border-color: #109648;
}

.val-btn .badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #109648;
    color: #FFFFFF;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.val-btn .amount {
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 900;
    color: #109648;
    line-height: 1;
}

.val-btn .desc {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6B6B6B;
    margin-top: 4px;
}

.custom-val-btn {
    cursor: text;
}

.custom-val-btn .input-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.custom-val-btn .prefix {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 900;
    color: #109648;
}

.custom-val-btn input {
    border: none;
    background: transparent;
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 900;
    color: #109648;
    width: 70px;
    padding: 0;
    text-align: left;
}

.custom-val-btn input::placeholder {
    color: rgba(16, 150, 72, 0.3);
}

.custom-val-btn .label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-top: 2px;
}

.widget-impact-text {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #444444;
    margin-bottom: 20px;
    min-height: 36px;
}

.widget-submit-btn {
    width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    animation: bounce 1.8s infinite ease-in-out;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
}

/* Partners Section */
.partners-section {
    position: relative;
    background-color: #050505;
    border-top: 2px solid var(--neon-green);
    overflow: hidden;
}

.partners-stripe {
    background: linear-gradient(180deg, #0A0A0A 0%, #151515 50%, #0A0A0A 100%);
    border-top: 1px solid rgba(210, 255, 70, 0.15);
    border-bottom: 1px solid rgba(210, 255, 70, 0.15);
    box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 -8px 24px rgba(0, 0, 0, 0.6);
}

.partners-grid {
    display: grid;
    grid-template-columns: 240px repeat(5, 1fr);
    align-items: center;
    width: 100%;
}

.partners-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-right: 1px solid rgba(210, 255, 70, 0.22);
    background: linear-gradient(90deg, rgba(210, 255, 70, 0.06) 0%, transparent 100%);
    min-height: 76px;
}

.partners-label-bar {
    width: 3px;
    height: 24px;
    background-color: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

.partners-label-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--neon-green);
}

.partner-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    min-height: 76px;
    border-right: 1px solid rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(210, 255, 70, 0.18);
}

.partner-logo-item:last-child {
    border-right: none;
}

.partner-logo-item img {
    height: 36px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.partner-logo-item img:hover {
    opacity: 1;
}

.partner-dot-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-dot {
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

/* Stadium/Goal Section */
.stadium-section {
    position: relative;
    padding: 80px 0 96px;
    background: linear-gradient(rgba(8, 20, 12, 0.82), rgba(8, 40, 20, 0.82)), url('assets/field_bg.jpg');
    background-size: cover;
    background-position: center;
}

.stadium-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--neon-green);
    margin-bottom: 16px;
}

.stadium-title {
    font-size: clamp(1.75rem, 3.8vw, 3rem);
    line-height: 1.05;
    margin-bottom: 16px;
}

.stadium-title span {
    color: var(--neon-green);
}

.stadium-desc {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto 36px;
}

.stadium-desc strong {
    color: var(--neon-green);
}

.counter-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

.counter-num {
    font-family: var(--font-title);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2.5px;
    color: var(--neon-green);
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 32px rgba(210, 255, 70, 0.3);
}

.counter-total {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -1px;
    color: rgba(255, 255, 255, 0.55);
}

.occupancy-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--neon-green);
    margin-bottom: 18px;
}

.progress-bar-container {
    max-width: 720px;
    margin: 0 auto 24px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(210, 255, 70, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%; /* Will animate using JS */
    background: linear-gradient(90deg, #109648 0%, var(--neon-green) 100%);
    box-shadow: 0 0 12px var(--neon-green);
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* SVG Stadium Visualization */
.stadium-viz {
    max-width: 540px;
    margin: 0 auto 24px;
    padding: 24px;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(210, 255, 70, 0.2);
    border-radius: 16px;
}

.stadium-viz svg {
    width: 100%;
    height: auto;
    display: block;
}

.stadium-seat {
    transition: fill 0.3s ease, filter 0.3s ease;
}

.stadium-seat.occupied {
    fill: var(--neon-green);
    filter: drop-shadow(0 0 3px var(--neon-green));
}

/* Donor Ticker */
.donor-ticker-container {
    max-width: 540px;
    margin: 0 auto 24px;
    background-color: rgba(0, 0, 0, 0.55);
    border-left: 3px solid var(--brand-red);
    padding: 10px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-red);
    border-radius: 50%;
    flex-shrink: 0;
    animation: blink 1.4s infinite ease-in-out;
}

.ticker-content {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #FFFFFF;
    line-height: 1.4;
    overflow: hidden;
    height: 18px;
    position: relative;
    flex-grow: 1;
}

.ticker-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.ticker-item.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.ticker-name {
    color: var(--neon-green);
    font-weight: 700;
}

.stadium-btn {
    margin-top: 12px;
}

/* MSF Global Section */
.msf-global-section {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 80px 0;
}

.msf-global-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.msf-image-frame {
    position: relative;
}

.msf-image-frame::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    bottom: 16px;
    left: 16px;
    background-color: var(--neon-green);
    border-radius: 8px;
    z-index: 0;
}

.msf-image-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.3);
}

.msf-global-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(16, 150, 72, 0.08);
    color: #109648;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.msf-global-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.msf-global-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 24px;
}

.msf-global-desc strong {
    color: var(--text-dark);
}

.msf-global-desc span.highlight {
    color: var(--brand-red);
}

.stats-container {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat-item {
    min-width: 110px;
}

.stat-val {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 900;
    color: #109648;
    line-height: 1;
}

.stat-val span {
    font-size: 0.875rem;
    margin-left: 2px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6B6B6B;
    margin-top: 6px;
}

/* Impact Section ("Sua Doação em Campo") */
.impact-section {
    background-color: var(--bg-secondary);
    padding: 80px 0;
}

.impact-header {
    text-align: center;
    margin-bottom: 48px;
}

.impact-header .section-eyebrow {
    color: var(--neon-green);
}

.impact-title {
    font-size: clamp(1.75rem, 3.8vw, 2.875rem);
    line-height: 1.05;
    margin-bottom: 16px;
}

.impact-title span {
    color: var(--neon-green);
}

.impact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.impact-card {
    background-color: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(210, 255, 70, 0.2);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.impact-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.card-stat-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.card-stat-val {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-green);
    line-height: 1;
}

.card-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.card-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.impact-footer {
    max-width: 800px;
    margin: 48px auto 0;
    text-align: center;
}

.impact-footer-text {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.impact-footer-text span {
    color: var(--neon-green);
}

/* Footer Section */
.main-footer {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #555555;
    max-width: 300px;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-icon {
    color: var(--brand-red);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info .label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    color: #6B6B6B;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-info .val {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-dark);
    white-space: pre-line;
}

.footer-middle {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 40px;
    margin-bottom: 40px;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
}

.footer-nav-col h4 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--brand-red);
    margin-bottom: 16px;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col a {
    font-size: 0.8rem;
    color: #444444;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-nav-col a:hover {
    color: var(--brand-red);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #6B6B6B;
    letter-spacing: 0.5px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Callouts & Sponsor community stripe styling */
.community-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('assets/community.jpg');
    background-size: cover;
    background-position: center;
    text-align: left;
}

.community-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.community-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(16, 150, 72, 0.4);
    color: var(--neon-green);
    border-left: 3px solid var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.community-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 800px;
}

.community-title span {
    color: var(--neon-green);
    display: block;
}

.community-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

/* Page: Donation Wizard (/contribuir.html) */
.checkout-page {
    background-color: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.checkout-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: 72px;
    display: flex;
    align-items: center;
}

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

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.back-btn:hover {
    color: var(--brand-red);
}

.checkout-main {
    flex-grow: 1;
    padding: 48px 0 80px;
    display: flex;
    align-items: center;
}

.checkout-card {
    background-color: #FFFFFF;
    color: var(--text-dark);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.checkout-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 6px;
    background-color: rgba(0, 0, 0, 0.05);
}

.progress-step-bar {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.progress-step-bar.active {
    background-color: #109648;
}

.checkout-body {
    padding: 32px;
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.step-header {
    margin-bottom: 24px;
}

.step-num-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #109648;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.step-title {
    font-size: 1.35rem;
    font-family: var(--font-title);
    font-weight: 900;
    color: var(--text-dark);
}

/* Step 1 specifics */
.donation-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.type-card {
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 20px 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.type-card:hover {
    border-color: #109648;
}

.type-card.active {
    background-color: rgba(16, 150, 72, 0.05);
    border-color: #109648;
}

.type-card svg {
    width: 32px;
    height: 32px;
    color: #109648;
    margin-bottom: 12px;
}

.type-card .label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Step 3 input styling */
.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / span 2;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555555;
    margin-bottom: 6px;
}

.form-group input {
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: border-color 0.15s ease;
}

.form-group input:focus {
    border-color: #109648;
    box-shadow: none;
}

.form-group.error input {
    border-color: var(--brand-red);
}

.form-error-msg {
    font-size: 0.65rem;
    color: var(--brand-red);
    font-weight: 600;
    margin-top: 4px;
    display: none;
}

.form-group.error .form-error-msg {
    display: block;
}

/* Step 4: Payment */
.payment-methods-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #F5F5F3;
    padding: 3px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.pay-tab-btn {
    border: none;
    background: transparent;
    padding: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    color: #555555;
    transition: all 0.2s ease;
}

.pay-tab-btn.active {
    background-color: #FFFFFF;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pay-panel {
    display: none;
}

.pay-panel.active {
    display: block;
}

/* PIX Panel */
.pix-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.pix-qr {
    width: 140px;
    height: 140px;
    background-color: #EEE;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.pix-qr svg {
    width: 120px;
    height: 120px;
}

.pix-instructions {
    font-size: 0.8rem;
    color: #555555;
    line-height: 1.4;
}

.copy-wrapper {
    display: flex;
    width: 100%;
    gap: 8px;
}

.copy-input {
    flex-grow: 1;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 10px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background-color: #F8F8F6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    color: #555555;
}

.btn-copy {
    padding: 10px 16px;
    font-size: 0.75rem;
}

/* Boleto Panel */
.boleto-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 10px 0;
}

.boleto-icon {
    width: 60px;
    height: 60px;
    color: #109648;
}

.boleto-text {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.5;
}

/* Success panel (Step 5) */
.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px 0;
}

.success-badge {
    width: 72px;
    height: 72px;
    background-color: #E8F5E9;
    color: #2E7D32;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-badge svg {
    width: 40px;
    height: 40px;
}

.success-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
}

.success-desc {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.5;
}

.checkout-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
}

.btn-back-step {
    background-color: transparent;
    color: #555555;
    border: none;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-back-step:hover {
    color: var(--text-dark);
}

/* Keyframe animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.8; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Responsive Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-widget {
        display: none; /* Hide desktop widget */
    }
    
    .mobile-hero-cta {
        display: block; /* Show mobile CTA button */
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-label {
        grid-column: 1 / -1;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid rgba(210, 255, 70, 0.22);
    }
    
    .partner-logo-item:nth-child(4) {
        border-right: none;
    }
    
    .msf-global-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .msf-global-content {
        align-items: center;
        text-align: center;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto 16px;
    }
}

@media (max-width: 768px) {
    header.main-header nav.main-nav {
        display: none;
    }
    
    .partner-logo-item {
        border-right: 1px solid rgba(0, 0, 0, 0.4);
    }
    
    .partner-logo-item:nth-child(odd) {
        border-right: none;
    }
    
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-group-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        grid-column: 1 / span 2;
    }
    
    .checkout-body {
        padding: 20px;
    }
}

/* --- CAMPANHA DOACAO MENSAL PESSOAL TWO COLUMN LAYOUT --- */
.campaign-checkout-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
    width: 100%;
    margin-top: 24px;
}

.campaign-info-col {
    color: var(--text-primary);
}

.campaign-title {
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.campaign-title span {
    color: var(--brand-red);
}

.campaign-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.campaign-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.campaign-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.stat-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
}

.stat-num {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-green);
    display: block;
    margin-bottom: 8px;
}

.stat-lbl {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.campaign-quote {
    border-left: 4px solid var(--brand-red);
    padding-left: 20px;
    margin-bottom: 32px;
}

.quote-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Spinner Loader for dynamic Pix */
.spinner-loader {
    width: 36px;
    height: 36px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #109648;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pix-loading-text {
    font-size: 0.9rem;
    color: #555555;
    font-weight: 500;
}

@media (max-width: 992px) {
    .campaign-checkout-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .campaign-img {
        height: 240px;
    }
}
