/* public/css/landing.css */

@import url('https://fonts.bunny.net/css?family=figtree:400,500,600,700,900&display=swap');

:root {
    --primary-font: 'Figtree', sans-serif;
    --emerald-primary: #10b981;
    --indigo-primary: #6366f1;
    --rose-primary: #f43f5e;
    --text-dark: #0b1026;
    --text-light: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--primary-font);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.logo { 
    width: 52px; 
    height: 52px; 
    border-radius: 50%; 
    display: block; 
    object-fit: cover; 
}

/* Remove sublinhado padrão de links */
a {
    text-decoration: none;
    color: inherit;
}

/* Estilos do Formulário PayPal */
form[action="https://www.paypal.com/donate"] {
    padding-right: 20px;
    display: inline-flex;
    align-items: center;
}

form[action="https://www.paypal.com/donate"] input[type="image"] {
    max-height: 40px;
    width: auto;
    cursor: pointer;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: transparent;
    transition: background 0.3s ease;
}

.topbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.topbar-brand {
    display: flex;
    align-items: center;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Donation Mobile Styling */
.mobile-donation-container {
    display: none;
    margin: 0 auto 5px; /* Reduzi margem superior a zero */
    text-align: center;
    width: 100%;
}

.mobile-donation-container form {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

.mobile-donation-container input[type="image"] {
    width: 55px !important; /* Aumentado ainda mais para forçar visibilidade */
    min-width: 55px !important;
    height: auto !important;
    display: inline-block !important;
    margin: 0 auto !important;
    transform: scale(1.1); /* Zoom adicional */
}

@media (max-width: 768px) {
    .section {
        padding-top: 65px !important; /* Subir ainda mais para encostar no menu */
    }
    .topbar {
        padding: 12px 16px;
    }
    .topbar-actions {
        gap: 12px;
    }
    .topbar-actions .btn-nav-about, .topbar-actions .btn-nav-contact, .topbar-actions form {
        display: none !important;
    }
    .mobile-donation-container {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 20px;
        width: 100%;
        margin: 0 auto 5px;
    }
    .mobile-donation-links {
        display: flex !important;
        align-items: center;
        gap: 20px;
    }
    .mobile-donation-links .btn-nav-about,
    .mobile-donation-links .btn-nav-contact {
        display: inline-block !important;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 0.75rem;
        transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        letter-spacing: 0.01em;
        text-decoration: none;
        color: #ffffff;
        border: none;
        cursor: pointer;
    }
    .mobile-donation-links .btn-nav-about,
    .mobile-donation-links .btn-nav-about:hover {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    .mobile-donation-links .btn-nav-about:hover {
        background: linear-gradient(135deg, #b5bae7, #45ccce);
        transform: translateY(-1.5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }
    .mobile-donation-links .btn-nav-contact,
    .mobile-donation-links .btn-nav-contact:hover {
        background: linear-gradient(135deg, #d97706, #b45309);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    .mobile-donation-links .btn-nav-contact:hover {
        background: linear-gradient(135deg, #db7c00, #a28201);
        transform: translateY(-1.5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }
}

.cta-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #ffffff;
    border: none;
    cursor: pointer;
}
.cta-btn:hover { 
    transform: translateY(-1.5px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
}
.cta-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.cta-primary:hover {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.cta-secondary {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}
.cta-secondary:hover {
    background: linear-gradient(135deg, #fb7185, #f43f5e);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
}
.cta-donate {
    background: linear-gradient(135deg, #00457c, #0070ba);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
}
.cta-donate:hover {
    background: linear-gradient(135deg, #005699, #00457c);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
}
.section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding-top: 75px; /* Ajustado para subir os cards */
}

@media (max-width: 768px) {
    .section {
        padding-top: 75px !important; /* Subir ainda mais o conteúdo */
    }
}
.bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}
.headline {
    font-weight: 900;
    background-image: linear-gradient(90deg, #10b981, #06b6d4, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.subline {
    color: #eafff2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.brand-name {
    color: #fff;
    font-weight: 700;
    margin-left: 8px;
}
.hero-cards-wrap {
    max-width: 1200px;
    margin-top: 0;
    padding: 15px; /* Reduzido de 18px */
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .hero-cards-wrap {
        padding: 8px !important;
        border-radius: 12px !important;
    }
}
.feature-icon {
    width: 24px; /* Reduzido de 28px */
    height: 24px;
    margin-bottom: 6px; /* Reduzido de 8px */
    color: #0b1026;
}
.content {
    position: relative;
    max-width: 1000px;
    padding: 0 24px;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .content {
        padding: 0 10px !important;
    }
}
.slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.slide.show {
    opacity: 1;
    transform: translateY(0);
}
.cards-section {
    position: relative;
    min-height: 100vh;
    padding: 100px 24px 80px;
    background: #fafafa;
}
.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 15px; /* Reduzido de 20px */
}
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature-card {
    position: relative;
    border-radius: 16px;
    padding: 15px; /* Reduzido de 20px */
    min-height: 180px; /* Reduzido de 220px */
    color: #0b1026;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    cursor: pointer;
    overflow: hidden;
    transition: transform 250ms ease, box-shadow 250ms ease;
}
@media (max-width: 768px) {
    .feature-card {
        padding: 8px !important;
        min-height: 110px !important;
        border-radius: 12px !important;
    }
    .feature-icon {
        display: none !important;
    }
    .feature-title {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
    }
    .feature-sub {
        font-size: 0.7rem !important;
        margin-top: 2px !important;
        line-height: 1.1 !important;
    }
    .card-thumb, .card-thumb-img {
        height: 50px !important;
        margin-bottom: 6px !important;
    }
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.feature-title { font-weight: 800; font-size: 1.1rem; } /* Reduzido de 1.25rem */
.feature-sub { margin-top: 6px; color: rgba(11,16,38,0.75); }
.expanded-panel { display: none; }
.mt-3 { margin-top: 12px; }
.card-emerald { background: linear-gradient(135deg, #a7f3d0 0%, #10b981 50%, #ecfdf5 100%); }
.card-sky { background: linear-gradient(135deg, #bae6fd 0%, #0ea5e9 50%, #f0f9ff 100%); }
.card-amber { background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #fffbeb 100%); }
.card-rose { background: linear-gradient(135deg, #fecdd3 0%, #f43f5e 50%, #fff1f2 100%); }
.card-cyan { background: linear-gradient(135deg, #a5f3fc 0%, #06b6d4 50%, #ecfeff 100%); }
.card-purple { background: linear-gradient(135deg, #e9d5ff 0%, #a855f7 50%, #f5f3ff 100%); }
.card-orange { background: linear-gradient(135deg, #ffedd5 0%, #f97316 50%, #fff7ed 100%); }
.card-pink { background: linear-gradient(135deg, #fce7f3 0%, #ec4899 50%, #fdf2f8 100%); }
.card-silver { background: linear-gradient(135deg, #f3f4f6 0%, #9ca3af 50%, #f9fafb 100%); }
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}
.modal.show { display: flex; }
.modal-panel {
    background: #fff;
    color: #0b1026;
    border-radius: 24px;
    padding: 28px;
    max-width: 900px;
    width: calc(100% - 48px);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    position: relative;
    transition: background 300ms ease;
}
.modal-title-strong {
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.2;
}
.modal-body-strong {
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(11,16,38,0.9);
}
.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    border: none;
    background: #eef2ff;
    color: #111827;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

/* New Extracted Styles */
.topbar-actions {
    gap: 4px;
}

.btn-contact {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-right: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-thumb-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.modal-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mt-20 {
    margin-top: 20px;
}

.modal-panel-contact {
    max-width: 500px;
}

.honeypot-field {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}

.msg-success {
    display: none;
    color: #10b981;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

.msg-error {
    display: none;
    color: #ef4444;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

/* Ajustes para Mobile */
@media (max-width: 768px) {
    .topbar {
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        flex-wrap: wrap;
        gap: 2px;
    }
    form[action="https://www.paypal.com/donate"] {
        padding-right: 8px !important;
        padding: 2px 6px !important;
    }
    form[action="https://www.paypal.com/donate"] input[type="image"] {
        max-height: 20px !important;
        width: auto;
    }
    .logo {
        width: 32px;
        height: 32px;
    }
    .brand-name {
        font-size: 0.75rem;
        max-width: none;
        line-height: 1.1;
        display: block;
        white-space: normal;
        margin-left: 6px;
        color: #0b1026 !important;
    }
    .cta-btn {
        padding: 5px 8px;
        font-size: 0.7rem;
        margin-left: 1px;
        margin-right: 2px;
        text-decoration: none !important;
        display: inline-block;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .flex.items-center.gap-6 {
        gap: 2px !important;
        flex-wrap: wrap;
        flex-shrink: 0;
    }
    .topbar-actions {
        gap: 2px !important;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .section {
        align-items: flex-start;
        padding-top: 80px;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }
    .hero-cards-wrap {
        margin-top: 10px;
        padding: 12px;
    }
    .content {
        padding: 0 16px;
    }
    .cards-grid {
        gap: 16px;
    }
}

/* Utility Classes */
.hidden { display: none !important; }
.block { display: block !important; }

/* Modal Themes */
.modal-theme-emerald { background: linear-gradient(135deg, #a7f3d0 0%, #10b981 50%, #ecfdf5 95%); }
.modal-theme-sky { background: linear-gradient(135deg, #bae6fd 0%, #0ea5e9 50%, #f0f9ff 95%); }
.modal-theme-amber { background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #fffbeb 95%); }
.modal-theme-rose { background: linear-gradient(135deg, #fecdd3 0%, #f43f5e 50%, #fff1f2 95%); }
.modal-theme-cyan { background: linear-gradient(135deg, #a5f3fc 0%, #06b6d4 50%, #ecfeff 95%); }
.modal-theme-purple { background: linear-gradient(135deg, #e9d5ff 0%, #a855f7 50%, #f5f3ff 95%); }
.modal-theme-orange { background: linear-gradient(135deg, #ffedd5 0%, #f97316 50%, #fff7ed 95%); }
.modal-theme-pink { background: linear-gradient(135deg, #fce7f3 0%, #ec4899 50%, #fdf2f8 95%); }
.modal-theme-silver { background: linear-gradient(135deg, #f3f4f6 0%, #9ca3af 50%, #f9fafb 95%); }

/* About Section Styles */
.about-container {
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

.about-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.about-item.reverse {
    flex-direction: row-reverse;
}

.about-img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments for About Section */
@media (max-width: 768px) {
    .about-container {
        padding: 0;
    }
    
    .about-item, .about-item.reverse {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .about-img {
        width: 100%;
        height: 180px;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: justify;
    }
}

/* Navigation Button Colors */
.btn-nav-about {
    color: #00ffff; /* Neon Cyan */
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}
.btn-nav-about:hover {
    color: #ccffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    transform: scale(1.05);
}

.btn-nav-contact {
    color: #facc15; /* Neon Yellow */
    font-weight: 700;
    text-shadow: 0 0 5px rgba(250, 204, 21, 0.5);
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    margin-right: 0;
}
.btn-nav-contact:hover {
    color: #fef08a; /* Brighter yellow on hover */
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
    transform: scale(1.05);
    background-color: transparent;
    box-shadow: none;
}

@media (max-width: 768px) {
    .topbar .btn-nav-about {
        color: #00acc1 !important; /* Cyan 600 - Intense but readable on white */
        text-shadow: none;
    }
    .topbar .btn-nav-contact {
        color: #ca8a04 !important; /* Yellow 600 - Readable gold on white */
        background-color: transparent !important;
        padding: 0;
        box-shadow: none;
        text-shadow: none;
    }
}
