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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    overflow-x: hidden;
}

.parallax-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    background-image: url('/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(45, 134, 89, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    min-height: 60px;
}

/* Compensar altura do header fixo */
main {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

@media (min-width: 481px) {
    main {
        padding-top: 85px;
    }
}

@media (min-width: 1025px) {
    header {
        padding: 1rem 0;
        min-height: 80px;
    }
    main {
        padding-top: 100px;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-size: 1.1rem;
    color: #ffd700;
}

.logo-text .sub {
    font-size: 0.65rem;
    color: #2d8659;
    font-weight: normal;
    max-width: 150px;
    line-height: 1.2;
}

/* Logo maior em desktop */
@media (min-width: 1025px) {
    .logo {
        gap: 1rem;
    }
    
    .logo img {
        height: 60px;
        width: 60px;
    }
    
    .logo-text .main {
        font-size: 1.3rem;
    }
    
    .logo-text .sub {
        font-size: 0.8rem;
        max-width: none;
    }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

/* Mobile menu aberto */
.nav-menu.is-open {
    display: flex;
    flex-direction: column;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.nav-link-cta {
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3f 100%);
    border: 2px solid #ffd700;
    font-weight: 600;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, #1a5f3f 0%, #2d8659 100%);
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
    transform: translateY(-2px);
    color: white;
}

.nav-link-donate {
    color: #ffd700;
    font-weight: 600;
}

.nav-link-donate:hover {
    background: rgba(255, 215, 0, 0.2);
}

.nav-link-login {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.nav-link-login:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.nav-link-logout {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link-logout:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.nav-link-admin {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 0.5rem 0;
    z-index: 1004;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1003;
    position: relative;
}

/* Esconder hamburger em desktop - definido na seção DESKTOP abaixo */

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.btn-link {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-link:hover {
    color: #3498db;
}

/* main já definido acima com padding-top para compensar header fixo */

.hero {
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.9) 0%, rgba(26, 95, 63, 0.9) 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(255, 215, 0, 0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.bg-light {
    background: rgba(248, 249, 250, 0.05);
    backdrop-filter: blur(5px);
}

.section h2 {
    color: #ffd700;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.card-body h3 {
    margin-bottom: 1rem;
    color: #1a5f3f;
    font-size: 1.4rem;
}

.card-body p {
    margin-bottom: 1rem;
    color: rgb(0, 0, 0);
    line-height: 1.7;
}

.meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3f 100%);
    color: white;
    border: 2px solid #ffd700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a5f3f 0%, #2d8659 100%);
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(149, 165, 166, 0.3);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(127, 140, 141, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary-outline {
    background: transparent;
    color: white;
    border: 2px solid #ffd700;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-outline:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.text-center {
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container h1 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-group textarea {
    resize: vertical;
}

.error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.article {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article h1 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-image {
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.article-content {
    margin: 2rem 0;
    line-height: 1.8;
}

.article-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.event-details {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.event-details p {
    margin-bottom: 0.5rem;
}

.dashboard-welcome {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dashboard-welcome h2 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #3498db;
    margin: 1rem 0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pix-info {
    background-color: #e8f5e9;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.pix-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.donation-notice {
    background-color: #fff3cd;
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    border: 1px solid #ffc107;
}

.success-message {
    max-width: 600px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.success-message h1 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.success-message p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.preview-image {
    max-width: 200px;
    margin: 1rem 0;
    border-radius: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

footer {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

.donation-hero {
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3f 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.donation-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.donation-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.donation-form-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.donation-info h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.benefits-list strong {
    display: block;
    color: #2d8659;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.donation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-box h3 {
    font-size: 2rem;
    color: #2d8659;
    margin-bottom: 0.5rem;
}

.donation-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.amount-selector {
    margin-bottom: 2rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.amount-btn:hover {
    border-color: #2d8659;
    background: #e8f5e9;
}

.amount-btn.active {
    border-color: #2d8659;
    background: #2d8659;
    color: white;
}

.custom-amount {
    margin-top: 1.5rem;
}

.input-with-prefix {
    position: relative;
    margin-top: 0.5rem;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #666;
}

.input-with-prefix input {
    padding-left: 45px;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.security-note {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-selection-container {
    max-width: 900px;
    margin: 2rem auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donation-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.payment-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.payment-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(45, 134, 89, 0.3);
    border-color: #2d8659;
}

.payment-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.pix-icon {
    background: #32bcad;
    color: white;
}

.card-icon {
    background: #ff6b6b;
    color: white;
}

.bank-icon {
    background: #4ecdc4;
    color: white;
}

.payment-info {
    flex: 1;
}

.payment-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.payment-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.payment-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.payment-arrow {
    font-size: 2rem;
    color: #2d8659;
}

.payment-container {
    max-width: 1000px;
    margin: 2rem auto;
}

.pix-payment-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pix-qrcode {
    text-align: center;
}

.pix-qrcode img {
    width: 250px;
    height: 250px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    background: white;
}

.qr-instruction {
    margin-top: 1rem;
    color: #666;
}

.amount-display {
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3f 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
    border: 3px solid #ffd700;
}

.amount-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.amount-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.pix-key-box {
    margin-bottom: 2rem;
}

.copy-box {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.copy-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #2d8659;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-copy:hover {
    background: #1a5f3f;
}

.btn-copy.copied {
    background: #27ae60;
}

.pix-info-box, .transfer-instructions {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.pix-info-box h3, .transfer-instructions h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.pix-instructions ol {
    padding-left: 1.5rem;
}

.pix-instructions li {
    margin-bottom: 0.5rem;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.credit-card-payment {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.card-preview {
    position: sticky;
    top: 2rem;
}

.credit-card-display {
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3f 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    height: 220px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 2px solid #ffd700;
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.card-number {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
}

.card-holder, .card-expiry {
    display: inline-block;
    margin-right: 2rem;
}

.card-label {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.card-name, .card-date {
    font-size: 1rem;
    font-weight: bold;
}

.card-brand {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    display: none;
}

.card-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.security-badges {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #27ae60;
    font-size: 0.9rem;
}

.bank-transfer-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bank-data-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.bank-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.bank-info-item.highlight {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

.info-label {
    font-weight: bold;
    color: #666;
}

.info-value {
    font-family: monospace;
    color: #2c3e50;
}

.btn-copy-small {
    padding: 0.5rem 1rem;
    background: #2d8659;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-copy-small:hover {
    background: #1a5f3f;
}

.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.alert-info {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
    color: #0c5460;
}

.success-container {
    max-width: 700px;
    margin: 3rem auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    stroke: #28a745;
}

.success-container h1 {
    color: #28a745;
    margin-bottom: 1rem;
}

.success-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.donation-receipt {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.receipt-item:last-child {
    border-bottom: none;
}

.receipt-label {
    color: #666;
}

.receipt-value {
    font-weight: bold;
    color: #2c3e50;
}

.status-completed {
    color: #28a745;
}

.status-pending {
    color: #ffc107;
}

.receipt-message {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.receipt-message p {
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
}

.success-info {
    background: #e7f3ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
}

.success-info ul {
    list-style: none;
    margin-top: 1rem;
}

.success-info li {
    padding: 0.5rem 0;
}

.social-share {
    margin: 2rem 0;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.thank-you-message {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3f 100%);
    color: white;
    border-radius: 8px;
    border: 2px solid #ffd700;
}

.back-link {
    text-align: center;
    margin-top: 2rem;
}

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

.registration-info {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.training-locations {
    margin-top: 2rem;
}

.location-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2d8659;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.location-card h4 {
    color: #2d8659;
    margin-bottom: 0.5rem;
}

.registration-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #2d8659;
    margin-bottom: 1.5rem;
}

.training-location-selector {
    display: grid;
    gap: 1rem;
}

.location-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.location-option:hover {
    border-color: #2d8659;
    background: #f0f8f5;
}

.location-option input[type="radio"] {
    margin-top: 0.25rem;
}

.location-option input[type="radio"]:checked + .location-option-content {
    color: #2d8659;
}

.location-option:has(input:checked) {
    border-color: #2d8659;
    background: #e8f5e9;
}

.location-option-content h4 {
    margin-bottom: 0.25rem;
}

.location-option-content .schedule {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.terms-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    gap: 1rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
}

.checkbox-content strong {
    display: block;
    color: #2d8659;
    margin-bottom: 0.5rem;
}

.checkbox-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.student-profile-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3f 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    border: 3px solid #ffd700;
}

.profile-info h2 {
    margin-bottom: 0.5rem;
    color: #2d8659;
}

.profile-location, .profile-since {
    color: #666;
    font-size: 0.9rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: #2d8659;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #666;
    font-size: 0.9rem;
}

.pending-data-alert {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    display: flex;
    gap: 1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dashboard-section:first-child {
    grid-column: 1 / -1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.receipts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.receipt-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.receipt-icon {
    font-size: 2rem;
}

.receipt-info {
    flex: 1;
}

.receipt-info h4 {
    margin-bottom: 0.25rem;
}

.receipt-info p {
    font-size: 0.85rem;
    color: #666;
}

.receipt-amount {
    font-weight: bold;
    color: #2d8659;
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event-date {
    background: #2d8659;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.event-date .month {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.event-info h4 {
    margin-bottom: 0.5rem;
}

.event-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #999;
}

.transparency-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.summary-card h3 {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.summary-card .amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.summary-card.total .amount {
    color: #2d8659;
}

.summary-card.expenses .amount {
    color: #ff6b6b;
}

.summary-card.balance .amount.positive {
    color: #2d8659;
}

.summary-card.balance .amount.negative {
    color: #e74c3c;
}

.summary-card .subtitle {
    color: #999;
    font-size: 0.9rem;
}

.transparency-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.transparency-section h2 {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.donations-table table {
    width: 100%;
    border-collapse: collapse;
}

.donations-table th,
.donations-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.donations-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #2d8659;
}

.amount-cell {
    font-weight: bold;
    color: #2d8659;
}

.transaction-id {
    font-family: monospace;
    font-size: 0.85rem;
    color: #666;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.badge-pix {
    background: #32bcad;
    color: white;
}

.badge-card {
    background: #ff6b6b;
    color: white;
}

.badge-transfer {
    background: #4ecdc4;
    color: white;
}

.receipts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.receipt-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.receipt-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.receipt-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
}

.receipt-meta h3 {
    margin-bottom: 0.25rem;
}

.receipt-date {
    font-size: 0.85rem;
    color: #666;
}

.receipt-body {
    padding: 1.5rem;
}

.receipt-description {
    margin-bottom: 1rem;
    color: #666;
}

.receipt-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-category {
    background: #e8f5e9;
    color: #2d8659;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.receipt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.receipt-posted-by {
    font-size: 0.85rem;
    color: #666;
}

.transparency-info {
    background: #e8f5e9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2d8659;
}

.transparency-info h3 {
    color: #2d8659;
    margin-bottom: 1rem;
}

.transparency-info ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.transparency-info li {
    margin-bottom: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.receipts-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.receipts-table th,
.receipts-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.receipts-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #2d8659;
}

.actions-cell {
    display: flex;
    gap: 0.5rem;
}

.form-container {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE-FIRST
   ========================================================================== */

/* Skip Link para Acessibilidade */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: bold;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Prevenir scroll quando menu está aberto */
body.menu-open {
    overflow: hidden;
}

/* Logout form inline */
.logout-form {
    display: inline;
}

/* ==========================================================================
   NAVBAR RESPONSIVA - MOBILE FIRST
   ========================================================================== */

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

/* Animação do hamburger para X */
.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
}

/* ==========================================================================
   MENU MOBILE (< 1025px)
   ========================================================================== */

@media (max-width: 1024px) {
    /* Menu Mobile - Drawer lateral */
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height para mobile */
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        z-index: 1003;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
        list-style: none;
    }

    .nav-menu.is-open {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        text-align: left;
    }

    .nav-menu .nav-link-cta {
        margin-top: 1rem;
        text-align: center;
    }

    /* Dropdown em mobile */
    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 0.5rem;
        box-shadow: none;
        border: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    /* Overlay quando menu está aberto */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        pointer-events: auto;
    }
}

/* ==========================================================================
   TIPOGRAFIA RESPONSIVA
   ========================================================================== */

/* Base mobile-first */
html {
    font-size: 16px;
}

.hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    padding: 0 1rem;
}

.hero p {
    font-size: 1rem;
    padding: 0 1rem;
}

.hero {
    padding: 3rem 0;
}

.section h2 {
    font-size: 1.5rem;
}

/* ==========================================================================
   GRIDS RESPONSIVOS
   ========================================================================== */

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

.donation-form-container,
.pix-payment-content,
.credit-card-payment,
.registration-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.amount-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.donation-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.transparency-summary {
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.profile-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* ==========================================================================
   COMPONENTES MOBILE
   ========================================================================== */

.container {
    padding: 0 1rem;
}

.section {
    padding: 2.5rem 0;
}

.card-body {
    padding: 1rem;
}

.form-container {
    margin: 1rem;
    padding: 1.5rem;
}

.article {
    margin: 1rem;
    padding: 1.5rem;
}

.page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.form-actions,
.action-buttons,
.article-actions {
    flex-direction: column;
}

.form-actions .btn,
.action-buttons .btn {
    width: 100%;
    text-align: center;
}

.payment-method-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
}

.payment-icon {
    width: 60px;
    height: 60px;
}

.share-buttons {
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    justify-content: center;
}

/* Hero buttons em mobile */
.hero-buttons {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.hero-buttons .btn {
    width: 100%;
    text-align: center;
}

/* Tabelas responsivas */
.donations-table,
.receipts-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.donations-table table,
.receipts-table table {
    min-width: 600px;
}

/* Profile header em mobile */
.profile-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

/* PIX QR Code em mobile */
.pix-qrcode img {
    width: 200px;
    height: 200px;
}

/* Copy box em mobile */
.copy-box {
    flex-direction: column;
}

.copy-box input {
    text-align: center;
    font-size: 0.85rem;
}

/* Form row em mobile */
.form-row {
    grid-template-columns: 1fr;
}

/* Credit card display em mobile */
.credit-card-display {
    height: auto;
    min-height: 180px;
    padding: 1.5rem;
}

.card-number {
    font-size: 1.1rem;
    letter-spacing: 2px;
    word-break: break-all;
}

/* Security badges em mobile */
.security-badges {
    flex-direction: column;
    gap: 1rem;
}

/* Bank info em mobile */
.bank-info-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

/* Location option em mobile */
.location-option {
    padding: 1rem;
}

/* ==========================================================================
   TABLET (481px - 1024px)
   ========================================================================== */

@media (min-width: 481px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

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

    .amount-buttons {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .transparency-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: auto;
    }

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

    .copy-box {
        flex-direction: row;
    }

    .bank-info-item {
        flex-direction: row;
        text-align: left;
    }

    .security-badges {
        flex-direction: row;
    }

    .share-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ==========================================================================
   DESKTOP (> 1024px)
   ========================================================================== */

@media (min-width: 1025px) {
    /* Esconder menu toggle em desktop */
    .mobile-menu-toggle {
        display: none;
    }

    /* Menu horizontal em desktop */
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        height: auto;
        max-width: none;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        gap: 0.5rem;
        box-shadow: none;
        overflow: visible;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu li {
        width: auto;
    }

    .nav-menu .nav-link {
        display: inline-block;
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .nav-menu .nav-link-cta {
        margin-top: 0;
    }

    /* Dropdown hover em desktop */
    .nav-dropdown .dropdown-menu {
        position: absolute;
        display: none;
        background: rgba(26, 26, 26, 0.98);
        border-radius: 8px;
        min-width: 180px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        border: 1px solid rgba(255, 215, 0, 0.2);
        padding: 0.5rem 0;
        margin-top: 0;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }

    /* Remover overlay */
    body.menu-open::after {
        display: none;
    }

    /* Tipografia desktop */
    .hero h1 {
        font-size: 3.5rem;
        padding: 0;
    }

    .hero p {
        font-size: 1.5rem;
        padding: 0;
    }

    .hero {
        padding: 6rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    /* Grids desktop */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .donation-form-container {
        grid-template-columns: 1fr 1.2fr;
    }

    .pix-payment-content {
        grid-template-columns: 1fr 1.5fr;
    }

    .credit-card-payment {
        grid-template-columns: 1fr 1.2fr;
    }

    .registration-container {
        grid-template-columns: 1fr 1.5fr;
    }

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

    /* Container desktop */
    .container {
        padding: 0 20px;
    }

    /* Page header desktop */
    .page-header {
        flex-direction: row;
        align-items: center;
    }

    /* Form actions desktop */
    .form-actions,
    .action-buttons,
    .article-actions {
        flex-direction: row;
    }

    .form-actions .btn,
    .action-buttons .btn {
        width: auto;
    }

    /* Payment card desktop */
    .payment-method-card {
        flex-direction: row;
        text-align: left;
        padding: 2rem;
        gap: 2rem;
    }

    .payment-icon {
        width: 80px;
        height: 80px;
    }

    /* Profile header desktop */
    .profile-header {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }

    /* PIX QR Code desktop */
    .pix-qrcode img {
        width: 250px;
        height: 250px;
    }

    /* Credit card display desktop */
    .credit-card-display {
        height: 220px;
        padding: 2rem;
    }

    .card-number {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
}

/* ==========================================================================
   ESTADOS DE FOCO E HOVER (Acessibilidade)
   ========================================================================== */

/* Focus visible para navegação por teclado */
.nav-link:focus-visible,
.btn:focus-visible,
.mobile-menu-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* Remover outline padrão apenas quando não é teclado */
.nav-link:focus:not(:focus-visible),
.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* Melhorar contraste em hover */
.btn-primary:hover,
.btn-primary:focus {
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.5);
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Transições suaves */
.btn,
.nav-link,
.card,
.payment-method-card,
input,
textarea {
    transition: all 0.2s ease;
}

/* ==========================================================================
   UTILITÁRIOS RESPONSIVOS
   ========================================================================== */

/* Esconder em mobile */
.hide-mobile {
    display: none;
}

@media (min-width: 481px) {
    .hide-mobile {
        display: block;
    }
}

/* Esconder em desktop */
@media (min-width: 1025px) {
    .hide-desktop {
        display: none;
    }
}

/* Texto truncado */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Imagem responsiva */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   ALERTAS MELHORADOS
   ========================================================================== */

.alert {
    margin: 1rem auto;
    max-width: 1200px;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   LOADING STATE
   ========================================================================== */

.btn.is-loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   FIX DEFINITIVO – registration-info nunca sai do fluxo
   ========================================================================== */
.registration-info {
    position: static;
    width: 100%;
    max-width: 100%;
}

.registration-info * {
    position: static;
}

.registration-info::after {
    content: "";
    display: block;
    clear: both;
}

/* Garantir que containers respeitem altura */
.section,
.container {
    overflow: visible;
}
