/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* Banner Section - REFEITO */
.banner {
    width: 100%;
    height: 15vh;
    min-height: 100px;
    background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo {
    color: #333;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.logo img {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    border-radius: 10px;
}

/* Logo removido - agora usando banner.webp */

/* Video Section - REFEITO */
.video-section {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 25px 0;
    margin-top: 0;
    padding-top: 0;
}

.video-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
.main-content {
    background: transparent;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    color: #1e3a8a;
    padding: 25px 0;
    text-align: center;
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

.hero::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"><defs><pattern id="paw" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23paw)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.highlight {
    color: #ec4899;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.urgent {
    color: #ec4899;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.cta-button.primary {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-button.primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 2px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.3);
}

.heart-icon {
    font-size: 1.1rem;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    color: #1e3a8a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #e0f2fe, #b3e5fc);
    border-radius: 2px;
}

/* News Section */
.news-section {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 25px 0;
}

.news-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.news-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(236, 72, 153, 0.1);
}

.news-category {
    color: #ec4899;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 8px 0;
    color: #1e3a8a;
    line-height: 1.3;
}

.news-author {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.news-date {
    color: #94a3b8;
    font-size: 0.75rem;
}

.news-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.news-message {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 15px;
}

.news-message strong {
    color: #ec4899;
    font-weight: bold;
}

/* Who We Are Section */
.who-we-are {
    padding: 25px 0;
    background: #ffffff;
}

.content-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1rem;
    line-height: 1.5;
    color: #1e3a8a;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: white;
    border: 2px solid #ec4899;
    border-radius: 20px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.2);
    border-color: #be185d;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ec4899;
    margin-bottom: 6px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.stat-text {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.3;
    font-weight: 500;
    margin-top: 4px;
}

/* Section Actions */
.section-actions {
    text-align: center;
    margin-top: 30px;
}

/* Rescue Story Section */
.rescue-story {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 25px 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto 25px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    color: #1e3a8a;
}

.story-content p {
    margin-bottom: 20px;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-image-container {
    display: flex;
    justify-content: center;
}

.story-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 25px 0;
}

/* Progress Section */
.progress-section {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.progress-section::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"><defs><pattern id="paw" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23paw)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.progress-container {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.progress-header {
    text-align: center;
    margin-bottom: 30px;
}

.progress-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.title-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.title-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-track {
    position: relative;
    width: 100%;
    height: 16px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
    border-radius: 20px;
    transition: width 3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

.progress-sparkles {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 1rem;
    opacity: 0;
    animation: sparkle 4s infinite;
}

.sparkle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    left: 50%;
    animation-delay: 1.5s;
}

.sparkle:nth-child(3) {
    left: 80%;
    animation-delay: 3s;
}

.progress-percentage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.percentage-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #059669;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.percentage-icon {
    font-size: 1.3rem;
    animation: bounce 2s infinite;
}

.progress-message {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.progress-message p {
    margin: 0;
    font-size: 1rem;
    color: #1e40af;
    font-weight: 600;
    line-height: 1.5;
}

.impact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 25px;
    font-size: 1rem;
    line-height: 1.5;
    color: #1e3a8a;
}

.impact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.impact-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 72, 153, 0.1);
}

