/* ===================================================================
   ANIMAÇÃO DE CONFETES - CORRIGIDA E OTIMIZADA
   ================================================================== */

/* Confetes - Elementos físicos */
.confetti {
    position: fixed;
    width: 8px;
    height: 8px;
    z-index: 9998;
    pointer-events: none;
    border-radius: 2px;
    /* Garante que a animação seja aplicada */
    animation-fill-mode: forwards;
    animation-timing-function: linear;
}

/* Animação principal dos confetes */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Variações de confetes para mais realismo */
.confetti-small {
    width: 6px;
    height: 6px;
}

.confetti-medium {
    width: 8px;
    height: 8px;
}

.confetti-large {
    width: 10px;
    height: 10px;
}

/* Animações com durações diferentes */
.confetti-fast {
    animation-duration: 2s;
}

.confetti-normal {
    animation-duration: 3s;
}

.confetti-slow {
    animation-duration: 4s;
}

/* ===================================================================
   NOTIFICAÇÃO DE DOAÇÃO - Z-INDEX CORRIGIDO
   ================================================================== */

.donation-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2B7FFF, #5B9CFF);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(43, 127, 255, 0.4);
    z-index: 99999; /* Muito maior que fixed-progress-bar (z-index: 200) */
    transform: translateY(-100px); /* MUDANÇA: entra de cima */
    opacity: 0; /* MUDANÇA: adiciona opacidade */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* MUDANÇA: anima opacity também */
    max-width: 320px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.donation-notification.show {
    transform: translateY(0); /* MUDANÇA: posição final */
    opacity: 1; /* MUDANÇA: totalmente visível */
}

