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

:root {
    /* Cores principais */
    --primary: #e65100;
    --primary-light: #ff9800;
    --primary-dark: #bf360c;
    --secondary: #1a237e;
    --accent: #c62828;
    
    /* Cores de fundo */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    
    /* Cores de texto */
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Gradientes */
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-dark: linear-gradient(135deg, #1a1a2e, #2d2d44);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-primary: 0 4px 16px rgba(230, 81, 0, 0.3);
    
    /* Outros */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Safe areas */
    --safe-top: env(safe-area-inset-top);
    --safe-bottom: env(safe-area-inset-bottom);
}

/* Tema Escuro */
[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #252540;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-light: #6b6b7b;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== SPLASH SCREEN ===== */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash.hide {
    opacity: 0;
    visibility: hidden;
}

.splash-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.splash-content {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.splash-logo {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

.splash-logo img {
    width: 90px;
    height: auto;
}

.splash-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.splash-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.splash-slogan {
    margin-top: 16px;
}

.splash-slogan span {
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
}

.splash-loader {
    margin-top: 40px;
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: white;
    border-radius: 4px;
    animation: loadProgress 2.5s ease-out forwards; /* ⬅️ DURAÇÃO DA BARRA */
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== APP CONTAINER ===== */
.app {
    display: none;
    min-height: 100vh;
    padding-bottom: 80px;
}

.app.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== TELAS ===== */
.tela {
    display: none;
    min-height: 100vh;
}

.tela.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== HEADER HOME ===== */
.header-home {
    background: var(--gradient);
    padding: 20px 20px 30px;
    padding-top: calc(20px + var(--safe-top));
    border-radius: 0 0 32px 32px;
    position: relative;
    overflow: hidden;
}

.header-home::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.header-info .greeting {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    display: block;
}

.header-info h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-theme {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-theme:active {
    transform: scale(0.9);
}

/* ===== BANNER CARROSSEL ===== */
.banner-container {
    padding: 0 20px;
    margin-top: -15px;
    position: relative;
    z-index: 10;
}

.banner-carousel {
    position: relative;
    height: 140px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

[data-theme="dark"] .banner-slide {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.banner-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.banner-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.banner-content p {
    font-size: 0.85rem;
    opacity: 0.85;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* ===== SEÇÕES ===== */
.section {
    padding: 24px 20px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ver-todos {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* ===== ACESSO RÁPIDO ===== */
.quick-access {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.quick-item:active {
    transform: scale(0.95);
}

.quick-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.quick-icon.youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }
.quick-icon.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.quick-icon.facebook { background: linear-gradient(135deg, #1877f2, #0d5bbd); }
.quick-icon.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }

.quick-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== CARD OFERTA ===== */
.card-oferta {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.card-oferta:active {
    transform: scale(0.98);
}

.card-oferta-bg {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.card-oferta-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.card-oferta-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.card-oferta-text {
    flex: 1;
    color: white;
}

.card-oferta-text h3 {
    font-size: 1rem;
    font-weight: 600;
}

.card-oferta-text p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.card-oferta-arrow {
    color: white;
    opacity: 0.8;
}

/* ===== PRÓXIMO CULTO ===== */
.proximo-culto-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.proximo-culto-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.proximo-culto-info {
    flex: 1;
}

.proximo-culto-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.proximo-culto-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.proximo-culto-badge {
    background: var(--bg-primary);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== RÁDIO CARD ===== */
.card-radio {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.card-radio:active {
    transform: scale(0.98);
}

.radio-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00c853, #009624);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
}

.radio-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-waves span {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(0, 200, 83, 0.4);
    border-radius: 50%;
    animation: wave 2s infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-waves span:nth-child(2) { animation-delay: 0.5s; }
.radio-waves span:nth-child(3) { animation-delay: 1s; }

@keyframes wave {
    0% {
        width: 50px;
        height: 50px;
        opacity: 1;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.radio-text {
    flex: 1;
}

.radio-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.radio-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.radio-play {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-primary);
}

/* ===== MINISTÉRIOS PREVIEW ===== */
.ministerios-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ministerio-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ministerio-card:active {
    transform: scale(0.95);
}

.ministerio-icon-new {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin: 0 auto 8px;
}

.ministerio-card span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== BOTTOM SPACE ===== */
.bottom-space {
    height: 100px;
}

/* ===== MENU INFERIOR ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    padding-bottom: calc(12px + var(--safe-bottom));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 24px 24px 0 0;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.bottom-nav .nav-item i {
    font-size: 1.3rem;
}

.bottom-nav .nav-item.active {
    color: var(--primary);
}

.bottom-nav .nav-item.active i {
    transform: scale(1.1);
}

/* ===== HEADER INTERNO ===== */
.header-interno {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    padding-top: calc(16px + var(--safe-top));
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-interno h1 {
    font-size: 1.2rem;
    font-weight: 600;
}

.btn-voltar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-voltar:active {
    transform: scale(0.9);
}

.header-spacer {
    width: 40px;
}

.content-scroll {
    padding: 0 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ===== CULTOS (TELA INTERNA) ===== */
.cultos-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
}

.culto-card-new {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.culto-header {
    background: var(--gradient);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.culto-dia-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.culto-dia-info h3 {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
}

.culto-dia-info span {
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
}

.culto-horarios-new {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.horario-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.horario-badge {
    background: var(--gradient);
    color: white;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 65px;
    text-align: center;
}

.horario-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.horario-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===== MINISTÉRIOS (TELA INTERNA) ===== */
.ministerios-grid-new {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ministerio-card-full {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ministerio-card-full:active {
    transform: scale(0.98);
}

.ministerio-icon-big {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.ministerio-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ministerio-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===== SOBRE ===== */
.sobre-header {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.sobre-logo {
    width: 100px;
    height: 100px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    padding: 15px;
}

.sobre-logo img {
    width: 70px;
    height: auto;
}

.sobre-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.sobre-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sobre-slogan {
    display: inline-block;
    margin-top: 12px;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-style: italic;
    font-size: 0.9rem;
}

.sobre-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.sobre-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.sobre-section h3 i {
    color: var(--primary);
}

.mapa-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.endereco-box {
    text-align: center;
    margin-bottom: 16px;
}

.endereco-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}

.btn-primary:active {
    transform: scale(0.98);
}

.contato-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.btn-contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.btn-contato:active {
    transform: scale(0.95);
}

.btn-contato.telefone {
    background: var(--secondary);
}

.btn-contato.whatsapp {
    background: #25d366;
}

.btn-contato i {
    font-size: 1.5rem;
}

.btn-contato span {
    font-size: 0.85rem;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.social-btn:active {
    transform: scale(0.9);
}

.social-btn.youtube { background: #ff0000; }
.social-btn.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.facebook { background: #1877f2; }

/* ===== TELA MAIS ===== */
.mais-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
}

.mais-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.mais-item:active {
    transform: scale(0.98);
    background: var(--bg-primary);
}

.mais-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.mais-icon.oferta { background: var(--gradient); }
.mais-icon.youtube { background: #ff0000; }
.mais-icon.instagram { background: linear-gradient(135deg, #f09433, #dc2743, #bc1888); }
.mais-icon.facebook { background: #1877f2; }
.mais-icon.radio { background: #00c853; }
.mais-icon.whatsapp { background: #25d366; }
.mais-icon.share { background: var(--secondary); }

.mais-info {
    flex: 1;
}

.mais-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mais-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mais-item > i {
    color: var(--text-light);
}

.app-version {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.version-logo {
    width: 50px;
    height: auto;
    opacity: 0.5;
    margin-bottom: 10px;
}

.app-version p {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.app-version span {
    font-size: 0.75rem;
}

/* ===== MODAIS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--bg-secondary);
    border-radius: 24px 24px 0 0;
    animation: slideUp 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header-new {
    background: var(--gradient);
    padding: 30px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.modal-header-new.radio-header {
    background: linear-gradient(135deg, #00c853, #009624);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

.modal-header-new h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-header-new p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.modal-body-new {
    padding: 24px;
}

.pix-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.pix-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}

.pix-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    word-break: break-all;
}

.btn-copiar-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}

.btn-copiar-new:active {
    transform: scale(0.95);
}

.btn-copiar-new.copied {
    background: #4caf50;
}

.pix-verse {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
}

.pix-verse small {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
}

/* Radio Modal */
.radio-player {
    text-align: center;
}

.radio-info {
    margin-bottom: 20px;
}

.radio-playing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.playing-dot {
    width: 8px;
    height: 8px;
    background: #00c853;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.radio-info p {
    color: var(--text-secondary);
}

.btn-ouvir {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00c853, #009624);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 200, 83, 0.3);
}

.btn-ouvir:active {
    transform: scale(0.95);
}

.radio-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 360px) {
    .quick-access {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .quick-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .ministerios-preview {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .ministerio-icon-new {
        width: 38px;
        height: 38px;
    }
}


/* Banner de Instalação PWA */
.install-banner {
    position: fixed;
    bottom: 80px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg, #e65100, #ff6d00);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(230, 81, 0, 0.4);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

.install-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.install-text {
    display: flex;
    flex-direction: column;
    color: white;
}

.install-text strong {
    font-size: 16px;
}

.install-text span {
    font-size: 12px;
    opacity: 0.9;
}

.install-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-instalar {
    background: white;
    color: #e65100;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

.btn-fechar-install {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}


/* ===== TELA IGREJAS ===== */

/* Barra de Busca */
.search-container {
    padding: 20px;
    padding-top: 10px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.search-box i.fa-search {
    color: var(--primary);
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-clear {
    background: var(--primary);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
}

/* Contador de Resultados */
.results-info {
    padding: 0 20px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Igreja Destaque (Sede) */
.igreja-destaque {
    padding: 0 20px;
    margin-bottom: 24px;
}

.destaque-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    box-shadow: var(--shadow-primary);
}

.destaque-badge i {
    font-size: 0.8rem;
}

.igreja-card-full {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(230, 81, 0, 0.1);
}

.igreja-foto {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--gradient);
}

.igreja-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.igreja-foto-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.igreja-distancia {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.igreja-info-full {
    padding: 20px;
}

.igreja-info-full h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.igreja-endereco,
.igreja-horario {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.igreja-endereco i,
.igreja-horario i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 1rem;
}

.igreja-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px 20px;
}

.btn-igreja-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-igreja-action.primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-igreja-action.secondary {
    background: var(--bg-primary);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-igreja-action:active {
    transform: scale(0.95);
}

/* Separador de Seção */
.section-divider {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 10px 0 24px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.section-divider span {
    padding: 0 20px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid de Igrejas */
.igrejas-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
}

/* Card de Igreja Compacto */
.igreja-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.igreja-card:active {
    transform: scale(0.98);
}

.igreja-card-header {
    display: flex;
    gap: 16px;
    padding: 16px;
}

.igreja-thumb {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gradient);
    box-shadow: var(--shadow-sm);
}

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

.igreja-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.igreja-card-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.igreja-card-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.igreja-card-info p i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.85rem;
}

.igreja-card-footer {
    display: flex;
    border-top: 1px solid var(--bg-primary);
    background: var(--bg-primary);
}

.igreja-card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.igreja-card-btn:first-child {
    border-right: 1px solid var(--bg-secondary);
}

.igreja-card-btn:active {
    background: var(--primary);
    color: white;
}

.igreja-card-btn i {
    font-size: 1rem;
}

/* Sem Resultados */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.no-results p {
    font-size: 0.9rem;
}

/* ===== MODAL DETALHES DA IGREJA ===== */
.modal-igreja-foto {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.modal-igreja-info {
    padding: 24px;
}

.modal-igreja-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--bg-primary);
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: var(--shadow-primary);
}

.info-content h4 {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.modal-igreja-map {
    margin: 0 24px 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.modal-igreja-actions {
    padding: 0 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Responsivo para telas maiores (tablets) */
@media (min-width: 600px) {
    .igrejas-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}


/* ===== TELA IGREJAS - COMBOBOX ===== */

/* Container do Select */
.select-container {
    padding: 20px;
}

.select-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.select-label i {
    color: var(--primary);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-md);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
    font-size: 1rem;
}

/* Mensagem Inicial */
.mensagem-inicial {
    text-align: center;
    padding: 60px 20px;
}

.mensagem-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-primary);
}

.mensagem-icon i {
    font-size: 2rem;
    color: white;
}

.mensagem-inicial h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.mensagem-inicial p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Detalhes da Igreja */
.igreja-detalhes {
    padding: 0 20px;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.igreja-card-detalhes {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(230, 81, 0, 0.1);
}

.igreja-foto-grande {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gradient);
}

.igreja-foto-grande img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.igreja-nome-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.igreja-nome-overlay h2 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

.igreja-info-detalhes {
    padding: 20px;
}

.info-linha {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-primary);
}

.info-linha:last-child {
    border-bottom: none;
}

.info-linha-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-linha-texto h4 {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-linha-texto p {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Mapa da Igreja */
.igreja-mapa {
    margin: 0 20px 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Botões de Ação */
.igreja-botoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px 20px;
}

.btn-igreja {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-igreja.primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-igreja.whatsapp {
    background: #25d366;
    color: white;
}

.btn-igreja.secondary {
    background: var(--bg-primary);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-igreja:active {
    transform: scale(0.95);
}

/* ===== SELETOR DE IGREJAS CUSTOMIZADO ===== */

.select-button {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.select-button:active {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.select-button i {
    color: var(--primary);
    font-size: 1rem;
}

/* Modal Lista de Igrejas */
.modal-lista {
    max-height: 80vh;
    border-radius: 24px 24px 0 0;
}

.modal-header-lista {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--bg-primary);
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 10;
}

.modal-header-lista h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close-lista {
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-lista:active {
    background: var(--primary);
    color: white;
}

.modal-body-lista {
    padding: 0;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

/* Grupo de UF */
.grupo-uf {
    padding: 12px 24px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-primary);
    position: sticky;
    top: 0;
}

/* Item da lista */
.igreja-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--bg-primary);
    cursor: pointer;
    transition: var(--transition);
}

.igreja-item:active {
    background: var(--bg-primary);
}

.igreja-item-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.igreja-item-info {
    flex: 1;
}

.igreja-item-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.igreja-item-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.igreja-item-arrow {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Card Acampamento */
.card-oferta.acampamento {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    box-shadow: 0 4px 16px rgba(26, 35, 126, 0.3);
}

/* Crédito do desenvolvedor */
.dev-credit {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dev-credit span {
    font-size: 11px;
    color: var(--text-muted);
}

.dev-credit a {
    font-size: 11px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.dev-credit a:hover {
    text-decoration: underline;
}

/* ===== FORMULÁRIO DE CONTATO ===== */
.form-section {
    padding: 20px;
}

.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-header-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: var(--shadow-primary);
}

.form-header-icon i {
    font-size: 1.5rem;
    color: white;
}

.form-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    padding-left: 48px;
    background: var(--bg-primary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(230, 81, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group .form-icon {
    position: absolute;
    left: 16px;
    top: 18px;
    color: var(--primary);
    font-size: 1rem;
}

.form-group .select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

.form-group label {
    position: absolute;
    left: 48px;
    top: -10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-card);
    padding: 0 8px;
    border-radius: 4px;
}

.btn-enviar {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-enviar:active {
    transform: scale(0.98);
}

.btn-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-enviar.enviando {
    background: var(--text-light);
}

.btn-enviar.sucesso {
    background: #4caf50;
}

/* Tema escuro ajustes */
[data-theme="dark"] .form-group label {
    background: var(--bg-card);
}


/* ===== TELA RÁDIO INTEGRADA ===== */

/* Grid de Estações */
.radio-stations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.radio-station-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.radio-station-card:active {
    transform: scale(0.97);
}

.radio-station-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.1), rgba(255, 152, 0, 0.05));
}

.radio-station-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-primary);
}

.radio-station-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.radio-station-status {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 500;
    background: rgba(230, 81, 0, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Player Card */
.radio-player-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

/* Now Playing */
.radio-now-playing {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.radio-album-art {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    position: relative;
    flex-shrink: 0;
}

.radio-album-art.playing {
    animation: pulse-album 2s infinite;
}

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

.radio-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    opacity: 0;
}

.radio-album-art.playing .radio-pulse {
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.radio-track-info {
    flex: 1;
    min-width: 0;
}

.radio-current-station {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-track-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-track-artist {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Progress Bar */
.radio-progress-container {
    margin-bottom: 20px;
}

.radio-progress-container.hidden {
    display: none;
}

.radio-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.radio-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.radio-time-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Controles */
.radio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.radio-controls.hidden {
    display: none;
}

.radio-btn-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-btn-control:active {
    transform: scale(0.9);
}

.radio-btn-control.active {
    background: var(--primary);
    color: white;
}

.radio-btn-play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-btn-play:active {
    transform: scale(0.95);
}

/* Volume */
.radio-volume {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
}

.radio-volume i {
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    width: 20px;
    text-align: center;
}

.radio-volume-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--text-light);
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.radio-volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.4);
}

/* Playlist Card */
.radio-playlist-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.radio-playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bg-primary);
}

.radio-playlist-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-playlist-header h3 i {
    color: var(--primary);
}

.radio-playlist-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 20px;
}

.radio-playlist {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.radio-playlist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-primary);
}

.radio-playlist-item:last-child {
    border-bottom: none;
}

.radio-playlist-item:active {
    background: var(--bg-primary);
}

.radio-playlist-item.active {
    background: linear-gradient(90deg, rgba(230, 81, 0, 0.1), transparent);
}

.radio-playlist-item.active .radio-item-title {
    color: var(--primary);
}

.radio-item-number {
    width: 28px;
    height: 28px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.radio-playlist-item.active .radio-item-number {
    background: var(--primary);
    color: white;
}

.radio-item-info {
    flex: 1;
    min-width: 0;
}

.radio-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-item-artist {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.radio-item-live {
    background: #00c853;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    animation: blink 1.5s infinite;
}
