/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    border-top: 2px solid #4a9eff;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-text h3 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.cookie-text p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.cookie-text p a {
    color: #4a9eff;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-text p a:hover {
    color: #6db3ff;
}

.cookie-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px 0;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ddd;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.cookie-options label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4a9eff;
    flex-shrink: 0;
}

.cookie-options input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-options input[type="checkbox"]:disabled + span {
    opacity: 0.6;
}

.cookie-options span {
    font-size: 13px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
}

.cookie-btn.reject {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.cookie-btn.reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.cookie-btn.customize {
    background: transparent;
    color: #ddd;
    border: 1px solid #555;
}

.cookie-btn.customize:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #888;
}

/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #1a1a2e;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="white" d="M20,50 L30,40 L40,50 L30,60 Z M60,30 L70,20 L80,30 L70,40 Z M50,70 L60,60 L70,70 L60,80 Z"/></svg>') repeat;
    opacity: 0.1;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 2em;
    font-weight: 700;
}

.tagline {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

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

.stat-number {
    font-size: 2em;
    font-weight: 700;
    color: #e94560;
}

.stat-label {
    font-size: 0.85em;
    opacity: 0.8;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.main-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.product-icon {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Cores específicas para cada produto */
.product-card:nth-child(1) .product-icon { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.product-card:nth-child(2) .product-icon { background: linear-gradient(135deg, #4a90e2, #2c3e50); }
.product-card:nth-child(3) .product-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
.product-card:nth-child(4) .product-icon { background: linear-gradient(135deg, #11998e, #38ef7d); }
.product-card:nth-child(5) .product-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }
.product-card:nth-child(6) .product-icon { background: linear-gradient(135deg, #f7971e, #ffd200); }

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.product-link:hover {
    gap: 12px;
}

.badge-free {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 600;
    margin-bottom: 10px;
}

.badge-new {
    display: inline-block;
    background: #e94560;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 10px;
}

.badge-popular {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 10px;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* ============================================
   DONATION SECTION
   ============================================ */
.donation-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    color: white;
    margin: 60px 0;
}

.donation-section h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.donation-section p {
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.donation-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233,69,96,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

/* ============================================
   TRANSPARENCY SECTION
   ============================================ */
.transparency-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    margin: 60px 0;
}

.transparency-section h2 {
    margin-bottom: 20px;
}

.transparency-section p {
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.transparency-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.transparency-number {
    font-size: 2em;
    font-weight: bold;
    color: #e94560;
}

/* ============================================
   RODAPÉ (carregado dinamicamente)
   ============================================ */
#rodape-container .footer {
    background: #1a1a2e;
    color: white;
    text-align: center;
    padding: 40px;
    margin-top: 60px;
}

#rodape-container .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

#rodape-container .footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

#rodape-container .footer a:hover {
    color: #e94560;
}

#rodape-container .footer-divider {
    opacity: 0.3;
}

#rodape-container .copyright {
    opacity: 0.6;
    font-size: 0.8em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header {
        padding: 40px 20px;
    }
    .logo-text {
        font-size: 1.5em;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .donation-section {
        padding: 30px 20px;
    }
    .transparency-stats {
        flex-direction: column;
        gap: 15px;
    }
    #rodape-container .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    #rodape-container .footer-divider {
        display: none;
    }
    .cookie-options {
        flex-direction: column;
        gap: 8px;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .cookie-content {
        gap: 12px;
    }
    .cookie-text h3 {
        font-size: 16px;
    }
    .cookie-text p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        gap: 20px;
        padding: 15px 20px;
    }
    .stat-number {
        font-size: 1.5em;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .donation-buttons {
        flex-direction: column;
        align-items: center;
    }
    .donation-buttons .btn-primary,
    .donation-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