.donation-notification.hide {
    transform: translateY(-100px); /* MUDANÇA: sai para cima */
    opacity: 0; /* MUDANÇA: desaparece */
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.notification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.notification-donor {
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.notification-text {
    font-weight: 500;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================================================
   RESTO DO CSS ORIGINAL (mantido igual)
   ================================================================== */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding-bottom: 80px; /* Espaço para botão fixo */
}

/* Header com imagem de capa */
.hero-section {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Conteúdo principal */
.main-content {
    max-width: 600px;
    margin: -50px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.campaign-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Título principal */
.campaign-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* Informações do criador */
.creator-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.creator-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.created-by {
    font-size: 11px;
    font-weight: 600;
    color: #7f8c8d;
    letter-spacing: 0.5px;
}

.creator-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.creator-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-name {
    font-weight: 600;
    color: #2c3e50;
}

.campaign-deadline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.deadline-label {
    font-size: 11px;
    font-weight: 600;
    color: #7f8c8d;
    letter-spacing: 0.5px;
}

.deadline-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.deadline-badge {
    background: #2B7FFF;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.deadline-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    white-space: nowrap;
}

/* Progresso da arrecadação */
.fundraising-progress {
    margin-bottom: 25px;
}

.progress-amounts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.current-amount,
.target-amount {
    display: flex;
    flex-direction: column;
}

.amount-label {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 2px;
}

.amount-value {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.progress-bar {
    width: 100%;
    height: 16px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2B7FFF, #5B9CFF);
    border-radius: 10px;
    width: 86%;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

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

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

/* Citação bíblica */
.bible-quote {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #2B7FFF;
    margin-bottom: 25px;
    font-style: italic;
    color: #495057;
    line-height: 1.6;
}

.bible-quote strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Seção da história - Tema masculino */
.mariana-story {
    background: linear-gradient(135deg, #f0f7ff, #e3f2ff);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: center;
}

.story-header {
    margin-bottom: 30px;
}

.story-intro {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 500;
}

.story-amount {
    font-size: 36px;
    font-weight: 800;
    color: #2B7FFF;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.story-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.story-dreams {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.dreams-title {
    font-size: 18px;
    color: #2B7FFF;
    margin-bottom: 20px;
    font-weight: 700;
}

.dreams-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.dream-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dream-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(43, 127, 255, 0.2);
}

.dream-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.dream-text {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.story-message {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.story-text {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
}

.story-bible-quote {
    margin-bottom: 20px;
}

.story-bible-quote p {
    font-style: italic;
    color: #495057;
    font-size: 16px;
    font-weight: 500;
}

.story-bible-quote strong {
    color: #2B7FFF;
    font-weight: 700;
}

.story-mother {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
}

.story-mother p {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
}

.story-call-to-action {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #2B7FFF;
}

.cta-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.cta-title {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.story-final-message {
    margin-top: 15px;
}

.story-final-message p {
    font-size: 16px;
    color: #7f8c8d;
    font-style: italic;
    line-height: 1.5;
}

/* Galeria de fotos */
.photo-gallery {
    margin-bottom: 30px;
}

.main-photo {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-thumbnails {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-bottom: 8px;
}

.thumbnail:hover {
    border-color: #2B7FFF;
    transform: scale(1.05);
}

.thumbnail-label {
    font-size: 12px;
    font-weight: 600;
    color: #7f8c8d;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Galeria de Mídia */
.media-gallery {
    margin-bottom: 30px;
}

.media-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.media-thumb {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb {
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.video-label {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

/* Doadores Recentes */
.recent-donors {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.donors-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.donors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.donor-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.donor-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.donor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #2B7FFF;
}

.donor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.donor-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.donor-message {
    font-size: 13px;
    color: #7f8c8d;
}

.donor-amount {
    font-weight: 700;
    color: #2B7FFF;
    font-size: 16px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-media img,
.lightbox-media video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

/* Botões de ação */
.action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 1px solid #f0f0f0;
}

.donate-btn {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #2B7FFF, #5B9CFF);
    color: white;
    box-shadow: 0 4px 15px rgba(43, 127, 255, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 127, 255, 0.4);
}

.donate-btn {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(43, 127, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(43, 127, 255, 0.5);
    }
}

/* Barra de progresso fixa no topo */
.fixed-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 200;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.fixed-progress-bar.show {
    transform: translateY(0);
}

.fixed-progress-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.fixed-progress-heart {
    background: linear-gradient(135deg, #e3f2ff, #b3d9ff);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fixed-progress-heart svg {
    width: 20px;
    height: 20px;
    fill: #2B7FFF;
}

.fixed-progress-info {
    flex: 1;
    min-width: 0;
}

.fixed-progress-amounts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.fixed-arrecadado {
    font-weight: 700;
    color: #2c3e50;
}

.fixed-meta {
    color: #7f8c8d;
    font-weight: 500;
}

.fixed-progress-bar-container {
    position: relative;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.fixed-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2B7FFF, #5B9CFF);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.fixed-progress-percentage {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    flex-shrink: 0;
}

.fixed-progress-deadline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 14px;
    color: #7f8c8d;
}

.fixed-progress-deadline .deadline-badge {
    background: #2B7FFF;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

/* ===================================================================
   RESPONSIVIDADE - INCLUINDO CONFETES E NOTIFICAÇÕES
   ================================================================== */

@media (max-width: 768px) {
    .hero-section {
        height: 250px;
    }
    
    .main-content {
        margin-top: -30px;
        padding: 0 15px;
    }
    
    .campaign-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .campaign-title {
        font-size: 18px;
    }
    
    .creator-info {
        gap: 10px;
    }
    
    .creator-details {
        min-width: 0;
    }
    
    .creator-name {
        font-size: 14px;
    }
    
    .deadline-text {
        font-size: 12px;
    }
    
    .amount-value {
        font-size: 16px;
    }
    
    .action-buttons {
        padding: 12px 15px;
    }
    
    .donate-btn {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .main-photo {
        height: 250px;
    }
    
    .photo-thumbnails {
        gap: 15px;
    }
    
    .thumbnail {
        width: 150px;
        height: 150px;
    }
    
    .fixed-progress-bar {
        padding: 12px 15px;
    }
    
    .fixed-progress-content {
        gap: 12px;
    }
    
    .fixed-progress-heart {
        width: 35px;
        height: 35px;
    }
    
    .fixed-progress-amounts {
        font-size: 12px;
    }
    
    .fixed-progress-percentage {
        font-size: 14px;
    }

    .donation-notification {
        top: 80px;
        right: 15px;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 200px;
    }
    
    .campaign-card {
        padding: 20px 15px;
    }
    
    .campaign-title {
        font-size: 21px;
    }
    
    .bible-quote {
        padding: 15px;
        font-size: 16px;
    }
    
    .main-photo {
        height: 200px;
    }
    
    .fixed-progress-content {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .fixed-progress-amounts {
        justify-content: space-between;
    }
    
    .fixed-progress-deadline {
        justify-content: center;
    }
    
    .mariana-story {
        padding: 25px 20px;
    }
    
    .story-amount {
        font-size: 28px;
    }
    
    .dreams-list {
        gap: 12px;
    }
    
    .dream-item {
        padding: 12px 15px;
    }
    
    .dream-text {
        font-size: 15px;
    }
    
    .cta-title {
        font-size: 16px;
    }
    
    .media-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .recent-donors {
        padding: 20px;
    }
    
    .donor-item {
        padding: 12px;
    }
    
    .donor-avatar {
        width: 45px;
        height: 45px;
    }
    
    .donor-name {
        font-size: 14px;
    }
    
    .donor-amount {
        font-size: 15px;
    }
    
    .donation-notification {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: none;
        padding: 12px 16px;
    }
    
    .notification-avatar {
        width: 35px;
        height: 35px;
    }
    
    .notification-donor {
        font-size: 16px;
    }
    
    .notification-text {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .mariana-story {
        padding: 20px 15px;
    }
    
    .story-amount {
        font-size: 24px;
    }
    
    .story-dreams {
        padding: 20px 15px;
    }
    
    .dreams-title {
        font-size: 16px;
    }
    
    .dream-text {
        font-size: 14px;
    }
    
    .media-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recent-donors {
        padding: 15px;
    }
    
    .donor-item {
        gap: 10px;
        padding: 10px;
    }
}

/* Instagram Info */
.instagram-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.instagram-info:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instagram-info:active {
    transform: translateY(0);
}

.instagram-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.instagram-info:hover .instagram-icon {
    transform: scale(1.05);
}

.instagram-icon svg {
    stroke: white;
    width: 20px;
    height: 20px;
}

.instagram-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.instagram-handle {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.instagram-description {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
}

.instagram-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.instagram-info:hover .instagram-arrow {
    color: #2c3e50;
    transform: translateX(3px);
}

/* Responsividade */
@media (max-width: 480px) {
    .instagram-info {
        padding: 12px 15px;
    }
    
    .instagram-icon {
        width: 35px;
        height: 35px;
    }
    
    .instagram-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .instagram-handle {
        font-size: 14px;
    }
    
    .instagram-description {
        font-size: 12px;
    }
    
    .instagram-arrow {
        width: 18px;
        height: 18px;
    }
    
    .instagram-arrow svg {
        width: 14px;
        height: 14px;
    }
}

/* Alertas urgentes */
.urgent-alerts {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    pointer-events: none;
}

/* Alerta de aviso (laranja) */
.alert-warning {
    background-color: #fef3e2;
    border-left-color: #f59e0b;
    color: #92400e;
    margin-bottom: 30px;
}

.alert-warning::before {
    background-color: #f59e0b;
}

.alert-warning .alert-icon {
    color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.1);
}

/* Alerta de perigo (vermelho) */
.alert-danger {
    background-color: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
    margin-bottom: 20px;
}

.alert-danger::before {
    background-color: #ef4444;
}

.alert-danger .alert-icon {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
    line-height: 1.5;
}

.alert-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: inherit;
}

.alert-text {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: inherit;
    opacity: 0.9;
    line-height: 1.6;
}

.alert-deadline {
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0 0 0;
    color: #ef4444;
}

.alert-text strong {
    font-weight: 700;
    color: inherit;
}

/* Responsividade */
@media (max-width: 768px) {
    .urgent-alerts {
        margin: 20px 0;
        gap: 15px;
    }
    
    .alert {
        padding: 16px;
        gap: 12px;
    }
    
    .alert-icon {
        width: 35px;
        height: 35px;
    }
    
    .alert-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .alert-title {
        font-size: 16px;
    }
    
    .alert-text {
        font-size: 16px;
    }
    
    .alert-deadline {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .alert {
        padding: 14px;
        gap: 10px;
    }
    
    .alert-icon {
        width: 32px;
        height: 32px;
    }
    
    .alert-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .alert-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .alert-text {
        font-size: 16px;
    }
    
    .alert-deadline {
        font-size: 16px;
    }
}

/* Container dos textos médicos */
.medical-texts {
    margin: 25px 0;
}

/* Texto normal */
.medical-text {
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 400;
}

/* Texto vermelho */
.medical-text-red {
    font-size: 15px;
    line-height: 1.7;
    color: #dc2626;
    margin: 0;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .medical-text,
    .medical-text-red {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .medical-text,
    .medical-text-red {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* Box de citação */
.quote-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    position: relative;
}

.quote-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.3));
    border-radius: 12px;
    pointer-events: none;
}

.quote-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .quote-box {
        padding: 18px;
        margin: 20px 0;
    }
    
    .quote-box p {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .quote-box {
        padding: 16px;
        border-radius: 10px;
    }
    
    .quote-box p {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* Seção do Laudo Médico */
.medical-report-section {
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.medical-report-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.medical-report-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2B7FFF, #5B9CFF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.medical-report-icon svg {
    stroke: white;
    width: 20px;
    height: 20px;
}

.medical-report-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.medical-report-content {
    padding: 20px;
}

.medical-report-image {
    position: relative;
    width: 100%;
    min-height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.medical-report-image:hover {
    border-color: #2B7FFF;
    background: #f1f5f9;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.medical-report-image:hover .image-overlay {
    opacity: 1;
}

.view-text {
    color: white;
    font-weight: 600;
    font-size: 14px;
    background: rgba(43, 127, 255, 0.9);
    padding: 8px 16px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

/* Se não houver imagem, mostrar placeholder */
.medical-report-image:not(:has(img)) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.medical-report-image:not(:has(img))::after {
    content: 'Laudo médico';
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .medical-report-header {
        padding: 16px;
    }
    
    .medical-report-content {
        padding: 16px;
    }
    
    .medical-report-icon {
        width: 35px;
        height: 35px;
    }
    
    .medical-report-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .medical-report-title {
        font-size: 16px;
    }
    
    .medical-report-image {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .medical-report-header {
        padding: 14px;
    }
    
    .medical-report-content {
        padding: 14px;
    }
    
    .medical-report-icon {
        width: 32px;
        height: 32px;
    }
    
    .medical-report-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .medical-report-title {
        font-size: 15px;
    }
    
    .medical-report-image {
        min-height: 160px;
    }
    
    .view-text {
        font-size: 13px;
        padding: 6px 12px;
    }
}

.medical-report-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ===================================================================
   SEÇÃO PIX FIXA - ADICIONAR AO SEU CSS
   ================================================================== */

/* Atualização da seção de botões de ação para incluir PIX */
.action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 1px solid #f0f0f0;
    padding: 15px 20px;
}

/* Seção PIX */
.pix-section {
    margin-bottom: 15px;
    text-align: center;
}

.pix-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.pix-container {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pix-container:hover {
    background: #e9ecef;
    border-color: #2B7FFF;
    transform: translateY(-1px);
}

.pix-container.copied {
    background: #d4edda;
    border-color: #28a745;
    animation: copied-pulse 0.6s ease;
}

@keyframes copied-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.pix-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2B7FFF, #5B9CFF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pix-key {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.5px;
    min-width: 0;
    text-align: left;
}

.copy-button {
    background: #2B7FFF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.copy-button:hover {
    background: #1a5fb5;
    transform: scale(1.05);
}

.copy-button.copied {
    background: #28a745;
    animation: button-copied 0.6s ease;
}

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

.copy-feedback {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.copy-feedback::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #28a745;
}

/* Responsividade para PIX */
@media (max-width: 768px) {
    .action-buttons {
        padding: 12px 15px;
    }
    
    .pix-container {
        padding: 10px 12px;
    }
    
    .pix-key {
        font-size: 15px;
    }
    
    .copy-button {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .pix-key {
        font-size: 15px;
    }
    
    .pix-icon {
        width: 28px;
        height: 28px;
    }
    
    .copy-button {
        padding: 5px 8px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .pix-key {
        font-size: 14px;
        letter-spacing: 0.2px;
    }
}