.impact-card:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.impact-value {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    padding: 12px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.impact-description {
    flex: 1;
    font-size: 0.9rem;
    color: #1e3a8a;
    font-weight: 500;
}

/* PIX Section */
.pix-section {
    background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
    padding: 25px 0;
}

.pix-info {
    max-width: 800px;
    margin: 0 auto;
}

.pix-key-container {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.pix-key-container h4 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.pix-key-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pix-key {
    background: #f8fafc;
    padding: 12px;
    border-radius: 15px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    color: #1e3a8a;
    border: 2px solid #e2e8f0;
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.copy-button {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.copy-button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.copy-icon {
    font-size: 1rem;
}

.pix-recipient {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 8px;
    font-weight: 500;
}

.pix-steps {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.pix-steps h4 {
    color: #1e3a8a;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.pix-steps ol {
    padding-left: 18px;
}

.pix-steps li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #475569;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 35px 0 140px; /* Aumentado para ter mais espaço no final */
    position: relative;
    z-index: 1001; /* Menor que o botão fixo */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.footer-section h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #e0f2fe;
}

.footer-logo {
    text-align: center;
    margin-bottom: 12px;
}

.paw-logo-small {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.footer-logo h4 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.footer-logo p {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.4;
    font-size: 0.85rem;
}

.contact-info p {
    margin-bottom: 6px;
    color: #e2e8f0;
    font-size: 0.85rem;
}

/* Previne que números de telefone virem links no iPhone */
.contact-info p:has(a),
.contact-info p a {
    color: #e2e8f0;
    text-decoration: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.social-link {
    color: #e2e8f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    justify-content: center;
}

.social-link:hover {
    color: #e0f2fe;
}

.social-icon {
    font-size: 0.9rem;
}

.footer-links p {
    margin-bottom: 6px;
    color: #e2e8f0;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 12px;
    text-align: center;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

/* Fixed Button with Progress Bar */
.fixed-button-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: #e0f2fe;
    padding: 15px 20px;
    border-top: 1px solid #b3e5fc;
    text-align: center;
}

.fixed-progress-bar {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    min-width: 280px;
    margin: 0 auto 15px;
}

.fixed-progress-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fixed-current-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.fixed-goal-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ec4899;
}

.fixed-progress-track {
    position: relative;
    height: 8px;
    background: #e5e7eb; /* Linha de fundo cinza padrão */
    border-radius: 4px;
    overflow: hidden;
}

/* Barra de progresso específica do botão fixo - ROSA */
.fixed-progress-track .progress-fill {
    height: 8px;
    background: linear-gradient(135deg, #ec4899, #be185d) !important; /* Rosa forte */
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill {
    height: 8px;
    background: linear-gradient(135deg, #ec4899, #be185d); /* Rosa forte */
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-text {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    text-align: center;
}

.progress-bar {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.progress-header {
    margin-bottom: 15px;
}

.progress-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.title-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.title-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
    padding: 8px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: #1e293b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.current-amount {
    color: #059669;
    font-size: 1.1rem !important;
}

.goal-amount {
    color: #ec4899 !important;
}

.remaining-amount {
    color: #ec4899 !important;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 12px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
    border-radius: 8px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-sparkles {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 0.8rem;
    opacity: 0;
    animation: sparkle 3s infinite;
}

.sparkle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

.progress-percentage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.percentage-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: #059669;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.percentage-icon {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.fixed-help-button {
    background: linear-gradient(135deg, #ec4899, #be185d, #9d174d);
    color: white;
    border: none;
    padding: 18px 30px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.fixed-help-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.fixed-help-button:hover::before {
    left: 100%;
}

.fixed-help-button:hover {
    background: linear-gradient(135deg, #be185d, #9d174d, #831843);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.6);
}

.fixed-help-button:active {
    transform: translateY(-1px) scale(0.98);
}

.button-icon {
    font-size: 1.3rem;
    animation: heartbeat 2s infinite;
}

.button-text {
    font-weight: 800;
    letter-spacing: 1.5px;
}

.button-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.fixed-help-button:hover .button-arrow {
    transform: translateX(5px);
}

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

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1003; /* Maior que o footer e botão fixo */
}

.whatsapp-button:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);

    /* garante que elementos filhos recebam eventos */
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    border-radius: 25px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;

    /* força conteúdo acima do backdrop e cliqueável */
    z-index: 2001;
    pointer-events: auto;
}

/* reforço nas opções para evitar que algo as cubra */
.donation-option {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    text-align: center;

    pointer-events: auto;
}

.modal-header {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: bold;
}

.close {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 20px;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.donation-option {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    text-align: center;

    /* Garantias contra overlays e bloqueios */
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.donation-option:hover {
    border-color: #ec4899;
    background: #fff4f6; /* ligeiro contraste */
    box-shadow: 0 6px 18px rgba(236,72,153,0.18);
    transform: translateY(-2px);
    outline: 2px solid rgba(236,72,153,0.12);
}

.donation-option.selected {
    border-color: #ec4899;
    background: #fff4f6; /* ligeiro contraste */
    box-shadow: 0 6px 18px rgba(236,72,153,0.18);
    transform: translateY(-2px);
    outline: 2px solid rgba(236,72,153,0.12);
}

.option-value {
    font-size: 1rem;
    font-weight: bold;
    color: #1e3a8a;
}

.custom-amount-section {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 15px;
    background: #f8fafc;
}

.custom-amount-section .option-value {
    text-align: center;
    margin-bottom: 8px;
}

#customAmount {
    padding: 8px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    background: white;
    width: 100%;
}

#customAmount:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.continue-button {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.continue-button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.donation-message {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.donation-messag {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* === ESTILO MODAL PIX/OBRIGADO === */
.modal-pix {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 0;
  width: 100%;
  max-width: 370px;
  text-align: center;
  overflow: hidden;
}
.modal-header-pix {
  background: linear-gradient(90deg, #e9408f 0%, #e9408f 100%);
  color: #fff;
  padding: 18px 22px 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.modal-title-pix {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.modal-close-pix {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 10px;
  line-height: 1;
}
.modal-content-pix {
  padding: 22px 22px 10px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-subtitle-pix {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.modal-amount-pix {
  color: #e9408f;
  font-weight: 700;
  font-size: 1.15rem;
}
.modal-desc-pix {
  font-size: 1rem;
  color: #222;
  margin-bottom: 18px;
}
.whatsapp-btn-pix {
  background: #2ea13d;
  color: #050303;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 13px 0;
  width: 100%;
  margin-bottom: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(233,64,143,0.12);
  transition: background 0.3s;
  text-decoration: none;
}
.whatsapp-btn-pix:hover {
  background: #c92c7a;
}
.whatsapp-btn-pix svg {
  vertical-align: middle;
}
.modal-info-pix {
  background: #f3f6ff;
  color: #1a4bc7;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 0.98rem;
  margin-top: 8px;
  text-align: center;
}
.modal-info-title {
  font-weight: 700;
  color: #1a4bc7;
  font-size: 1rem;
}
.modal-info-text {
  font-size: 0.98rem;
  color: #222;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

/* Ajuste responsivo para pop-up de copia e cola */
@media (max-width: 480px) {
  .modal-pix {
    max-width: 98vw;
    min-width: 0;
    padding: 0;
    border-radius: 16px;
  }
  .modal-header-pix, .modal-content-pix {
    padding-left: 10px;
    padding-right: 10px;
  }
  .modal-content-pix {
    padding-top: 18px;
    padding-bottom: 8px;
  }
  .modal-info-pix {
    font-size: 0.95rem;
    padding: 10px 6px;
  }
  .whatsapp-btn-pix {
    font-size: 1rem;
    padding: 11px 0;
  }
}

.modal-pix {
  box-sizing: border-box;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  padding: 0;
  border-radius: 18px;
  overflow: visible;
}

.modal-content-pix {
  box-sizing: border-box;
  width: 100%;
  padding: 22px 22px 10px 22px;
}

.modal-header-pix {
  box-sizing: border-box;
  width: 100%;
  padding: 18px 22px 14px 22px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        height: 20vh;
        min-height: 120px;
    }
    
    .video-section .container {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    /* Banner mobile específico */
    .banner {
        height: 12vh !important;
        min-height: 80px !important;
    }
    
    .logo img {
        max-width: 120px !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 220px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .news-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .stat-card {
        padding: 16px 10px;
        border-radius: 18px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-text {
        font-size: 0.75rem;
    }
    
    .impact-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .impact-value {
        min-width: auto;
    }
    
    .pix-key-display {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-button {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        max-width: 320px;
    }
    
    .donation-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .donation-option {
        padding: 10px 6px;
    }
    
    .option-value {
        font-size: 0.9rem;
    }
    
    .fixed-button-container {
        bottom: 0;
        padding: 12px 15px;
    }
    
    .fixed-help-button {
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .whatsapp-button {
        bottom: 45px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
    
    /* Responsividade da nova barra de progresso */
    .progress-bar {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    /* Responsividade da seção de progresso */
    .progress-section {
        padding: 30px 0;
    }
    
    .progress-container {
        padding: 25px;
        margin: 0 15px;
    }
    
    .progress-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .title-text {
        font-size: 1.1rem;
    }
    
    .progress-track {
        height: 12px;
    }
    
    .percentage-text {
        font-size: 1.3rem;
    }
    
    .progress-message {
        padding: 15px;
    }
    
    .progress-message p {
        font-size: 0.9rem;
    }
    
    /* Centralizar botões nas seções no mobile */
    .section-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }
    
    .section-actions .cta-button {
        margin: 0 auto;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .news-card,
    .pix-key-container,
    .pix-steps {
        padding: 15px;
    }
    
    .modal-header,
    .modal-body {
        padding: 15px;
    }
    
    .stat-card {
        padding: 15px 12px;
    }
    
    .impact-card {
        padding: 12px;
    }
    
    .progress-text {
        font-size: 0.75rem;
    }
    
    /* Responsividade da barra de progresso em telas muito pequenas */
    .progress-bar {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    /* Responsividade da seção de progresso em telas muito pequenas */
    .progress-section {
        padding: 20px 0;
    }
    
    .progress-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .progress-stats {
        gap: 10px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .title-text {
        font-size: 0.9rem;
    }
    
    .progress-track {
        height: 10px;
    }
    
    .percentage-text {
        font-size: 1.1rem;
    }
    
    .progress-message {
        padding: 12px;
    }
    
    .progress-message p {
        font-size: 0.8rem;
    }
    
    .whatsapp-button {
        bottom: 100px;
    }
}

/* Carrossel de Imagens */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border: 5px solid #BDE8FD ; /* Borda do carrossel */
    border-radius: 10px; /* Borda arredondada do carrossel */
    background-color: #BDE8FD; /* Cor de fundo do carrossel */
    height: 350px; /* Defina uma altura fixa para o carrossel */
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
    gap: 10px; /* Espaçamento entre as imagens */
}

.carousel-image {
    position: relative;
    width: 100%; /* Garante que cada imagem ocupe a largura total do carrossel */
}

.carousel-image img {
    width: 100%;
    height: 100%; /* Garante que as imagens ocupem toda a altura do carrossel */
    object-fit: cover; /* Garante que as imagens sejam cortadas para preencher o carrossel sem distorção */
    border-radius: 10px; /* Bordas arredondadas nas imagens */
}

.carousel-text {
    position: absolute;
    top: 50%; /* Centraliza verticalmente */
    left: 50%; /* Centraliza horizontalmente */
    transform: translate(-50%, -50%); /* Ajuste fino para garantir o centro exato */
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #F5A5C7, #EC4899); /* Gradiente rosa claro para rosa forte */
    -webkit-background-clip: text; /* Aplica o gradiente somente ao texto */
    background-clip: text;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Botão de navegação */
.carousel-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o botão */
    padding: 10px 20px;
    font-size: 1.5rem;
    background-color: #EC4899; /* Cor de fundo rosa */
    color: white;
    border: none;
    border-radius: 50%; /* Borda arredondada no botão */
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-button:hover {
    background-color: #BE185D; /* Cor mais escura ao passar o mouse */
    transform: translateY(-3px);
}

.carousel-button:active {
    transform: translateY(1px); /* Efeito ao clicar */
}

/* Estilo para a área de valores selecionados */
.selected-donations {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #ccc;
    display: none; /* Escondido inicialmente */
    text-align: center;
}

.selected-donations .selected-values {
    margin-bottom: 10px;
}

.selected-donations .total-value {
    font-weight: bold;
    font-size: 1.2rem;
    color: #10b981; /* Cor verde para o total */
}
