/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: var(--dark);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease-out;
}

.slide.active img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: var(--white);
    z-index: 10;
    padding: 0 20px;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.banner-text {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.banner-content .cta-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Controles do Slider */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: var(--white);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Indicadores */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.indicator.active {
    background-color: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner de Páginas Internas */
.page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(37, 99, 235, 0.7) 0%,
        rgba(16, 185, 129, 0.7) 100%
    );
}

.page-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}

.page-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-banner-content p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #059669;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Seções */
.about,
.stats {
    padding: 4rem 0;
    background-color: var(--white);
}

/* Seção de Doação Hero */
.donation-hero {
    padding: 4rem 0;
    background-color: var(--white);
}

.donation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.donation-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.donation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

.image-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 3rem 2rem 2rem;
    color: var(--white);
}

.image-text h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.donation-box {
    background-color: #0066cc;
    padding: 3rem;
    border-radius: var(--border-radius);
    color: var(--white);
}

.quick-pix-result {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.quick-pix-result p {
    margin-bottom: 0.75rem;
}

.quick-pix-placeholder,
.quick-pix-loading {
    text-align: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.quick-pix-error {
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.5);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: #ffe4e6;
}

.quick-pix-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.quick-pix-image {
    width: 200px;
    max-width: 100%;
    background: var(--white);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.quick-pix-amount-text {
    font-size: 1.1rem;
    color: var(--white);
}

.quick-pix-code {
    width: 100%;
    min-height: 90px;
    resize: none;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quick-pix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.quick-pix-copy.copied {
    background-color: var(--secondary-color);
    color: var(--white);
}

.quick-pix-download {
    text-decoration: none;
    text-align: center;
}

.quick-pix-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.donation-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.donation-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 2rem;
    background-color: rgba(255,255,255,0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tab-btn {
    padding: 1rem;
    border: none;
    background-color: transparent;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #ffd700;
    color: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.valor-box {
    padding: 1.25rem;
    border: 3px solid var(--white);
    background-color: var(--white);
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
}

.valor-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.valor-box.destaque {
    background-color: #ffd700;
    border-color: #ffd700;
    transform: scale(1.05);
}

.valor-box.active {
    background-color: #ffd700;
    border-color: #ffd700;
    transform: scale(1.05);
}

.valor-info {
    background-color: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid #ffd700;
    margin-bottom: 1.5rem;
}

.valor-info h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.valor-info p {
    color: var(--white);
    margin: 0;
    line-height: 1.6;
}

.custom-value {
    margin-bottom: 1.5rem;
}

.custom-value label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 500;
}

.custom-value input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--white);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: var(--white);
}

.btn-block {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

.btn-donate {
    background-color: #ffd700;
    color: #000;
    font-weight: 700;
}

.btn-donate:hover {
    background-color: #ffed4e;
}

.about h3,
.stats h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 3rem;
    height: 3rem;
    display: block;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Stats */
.stats {
    background-color: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
}

/* Formulários */
.form-section,
.donation-section {
    padding: 4rem 0;
}

.form-container,
.donation-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-container h2,
.donation-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.form-description {
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.small {
    grid-column: span 1;
}

.form-actions {
    margin-top: 2rem;
}

.form-alert {
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-alert ul {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.form-alert.success {
    background: #ecfdf5;
    border-color: #22c55e;
    color: #065f46;
}

.form-alert.error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

/* QR Code Result */
.qrcode-result {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.qrcode-result h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

#qrcodeContainer,
#qrcodeDoacaoContainer {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

#qrcodeContainer canvas,
#qrcodeDoacaoContainer canvas {
    border: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    background-color: var(--white);
}

.cadastro-info {
    text-align: left;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.cadastro-info p {
    margin-bottom: 0.5rem;
}

/* Doação - Lista de Pessoas */
.cadastrados-list {
    margin-bottom: 3rem;
}

.cadastrados-list h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.pessoas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pessoa-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.pessoa-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pessoa-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.pessoa-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.pessoa-card .situacao {
    margin-top: 0.75rem;
    font-style: italic;
    color: var(--dark);
}

.empty-message {
    text-align: center;
    color: var(--gray);
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Valores Sugeridos */
.valores-sugeridos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.valor-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border: 2px solid #d1d5db;
    background-color: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-align: left;
}

.valor-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.valor-card.active {
    border-color: var(--primary-color);
    border-width: 3px;
    background-color: #eff6ff;
    box-shadow: var(--shadow-lg);
}

.valor-card.active::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.valor-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    display: block;
}

.valor-principal {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.25rem;
    display: block;
}

.valor-card.active .valor-principal {
    color: var(--primary-color);
}

.valor-detalhe {
    font-size: 0.875rem;
    color: var(--gray);
    display: block;
}

.valor-custom-btn .valor-principal {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.valor-custom-group {
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remover estilos antigos de .valor-btn */
.valor-btn {
    padding: 1rem;
    border: 2px solid var(--primary-color);
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.valor-btn:hover,
.valor-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Input de Dinheiro */
.input-money {
    position: relative;
    display: flex;
    align-items: center;
}

/* Seção FAQ */
.faq-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.faq-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.organization-info {
    background-color: var(--white);
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
}

.organization-info h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--dark);
}

.org-grid p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.org-grid strong {
    color: var(--primary-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    font-weight: 400;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #f9fafb;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
    color: var(--gray);
}

.currency {
    position: absolute;
    left: 1rem;
    font-weight: 600;
    color: var(--gray);
}

.input-money input {
    padding-left: 3rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Pessoa Selecionada */
.pessoa-selecionada {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.pessoa-selecionada h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pessoa-info p {
    margin-bottom: 0.5rem;
}

/* QR Code Doação */
.qrcode-doacao {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.donation-details {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.donation-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.instruction {
    color: var(--gray);
    font-style: italic;
    margin: 1rem 0;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    /* Banner Mobile */
    .banner-slider {
        height: 500px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-text {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .slider-nav {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .slider-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    /* Banner páginas internas */
    .page-banner {
        height: 200px;
    }

    .page-banner-content h2 {
        font-size: 1.75rem;
    }

    .page-banner-content p {
        font-size: 1rem;
    }

    /* Donation Hero Mobile */
    .donation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donation-image img {
        min-height: 300px;
    }

    .image-text h2 {
        font-size: 1.5rem;
    }

    .donation-box {
        padding: 2rem 1.5rem;
    }

    .donation-title {
        font-size: 1.5rem;
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .valor-box {
        font-size: 1.25rem;
        padding: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .valores-sugeridos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .valor-card {
        padding: 1.25rem;
    }

    .valor-principal {
        font-size: 1.5rem;
    }

    .form-container,
    .donation-container {
        padding: 1.5rem;
    }

    .pessoas-grid {
        grid-template-columns: 1fr;
    }
}

.pix-result-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.pix-result-card {
    flex: 1 1 280px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.pix-result-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: #1f2937;
}

.pix-qr-image {
    width: 260px;
    height: 260px;
    display: block;
    margin: 0 auto 1rem;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.qr-download {
    text-align: center;
    margin-bottom: 1rem;
}

.pix-result-card textarea {
    width: 100%;
    min-height: 120px;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    background: #fff;
    color: #1f2937;
}

.pix-result-card .copy-pix {
    width: 100%;
}

@media print {
    header,
    footer,
    .btn,
    form {
        display: none;
    }

    .qrcode-result {
        background-color: var(--white);
    }
}
